github / github/copilot-cli

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

Aperta
#3,001 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:agents area:tools
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

### 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_

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia esaminando come Copilot CLI genera e tiene traccia dei processi shell, quindi analizza come viene attualmente mediato l’uso interattivo degli strumenti. Confronta il comando /shell proposto con il passaggio da una sessione all’altra tramite schede o riquadri divisi; il lavoro è completo quando un utente può prendere il controllo di una shell attiva avviata da un agent e tornare all’agent in sicurezza.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
shell
Ambito
cli, developer-experience
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Tranquilla
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.