openclaw/src/gateway/server
Glucksberg 4ee808dbcb feat: add plugin command API for LLM-free auto-reply commands
This adds a new `api.registerCommand()` method to the plugin API, allowing
plugins to register slash commands that execute without invoking the AI agent.

Features:
- Plugin commands are processed before built-in commands and the agent
- Commands can optionally require authorization
- Commands can accept arguments
- Async handlers are supported

Use case: plugins can implement toggle commands (like /tts_on, /tts_off)
that respond immediately without consuming LLM API calls.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-24 06:28:22 +00:00
..
__tests__ feat: add plugin command API for LLM-free auto-reply commands 2026-01-24 06:28:22 +00:00
ws-connection fix: enforce secure control ui auth 2026-01-21 23:58:42 +00:00
close-reason.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
health-state.ts fix: canonicalize main session keys 2026-01-15 08:05:41 +00:00
hooks.ts refactor(logging): split config + subsystem imports 2026-01-19 00:15:44 +00:00
http-listen.ts refactor(src): split oversized modules 2026-01-14 01:17:56 +00:00
plugins-http.test.ts chore: format sources and update protocol outputs 2026-01-15 05:17:19 +00:00
plugins-http.ts refactor(logging): split config + subsystem imports 2026-01-19 00:15:44 +00:00
tls.ts fix: stabilize gateway ws + iOS 2026-01-19 10:09:04 +00:00
ws-connection.ts fix: stabilize ci 2026-01-21 22:59:11 +00:00
ws-types.ts refactor(src): split oversized modules 2026-01-14 01:17:56 +00:00