Add a method to /exit from Copilot CLI regardless of nested sessions
Nessuno ha ancora preso questa issue.
- 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
Add a method to /exit from Copilot CLI regardless of nested sessions
Proposed solution
Add a /exit behavior that gracefully terminates the current Copilot CLI, either by changing the /exit behavior, adding a subcommand or adding a separate command.
Example prompts or workflows
N/A
Additional context
When using a Copilot CLI session, and running several /new sessions after completing unrelated work, invoking the /exit command will currently exit the current session and show the previous one - instead of existing Copilot CLI.
This matches behavior matches with the current docs:
/exit,/quit: Close the current session. If other sessions are running, this foregrounds the newest remaining one instead of quitting. Quits the CLI only when it is the last open session./exit printalways tears down the CLI and offers to dump the transcript.
To fully close Copilot CLI after multiple /new turns on either has to run /exit multiple times or terminate the process.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia tracciando il comando /exit esistente e la gestione delle sessioni utilizzata dopo più sessioni /new. Riproduci il comportamento documentato con sessioni annidate, quindi verifica che il comportamento scelto per /exit chiuda l'intero Copilot CLI preservando al contempo il comportamento esistente della sessione corrente, ove appropriato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- shell
- Ambito
- cli
- Tipo di issue
- Funzionalità
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Attiva
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 55/100