From 8bd9b6e4f4afb2e4ae8cdbbcc4d2085e4c087bdf Mon Sep 17 00:00:00 2001 From: "openclaw-docs-sync[bot]" Date: Fri, 10 Apr 2026 13:56:51 +0000 Subject: [PATCH] chore(sync): mirror docs from openclaw/openclaw@ddfd6c340179c20655265d0f87def7a7119966db --- .openclaw-sync/source.json | 4 ++-- docs/plugins/manifest.md | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index e10663b28..d37e5631e 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "3027efaf2131a4c11491c23c3c3f4a3e57f697df", - "syncedAt": "2026-04-10T12:46:53.423Z" + "sha": "ddfd6c340179c20655265d0f87def7a7119966db", + "syncedAt": "2026-04-10T13:56:51.411Z" } diff --git a/docs/plugins/manifest.md b/docs/plugins/manifest.md index 05d47d618..3a7ac52c8 100644 --- a/docs/plugins/manifest.md +++ b/docs/plugins/manifest.md @@ -147,6 +147,7 @@ Those belong in your plugin code and `package.json`. | `providers` | No | `string[]` | Provider ids owned by this plugin. | | `modelSupport` | No | `object` | Manifest-owned shorthand model-family metadata used to auto-load the plugin before runtime. | | `cliBackends` | No | `string[]` | CLI inference backend ids owned by this plugin. Used for startup auto-activation from explicit config refs. | +| `commandAliases` | No | `object[]` | Command names owned by this plugin that should produce plugin-aware config and CLI diagnostics before runtime loads. | | `providerAuthEnvVars` | No | `Record` | Cheap provider-auth env metadata that OpenClaw can inspect without loading plugin code. | | `providerAuthAliases` | No | `Record` | Provider ids that should reuse another provider id for auth lookup, for example a coding provider that shares the base provider API key and auth profiles. | | `channelEnvVars` | No | `Record` | Cheap channel env metadata that OpenClaw can inspect without loading plugin code. Use this for env-driven channel setup or auth surfaces that generic startup/config helpers should see. | @@ -183,6 +184,30 @@ OpenClaw reads this before provider runtime loads. | `cliDescription` | No | `string` | Description used in CLI help. | | `onboardingScopes` | No | `Array<"text-inference" \| "image-generation">` | Which onboarding surfaces this choice should appear in. If omitted, it defaults to `["text-inference"]`. | +## commandAliases reference + +Use `commandAliases` when a plugin owns a runtime command name that users may +mistakenly put in `plugins.allow` or try to run as a root CLI command. OpenClaw +uses this metadata for diagnostics without importing plugin runtime code. + +```json +{ + "commandAliases": [ + { + "name": "dreaming", + "kind": "runtime-slash", + "cliCommand": "memory" + } + ] +} +``` + +| Field | Required | Type | What it means | +| ------------ | -------- | ----------------- | ----------------------------------------------------------------------- | +| `name` | Yes | `string` | Command name that belongs to this plugin. | +| `kind` | No | `"runtime-slash"` | Marks the alias as a chat slash command rather than a root CLI command. | +| `cliCommand` | No | `string` | Related root CLI command to suggest for CLI operations, if one exists. | + ## uiHints reference `uiHints` is a map from config field names to small rendering hints.