nandi/oripublic Fork 0
4166f8fba899b222fab287c398dcab9bf6f6e5c9
Commits
Clone
git clone https://git.rickub.com/nandi/ori.git
git clone ssh://git@rickub.com/nandi/ori.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

forked from bots-garden/ori

0008-add-acp-commands.yaml · 25 lines · 1.0 KBYAML Blame HistoryRaw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
id: 8
title: Add ACP commands
state: closed
author:
  name: k33g
  email: ph.charriere@gmail.com
createdAt: 2026-09-17T20:29:17.602Z
updatedAt: 2026-09-17T22:57:22.259Z
labels: []
body: |
  The Claude Code ACP adapter announces its slash commands with a
  `session/update` of kind `available_commands_update`; the bridge already relayed it
  verbatim but the SPA ignored it.

  Implemented (2026-09-17):
  - Reducer: `available_commands_update` stores `commands` in `ChatState` (typed
    `AcpAvailableCommand` in `ui/src/protocol.ts`), cleared on `hello`.
  - Composer: the commands are merged into the `/` popup with the skills discovered on
    disk (ticket 0012), deduplicated by name and tagged "command"; picking one inserts
    `/<name> ` — the text in `session/prompt` is the invocation mechanism.
  - Mock agent: emits one `available_commands_update` (`review`, `compact`) at session
    start so `make run-mock` exercises the feature; covered by a Go test.
tasks: []
comments: []