github / github/copilot-cli

No active shell session

Aberta
#2,822 0 comentários 1 reação 0 responsáveis Ver no GitHub
area:platform-linux area:tools
Linguagem predominante
Shell
Estrelas
11.2k
Forks
1.9k
Merge médio
14h 16min
PRs com merge (30d)
6

Descrição

### Describe the bug

OS: Pop OS LTS 22.04
Shell: /bin/bash 5.1.16(1)-release
Copilot: GitHub Copilot CLI 1.0.32

Copilot doesn't seem able to execute shell commands. It took about two minutes to generate this output. The log indicates initialization timed out.

### Affected version

GitHub Copilot CLI 1.0.32

### Steps to reproduce the behavior

`copilot --log-interactive-shells`

[shell-0-1776516585182.log](https://github.com/user-attachments/files/26854973/shell-0-1776516585182.log)

```
❯ run echo hello using your bash shell tool

● Running a quick shell command to print "hello" using bash. Reported intent alongside the command.

● Print hello to stdout (shell)
│ echo hello
└ 1 line...

✗ Read shell output Waiting up to 2 seconds for command output
└ Invalid shell ID: 0. Please supply a valid shell ID to read output from.

● hello
```

### Expected behavior

"hello" appears in a timely manner without errors

### Additional context

_No response_

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Reproduce the problem with `copilot --log-interactive-shells` and inspect the attached `shell-0-1776516585182.log` for the initialization timeout. Trace the interactive shell startup and command execution path; done means `echo hello` completes promptly without an invalid shell ID or shell-output error.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
bash, shell
Domínio
cli
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Pouca atividade
Clareza
Razoavelmente clara
Facilidade para iniciantes
48/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.