openclaw/src/plugins
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
..
runtime refactor: centralize inbound session updates 2026-01-23 23:33:32 +00:00
bundled-dir.ts fix: restore bundled plugin discovery 2026-01-21 03:40:05 +00:00
cli.test.ts fix: quiet update banner and skip duplicate plugin CLI 2026-01-21 07:37:22 +00:00
cli.ts fix: quiet update banner and skip duplicate plugin CLI 2026-01-21 07:37:22 +00:00
commands.ts feat: add plugin command API for LLM-free auto-reply commands 2026-01-24 06:28:22 +00:00
config-schema.ts fix: add plugin config schema helper 2026-01-19 03:39:36 +00:00
config-state.test.ts test: add tests for normalizePluginsConfig memory slot handling 2026-01-24 03:08:27 +00:00
config-state.ts fix: respect "none" value for plugins.slots.memory 2026-01-24 03:08:27 +00:00
discovery.test.ts feat: bundle provider auth plugins 2026-01-17 09:38:53 +00:00
discovery.ts fix: merge plugin manifest types 2026-01-20 11:22:28 +00:00
enable.ts fix(build): resolve ts2367 comparisons 2026-01-18 16:35:52 +00:00
hook-runner-global.ts refactor(logging): split config + subsystem imports 2026-01-19 00:15:44 +00:00
hooks.ts feat: add tool_result_persist hook 2026-01-19 13:11:31 +01:00
install.test.ts fix: stabilize tests and logging 2026-01-18 18:43:31 +00:00
install.ts feat: unify hooks installs and webhooks 2026-01-17 07:08:04 +00:00
installs.ts chore: run format and fix sandbox browser timeouts 2026-01-16 09:18:58 +00:00
loader.test.ts test: trim plugin + telegram test setup 2026-01-23 06:22:09 +00:00
loader.ts feat: add plugin command API for LLM-free auto-reply commands 2026-01-24 06:28:22 +00:00
manifest-registry.ts feat: add OpenProse plugin skills 2026-01-23 00:49:40 +00:00
manifest.ts feat: add OpenProse plugin skills 2026-01-23 00:49:40 +00:00
providers.ts refactor(logging): split config + subsystem imports 2026-01-19 00:15:44 +00:00
registry.ts feat: add plugin command API for LLM-free auto-reply commands 2026-01-24 06:28:22 +00:00
runtime.ts feat: add plugin command API for LLM-free auto-reply commands 2026-01-24 06:28:22 +00:00
schema-validator.ts fix: enforce plugin config schemas (#1272) (thanks @thewilloftheshadow) 2026-01-20 11:03:17 +00:00
services.ts refactor(logging): split config + subsystem imports 2026-01-19 00:15:44 +00:00
slots.test.ts style: format code 2026-01-18 19:36:46 +00:00
slots.ts style: format code 2026-01-18 19:36:46 +00:00
status.ts refactor(logging): split config + subsystem imports 2026-01-19 00:15:44 +00:00
tools.optional.test.ts fix: enforce plugin config schemas (#1272) (thanks @thewilloftheshadow) 2026-01-20 11:03:17 +00:00
tools.ts refactor(logging): split config + subsystem imports 2026-01-19 00:15:44 +00:00
types.ts feat: add plugin command API for LLM-free auto-reply commands 2026-01-24 06:28:22 +00:00
update.ts feat: sync plugin updates with update channel 2026-01-20 16:00:42 +00:00
voice-call.plugin.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00