Repository navigation
Commit e70f345
committed
feat(gpui): offer End and Recover for remote workspace threads
A start that fails with a lifecycle code, such as session_ended or
session_active, leaves a prompt in a GPUI global holding
buzz-remote-sessions' RecoveryPrompts. A start or recovery that works
clears it. Prompts live in memory only.
The thread banner shows each prompt in its thread with the desktop's
buttons: Recover from checkpoint (unless the provider said there is
none) and Start fresh, End session, or Check session while it ends.
End's reply state picks the next banner. When the agent's provider
cannot end and recover sessions, the banner offers only Dismiss.
Signed-off-by: Tee8z <[email protected]>1 parent 1b512a9 commit e70f345
2 files changed
Lines changed: 481 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
34 | 36 | | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
93 | 96 | | |
94 | 97 | | |
95 | 98 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
105 | 110 | | |
106 | 111 | | |
107 | 112 | | |
| |||
0 commit comments