/restart does not work with --name
未關閉
適合新手
area:sessions
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
### Describe the bug
GitHub Copilot CLI 1.0.48.
Repo steps:
1. `copilot --name foo`
2. `/restart`
Expected: restart
Actual: exit, fail to start
```
C:\Users\zhaoyangli> copilot --name foo
╭─╮╭─╮ Changes +0 -0
╰─╯╰─╯ AI Units 0 (16s)
█ ▘▝ █ Resume copilot --resume="foo"
▔▔▔▔
error: option '-n, --name ' cannot be used with option '--resume[=value]'
C:\Users\zhaoyangli>
```
### Affected version
_No response_
### Steps to reproduce the behavior
_No response_
### Expected behavior
_No response_
### Additional context
_No response_
貢獻指南
研究方向
使用 `copilot --name foo` 後接 `/restart` 重現問題,然後追蹤 `/restart` 的進入點,以及 `--name` 和 `--resume` 引數的組裝方式。完成的標準是:重新啟動具名工作階段時不再因選項衝突錯誤而結束。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- shell
- 領域
- cli
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 冷清
- 描述清晰度
- 描述清楚
- 新手友好度
- 68/100