Unable to Open CLI Chat from Copilot Session Pane (Right Side) Error: Failed to open chat session: Illegal argument: character must be non-negative
- Linguagem predominante
- Shell
- Estrelas
- 11.2k
- Forks
- 1.9k
- Merge médio
- 14h 16min
- PRs com merge (30d)
- 6
Descrição
### 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
Guia de contribuição
Direção de pesquisa
Comece reproduzindo a falha no VS Code com o GitHub Copilot CLI 1.0.61 a partir do painel de sessão do Copilot no lado direito e, em seguida, compare o comportamento com a issue vinculada do VS Code. Rastreie o ponto de entrada que abre a sessão de chat da CLI e identifique onde o argumento de caractere não negativo é produzido; está concluído quando um novo chat da CLI é aberto com sucesso sem o erro.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- shell, vscode
- Domínio
- cli, developer-experience
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Pouca atividade
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 52/100