@openclaw/acpx 2026.8.2 → 2026.8.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.
@@ -1,4 +1,4 @@
1
- import { t as AcpxPluginConfigSchema } from "./config-schema-DN_uAi4R.js";
1
+ import { t as AcpxPluginConfigSchema } from "./config-schema-DN_uAi4R.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
4
4
  import fs from "node:fs";
@@ -1,4 +1,4 @@
1
- import { c as PI_SESSION_READ_COMMAND, i as PI_LOCAL_SESSION_HOST_ID, l as PI_TERMINAL_RESUME_COMMAND, n as piSessionStore, o as PI_SESSIONS_LIST_COMMAND, r as piSessionStoreAvailable, s as PI_SESSION_ID_PATTERN, t as piAcpSessionStoreRoot } from "./pi-session-paths-EMbd4Hkz.js";
1
+ import { c as PI_SESSION_READ_COMMAND, i as PI_LOCAL_SESSION_HOST_ID, l as PI_TERMINAL_RESUME_COMMAND, n as piSessionStore, o as PI_SESSIONS_LIST_COMMAND, r as piSessionStoreAvailable, s as PI_SESSION_ID_PATTERN, t as piAcpSessionStoreRoot } from "./pi-session-paths-EMbd4Hkz.mjs";
2
2
  import { parseDateFirstTimestampMs } from "openclaw/plugin-sdk/number-runtime";
3
3
  import { resolveNodeHostExecutable } from "openclaw/plugin-sdk/node-host";
4
4
  import { createSessionCatalogFamily, importSessionCatalogHistory, isExternalUserText, listAdoptedSessionCatalogSessions, sessionCatalogAdoptedSessionKey, sessionCatalogPaging } from "openclaw/plugin-sdk/session-catalog";
@@ -67,7 +67,7 @@ function createLazyAcpRuntimeProxy(resolveRuntime) {
67
67
  * immediately, then imports the heavier service only when a session needs it.
68
68
  */
69
69
  const ACPX_BACKEND_ID = "acpx";
70
- const loadServiceModule = createLazyRuntimeModule(() => import("./service-DLjjP2kv.js").then((n) => n.t));
70
+ const loadServiceModule = createLazyRuntimeModule(() => import("./service-C3AGc8e2.mjs").then((n) => n.t));
71
71
  function unregisterOwnedRuntime(runtime) {
72
72
  if (runtime && getAcpRuntimeBackend(ACPX_BACKEND_ID)?.runtime === runtime) unregisterAcpRuntimeBackend(ACPX_BACKEND_ID);
73
73
  }
@@ -1,7 +1,7 @@
1
- import { d as withAcpxLeaseEnvironment, i as createAcpxProcessLeaseId, o as hashAcpxProcessCommand, t as ACPX_PROBE_LEASE_SESSION_KEY, u as readAcpxProcessLeaseIdentity, v as splitCommandParts } from "./process-lease-Cwvj7WGe.js";
2
- import { AcpRuntimeError } from "./runtime-api.js";
3
- import { t as resolveAcpxSessionResource } from "./session-resource-CRWvFl2-.js";
4
- import { a as CODEX_ACP_PACKAGE, i as isOpenClawLeaseAwareAcpxProcessCommand, n as cleanupOpenClawOwnedAcpxPendingLease, o as OPENCLAW_CODEX_CONFIG_ARG, r as cleanupOpenClawOwnedAcpxProcessTree } from "./service-DLjjP2kv.js";
1
+ import { d as withAcpxLeaseEnvironment, i as createAcpxProcessLeaseId, o as hashAcpxProcessCommand, t as ACPX_PROBE_LEASE_SESSION_KEY, u as readAcpxProcessLeaseIdentity, v as splitCommandParts } from "./process-lease-Cwvj7WGe.mjs";
2
+ import { AcpRuntimeError } from "../runtime-api.js";
3
+ import { t as resolveAcpxSessionResource } from "./session-resource-BBsim-No.mjs";
4
+ import { a as CODEX_ACP_PACKAGE, i as isOpenClawLeaseAwareAcpxProcessCommand, n as cleanupOpenClawOwnedAcpxPendingLease, o as OPENCLAW_CODEX_CONFIG_ARG, r as cleanupOpenClawOwnedAcpxProcessTree } from "./service-C3AGc8e2.mjs";
5
5
  import { parseStrictPositiveInteger } from "openclaw/plugin-sdk/number-runtime";
6
6
  import { normalizeStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
7
7
  import path, { resolve } from "node:path";
@@ -1,7 +1,7 @@
1
- import { n as createLazyAcpRuntimeProxy } from "./register.runtime-BHFSFWWK.js";
2
- import "./config-schema-DN_uAi4R.js";
3
- import { _ as quoteCommandPart, a as createAcpxProcessLeaseStore, f as ACPX_GATEWAY_INSTANCE_KEY, g as normalizeAcpxGatewayInstanceRecord, l as openAcpxProcessLeaseStateStore, n as OPENCLAW_ACPX_LEASE_ID_ARG, p as ACPX_GATEWAY_INSTANCE_NAMESPACE, r as OPENCLAW_GATEWAY_INSTANCE_ID_ARG, u as readAcpxProcessLeaseIdentity, v as splitCommandParts } from "./process-lease-Cwvj7WGe.js";
4
- import { n as resolveAcpxPluginRoot, r as toAcpMcpServers, t as resolveAcpxPluginConfig } from "./config-v8M2tNu6.js";
1
+ import { n as createLazyAcpRuntimeProxy } from "./register.runtime-BXcPQ25w.mjs";
2
+ import "./config-schema-DN_uAi4R.mjs";
3
+ import { _ as quoteCommandPart, a as createAcpxProcessLeaseStore, f as ACPX_GATEWAY_INSTANCE_KEY, g as normalizeAcpxGatewayInstanceRecord, l as openAcpxProcessLeaseStateStore, n as OPENCLAW_ACPX_LEASE_ID_ARG, p as ACPX_GATEWAY_INSTANCE_NAMESPACE, r as OPENCLAW_GATEWAY_INSTANCE_ID_ARG, u as readAcpxProcessLeaseIdentity, v as splitCommandParts } from "./process-lease-Cwvj7WGe.mjs";
4
+ import { n as resolveAcpxPluginRoot, r as toAcpMcpServers, t as resolveAcpxPluginConfig } from "./config-LIO_M4Um.mjs";
5
5
  import { createRequire } from "node:module";
6
6
  import { finiteSecondsToTimerSafeMilliseconds } from "openclaw/plugin-sdk/number-runtime";
7
7
  import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
@@ -1362,7 +1362,7 @@ var service_exports = /* @__PURE__ */ __exportAll({
1362
1362
  });
1363
1363
  const ENABLE_STARTUP_PROBE_ENV = "OPENCLAW_ACPX_RUNTIME_STARTUP_PROBE";
1364
1364
  const SKIP_RUNTIME_PROBE_ENV = "OPENCLAW_SKIP_ACPX_RUNTIME_PROBE";
1365
- const loadRuntimeModule = createLazyRuntimeModule(() => import("./runtime-D47jdCKR.js"));
1365
+ const loadRuntimeModule = createLazyRuntimeModule(() => import("./runtime-Bbp8vCYB.mjs"));
1366
1366
  /** Convert ACPX timeout seconds into timer-safe milliseconds. */
1367
1367
  function resolveAcpxTimerTimeoutMs(timeoutSeconds) {
1368
1368
  if (timeoutSeconds === void 0) return;
@@ -1,6 +1,6 @@
1
- import { l as openAcpxProcessLeaseStateStore, o as hashAcpxProcessCommand, s as normalizeAcpxProcessLease, u as readAcpxProcessLeaseIdentity } from "./process-lease-Cwvj7WGe.js";
2
- import { t as resolveAcpxPluginConfig } from "./config-v8M2tNu6.js";
3
- import { t as resolveAcpxSessionResource } from "./session-resource-CRWvFl2-.js";
1
+ import { l as openAcpxProcessLeaseStateStore, o as hashAcpxProcessCommand, s as normalizeAcpxProcessLease, u as readAcpxProcessLeaseIdentity } from "./process-lease-Cwvj7WGe.mjs";
2
+ import { t as resolveAcpxPluginConfig } from "./config-LIO_M4Um.mjs";
3
+ import { t as resolveAcpxSessionResource } from "./session-resource-BBsim-No.mjs";
4
4
  import path from "node:path";
5
5
  import fs from "node:fs/promises";
6
6
  import { archiveLegacyStateSource, asObjectRecord } from "openclaw/plugin-sdk/runtime-doctor-migrations";
@@ -1,4 +1,4 @@
1
- import { AcpRuntimeError } from "./runtime-api.js";
1
+ import { AcpRuntimeError } from "../runtime-api.js";
2
2
  import { createHash } from "node:crypto";
3
3
  import { normalizeAgentId, parseAgentSessionKey } from "openclaw/plugin-sdk/routing";
4
4
  //#region extensions/acpx/src/session-resource.ts
@@ -1,4 +1,4 @@
1
- import { c as normalizeAcpxProcessLeaseFile, f as ACPX_GATEWAY_INSTANCE_KEY, g as normalizeAcpxGatewayInstanceRecord, h as ACPX_LEGACY_PROCESS_LEASE_FILE, l as openAcpxProcessLeaseStateStore, m as ACPX_LEGACY_GATEWAY_INSTANCE_FILE, p as ACPX_GATEWAY_INSTANCE_NAMESPACE, s as normalizeAcpxProcessLease } from "./process-lease-Cwvj7WGe.js";
1
+ import { c as normalizeAcpxProcessLeaseFile, f as ACPX_GATEWAY_INSTANCE_KEY, g as normalizeAcpxGatewayInstanceRecord, h as ACPX_LEGACY_PROCESS_LEASE_FILE, l as openAcpxProcessLeaseStateStore, m as ACPX_LEGACY_GATEWAY_INSTANCE_FILE, p as ACPX_GATEWAY_INSTANCE_NAMESPACE, s as normalizeAcpxProcessLease } from "./.setup/process-lease-Cwvj7WGe.mjs";
2
2
  import path from "node:path";
3
3
  import fs from "node:fs/promises";
4
4
  import { archiveLegacyStateSource, asObjectRecord } from "openclaw/plugin-sdk/runtime-doctor-migrations";
@@ -137,10 +137,10 @@ const stateMigrations = [{
137
137
  doctorOnly: true,
138
138
  phase: "after-session-repair",
139
139
  async detectLegacyState(input) {
140
- return (await import("./session-owner-migration-Dt5yf0xJ.js")).acpxSessionOwnerMigration.detectLegacyState(input);
140
+ return (await import("./.setup/session-owner-migration-DRx14THD.mjs")).acpxSessionOwnerMigration.detectLegacyState(input);
141
141
  },
142
142
  async migrateLegacyState(input) {
143
- return (await import("./session-owner-migration-Dt5yf0xJ.js")).acpxSessionOwnerMigration.migrateLegacyState(input);
143
+ return (await import("./.setup/session-owner-migration-DRx14THD.mjs")).acpxSessionOwnerMigration.migrateLegacyState(input);
144
144
  }
145
145
  }];
146
146
  //#endregion
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { t as createAcpxRuntimeService } from "./register.runtime-BHFSFWWK.js";
2
- import "./config-schema-DN_uAi4R.js";
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 "./pi-session-paths-EMbd4Hkz.js";
1
+ import { t as createAcpxRuntimeService } from "./.setup/register.runtime-BXcPQ25w.mjs";
2
+ import "./.setup/config-schema-DN_uAi4R.mjs";
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-EMbd4Hkz.mjs";
4
4
  import { tryDispatchAcpReplyHook } from "openclaw/plugin-sdk/acp-runtime-backend";
5
5
  import { finiteSecondsToTimerSafeMilliseconds } from "openclaw/plugin-sdk/number-runtime";
6
6
  import { createLazyRuntimeModule, createLazyRuntimeSurface } from "openclaw/plugin-sdk/lazy-runtime";
@@ -8,7 +8,7 @@ import { resolveNodeHostExecutable } from "openclaw/plugin-sdk/node-host";
8
8
  import { createSessionCatalogNodeHostBindings } from "openclaw/plugin-sdk/session-catalog";
9
9
  import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
10
10
  //#region extensions/acpx/src/pi-session-catalog-plugin.ts
11
- const loadPiSessionCatalogModule = createLazyRuntimeModule(() => import("./pi-session-catalog-runtime-C0HodUWT.js"));
11
+ const loadPiSessionCatalogModule = createLazyRuntimeModule(() => import("./.setup/pi-session-catalog-runtime-F81cGJO1.mjs"));
12
12
  function fullConfigCatalogEnabled(config) {
13
13
  if (!isRecord(config) || !isRecord(config.plugins) || !isRecord(config.plugins.entries)) return true;
14
14
  const entry = config.plugins.entries.acpx;
@@ -1,2 +1,2 @@
1
- import { t as createAcpxRuntimeService } from "./register.runtime-BHFSFWWK.js";
1
+ import { t as createAcpxRuntimeService } from "./.setup/register.runtime-BXcPQ25w.mjs";
2
2
  export { createAcpxRuntimeService };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/acpx",
3
- "version": "2026.8.2",
3
+ "version": "2026.8.33",
4
4
  "description": "OpenClaw ACP runtime backend with plugin-owned session and transport management.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -43,10 +43,10 @@
43
43
  ]
44
44
  },
45
45
  "compat": {
46
- "pluginApi": ">=2026.8.2"
46
+ "pluginApi": ">=2026.8.33"
47
47
  },
48
48
  "build": {
49
- "openclawVersion": "2026.8.2",
49
+ "openclawVersion": "2026.8.33",
50
50
  "staticAssets": [
51
51
  {
52
52
  "source": "./src/runtime-internals/mcp-proxy.mjs",
@@ -74,7 +74,7 @@
74
74
  "skills/**"
75
75
  ],
76
76
  "peerDependencies": {
77
- "openclaw": ">=2026.8.2"
77
+ "openclaw": ">=2026.8.33"
78
78
  },
79
79
  "peerDependenciesMeta": {
80
80
  "openclaw": {