Add a method to /exit from Copilot CLI regardless of nested sessions
Nadie ha tomado este issue todavía.
- 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
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.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Comienza rastreando el comando /exit existente y la gestión de sesiones que se utiliza después de varias sesiones /new. Reproduce el comportamiento documentado con sesiones anidadas y, después, verifica que el comportamiento elegido de /exit cierre todo Copilot CLI, preservando al mismo tiempo el comportamiento existente de la sesión actual cuando corresponda.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- shell
- Área
- cli
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Activo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 55/100