Copilot CLI starts in wrong working directory
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
### Describe the bug
When `copilot` is launched, the agent worker process runs in a working directory that does **not** match the directory the user launched `copilot` from. Instead, the worker's CWD is set to the per-user VS Code install folder (`C:\Users\\AppData\Local\Programs\Microsoft VS Code`).
### Affected version
GitHub Copilot CLI 1.0.55-1
### Steps to reproduce the behavior
1. Open a fresh PowerShell 7 window via Windows Terminal
2. Confirm `pwd` shows `C:\Users\`.
3. Run `agency copilot --allow-all`.
4. Ask the agent: *"What is your current working directory?"* — or have it run any tool that reports CWD.
### Expected behavior
Agent CWD is `C:\Users\` (the directory `copilot` was launched from).
## Actual
Agent CWD is `C:\Users\\AppData\Local\Programs\Microsoft VS Code\`.
### Additional context
_No response_
貢獻指南
評估
這個 Issue 還沒有評估資料。