github / github/copilot-cli

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

Aperta
#3,265 0 commenti 4 reazioni 0 assegnatari Vedi su GitHub
area:agents
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

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_

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Nell'issue non sono identificati file, test o punti di ingresso, quindi per prima cosa occorre individuare la gestione dei comandi della CLI e il flusso di interruzione dell'agent. Chiarisci se si preferisce `/pause` o `/stop`, quando avviene l'interruzione e come riprende il lavoro; l'implementazione completata deve corrispondere al comportamento dei comandi concordato senza interrompere il ragionamento in corso.

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

Valutazione

Stack tecnologico
shell
Ambito
cli
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.