mirror of https://github.com/openclaw/openclaw.git
ACPX: pin plugin dependency to 0.1.14
This commit is contained in:
parent
f4538b22f7
commit
63e607db9b
|
|
@ -41,7 +41,7 @@
|
||||||
},
|
},
|
||||||
"expectedVersion": {
|
"expectedVersion": {
|
||||||
"label": "Expected acpx Version",
|
"label": "Expected acpx Version",
|
||||||
"help": "Exact version to enforce (for example 0.1.13) or \"any\" to skip strict version matching."
|
"help": "Exact version to enforce (for example 0.1.14) or \"any\" to skip strict version matching."
|
||||||
},
|
},
|
||||||
"cwd": {
|
"cwd": {
|
||||||
"label": "Default Working Directory",
|
"label": "Default Working Directory",
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
"description": "OpenClaw ACP runtime backend via acpx",
|
"description": "OpenClaw ACP runtime backend via acpx",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"acpx": "^0.1.13"
|
"acpx": "0.1.14"
|
||||||
},
|
},
|
||||||
"openclaw": {
|
"openclaw": {
|
||||||
"extensions": [
|
"extensions": [
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ export type AcpxPermissionMode = (typeof ACPX_PERMISSION_MODES)[number];
|
||||||
export const ACPX_NON_INTERACTIVE_POLICIES = ["deny", "fail"] as const;
|
export const ACPX_NON_INTERACTIVE_POLICIES = ["deny", "fail"] as const;
|
||||||
export type AcpxNonInteractivePermissionPolicy = (typeof ACPX_NON_INTERACTIVE_POLICIES)[number];
|
export type AcpxNonInteractivePermissionPolicy = (typeof ACPX_NON_INTERACTIVE_POLICIES)[number];
|
||||||
|
|
||||||
export const ACPX_PINNED_VERSION = "0.1.13";
|
export const ACPX_PINNED_VERSION = "0.1.14";
|
||||||
export const ACPX_VERSION_ANY = "any";
|
export const ACPX_VERSION_ANY = "any";
|
||||||
const ACPX_BIN_NAME = process.platform === "win32" ? "acpx.cmd" : "acpx";
|
const ACPX_BIN_NAME = process.platform === "win32" ? "acpx.cmd" : "acpx";
|
||||||
export const ACPX_PLUGIN_ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
|
export const ACPX_PLUGIN_ROOT = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "..");
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ import {
|
||||||
getAcpRuntimeBackend,
|
getAcpRuntimeBackend,
|
||||||
requireAcpRuntimeBackend,
|
requireAcpRuntimeBackend,
|
||||||
} from "../../../src/acp/runtime/registry.js";
|
} from "../../../src/acp/runtime/registry.js";
|
||||||
import { ACPX_BUNDLED_BIN } from "./config.js";
|
import { ACPX_BUNDLED_BIN, ACPX_PINNED_VERSION } from "./config.js";
|
||||||
import { createAcpxRuntimeService } from "./service.js";
|
import { createAcpxRuntimeService } from "./service.js";
|
||||||
|
|
||||||
const { ensureAcpxSpy } = vi.hoisted(() => ({
|
const { ensureAcpxSpy } = vi.hoisted(() => ({
|
||||||
|
|
@ -132,7 +132,7 @@ describe("createAcpxRuntimeService", () => {
|
||||||
queueOwnerTtlSeconds: 0.25,
|
queueOwnerTtlSeconds: 0.25,
|
||||||
pluginConfig: expect.objectContaining({
|
pluginConfig: expect.objectContaining({
|
||||||
command: ACPX_BUNDLED_BIN,
|
command: ACPX_BUNDLED_BIN,
|
||||||
expectedVersion: "0.1.13",
|
expectedVersion: ACPX_PINNED_VERSION,
|
||||||
allowPluginLocalInstall: true,
|
allowPluginLocalInstall: true,
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
|
|
|
||||||
|
|
@ -264,8 +264,8 @@ importers:
|
||||||
extensions/acpx:
|
extensions/acpx:
|
||||||
dependencies:
|
dependencies:
|
||||||
acpx:
|
acpx:
|
||||||
specifier: ^0.1.13
|
specifier: 0.1.14
|
||||||
version: 0.1.13(zod@4.3.6)
|
version: 0.1.14(zod@4.3.6)
|
||||||
|
|
||||||
extensions/bluebubbles: {}
|
extensions/bluebubbles: {}
|
||||||
|
|
||||||
|
|
@ -3160,8 +3160,8 @@ packages:
|
||||||
engines: {node: '>=0.4.0'}
|
engines: {node: '>=0.4.0'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
acpx@0.1.13:
|
acpx@0.1.14:
|
||||||
resolution: {integrity: sha512-C032VkV3cNa13ubq9YhskTWvDTsciNAQfNHZLW3PIN3atdkrzkV0v2yi6Znp7UZDw+pzgpKUsOrZWl64Lwr+3w==}
|
resolution: {integrity: sha512-kq1tU7VCOLW3dIK77PpGoJPMsIqmnOSiQJGsWfWiOYgTXYIsbNtP04ilsaobgDd/MUgjo9ttXD1abziQ3OH5Pg==}
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
hasBin: true
|
hasBin: true
|
||||||
|
|
||||||
|
|
@ -9050,7 +9050,7 @@ snapshots:
|
||||||
|
|
||||||
acorn@8.16.0: {}
|
acorn@8.16.0: {}
|
||||||
|
|
||||||
acpx@0.1.13(zod@4.3.6):
|
acpx@0.1.14(zod@4.3.6):
|
||||||
dependencies:
|
dependencies:
|
||||||
'@agentclientprotocol/sdk': 0.14.1(zod@4.3.6)
|
'@agentclientprotocol/sdk': 0.14.1(zod@4.3.6)
|
||||||
commander: 13.1.0
|
commander: 13.1.0
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue