diff --git a/docs/cli/index.md b/docs/cli/index.md index 68e448da9b3..41cab9c8beb 100644 --- a/docs/cli/index.md +++ b/docs/cli/index.md @@ -113,7 +113,9 @@ openclaw [--dev] [--profile ] audit secrets reload - migrate + audit + configure + apply reset uninstall update @@ -132,16 +134,21 @@ openclaw [--dev] [--profile ] check plugins list - info + inspect install + uninstall + update enable disable doctor + marketplace list memory status index search message + send + broadcast agent agents list diff --git a/docs/plugins/sdk-overview.md b/docs/plugins/sdk-overview.md index 3f1f94dc58b..0ba16d82b4e 100644 --- a/docs/plugins/sdk-overview.md +++ b/docs/plugins/sdk-overview.md @@ -27,9 +27,6 @@ Always import from a specific subpath: ```typescript import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry"; import { defineChannelPluginEntry } from "openclaw/plugin-sdk/core"; - -// Deprecated — will be removed in the next major release -import { definePluginEntry } from "openclaw/plugin-sdk"; ``` Each subpath is a small, self-contained module. This keeps startup fast and diff --git a/docs/tools/index.md b/docs/tools/index.md index 190dafc087c..12fbdcbfa97 100644 --- a/docs/tools/index.md +++ b/docs/tools/index.md @@ -109,18 +109,18 @@ Per-agent override: `agents.list[].tools.profile`. Use `group:*` shorthands in allow/deny lists: -| Group | Tools | -| ------------------ | ------------------------------------------------------------------------------ | -| `group:runtime` | exec, bash, process | -| `group:fs` | read, write, edit, apply_patch | -| `group:sessions` | sessions_list, sessions_history, sessions_send, sessions_spawn, session_status | -| `group:memory` | memory_search, memory_get | -| `group:web` | web_search, web_fetch | -| `group:ui` | browser, canvas | -| `group:automation` | cron, gateway | -| `group:messaging` | message | -| `group:nodes` | nodes | -| `group:openclaw` | All built-in OpenClaw tools (excludes plugin tools) | +| Group | Tools | +| ------------------ | --------------------------------------------------------------------------------------------------------- | +| `group:runtime` | exec, bash, process | +| `group:fs` | read, write, edit, apply_patch | +| `group:sessions` | sessions_list, sessions_history, sessions_send, sessions_spawn, sessions_yield, subagents, session_status | +| `group:memory` | memory_search, memory_get | +| `group:web` | web_search, web_fetch | +| `group:ui` | browser, canvas | +| `group:automation` | cron, gateway | +| `group:messaging` | message | +| `group:nodes` | nodes | +| `group:openclaw` | All built-in OpenClaw tools (excludes plugin tools) | ### Provider-specific restrictions diff --git a/src/browser/server-context.ensure-browser-available.waits-for-cdp-ready.test.ts b/src/browser/server-context.ensure-browser-available.waits-for-cdp-ready.test.ts index ac9d4d89a33..b1d3d745331 100644 --- a/src/browser/server-context.ensure-browser-available.waits-for-cdp-ready.test.ts +++ b/src/browser/server-context.ensure-browser-available.waits-for-cdp-ready.test.ts @@ -116,25 +116,17 @@ describe("browser server-context ensureBrowserAvailable", () => { setupEnsureBrowserAvailableHarness(); const isChromeReachable = vi.mocked(chromeModule.isChromeReachable); - isChromeReachable - .mockResolvedValueOnce(false) - .mockResolvedValueOnce(true); + isChromeReachable.mockResolvedValueOnce(false).mockResolvedValueOnce(true); isChromeCdpReady.mockResolvedValueOnce(true); await expect(profile.ensureBrowserAvailable()).resolves.toBeUndefined(); - expect(isChromeReachable).toHaveBeenNthCalledWith( - 1, - "http://127.0.0.1:18800", - undefined, - { allowPrivateNetwork: true }, - ); - expect(isChromeReachable).toHaveBeenNthCalledWith( - 2, - "http://127.0.0.1:18800", - 1000, - { allowPrivateNetwork: true }, - ); + expect(isChromeReachable).toHaveBeenNthCalledWith(1, "http://127.0.0.1:18800", undefined, { + allowPrivateNetwork: true, + }); + expect(isChromeReachable).toHaveBeenNthCalledWith(2, "http://127.0.0.1:18800", 1000, { + allowPrivateNetwork: true, + }); expect(launchOpenClawChrome).not.toHaveBeenCalled(); expect(stopOpenClawChrome).not.toHaveBeenCalled(); });