diff --git a/docs/tools/acp-agents.md b/docs/tools/acp-agents.md index 5ea1af97e7e..92e99491c92 100644 --- a/docs/tools/acp-agents.md +++ b/docs/tools/acp-agents.md @@ -510,7 +510,7 @@ See [Configuration Reference](/gateway/configuration-reference). Install and enable plugin: ```bash -openclaw plugins install @openclaw/acpx-plugin +openclaw plugins install acpx openclaw config set plugins.entries.acpx.enabled true ``` @@ -528,7 +528,7 @@ Then verify backend health: ### acpx command and version configuration -By default, the acpx backend plugin package (`@openclaw/acpx-plugin`) uses the plugin-local pinned binary: +By default, the bundled acpx backend plugin (`acpx`) uses the plugin-local pinned binary: 1. Command defaults to `extensions/acpx/node_modules/.bin/acpx`. 2. Expected version defaults to the extension pin. diff --git a/extensions/acpx/package.json b/extensions/acpx/package.json index 73d87a021fe..8b612531d9d 100644 --- a/extensions/acpx/package.json +++ b/extensions/acpx/package.json @@ -1,5 +1,5 @@ { - "name": "@openclaw/acpx-plugin", + "name": "@openclaw/acpx", "version": "2026.3.22", "description": "OpenClaw ACP runtime backend via acpx", "type": "module", diff --git a/extensions/acpx/skills/acp-router/SKILL.md b/extensions/acpx/skills/acp-router/SKILL.md index 801007352cd..7dbf62f5338 100644 --- a/extensions/acpx/skills/acp-router/SKILL.md +++ b/extensions/acpx/skills/acp-router/SKILL.md @@ -109,7 +109,7 @@ Do not default to subagent runtime for these requests. ## ACPX install and version policy (direct acpx path) -For this repo, direct `acpx` calls must follow the same pinned policy as the `@openclaw/acpx-plugin` extension package. +For this repo, direct `acpx` calls must follow the same pinned policy as the `@openclaw/acpx` extension package. 1. Prefer plugin-local binary, not global PATH: - `./extensions/acpx/node_modules/.bin/acpx` diff --git a/src/auto-reply/reply/commands-acp/install-hints.test.ts b/src/auto-reply/reply/commands-acp/install-hints.test.ts index 6dc02460aca..46354f7f080 100644 --- a/src/auto-reply/reply/commands-acp/install-hints.test.ts +++ b/src/auto-reply/reply/commands-acp/install-hints.test.ts @@ -21,11 +21,9 @@ afterEach(() => { describe("ACP install hints", () => { it("prefers explicit runtime install command", () => { const cfg = withAcpConfig({ - runtime: { installCommand: "pnpm openclaw plugins install @openclaw/acpx-plugin" }, + runtime: { installCommand: "pnpm openclaw plugins install acpx" }, }); - expect(resolveAcpInstallCommandHint(cfg)).toBe( - "pnpm openclaw plugins install @openclaw/acpx-plugin", - ); + expect(resolveAcpInstallCommandHint(cfg)).toBe("pnpm openclaw plugins install acpx"); }); it("uses local acpx extension path when present", () => { @@ -46,9 +44,7 @@ describe("ACP install hints", () => { vi.spyOn(process, "cwd").mockReturnValue(tempRoot); const cfg = withAcpConfig({ backend: "acpx" }); - expect(resolveAcpInstallCommandHint(cfg)).toBe( - "openclaw plugins install @openclaw/acpx-plugin", - ); + expect(resolveAcpInstallCommandHint(cfg)).toBe("openclaw plugins install acpx"); }); it("returns generic plugin hint for non-acpx backend", () => { diff --git a/src/auto-reply/reply/commands-acp/install-hints.ts b/src/auto-reply/reply/commands-acp/install-hints.ts index 64b802a0779..58b4b387c74 100644 --- a/src/auto-reply/reply/commands-acp/install-hints.ts +++ b/src/auto-reply/reply/commands-acp/install-hints.ts @@ -17,7 +17,7 @@ export function resolveAcpInstallCommandHint(cfg: OpenClawConfig): string { if (existsSync(localPath)) { return `openclaw plugins install ${localPath}`; } - return "openclaw plugins install @openclaw/acpx-plugin"; + return "openclaw plugins install acpx"; } return `Install and enable the plugin that provides ACP backend "${backendId}".`; } diff --git a/src/plugins/copy-bundled-plugin-metadata.test.ts b/src/plugins/copy-bundled-plugin-metadata.test.ts index 3c50036c0a1..48fe75cf02b 100644 --- a/src/plugins/copy-bundled-plugin-metadata.test.ts +++ b/src/plugins/copy-bundled-plugin-metadata.test.ts @@ -51,7 +51,7 @@ describe("copyBundledPluginMetadata", () => { skills: ["./skills"], }); writeJson(path.join(pluginDir, "package.json"), { - name: "@openclaw/acpx-plugin", + name: "@openclaw/acpx", openclaw: { extensions: ["./index.ts"] }, });