Add a method to /exit from Copilot CLI regardless of nested sessions
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Shell
- Sterne
- 11.2k
- Forks
- 1.9k
- Ø Merge
- 14 Std. 16 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, den bestehenden Befehl /exit und die Sitzungsverwaltung nachzuverfolgen, die nach mehreren /new-Sitzungen verwendet wird. Reproduziere das dokumentierte Verhalten mit verschachtelten Sitzungen und überprüfe anschließend, dass das gewählte Verhalten von /exit die gesamte Copilot CLI schließt und dabei das bestehende Verhalten der aktuellen Sitzung beibehält, wo es angebracht ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- shell
- Bereich
- cli
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 55/100