openclaw/src/cli/program
Maude Bot 4ad9622efb
fix(cli): load plugin registry for message/channels commands
Fixes #1327 - 'clawdbot message --channel telegram' fails with
'Unknown channel: telegram' because plugins weren't loaded.

The Commander code path (non-route-first) calls ensureConfigReady() in
preAction but doesn't load the plugin registry. Channel plugins like
telegram are registered during plugin loading, so getChannelPlugin()
returns undefined without it.

This adds ensurePluginRegistryLoaded() call for commands that need
channel plugin access: message, channels, directory.
2026-01-20 16:41:15 -05:00
..
message style: apply oxfmt 2026-01-19 01:11:42 +00:00
build-program.ts fix: centralize cli command registry 2026-01-19 05:36:09 +00:00
command-registry.ts style: oxfmt core files 2026-01-19 05:59:29 +00:00
config-guard.ts fix: run doctor config flow once 2026-01-20 13:27:51 +00:00
context.ts chore: remove unused program context imports 2026-01-19 00:15:45 +00:00
help.ts refactor: remove bridge protocol 2026-01-19 10:08:29 +00:00
helpers.ts CLI: streamline startup paths and env parsing 2026-01-18 23:10:39 +00:00
preaction.ts fix(cli): load plugin registry for message/channels commands 2026-01-20 16:41:15 -05:00
register.agent.ts fix: add agents identity helper 2026-01-19 10:44:18 +00:00
register.configure.ts refactor: share cli runtime error handling 2026-01-19 00:52:31 +00:00
register.maintenance.ts fix: enforce strict config validation 2026-01-19 03:39:25 +00:00
register.message.ts refactor: require target for message actions 2026-01-17 04:15:46 +00:00
register.onboard.ts refactor: share cli runtime error handling 2026-01-19 00:52:31 +00:00
register.setup.ts refactor: share cli runtime error handling 2026-01-19 00:52:31 +00:00
register.status-health-sessions.ts refactor: share cli runtime error handling 2026-01-19 00:52:31 +00:00
register.subclis.test.ts fix: stabilize ci checks 2026-01-19 00:34:26 +00:00
register.subclis.ts feat: add device token auth and devices cli 2026-01-20 10:30:53 +00:00