v2.53.0
Dashboard Built-in Slash Commands
The dashboard now discovers and intercepts dreb’s registered built-in slash commands instead of passing them to the model.
What changed
- Automatic command discovery. RPC
get_commandsexposes registered built-ins, so current and future commands are surfaced without a dashboard-specific registry update. - Fail-closed model boundary. Recognized built-ins are rejected across RPC
prompt,steer, andfollow_up, including command-loading races and failures. - Dashboard actions. Existing browser flows now handle settings/model, import/export, rename/session stats, fork/tree, new/compact/dream, resume/reload, and quit.
- Clear unsupported behavior. Terminal-only commands are omitted from autocomplete but intercepted with guidance; valid unfinished commands show an explicit not-yet-implemented notice.
- Safer composer behavior. Built-in collisions are deterministic, unknown slash text remains ordinary prompt input, and attachments are preserved when a command cannot run.
- Expanded docs and regression coverage. RPC, extension, dashboard, and package documentation now describe the contract, with end-to-end tests for mapped actions, opt-outs, races, and fail-closed paths.
Implemented in PR 425.