github / github/copilot-cli

Allow users to "alt+tab" to agent-spawned shell sessions for interactive tool use

Abierto
#3,001 0 comentarios 0 reacciones 0 asignados Ver en GitHub
area:agents area:tools
Lenguaje dominante
Shell
Estrellas
11.2k
Forks
1.9k
Merge medio
14 h 16 min
PR fusionados (30 d)
6

Descripción

### Describe the feature or problem you'd like to solve

When the Copilot CLI spawns a shell process, I have no way to see or interact with that shell directly, in the event it decides to use one of my tools that functions as a terminal ui. Just today, copilot instructed me to use arrow keys, this is guidance that I cannot follow.

### Proposed solution

Add a mechanism for the user to switch to or "alt+tab" to a running agent spawned shell session.

Perhaps, a `/shell ` command that swaps focus to the live session, or a tab or split-pane view showing active shell sessions the agent has started.

### Example prompts or workflows

The agent is great at knowing what to run but sometimes the best tool for the job is interactive. Right now, the agent must either avoid interactive tools entirely or attempt to puppet them through a text proxy both are worse outcomes than just letting me take the wheel for 5 seconds.

Example workflows this enables:
1. "Find me the config file for X"
2. "Debug this test failure"
3. "Resolve these merge conflicts"
4. "Help me set up this project"
5. "Show me what's running on this port"

### Additional context

_No response_

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by examining how the Copilot CLI spawns and tracks shell processes, then trace how interactive tool use is currently mediated. Compare the proposed /shell command with tab or split-pane session switching; done means a user can take control of a live agent-spawned shell and return to the agent safely.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
shell
Área
cli, developer-experience
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Tranquilo
Claridad
Necesita aclaración
Aptitud para principiantes
30/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.