@openclaw/acpx 2026.7.1-beta.1 → 2026.7.1-beta.2
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/index.js +1 -1
- package/dist/{register.runtime-Bq02UtOW.js → register.runtime-Bcp4wC4g.js} +8 -18
- package/dist/register.runtime.js +1 -1
- package/dist/{runtime-CynB8RsZ.js → runtime-7Xuu2bcn.js} +1 -1
- package/dist/{service-CfrXZbVJ.js → service-DrBh86Oc.js} +4 -7
- package/npm-shrinkwrap.json +2 -2
- package/package.json +4 -4
- package/dist/{process-reaper-Dv_iMcOo.js → process-reaper-_ttV4L1d.js} +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createAcpxRuntimeService } from "./register.runtime-
|
|
1
|
+
import { t as createAcpxRuntimeService } from "./register.runtime-Bcp4wC4g.js";
|
|
2
2
|
import { tryDispatchAcpReplyHook } from "openclaw/plugin-sdk/acp-runtime-backend";
|
|
3
3
|
//#region extensions/acpx/index.ts
|
|
4
4
|
/**
|
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
import { getAcpRuntimeBackend, registerAcpRuntimeBackend, unregisterAcpRuntimeBackend } from "openclaw/plugin-sdk/acp-runtime-backend";
|
|
2
|
+
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
3
|
+
import { createDeferred } from "openclaw/plugin-sdk/extension-shared";
|
|
2
4
|
//#region extensions/acpx/src/runtime-turn.ts
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
promise: new Promise((resolvePromise, rejectPromise) => {
|
|
8
|
-
resolve = resolvePromise;
|
|
9
|
-
reject = rejectPromise;
|
|
10
|
-
}),
|
|
11
|
-
resolve,
|
|
12
|
-
reject
|
|
13
|
-
};
|
|
14
|
-
}
|
|
5
|
+
/**
|
|
6
|
+
* ACPX turn adapters. Modern runtimes can expose startTurn directly; legacy
|
|
7
|
+
* runtimes that only stream runTurn events are adapted to the newer contract.
|
|
8
|
+
*/
|
|
15
9
|
var LegacyRunTurnEventQueue = class {
|
|
16
10
|
constructor() {
|
|
17
11
|
this.items = [];
|
|
@@ -62,7 +56,7 @@ var LegacyRunTurnEventQueue = class {
|
|
|
62
56
|
}
|
|
63
57
|
};
|
|
64
58
|
function legacyRunTurnAsStartTurn(runtime, input) {
|
|
65
|
-
const result =
|
|
59
|
+
const result = createDeferred();
|
|
66
60
|
result.promise.catch(() => {});
|
|
67
61
|
const queue = new LegacyRunTurnEventQueue();
|
|
68
62
|
let resultSettled = false;
|
|
@@ -203,11 +197,7 @@ function createLazyAcpRuntimeProxy(resolveRuntime) {
|
|
|
203
197
|
* immediately, then imports the heavier service only when a session needs it.
|
|
204
198
|
*/
|
|
205
199
|
const ACPX_BACKEND_ID = "acpx";
|
|
206
|
-
|
|
207
|
-
function loadServiceModule() {
|
|
208
|
-
serviceModulePromise ??= import("./service-CfrXZbVJ.js");
|
|
209
|
-
return serviceModulePromise;
|
|
210
|
-
}
|
|
200
|
+
const loadServiceModule = createLazyRuntimeModule(() => import("./service-DrBh86Oc.js"));
|
|
211
201
|
async function startRealService(state) {
|
|
212
202
|
if (state.realRuntime) return state.realRuntime;
|
|
213
203
|
if (!state.ctx) throw new Error("ACPX runtime service is not started");
|
package/dist/register.runtime.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createAcpxRuntimeService } from "./register.runtime-
|
|
1
|
+
import { t as createAcpxRuntimeService } from "./register.runtime-Bcp4wC4g.js";
|
|
2
2
|
export { createAcpxRuntimeService };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as createAcpxProcessLeaseId, o as hashAcpxProcessCommand, u as withAcpxLeaseEnvironment } from "./process-lease-DiKkFj6F.js";
|
|
2
2
|
import { AcpRuntimeError } from "./runtime-api.js";
|
|
3
|
-
import { c as splitCommandParts, n as isOpenClawLeaseAwareAcpxProcessCommand, t as cleanupOpenClawOwnedAcpxProcessTree } from "./process-reaper-
|
|
3
|
+
import { c as splitCommandParts, n as isOpenClawLeaseAwareAcpxProcessCommand, t as cleanupOpenClawOwnedAcpxProcessTree } from "./process-reaper-_ttV4L1d.js";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
import path, { resolve } from "node:path";
|
|
6
6
|
import { normalizeStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { n as createLazyAcpRuntimeProxy } from "./register.runtime-
|
|
1
|
+
import { n as createLazyAcpRuntimeProxy } from "./register.runtime-Bcp4wC4g.js";
|
|
2
2
|
import { a as createAcpxProcessLeaseStore, d as ACPX_GATEWAY_INSTANCE_KEY, f as ACPX_GATEWAY_INSTANCE_NAMESPACE, h as normalizeAcpxGatewayInstanceRecord, l as openAcpxProcessLeaseStateStore, n as OPENCLAW_ACPX_LEASE_ID_ENV, r as OPENCLAW_GATEWAY_INSTANCE_ID_ARG, t as OPENCLAW_ACPX_LEASE_ID_ARG } from "./process-lease-DiKkFj6F.js";
|
|
3
3
|
import { registerAcpRuntimeBackend, unregisterAcpRuntimeBackend } from "./runtime-api.js";
|
|
4
|
-
import { a as resolveAcpxPluginRoot, c as splitCommandParts, i as resolveAcpxPluginConfig, o as toAcpMcpServers, r as reapStaleOpenClawOwnedAcpxOrphans, s as quoteCommandPart, t as cleanupOpenClawOwnedAcpxProcessTree } from "./process-reaper-
|
|
4
|
+
import { a as resolveAcpxPluginRoot, c as splitCommandParts, i as resolveAcpxPluginConfig, o as toAcpMcpServers, r as reapStaleOpenClawOwnedAcpxOrphans, s as quoteCommandPart, t as cleanupOpenClawOwnedAcpxProcessTree } from "./process-reaper-_ttV4L1d.js";
|
|
5
5
|
import { createRequire } from "node:module";
|
|
6
|
+
import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
6
7
|
import fs from "node:fs/promises";
|
|
7
8
|
import path from "node:path";
|
|
8
9
|
import { randomUUID } from "node:crypto";
|
|
@@ -851,11 +852,7 @@ async function prepareAcpxCodexAuthConfig(params) {
|
|
|
851
852
|
const ENABLE_STARTUP_PROBE_ENV = "OPENCLAW_ACPX_RUNTIME_STARTUP_PROBE";
|
|
852
853
|
const SKIP_RUNTIME_PROBE_ENV = "OPENCLAW_SKIP_ACPX_RUNTIME_PROBE";
|
|
853
854
|
const ACPX_BACKEND_ID = "acpx";
|
|
854
|
-
|
|
855
|
-
function loadRuntimeModule() {
|
|
856
|
-
runtimeModulePromise ??= import("./runtime-CynB8RsZ.js");
|
|
857
|
-
return runtimeModulePromise;
|
|
858
|
-
}
|
|
855
|
+
const loadRuntimeModule = createLazyRuntimeModule(() => import("./runtime-7Xuu2bcn.js"));
|
|
859
856
|
/** Convert ACPX timeout seconds into timer-safe milliseconds. */
|
|
860
857
|
function resolveAcpxTimerTimeoutMs(timeoutSeconds) {
|
|
861
858
|
if (timeoutSeconds === void 0) return;
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/acpx",
|
|
3
|
-
"version": "2026.7.1-beta.
|
|
3
|
+
"version": "2026.7.1-beta.2",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@openclaw/acpx",
|
|
9
|
-
"version": "2026.7.1-beta.
|
|
9
|
+
"version": "2026.7.1-beta.2",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@agentclientprotocol/claude-agent-acp": "0.39.0",
|
|
12
12
|
"@zed-industries/codex-acp": "0.15.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/acpx",
|
|
3
|
-
"version": "2026.7.1-beta.
|
|
3
|
+
"version": "2026.7.1-beta.2",
|
|
4
4
|
"description": "OpenClaw ACP runtime backend with plugin-owned session and transport management.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"minHostVersion": ">=2026.4.25"
|
|
27
27
|
},
|
|
28
28
|
"compat": {
|
|
29
|
-
"pluginApi": ">=2026.7.1-beta.
|
|
29
|
+
"pluginApi": ">=2026.7.1-beta.2"
|
|
30
30
|
},
|
|
31
31
|
"build": {
|
|
32
|
-
"openclawVersion": "2026.7.1-beta.
|
|
32
|
+
"openclawVersion": "2026.7.1-beta.2",
|
|
33
33
|
"staticAssets": [
|
|
34
34
|
{
|
|
35
35
|
"source": "./src/runtime-internals/mcp-proxy.mjs",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"skills/**"
|
|
59
59
|
],
|
|
60
60
|
"peerDependencies": {
|
|
61
|
-
"openclaw": ">=2026.7.1-beta.
|
|
61
|
+
"openclaw": ">=2026.7.1-beta.2"
|
|
62
62
|
},
|
|
63
63
|
"peerDependenciesMeta": {
|
|
64
64
|
"openclaw": {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "./process-lease-DiKkFj6F.js";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
+
import { formatPluginConfigIssue } from "openclaw/plugin-sdk/extension-shared";
|
|
3
4
|
import path from "node:path";
|
|
4
5
|
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
6
|
import { execFile } from "node:child_process";
|
|
6
7
|
import { promisify } from "node:util";
|
|
7
8
|
import fsSync from "node:fs";
|
|
8
9
|
import { fileURLToPath } from "node:url";
|
|
9
|
-
import { formatPluginConfigIssue } from "openclaw/plugin-sdk/extension-shared";
|
|
10
10
|
import { z } from "zod";
|
|
11
11
|
//#region extensions/acpx/src/command-line.ts
|
|
12
12
|
/**
|