co-mono/packages/coding-agent/docs
Daniel Nouri 0ad189f12a
Add get_commands RPC for headless clients (#995)
* Add get_commands RPC for headless clients

Headless clients like Emacs can now query which commands are available.
Previously they could only discover file-based prompt templates by
scanning the filesystem; extension commands and skills were invisible.

The response includes each command's name, description, and source
(extension, template, or skill). Commands appear in the same order
as the TUI's autocomplete: extension commands first, then templates,
then skills.

Built-in TUI commands (/settings, /fork, etc.) are excluded since
they require the interactive UI. Commands like /compact have dedicated
RPC equivalents instead.

* Add location and path to get_commands response

Clients can show where commands come from (user/project/path) and
display file paths in tooltips. The data is already available on
templates and skills - just exposing it.
2026-01-28 02:34:15 +01:00
..
images docs(coding-agent): update README-NEW.md, tui.md, add new docs 2026-01-26 02:27:19 +01:00
compaction.md docs(coding-agent): improve README structure and update session/compaction docs 2026-01-26 01:25:15 +01:00
custom-provider.md docs: rewrite custom-provider.md with actual stream pattern 2026-01-24 23:18:36 +01:00
development.md docs(coding-agent): update README-NEW.md, tui.md, add new docs 2026-01-26 02:27:19 +01:00
extensions.md docs(coding-agent): add placement note for extension hot-reload 2026-01-26 21:55:57 +01:00
json.md docs(coding-agent): update README-NEW.md, tui.md, add new docs 2026-01-26 02:27:19 +01:00
keybindings.md docs(coding-agent): improve README structure and update session/compaction docs 2026-01-26 01:25:15 +01:00
models.md docs: update changelog guidance and links 2026-01-26 15:45:51 +01:00
packages.md docs(coding-agent): clarify dependency categories 2026-01-27 00:13:54 +01:00
prompt-templates.md docs(coding-agent): clarify how to toggle settings and invoke templates 2026-01-25 20:56:24 +01:00
providers.md docs(coding-agent): note that model list is updated with each release 2026-01-26 00:18:45 +01:00
rpc.md Add get_commands RPC for headless clients (#995) 2026-01-28 02:34:15 +01:00
sdk.md feat(coding-agent): ResourceLoader, package management, and /reload command (#645) 2026-01-22 13:49:38 +01:00
session.md docs(coding-agent): improve README structure and update session/compaction docs 2026-01-26 01:25:15 +01:00
settings.md fix(coding-agent): add force exclude pattern and fix config toggle persistence 2026-01-26 12:47:07 +01:00
shell-aliases.md docs(coding-agent): add windows.md and shell-aliases.md 2026-01-25 22:12:03 +01:00
skills.md docs(coding-agent): add security warnings for third-party packages 2026-01-26 12:38:04 +01:00
terminal-setup.md docs(coding-agent): move terminal setup to docs/terminal-setup.md 2026-01-25 21:34:07 +01:00
themes.md docs(coding-agent): fix token count in themes.md, rewrite skills.md 2026-01-25 20:48:47 +01:00
tree.md Fix navigateTree API: add missing type updates, handler passthrough, and docs 2026-01-16 21:47:01 +01:00
tui.md fix(tui): fix scrollback overwrite when appending lines past viewport 2026-01-26 16:51:28 +01:00
windows.md docs(coding-agent): add windows.md and shell-aliases.md 2026-01-25 22:12:03 +01:00