Repository navigation
[ACP] session/new never sends available_commands_update, so ACP clients show an empty command/skill palette #6322
Replies: 6 comments
|
Local patch, verified. The same fork branch now also emits
After Measured ( The skills registry is optional ( This is stacked on the |
|
Update (Paseo slash palette). Emitting Fix on the Paseo side: wait for that first
dsh ACP source for the emit + |
|
There are two gaps here: advertising commands and running them. Both come from the same cause at 0.2.2-rc.1, which is that the bridge never touches the command registry. The bridge's If the fork's |
|
Reproduced on dsh 0.2.2-rc.3: Zero updates on the whole connection, so the 0.2.2-rc.1 finding above still holds. Same symptom in T3 Code (pingdotgg/t3code): dsh threads get an empty Naming note for the emit: T3 classifies only Also agree that advertising without routing |
|
Adding a DSH 0.2.2-rc.3 source review and a T3 Code v0.1.10 client case. Our Local ACP provider has empty skill/command menus while the runtime still has the skill loader and valid local skill directories. I opened the client-side discussion here. T3 ACP discovery and invocation discussion The smallest useful fix appears to be session-scoped skill discovery plus a verified invocation path.
Suggested acceptance fixtures are an ordinary skill, a user-only skill, a user-disabled skill, a linked directory and a registered host command. Cover new/resumed sessions, two cwd/scope combinations, catalog updates, delayed initial notification, skill injection and host-command execution. An incomplete discovery result should remain distinguishable from a complete empty catalog. This adds a proposed implementation and acceptance scope. The source checks are complete, while the proposed integration fixture suite remains to be run. |
|
Adding another T3 Code user report: after selecting DSH, typing The main impact is discoverability: I want to browse available skills and select one visually, without remembering skill names or file paths. An empty list makes it hard to tell whether no skills are installed, discovery is unsupported, or discovery failed. T3's documentation says ACP commands come from the agent and A useful end-to-end result would be: select DSH, see the available user-invocable skills, choose one, and have that exact skill loaded with its arguments preserved. If discovery is unavailable, an explicit explanation would be much clearer than an empty menu. Verification scope: this is a user-reported UI symptom plus confirmation of the configured T3 driver. Exact installed versions, |
Uh oh!
There was an error while loading. Please reload this page.
Summary.
dsh's ACP bridge never advertises slash commands. ACP clients learn an agent's commands from asession/updatenotification carryingsessionUpdate: "available_commands_update", sent aftersession/new(and aftersession/load/session/resume).@deepseek-ai/dsh-acpdoes not send it at any point, so the command palette of every ACP client is empty for dsh. Paseo 0.8.0 showsNo commands foundwhen the user types/.Where.
packages/acp/acp/src/index.tsβ the bridge's only update emitters areagent_message_chunk(β577),agent_message_chunk/agent_thought_chunk(β566),tool_call(β593),tool_call_update(β618),usage_update(β631) andconfig_option_update(β776).available_commands_updatedoes not appear in the package at all.session/newreturns only:Measured (dsh
0.1.5-rc.1, macOS,dsh --profile acpover stdio). A minimal ACP client sendsinitialize, thensession/new, then waits 3 s while recording everysession/update:Zero updates on the whole connection, not merely zero commands. The count does not change with a longer wait or a second
session/new, so this is not a timing race β the notification is never produced.Why the registries are unreachable from this path. The bridge's cordis context dependencies are
ctx.agents,ctx.effect,ctx.get,ctx.llm,ctx.logger,ctx.on,ctx.sessionPersistenceandctx.sessions. There is noctx.skillsand noctx.commands, so the skill and command registries that the rest of dsh populates are never consulted when a session is opened for an ACP client.Impact. Skills remain fully functional for the model in a dsh ACP session β
skill,skill-filesystemandtool-skillare mounted bydsh-base(skill-badgeis the only disabled row), roots are~/.agents/skills,~/.dsh/skillsand the project's.dsh/skills/.agents/skills, and the agent invokes them through theskilltool. What is missing is human-facing discovery: a user driving dsh from an ACP client cannot browse or invoke what is installed, and gets an empty palette with no indication that anything is wrong. This is a visible asymmetry against sibling providers in the same client β Codex surfaces its skills through theskills/listapp-server RPC and Claude through the Agent SDK, so the same UI is populated for them and empty for dsh.Request. After a session is established (
session/new,loadSession,unstable_resumeSession), emit onesession/updatewithsessionUpdate: "available_commands_update", listing the currently resolvable model- and user-invocable skills together with any other user-invocable commands, read fromctx.skills/ctx.commands. Re-emit on registry change so an already-open client picks up newly installed skills without reconnecting.All reactions