@openclaw/acpx 2026.10.5-beta.2 → 2026.10.5-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.setup/{config-76krYh6C.mjs → config-D0ATuiVJ.mjs} +20 -2
- package/dist/.setup/{register.runtime-wTF6K7iM.mjs → register.runtime-DfAHoa8o.mjs} +1 -1
- package/dist/.setup/{service-Be5bqKzR.mjs → service-De_oVTL3.mjs} +2 -2
- package/dist/.setup/{session-owner-migration-C73lfijV.mjs → session-owner-migration-DECUY80a.mjs} +1 -1
- package/dist/doctor-contract-api.js +3 -3
- package/dist/index.js +2 -2
- package/dist/register.runtime.js +1 -1
- package/package.json +4 -4
|
@@ -5,7 +5,7 @@ import path from "node:path";
|
|
|
5
5
|
import { fileURLToPath } from "node:url";
|
|
6
6
|
import { formatPluginConfigIssue } from "openclaw/plugin-sdk/extension-shared";
|
|
7
7
|
import { resolveStateDir } from "openclaw/plugin-sdk/state-paths";
|
|
8
|
-
import { normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
8
|
+
import { isRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalLowercaseString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
9
9
|
//#region extensions/acpx/src/config-schema.ts
|
|
10
10
|
/**
|
|
11
11
|
* ACPX plugin configuration schema and public config types. Runtime setup uses
|
|
@@ -246,7 +246,25 @@ function resolveOpenClawRoot(currentRoot) {
|
|
|
246
246
|
if (path.basename(parent) === "dist") return path.dirname(parent);
|
|
247
247
|
return parent;
|
|
248
248
|
}
|
|
249
|
-
return path.resolve(currentRoot, "..");
|
|
249
|
+
return resolveHostPackageRoot(process.argv[1]) ?? path.resolve(currentRoot, "..");
|
|
250
|
+
}
|
|
251
|
+
function resolveHostPackageRoot(argv1) {
|
|
252
|
+
if (!argv1) return null;
|
|
253
|
+
let cursor;
|
|
254
|
+
try {
|
|
255
|
+
cursor = path.dirname(fs.realpathSync(argv1));
|
|
256
|
+
} catch {
|
|
257
|
+
return null;
|
|
258
|
+
}
|
|
259
|
+
for (;;) {
|
|
260
|
+
try {
|
|
261
|
+
const manifest = JSON.parse(fs.readFileSync(path.join(cursor, "package.json"), "utf8"));
|
|
262
|
+
if (isRecord(manifest) && manifest.name === "openclaw") return cursor;
|
|
263
|
+
} catch {}
|
|
264
|
+
const parent = path.dirname(cursor);
|
|
265
|
+
if (parent === cursor) return null;
|
|
266
|
+
cursor = parent;
|
|
267
|
+
}
|
|
250
268
|
}
|
|
251
269
|
function resolveTsxImportSpecifier() {
|
|
252
270
|
try {
|
|
@@ -53,7 +53,7 @@ function createLazyAcpRuntimeProxy(resolveRuntime) {
|
|
|
53
53
|
* immediately, then imports the heavier service only when a session needs it.
|
|
54
54
|
*/
|
|
55
55
|
const ACPX_BACKEND_ID = "acpx";
|
|
56
|
-
const loadServiceModule = createLazyRuntimeModule(() => import("./service-
|
|
56
|
+
const loadServiceModule = createLazyRuntimeModule(() => import("./service-De_oVTL3.mjs"));
|
|
57
57
|
function unregisterOwnedRuntime(runtime) {
|
|
58
58
|
if (runtime && getAcpRuntimeBackend(ACPX_BACKEND_ID)?.runtime === runtime) unregisterAcpRuntimeBackend(ACPX_BACKEND_ID);
|
|
59
59
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as isClaudeAcpCommand, c as renderAgentCommand, d as CODEX_ACP_BIN, f as CODEX_ACP_PACKAGE, i as toAcpMcpServers, l as resolveAgentCommand, m as OPENCLAW_CODEX_CONFIG_ARG, n as resolveAcpxPluginRoot, o as isCodexAcpCommand, p as LEGACY_CODEX_ACP_PACKAGE, r as resolveOpenClawRoot, s as isOpenClawBridgeCommand, t as resolveAcpxPluginConfig, u as splitCommandParts } from "./config-
|
|
1
|
+
import { a as isClaudeAcpCommand, c as renderAgentCommand, d as CODEX_ACP_BIN, f as CODEX_ACP_PACKAGE, i as toAcpMcpServers, l as resolveAgentCommand, m as OPENCLAW_CODEX_CONFIG_ARG, n as resolveAcpxPluginRoot, o as isCodexAcpCommand, p as LEGACY_CODEX_ACP_PACKAGE, r as resolveOpenClawRoot, s as isOpenClawBridgeCommand, t as resolveAcpxPluginConfig, u as splitCommandParts } from "./config-D0ATuiVJ.mjs";
|
|
2
2
|
import { AcpRuntimeError } from "../runtime-api.js";
|
|
3
3
|
import { t as resolveAcpxSessionResource } from "./session-resource-DKJsUJPu.mjs";
|
|
4
|
-
import { a as hashAcpxProcessCommand, adoptAcpxStateDirectory, c as withAcpxLeaseArgs, d as normalizeAcpxGatewayInstanceRecord, i as createAcpxProcessLeaseStore, l as ACPX_GATEWAY_INSTANCE_KEY, n as OPENCLAW_ACPX_LEASE_ID_ARG, o as openAcpxProcessLeaseStateStore, r as OPENCLAW_GATEWAY_INSTANCE_ID_ARG, s as readAcpxProcessLeaseIdentity, t as ACPX_PROBE_LEASE_SESSION_KEY, u as ACPX_GATEWAY_INSTANCE_NAMESPACE } from "./session-owner-migration-
|
|
4
|
+
import { a as hashAcpxProcessCommand, adoptAcpxStateDirectory, c as withAcpxLeaseArgs, d as normalizeAcpxGatewayInstanceRecord, i as createAcpxProcessLeaseStore, l as ACPX_GATEWAY_INSTANCE_KEY, n as OPENCLAW_ACPX_LEASE_ID_ARG, o as openAcpxProcessLeaseStateStore, r as OPENCLAW_GATEWAY_INSTANCE_ID_ARG, s as readAcpxProcessLeaseIdentity, t as ACPX_PROBE_LEASE_SESSION_KEY, u as ACPX_GATEWAY_INSTANCE_NAMESPACE } from "./session-owner-migration-DECUY80a.mjs";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
6
|
import { AcpxRuntime, createAgentRegistry, createFileSessionStore, decodeAcpxRuntimeHandleState, isRequestedModelUnsupportedError } from "acpx/runtime";
|
|
7
7
|
import { finiteSecondsToTimerSafeMilliseconds, parseStrictPositiveInteger } from "openclaw/plugin-sdk/number-runtime";
|
package/dist/.setup/{session-owner-migration-C73lfijV.mjs → session-owner-migration-DECUY80a.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as runtime_doctor_migrations_exports } from "./runtime-doctor-migrations-hxP-CXX7.mjs";
|
|
2
|
-
import { c as renderAgentCommand, t as resolveAcpxPluginConfig, u as splitCommandParts } from "./config-
|
|
2
|
+
import { c as renderAgentCommand, t as resolveAcpxPluginConfig, u as splitCommandParts } from "./config-D0ATuiVJ.mjs";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { asFiniteNumber, asOptionalObjectRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
@@ -40,13 +40,13 @@ const stateMigrations = [{
|
|
|
40
40
|
doctorOnly: true,
|
|
41
41
|
phase: "after-session-repair",
|
|
42
42
|
async collectBackupResources(input) {
|
|
43
|
-
return (await import("./.setup/session-owner-migration-
|
|
43
|
+
return (await import("./.setup/session-owner-migration-DECUY80a.mjs")).acpxSessionOwnerMigration.collectBackupResources(input);
|
|
44
44
|
},
|
|
45
45
|
async detectLegacyState(input) {
|
|
46
|
-
return (await import("./.setup/session-owner-migration-
|
|
46
|
+
return (await import("./.setup/session-owner-migration-DECUY80a.mjs")).acpxSessionOwnerMigration.detectLegacyState(input);
|
|
47
47
|
},
|
|
48
48
|
async migrateLegacyState(input) {
|
|
49
|
-
return (await import("./.setup/session-owner-migration-
|
|
49
|
+
return (await import("./.setup/session-owner-migration-DECUY80a.mjs")).acpxSessionOwnerMigration.migrateLegacyState(input);
|
|
50
50
|
}
|
|
51
51
|
}];
|
|
52
52
|
//#endregion
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createAcpxRuntimeService } from "./.setup/register.runtime-
|
|
2
|
-
import { g as AcpxNativeAgentsSchema, h as ACPX_NATIVE_AGENT_IDS, t as resolveAcpxPluginConfig } from "./.setup/config-
|
|
1
|
+
import { t as createAcpxRuntimeService } from "./.setup/register.runtime-DfAHoa8o.mjs";
|
|
2
|
+
import { g as AcpxNativeAgentsSchema, h as ACPX_NATIVE_AGENT_IDS, t as resolveAcpxPluginConfig } from "./.setup/config-D0ATuiVJ.mjs";
|
|
3
3
|
import { a as PI_SESSIONS_CAPABILITY, c as PI_SESSION_READ_COMMAND, l as PI_TERMINAL_RESUME_COMMAND, o as PI_SESSIONS_LIST_COMMAND, r as piSessionStoreAvailable, s as PI_SESSION_ID_PATTERN } from "./.setup/pi-session-paths-CIvyk6KB.mjs";
|
|
4
4
|
import { createAgentRegistry } from "acpx/agent-registry";
|
|
5
5
|
import { tryDispatchAcpReplyHook } from "openclaw/plugin-sdk/acp-runtime-backend";
|
package/dist/register.runtime.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createAcpxRuntimeService } from "./.setup/register.runtime-
|
|
1
|
+
import { t as createAcpxRuntimeService } from "./.setup/register.runtime-DfAHoa8o.mjs";
|
|
2
2
|
export { createAcpxRuntimeService };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/acpx",
|
|
3
|
-
"version": "2026.10.5-beta.
|
|
3
|
+
"version": "2026.10.5-beta.3",
|
|
4
4
|
"description": "OpenClaw ACP runtime backend with plugin-owned session and transport management.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -45,10 +45,10 @@
|
|
|
45
45
|
]
|
|
46
46
|
},
|
|
47
47
|
"compat": {
|
|
48
|
-
"pluginApi": ">=2026.10.5-beta.
|
|
48
|
+
"pluginApi": ">=2026.10.5-beta.3"
|
|
49
49
|
},
|
|
50
50
|
"build": {
|
|
51
|
-
"openclawVersion": "2026.10.5-beta.
|
|
51
|
+
"openclawVersion": "2026.10.5-beta.3"
|
|
52
52
|
},
|
|
53
53
|
"release": {
|
|
54
54
|
"publishToClawHub": true,
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"skills/**"
|
|
69
69
|
],
|
|
70
70
|
"peerDependencies": {
|
|
71
|
-
"openclaw": ">=2026.10.5-beta.
|
|
71
|
+
"openclaw": ">=2026.10.5-beta.3"
|
|
72
72
|
},
|
|
73
73
|
"peerDependenciesMeta": {
|
|
74
74
|
"openclaw": {
|