Skip to content

Commit e72b836

Browse files
qicesunCopilot
andcommitted
docs(brainstorm): 视觉伴侣补充 Copilot CLI 服务器启动说明
Copilot CLI 上视觉伴侣缺少专属启动指引,导致 agent 用阻塞式前台调用启动 server,使 CLI 一直卡在 working。补充 Copilot CLI 段:用后台/异步 shell 模式启动使 server 常驻且工具调用立即返回,收尾用 stop-server.sh。 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent b72378b commit e72b836

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

skills/brainstorming/visual-companion.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,15 @@ scripts/start-server.sh --project-dir /path/to/project
7070
scripts/start-server.sh --project-dir /path/to/project
7171
```
7272

73+
**Copilot CLI:**
74+
```bash
75+
# 用后台 shell 会话启动,让服务器跨会话轮次常驻、并立即交回控制权:
76+
# 有 bash 工具就设 async: true,用 powershell 工具就设 detach: true。
77+
# 脚本是 .sh,请经 bash 运行(PowerShell 环境下走 Git Bash)。
78+
# 结束后运行 scripts/stop-server.sh 收尾。
79+
scripts/start-server.sh --project-dir /path/to/project --foreground
80+
```
81+
7382
**Gemini CLI:**
7483
```bash
7584
# 使用 --foreground 并在 shell 工具调用上设置 is_background: true,

0 commit comments

Comments
 (0)