forked from bots-garden/ori
| ✨ Workspace panel, selectors, previews, desktop app, sandbox template, resizable file tree, light/dark theme | 1 | # Managed by IssueSpec. Hand edits are welcome; keep the schema valid. |
| 2 | id: 8 | |
| 3 | title: Add ACP commands | |
| 4 | state: closed | |
| 5 | author: | |
| 6 | name: k33g | |
| 7 | email: ph.charriere@gmail.com | |
| 8 | createdAt: 2026-09-17T20:29:17.602Z | |
| 9 | updatedAt: 2026-09-17T22:57:22.259Z | |
| 10 | labels: [] | |
| 11 | body: | | |
| 12 | The Claude Code ACP adapter announces its slash commands with a | |
| 13 | `session/update` of kind `available_commands_update`; the bridge already relayed it | |
| 14 | verbatim but the SPA ignored it. | |
| 15 | ||
| 16 | Implemented (2026-09-17): | |
| 17 | - Reducer: `available_commands_update` stores `commands` in `ChatState` (typed | |
| 18 | `AcpAvailableCommand` in `ui/src/protocol.ts`), cleared on `hello`. | |
| 19 | - Composer: the commands are merged into the `/` popup with the skills discovered on | |
| 20 | disk (ticket 0012), deduplicated by name and tagged "command"; picking one inserts | |
| 21 | `/<name> ` — the text in `session/prompt` is the invocation mechanism. | |
| 22 | - Mock agent: emits one `available_commands_update` (`review`, `compact`) at session | |
| 23 | start so `make run-mock` exercises the feature; covered by a Go test. | |
| 24 | tasks: [] | |
| 25 | comments: [] |