github / github/copilot-cli

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

Offen
#3,265 0 Kommentare 4 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:agents
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

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_

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Im Issue sind keine Dateien, Tests oder Einstiegspunkte angegeben. Daher sollte zuerst die Befehlsverarbeitung der CLI und der Ablauf der Agentenunterbrechung ermittelt werden. Kläre, ob `/pause` oder `/stop` bevorzugt wird, wann die Unterbrechung erfolgt und wie die Arbeit fortgesetzt wird; die fertige Umsetzung sollte dem vereinbarten Befehlsverhalten entsprechen, ohne die aktuelle Überlegung abzuschneiden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
shell
Bereich
cli
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.