You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ff4560e
Browse filesBrowse the repository at this point in the historyBrowse files
])("keeps the full parse guidance unchanged in $label",({ env })=>{
36
36
consterror=Object.assign(
37
-
newCliParseError({
37
+
newExpectedCliError({
38
38
message: 'OpenClaw sessions has no command "lst".',
39
39
humanOutput:
40
40
'\u001B[31mOpenClaw sessions has no command "lst".\u001B[39m\nDid you mean this?\n openclaw sessions list\nTry: openclaw sessions --help\nDocs: \u001B]8;;https://docs.openclaw.ai/cli\u0007docs.openclaw.ai/cli\u001B]8;;\u0007\n',
it("keeps plugin policy messages in the canonical JSON envelope",()=>{
60
+
constmessage=
61
+
'The `openclaw workboard` command is provided by the "workboard" plugin, but that bundled plugin is disabled by default. Run `openclaw plugins enable workboard` to enable that CLI surface.';
'The `openclaw browser` command is unavailable because `plugins.allow` excludes "browser". Add "browser" to `plugins.allow` if you want that bundled plugin CLI surface.',
"The `openclaw browser` command is unavailable because `plugins.entries.browser.enabled=false`. Re-enable that entry if you want the bundled plugin CLI surface.",
369
+
);
366
370
});
367
371
368
372
it("returns null when the bundled plugin command is already allowed",()=>{
'"dreaming" is a runtime slash command (/dreaming), not a CLI command. It is provided by the "memory-core" plugin. Use `openclaw memory` for related CLI operations, or `/dreaming` in a chat session.',
403
+
);
401
404
});
402
405
403
406
it("returns the runtime command message even when plugins.allow is set",()=>{
'The `openclaw workboard` command is provided by the "workboard" plugin, but that bundled plugin is disabled by default. Run `openclaw plugins enable workboard` to enable that CLI surface.',
469
+
);
468
470
});
469
471
470
472
it("returns null for CLI command aliases when disabled-by-default parent plugins are enabled",()=>{
'"lcm_recent" is an agent tool available from the "lossless-claw" plugin, not a CLI subcommand. Use it from an agent turn (model tool-use), not the CLI. Run `openclaw --help` to see available CLI subcommands.',
'"feishu_chat" may be provided by the "feishu" plugin as an agent tool, not a CLI subcommand. Run `openclaw --help` to see available CLI subcommands.',
0 commit comments