github / github/copilot-cli

Add a `/pause` or `/stop` slash command to gently interrupt an agent

Ouverte
#3,265 0 commentaires 4 réactions 0 personnes assignées Voir sur GitHub
area:agents
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
6

Description

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

I want a way to gently interrupt an agent the next time it finishes reasoning. I hate canceling it mid-reasoning, but sometimes I need it to pause so we can talk.

### Proposed solution

There are times when Copilot is doing lots of reasoning and moving really quick. I want it to just pause, so I can get some context of what's going on or take a moment to think through what's going on. I don't need it to cancel and just be stopped and cut off mid-reasoning token. I also don't always need to just give it a nudge. And it feels a little bit weird to send a response of "stop" that the LLM then has to reason about to stop. If we added a `/stop` or `/pause` it could just stop copilot at the next time it tries to take an action. It can complete it's thought so it's in the context of the conversation, but I can then resume control. By me responding, it can go back to work. Not sure if you need any other command to resume (probably not?).

### Example prompts or workflows

_No response_

### Additional context

_No response_

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Aucun fichier, test ou point d’entrée n’est identifié dans l’issue ; il faut donc d’abord localiser la gestion des commandes de la CLI et le flux d’interruption de l’agent. Détermine si `/pause` ou `/stop` est préféré, quand l’interruption se produit et comment le travail reprend ; l’implémentation terminée doit correspondre au comportement de commande convenu sans interrompre le raisonnement en cours.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
shell
Domaine
cli
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.