@openclaw/acpx 2026.9.8 → 2026.9.33
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-Blz15uwJ.mjs → config-B_PJLyLe.mjs} +20 -2
- package/dist/.setup/{register.runtime-DByczkH_.mjs → register.runtime-BGL8vgoL.mjs} +1 -1
- package/dist/.setup/{service-D5hGWl5U.mjs → service-Dk1gIrtE.mjs} +2 -2
- package/dist/.setup/{session-owner-migration-DsGrYq7Y.mjs → session-owner-migration-SZb7F1n8.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
|
@@ -6,7 +6,7 @@ import path from "node:path";
|
|
|
6
6
|
import { fileURLToPath } from "node:url";
|
|
7
7
|
import { formatPluginConfigIssue } from "openclaw/plugin-sdk/extension-shared";
|
|
8
8
|
import { resolveStateDir } from "openclaw/plugin-sdk/state-paths";
|
|
9
|
-
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
9
|
+
import { isRecord, normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
10
10
|
//#region extensions/acpx/src/config-schema.ts
|
|
11
11
|
/**
|
|
12
12
|
* ACPX plugin configuration schema and public config types. Runtime setup uses
|
|
@@ -118,7 +118,25 @@ function resolveOpenClawRoot(currentRoot) {
|
|
|
118
118
|
if (path.basename(parent) === "dist") return path.dirname(parent);
|
|
119
119
|
return parent;
|
|
120
120
|
}
|
|
121
|
-
return path.resolve(currentRoot, "..");
|
|
121
|
+
return resolveHostPackageRoot(process.argv[1]) ?? path.resolve(currentRoot, "..");
|
|
122
|
+
}
|
|
123
|
+
function resolveHostPackageRoot(argv1) {
|
|
124
|
+
if (!argv1) return null;
|
|
125
|
+
let cursor;
|
|
126
|
+
try {
|
|
127
|
+
cursor = path.dirname(fs.realpathSync(argv1));
|
|
128
|
+
} catch {
|
|
129
|
+
return null;
|
|
130
|
+
}
|
|
131
|
+
for (;;) {
|
|
132
|
+
try {
|
|
133
|
+
const manifest = JSON.parse(fs.readFileSync(path.join(cursor, "package.json"), "utf8"));
|
|
134
|
+
if (isRecord(manifest) && manifest.name === "openclaw") return cursor;
|
|
135
|
+
} catch {}
|
|
136
|
+
const parent = path.dirname(cursor);
|
|
137
|
+
if (parent === cursor) return null;
|
|
138
|
+
cursor = parent;
|
|
139
|
+
}
|
|
122
140
|
}
|
|
123
141
|
function resolveTsxImportSpecifier() {
|
|
124
142
|
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-Dk1gIrtE.mjs"));
|
|
57
57
|
function unregisterOwnedRuntime(runtime) {
|
|
58
58
|
if (runtime && getAcpRuntimeBackend(ACPX_BACKEND_ID)?.runtime === runtime) unregisterAcpRuntimeBackend(ACPX_BACKEND_ID);
|
|
59
59
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as hashAcpxProcessCommand, c as openAcpxProcessLeaseStateStore, d as ACPX_GATEWAY_INSTANCE_KEY, f as ACPX_GATEWAY_INSTANCE_NAMESPACE, h as normalizeAcpxGatewayInstanceRecord, i as createAcpxProcessLeaseStore, l as readAcpxProcessLeaseIdentity, n as OPENCLAW_ACPX_LEASE_ID_ARG, r as OPENCLAW_GATEWAY_INSTANCE_ID_ARG, t as ACPX_PROBE_LEASE_SESSION_KEY, u as withAcpxLeaseArgs } from "./process-lease-n38HFGdp.mjs";
|
|
2
|
-
import { i as toAcpMcpServers, n as resolveAcpxPluginRoot, r as resolveOpenClawRoot, t as resolveAcpxPluginConfig } from "./config-
|
|
2
|
+
import { i as toAcpMcpServers, n as resolveAcpxPluginRoot, r as resolveOpenClawRoot, t as resolveAcpxPluginConfig } from "./config-B_PJLyLe.mjs";
|
|
3
3
|
import { a as resolveAgentCommand, c as CODEX_ACP_PACKAGE, i as renderAgentCommand, l as LEGACY_CODEX_ACP_PACKAGE, n as isCodexAcpCommand, o as splitCommandParts, r as isOpenClawBridgeCommand, s as CODEX_ACP_BIN, t as isClaudeAcpCommand, u as OPENCLAW_CODEX_CONFIG_ARG } from "./command-line-B72femaL.mjs";
|
|
4
4
|
import { AcpRuntimeError } from "../runtime-api.js";
|
|
5
5
|
import { t as resolveAcpxSessionResource } from "./session-resource-B-4yPr-j.mjs";
|
|
6
|
-
import { adoptAcpxStateDirectory } from "./session-owner-migration-
|
|
6
|
+
import { adoptAcpxStateDirectory } from "./session-owner-migration-SZb7F1n8.mjs";
|
|
7
7
|
import { createRequire } from "node:module";
|
|
8
8
|
import { AcpxRuntime, createAgentRegistry, createFileSessionStore, decodeAcpxRuntimeHandleState, isRequestedModelUnsupportedError } from "acpx/runtime";
|
|
9
9
|
import { finiteSecondsToTimerSafeMilliseconds, parseStrictPositiveInteger } from "openclaw/plugin-sdk/number-runtime";
|
package/dist/.setup/{session-owner-migration-DsGrYq7Y.mjs → session-owner-migration-SZb7F1n8.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as hashAcpxProcessCommand, c as openAcpxProcessLeaseStateStore, g as runtime_doctor_migrations_exports, l as readAcpxProcessLeaseIdentity, o as normalizeAcpxProcessLease } from "./process-lease-n38HFGdp.mjs";
|
|
2
|
-
import { t as resolveAcpxPluginConfig } from "./config-
|
|
2
|
+
import { t as resolveAcpxPluginConfig } from "./config-B_PJLyLe.mjs";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -130,13 +130,13 @@ const stateMigrations = [{
|
|
|
130
130
|
doctorOnly: true,
|
|
131
131
|
phase: "after-session-repair",
|
|
132
132
|
async collectBackupResources(input) {
|
|
133
|
-
return (await import("./.setup/session-owner-migration-
|
|
133
|
+
return (await import("./.setup/session-owner-migration-SZb7F1n8.mjs")).acpxSessionOwnerMigration.collectBackupResources(input);
|
|
134
134
|
},
|
|
135
135
|
async detectLegacyState(input) {
|
|
136
|
-
return (await import("./.setup/session-owner-migration-
|
|
136
|
+
return (await import("./.setup/session-owner-migration-SZb7F1n8.mjs")).acpxSessionOwnerMigration.detectLegacyState(input);
|
|
137
137
|
},
|
|
138
138
|
async migrateLegacyState(input) {
|
|
139
|
-
return (await import("./.setup/session-owner-migration-
|
|
139
|
+
return (await import("./.setup/session-owner-migration-SZb7F1n8.mjs")).acpxSessionOwnerMigration.migrateLegacyState(input);
|
|
140
140
|
}
|
|
141
141
|
}];
|
|
142
142
|
//#endregion
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as createAcpxRuntimeService } from "./.setup/register.runtime-
|
|
2
|
-
import { a as ACPX_NATIVE_AGENT_IDS, o as AcpxNativeAgentsSchema, t as resolveAcpxPluginConfig } from "./.setup/config-
|
|
1
|
+
import { t as createAcpxRuntimeService } from "./.setup/register.runtime-BGL8vgoL.mjs";
|
|
2
|
+
import { a as ACPX_NATIVE_AGENT_IDS, o as AcpxNativeAgentsSchema, t as resolveAcpxPluginConfig } from "./.setup/config-B_PJLyLe.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-BGL8vgoL.mjs";
|
|
2
2
|
export { createAcpxRuntimeService };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/acpx",
|
|
3
|
-
"version": "2026.9.
|
|
3
|
+
"version": "2026.9.33",
|
|
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.9.
|
|
48
|
+
"pluginApi": ">=2026.9.33"
|
|
49
49
|
},
|
|
50
50
|
"build": {
|
|
51
|
-
"openclawVersion": "2026.9.
|
|
51
|
+
"openclawVersion": "2026.9.33",
|
|
52
52
|
"staticAssets": [
|
|
53
53
|
{
|
|
54
54
|
"source": "./src/runtime-internals/mcp-proxy.mjs",
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"skills/**"
|
|
79
79
|
],
|
|
80
80
|
"peerDependencies": {
|
|
81
|
-
"openclaw": ">=2026.9.
|
|
81
|
+
"openclaw": ">=2026.9.33"
|
|
82
82
|
},
|
|
83
83
|
"peerDependenciesMeta": {
|
|
84
84
|
"openclaw": {
|