Add pause and restart controls for session agent processes
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Keine Sprachdaten
- Sterne
- 2.1k
- Forks
- 157
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Feature summary
Add controls to pause a session and restart its underlying agent process while preserving the same session.
What problem are you trying to solve?
I want to temporarily stop a session's execution or restart its agent process without losing conversation history, workspace changes, or having to recreate the session. The operation should affect only the selected session, not require restarting the entire app.
Proposed solution
- Provide discoverable Pause session and Restart agent actions in the session UI.
- Pause execution without archiving or deleting the session, and clearly indicate the paused state.
- Restart the underlying agent process for the existing session, preserving its conversation history, workspace, uncommitted changes, and session configuration.
- Make lifecycle transitions and any failures visible so users can tell whether the session is paused, restarting, or ready.
Here, restart means restarting the agent process while keeping the session, not merely resuming a paused response or starting a new conversation.
Workflow impact
Gives users per-session execution control and a way to recover a stuck or unhealthy agent without disrupting other sessions or discarding existing work.
Additional context
Related: #2462 requests pausing work on a session. This request also covers explicitly restarting the agent process while preserving session continuity.
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, die Einstiegspunkte der Session-UI und des Lebenszyklus des Agent-Prozesses zu lokalisieren; im Issue werden keine Dateien oder Tests genannt. Als abgeschlossen gilt die Aufgabe, wenn die Aktionen „Pause session“ und „Restart agent“ pro Session den Gesprächsverlauf, Änderungen im Workspace, die Konfiguration und die Session-Identität erhalten und dabei die Zustände pausiert, wird neu gestartet, bereit und fehlgeschlagen anzeigen, ohne andere Sessions zu beeinflussen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Bereich
- desktop
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100