Repository navigation
Commit 311302c
committed
feat(gateway): task-suggestion acceptance modes with compact split-button card
- taskSuggestions.accept gains additive mode (worktree default | local | cloud | session) + cloudProfileId; operator.admin unchanged; worktree requests stay {taskId}-only for older gateways
- local reuses the plain-cwd create; cloud mirrors the Control UI create-empty -> sessions.dispatch -> send sequence with pre-claim profile validation and full rollback; session delivers the prompt into the source session (steer single active run, plain turn when idle, ambiguous refused) and can only cancel the chip on failure, never touch the source session
- Control UI card redesigned per owner reference: repo-basename eyebrow, clamped summary, instructions expander, split button with per-profile cloud items or a disabled "No cloud environment configured" hint
- TUI gains the same modes as selector rows with capability gating and double-Enter arming
Release-note context: operators now choose where an accepted follow-up runs — isolated worktree (default), the project checkout, a configured cloud worker, or as the next instruction in the current session — from a compact suggestion card.1 parent ad1a2cd commit 311302c
29 files changed
Lines changed: 1488 additions & 283 deletions
File tree
- docs
- .generated
- gateway
- packages/gateway-protocol/src/schema
- src
- gateway/server-methods
- tui
- ui/src
- e2e
- i18n/locales
- lib
- pages
- chat
- components
- worktrees
- styles/chat
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9378 | 9378 | | |
9379 | 9379 | | |
9380 | 9380 | | |
| 9381 | + | |
| 9382 | + | |
9381 | 9383 | | |
9382 | 9384 | | |
9383 | | - | |
| 9385 | + | |
| 9386 | + | |
| 9387 | + | |
9384 | 9388 | | |
9385 | 9389 | | |
| 9390 | + | |
| 9391 | + | |
9386 | 9392 | | |
9387 | 9393 | | |
9388 | 9394 | | |
9389 | 9395 | | |
| 9396 | + | |
| 9397 | + | |
9390 | 9398 | | |
9391 | 9399 | | |
9392 | 9400 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
13 | 22 | | |
14 | 23 | | |
15 | 24 | | |
| |||
54 | 63 | | |
55 | 64 | | |
56 | 65 | | |
57 | | - | |
58 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
59 | 72 | | |
60 | 73 | | |
61 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
0 commit comments