[{"data":1,"prerenderedAt":473},["ShallowReactive",2],{"navigation":3,"\u002Fen\u002Fhow-to\u002Finstall":129,"\u002Fen\u002Fhow-to\u002Finstall-surround":468},[4,68],{"title":5,"path":6,"stem":7,"children":8,"page":22},"En","\u002Fen","en",[9,13,23],{"title":10,"path":11,"stem":12},"Product Overview","\u002Fen\u002Fintroduction","en\u002F0.introduction",{"title":14,"path":15,"stem":16,"children":17,"page":22},"Tutorials","\u002Fen\u002Ftutorials","en\u002F1.tutorials",[18],{"title":19,"path":20,"stem":21},"Quick Start","\u002Fen\u002Ftutorials\u002Fquickstart","en\u002F1.tutorials\u002Fquickstart",false,{"title":24,"path":25,"stem":26,"children":27,"page":22},"How To","\u002Fen\u002Fhow-to","en\u002F2.how-to",[28,32,36,40,44,48,52,56,60,64],{"title":29,"path":30,"stem":31},"Canvas Workspace","\u002Fen\u002Fhow-to\u002Fcanvas","en\u002F2.how-to\u002Fcanvas",{"title":33,"path":34,"stem":35},"Configuration","\u002Fen\u002Fhow-to\u002Fconfigure","en\u002F2.how-to\u002Fconfigure",{"title":37,"path":38,"stem":39},"Scheduled Tasks","\u002Fen\u002Fhow-to\u002Fcron-jobs","en\u002F2.how-to\u002Fcron-jobs",{"title":41,"path":42,"stem":43},"Configuring System Service","\u002Fen\u002Fhow-to\u002Finstall","en\u002F2.how-to\u002Finstall",{"title":45,"path":46,"stem":47},"Managing Instructions","\u002Fen\u002Fhow-to\u002Finstructions","en\u002F2.how-to\u002Finstructions",{"title":49,"path":50,"stem":51},"MCP Servers","\u002Fen\u002Fhow-to\u002Fmcp-servers","en\u002F2.how-to\u002Fmcp-servers",{"title":53,"path":54,"stem":55},"Managing Profiles","\u002Fen\u002Fhow-to\u002Fprofiles","en\u002F2.how-to\u002Fprofiles",{"title":57,"path":58,"stem":59},"Configuring Runtimes","\u002Fen\u002Fhow-to\u002Fruntimes","en\u002F2.how-to\u002Fruntimes",{"title":61,"path":62,"stem":63},"Managing Skills","\u002Fen\u002Fhow-to\u002Fskills","en\u002F2.how-to\u002Fskills",{"title":65,"path":66,"stem":67},"VS Code Integration","\u002Fen\u002Fhow-to\u002Fvscode","en\u002F2.how-to\u002Fvscode",{"title":69,"path":70,"stem":71,"children":72,"page":22},"Zh","\u002Fzh","zh",[73,77,85],{"title":74,"path":75,"stem":76},"产品概述","\u002Fzh\u002Fintroduction","zh\u002F0.introduction",{"title":14,"path":78,"stem":79,"children":80,"page":22},"\u002Fzh\u002Ftutorials","zh\u002F1.tutorials",[81],{"title":82,"path":83,"stem":84},"快速开始","\u002Fzh\u002Ftutorials\u002Fquickstart","zh\u002F1.tutorials\u002Fquickstart",{"title":24,"path":86,"stem":87,"children":88,"page":22},"\u002Fzh\u002Fhow-to","zh\u002F2.how-to",[89,93,97,101,105,109,113,117,121,125],{"title":90,"path":91,"stem":92},"Canvas 工作区","\u002Fzh\u002Fhow-to\u002Fcanvas","zh\u002F2.how-to\u002Fcanvas",{"title":94,"path":95,"stem":96},"配置","\u002Fzh\u002Fhow-to\u002Fconfigure","zh\u002F2.how-to\u002Fconfigure",{"title":98,"path":99,"stem":100},"定时任务","\u002Fzh\u002Fhow-to\u002Fcron-jobs","zh\u002F2.how-to\u002Fcron-jobs",{"title":102,"path":103,"stem":104},"配置系统服务","\u002Fzh\u002Fhow-to\u002Finstall","zh\u002F2.how-to\u002Finstall",{"title":106,"path":107,"stem":108},"管理指令文件","\u002Fzh\u002Fhow-to\u002Finstructions","zh\u002F2.how-to\u002Finstructions",{"title":110,"path":111,"stem":112},"MCP 服务器","\u002Fzh\u002Fhow-to\u002Fmcp-servers","zh\u002F2.how-to\u002Fmcp-servers",{"title":114,"path":115,"stem":116},"管理 Profile","\u002Fzh\u002Fhow-to\u002Fprofiles","zh\u002F2.how-to\u002Fprofiles",{"title":118,"path":119,"stem":120},"配置 Runtime","\u002Fzh\u002Fhow-to\u002Fruntimes","zh\u002F2.how-to\u002Fruntimes",{"title":122,"path":123,"stem":124},"管理 Skill","\u002Fzh\u002Fhow-to\u002Fskills","zh\u002F2.how-to\u002Fskills",{"title":126,"path":127,"stem":128},"VS Code 集成","\u002Fzh\u002Fhow-to\u002Fvscode","zh\u002F2.how-to\u002Fvscode",{"id":130,"title":41,"body":131,"description":461,"extension":462,"links":463,"meta":464,"navigation":465,"path":42,"seo":466,"stem":43,"__hash__":467},"docs\u002Fen\u002F2.how-to\u002Finstall.md",{"type":132,"value":133,"toc":453},"minimark",[134,138,155,160,186,193,196,213,217,222,246,262,276,280,361,364,393,397,402,421,428,449],[135,136,137],"p",{},"This guide explains how to configure Sink as a system service so it\nstarts automatically on login.",[139,140,141,149],"ul",{},[142,143,144,148],"li",{},[145,146,147],"strong",{},"Linux",": systemd user service",[142,150,151,154],{},[145,152,153],{},"macOS",": launchctl user agent",[156,157,159],"h2",{"id":158},"install-the-service","Install the Service",[161,162,167],"pre",{"className":163,"code":164,"language":165,"meta":166,"style":166},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","sink service install\n","bash","",[168,169,170],"code",{"__ignoreMap":166},[171,172,175,179,183],"span",{"class":173,"line":174},"line",1,[171,176,178],{"class":177},"sBMFI","sink",[171,180,182],{"class":181},"sfazB"," service",[171,184,185],{"class":181}," install\n",[135,187,188,189,192],{},"On Linux, you will be prompted whether to enable ",[168,190,191],{},"loginctl linger","\n(allows the service to run without an active login session).",[135,194,195],{},"After installation, the service file locations are:",[139,197,198,206],{},[142,199,200,202,203],{},[145,201,147],{},": ",[168,204,205],{},"~\u002F.config\u002Fsystemd\u002Fuser\u002Fsink.service",[142,207,208,202,210],{},[145,209,153],{},[168,211,212],{},"~\u002FLibrary\u002FLaunchAgents\u002Fcom.sink.server.plist",[156,214,216],{"id":215},"enable-and-start","Enable and Start",[135,218,219,221],{},[145,220,147],{},":",[161,223,225],{"className":163,"code":224,"language":165,"meta":166,"style":166},"# Equivalent to systemctl --user enable --now sink.service\nsink service enable --now\n",[168,226,227,233],{"__ignoreMap":166},[171,228,229],{"class":173,"line":174},[171,230,232],{"class":231},"sHwdD","# Equivalent to systemctl --user enable --now sink.service\n",[171,234,236,238,240,243],{"class":173,"line":235},2,[171,237,178],{"class":177},[171,239,182],{"class":181},[171,241,242],{"class":181}," enable",[171,244,245],{"class":181}," --now\n",[135,247,248,202,250,253,254,257,258,261],{},[145,249,153],{},[168,251,252],{},"service install"," already loads and starts the service\nautomatically via ",[168,255,256],{},"launchctl bootstrap",". The ",[168,259,260],{},"--now"," flag has no effect\non macOS. Run the following command to verify the status:",[161,263,265],{"className":163,"code":264,"language":165,"meta":166,"style":166},"sink service status\n",[168,266,267],{"__ignoreMap":166},[171,268,269,271,273],{"class":173,"line":174},[171,270,178],{"class":177},[171,272,182],{"class":181},[171,274,275],{"class":181}," status\n",[156,277,279],{"id":278},"routine-operations","Routine Operations",[161,281,283],{"className":163,"code":282,"language":165,"meta":166,"style":166},"sink service status    # Check status\nsink service stop      # Stop\nsink service start     # Start\nsink service restart   # Restart\nsink service disable   # Disable autostart (keeps service files)\nsink service uninstall # Uninstall (stops, disables, and removes service files)\n",[168,284,285,297,309,322,335,348],{"__ignoreMap":166},[171,286,287,289,291,294],{"class":173,"line":174},[171,288,178],{"class":177},[171,290,182],{"class":181},[171,292,293],{"class":181}," status",[171,295,296],{"class":231},"    # Check status\n",[171,298,299,301,303,306],{"class":173,"line":235},[171,300,178],{"class":177},[171,302,182],{"class":181},[171,304,305],{"class":181}," stop",[171,307,308],{"class":231},"      # Stop\n",[171,310,312,314,316,319],{"class":173,"line":311},3,[171,313,178],{"class":177},[171,315,182],{"class":181},[171,317,318],{"class":181}," start",[171,320,321],{"class":231},"     # Start\n",[171,323,325,327,329,332],{"class":173,"line":324},4,[171,326,178],{"class":177},[171,328,182],{"class":181},[171,330,331],{"class":181}," restart",[171,333,334],{"class":231},"   # Restart\n",[171,336,338,340,342,345],{"class":173,"line":337},5,[171,339,178],{"class":177},[171,341,182],{"class":181},[171,343,344],{"class":181}," disable",[171,346,347],{"class":231},"   # Disable autostart (keeps service files)\n",[171,349,351,353,355,358],{"class":173,"line":350},6,[171,352,178],{"class":177},[171,354,182],{"class":181},[171,356,357],{"class":181}," uninstall",[171,359,360],{"class":231}," # Uninstall (stops, disables, and removes service files)\n",[135,362,363],{},"On Linux, you can also use systemctl directly:",[161,365,367],{"className":163,"code":366,"language":165,"meta":166,"style":166},"systemctl --user status  sink\nsystemctl --user restart sink\n",[168,368,369,382],{"__ignoreMap":166},[171,370,371,374,377,379],{"class":173,"line":174},[171,372,373],{"class":177},"systemctl",[171,375,376],{"class":181}," --user",[171,378,293],{"class":181},[171,380,381],{"class":181},"  sink\n",[171,383,384,386,388,390],{"class":173,"line":235},[171,385,373],{"class":177},[171,387,376],{"class":181},[171,389,331],{"class":181},[171,391,392],{"class":181}," sink\n",[156,394,396],{"id":395},"troubleshooting","Troubleshooting",[398,399,401],"h3",{"id":400},"gateway-port-is-in-use","Gateway port is in use",[161,403,405],{"className":163,"code":404,"language":165,"meta":166,"style":166},"lsof -i :5000    # Check which process is using port 5000\n",[168,406,407],{"__ignoreMap":166},[171,408,409,412,415,418],{"class":173,"line":174},[171,410,411],{"class":177},"lsof",[171,413,414],{"class":181}," -i",[171,416,417],{"class":181}," :5000",[171,419,420],{"class":231},"    # Check which process is using port 5000\n",[135,422,423,424,427],{},"Modify the port in ",[168,425,426],{},"~\u002F.sink\u002Fgateway.json",", or specify it at startup:",[161,429,431],{"className":163,"code":430,"language":165,"meta":166,"style":166},"sink gateway start --port 8080\n",[168,432,433],{"__ignoreMap":166},[171,434,435,437,440,442,445],{"class":173,"line":174},[171,436,178],{"class":177},[171,438,439],{"class":181}," gateway",[171,441,318],{"class":181},[171,443,444],{"class":181}," --port",[171,446,448],{"class":447},"sbssI"," 8080\n",[450,451,452],"style",{},"html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}",{"title":166,"searchDepth":174,"depth":235,"links":454},[455,456,457,458],{"id":158,"depth":235,"text":159},{"id":215,"depth":235,"text":216},{"id":278,"depth":235,"text":279},{"id":395,"depth":235,"text":396,"children":459},[460],{"id":400,"depth":311,"text":401},"Configure Sink as a system service that starts automatically on login","md",null,{},true,{"title":41,"description":461},"I1t22j62hWqkOJ_iBl47rxFuz98V-7j_7PpzzKTOl2A",[469,471],{"title":37,"path":38,"stem":39,"description":470,"children":-1},"Configure and manage periodic automated tasks for AI agents",{"title":45,"path":46,"stem":47,"description":472,"children":-1},"How to write and manage instruction files for AI Agents",1778225993145]