diff --git a/docs/gateway/configuration-examples.md b/docs/gateway/configuration-examples.md index 38f0b0593a4..4d0ea64d272 100644 --- a/docs/gateway/configuration-examples.md +++ b/docs/gateway/configuration-examples.md @@ -445,7 +445,7 @@ Save to `~/.openclaw/openclaw.json` and you can DM the bot from that number. }, install: { preferBrew: true, - nodeManager: "npm", + nodeManager: "npm", // npm | pnpm | yarn | bun }, entries: { "image-lab": { diff --git a/docs/gateway/configuration-reference.md b/docs/gateway/configuration-reference.md index 504df41ab07..04050906a1d 100644 --- a/docs/gateway/configuration-reference.md +++ b/docs/gateway/configuration-reference.md @@ -2481,7 +2481,7 @@ See [Local Models](/gateway/local-models). TL;DR: run a large local model via LM }, install: { preferBrew: true, - nodeManager: "npm", // npm | pnpm | yarn + nodeManager: "npm", // npm | pnpm | yarn | bun }, entries: { "image-lab": { @@ -2496,6 +2496,11 @@ See [Local Models](/gateway/local-models). TL;DR: run a large local model via LM ``` - `allowBundled`: optional allowlist for bundled skills only (managed/workspace skills unaffected). +- `load.extraDirs`: extra shared skill roots (lowest precedence). +- `install.preferBrew`: when true, prefer Homebrew installers when `brew` is + available before falling back to other installer kinds. +- `install.nodeManager`: node installer preference for `metadata.openclaw.install` + specs (`npm` | `pnpm` | `yarn` | `bun`). - `entries..enabled: false` disables a skill even if bundled/installed. - `entries..apiKey`: convenience for skills declaring a primary env var (plaintext string or SecretRef object). diff --git a/docs/gateway/protocol.md b/docs/gateway/protocol.md index 5762b06b5d7..8712a00e3f0 100644 --- a/docs/gateway/protocol.md +++ b/docs/gateway/protocol.md @@ -220,6 +220,23 @@ The Gateway treats these as **claims** and enforces server-side allowlists. caller-supplied auth or delivery context. - The response is session-scoped and reflects what the active conversation can use right now, including core, plugin, and channel tools. +- Operators may call `skills.status` (`operator.read`) to fetch the visible + skill inventory for an agent. + - `agentId` is optional; omit it to read the default agent workspace. + - The response includes eligibility, missing requirements, config checks, and + sanitized install options without exposing raw secret values. +- Operators may call `skills.search` and `skills.detail` (`operator.read`) for + ClawHub discovery metadata. +- Operators may call `skills.install` (`operator.admin`) in two modes: + - ClawHub mode: `{ source: "clawhub", slug, version?, force? }` installs a + skill folder into the default agent workspace `skills/` directory. + - Gateway installer mode: `{ name, installId, dangerouslyForceUnsafeInstall?, timeoutMs? }` + runs a declared `metadata.openclaw.install` action on the gateway host. +- Operators may call `skills.update` (`operator.admin`) in two modes: + - ClawHub mode updates one tracked slug or all tracked ClawHub installs in + the default agent workspace. + - Config mode patches `skills.entries.` values such as `enabled`, + `apiKey`, and `env`. ## Exec approvals