Unable to Open CLI Chat from Copilot Session Pane (Right Side) Error: Failed to open chat session: Illegal argument: character must be non-negative
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
### Describe the bug
I am unable to open a CLI chat from the Copilot session panel on the right side of VS Code.
Whenever I try, the following error is shown:
Failed to open chat session: Illegal argument: character must be non-negative
This blocks me from starting a CLI chat session from the Copilot UI.
### Affected version
GitHub Copilot CLI 1.0.61.
### Steps to reproduce the behavior
1. Open VS Code.
2. Open Copilot chat/session panel on the right side.
3. Attempt to start or open a CLI chat session.
4. Observe the error popup/message.
### Expected behavior
A new CLI chat session should open successfully.
### Additional context
The operation fails with:
Failed to open chat session: Illegal argument: character must be non-negative
similar to this one: https://github.com/microsoft/vscode/issues/319726
貢獻指南
研究方向
Start by reproducing the failure in VS Code with GitHub Copilot CLI 1.0.61 from the right-side Copilot session panel, then compare the behavior with the linked VS Code issue. Trace the CLI chat-session opening entry point and identify where the non-negative character argument is produced; done means a new CLI chat opens successfully without the error.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- shell, vscode
- 領域
- cli, developer-experience
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 52/100