@openclaw/acpx 2026.5.31-beta.4 → 2026.6.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 CHANGED
@@ -1,4 +1,4 @@
1
- import { t as createAcpxRuntimeService } from "./register.runtime-CyVXGMrx.js";
1
+ import { t as createAcpxRuntimeService } from "./register.runtime-BhLDvIMd.js";
2
2
  import { tryDispatchAcpReplyHook } from "openclaw/plugin-sdk/acp-runtime-backend";
3
3
  //#region extensions/acpx/index.ts
4
4
  const plugin = {
@@ -198,7 +198,7 @@ function createLazyAcpRuntimeProxy(resolveRuntime) {
198
198
  const ACPX_BACKEND_ID = "acpx";
199
199
  let serviceModulePromise = null;
200
200
  function loadServiceModule() {
201
- serviceModulePromise ??= import("./service-CB8k9TcJ.js");
201
+ serviceModulePromise ??= import("./service-DnQfb40X.js");
202
202
  return serviceModulePromise;
203
203
  }
204
204
  async function startRealService(state) {
@@ -1,2 +1,2 @@
1
- import { t as createAcpxRuntimeService } from "./register.runtime-CyVXGMrx.js";
1
+ import { t as createAcpxRuntimeService } from "./register.runtime-BhLDvIMd.js";
2
2
  export { createAcpxRuntimeService };
@@ -288,6 +288,18 @@ function codexAcpSessionModelId(override) {
288
288
  if (!override.model) return "";
289
289
  return override.reasoningEffort ? `${override.model}/${override.reasoningEffort}` : override.model;
290
290
  }
291
+ function withAcpxSessionOptions(input) {
292
+ const existingOptions = input.sessionOptions;
293
+ const model = input.model?.trim() || existingOptions?.model;
294
+ const sessionOptions = model ? {
295
+ ...existingOptions,
296
+ model
297
+ } : existingOptions;
298
+ return {
299
+ ...input,
300
+ ...sessionOptions ? { sessionOptions } : {}
301
+ };
302
+ }
291
303
  function quoteShellArg(value) {
292
304
  if (/^[A-Za-z0-9_./:=@+-]+$/.test(value)) return value;
293
305
  return `'${value.replace(/'/g, "'\\''")}'`;
@@ -524,7 +536,7 @@ var AcpxRuntime = class {
524
536
  run: () => this.withCodexWrapperDiagnostics({
525
537
  command: stableLaunchCommand,
526
538
  fallbackCode: "ACP_SESSION_INIT_FAILED",
527
- run: () => delegate.ensureSession(input)
539
+ run: () => delegate.ensureSession(withAcpxSessionOptions(input))
528
540
  })
529
541
  });
530
542
  const normalizedInput = {
@@ -538,7 +550,7 @@ var AcpxRuntime = class {
538
550
  run: () => this.codexAcpModelOverrideScope.run(codexModelOverride, () => this.withCodexWrapperDiagnostics({
539
551
  command: stableLaunchCommand,
540
552
  fallbackCode: "ACP_SESSION_INIT_FAILED",
541
- run: () => delegate.ensureSession(normalizedInput)
553
+ run: () => delegate.ensureSession(withAcpxSessionOptions(normalizedInput))
542
554
  }))
543
555
  });
544
556
  }
@@ -1,4 +1,4 @@
1
- import { n as createLazyAcpRuntimeProxy } from "./register.runtime-CyVXGMrx.js";
1
+ import { n as createLazyAcpRuntimeProxy } from "./register.runtime-BhLDvIMd.js";
2
2
  import { registerAcpRuntimeBackend, unregisterAcpRuntimeBackend } from "./runtime-api.js";
3
3
  import { a as resolveAcpxPluginRoot, c as OPENCLAW_ACPX_LEASE_ID_ENV, d as createAcpxProcessLeaseStore, h as splitCommandParts, i as resolveAcpxPluginConfig, l as OPENCLAW_GATEWAY_INSTANCE_ID_ARG, m as quoteCommandPart, o as toAcpMcpServers, r as reapStaleOpenClawOwnedAcpxOrphans, s as OPENCLAW_ACPX_LEASE_ID_ARG, t as cleanupOpenClawOwnedAcpxProcessTree } from "./process-reaper-Dr6ilvUG.js";
4
4
  import { createRequire } from "node:module";
@@ -831,7 +831,7 @@ const SKIP_RUNTIME_PROBE_ENV = "OPENCLAW_SKIP_ACPX_RUNTIME_PROBE";
831
831
  const ACPX_BACKEND_ID = "acpx";
832
832
  let runtimeModulePromise = null;
833
833
  function loadRuntimeModule() {
834
- runtimeModulePromise ??= import("./runtime-YZVhuRcK.js");
834
+ runtimeModulePromise ??= import("./runtime-DqAsRsX9.js");
835
835
  return runtimeModulePromise;
836
836
  }
837
837
  function resolveAcpxTimerTimeoutMs(timeoutSeconds) {
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@openclaw/acpx",
3
- "version": "2026.5.31-beta.4",
3
+ "version": "2026.6.1-beta.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@openclaw/acpx",
9
- "version": "2026.5.31-beta.4",
9
+ "version": "2026.6.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.5.31-beta.4",
3
+ "version": "2026.6.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.5.31-beta.4"
29
+ "pluginApi": ">=2026.6.1-beta.2"
30
30
  },
31
31
  "build": {
32
- "openclawVersion": "2026.5.31-beta.4",
32
+ "openclawVersion": "2026.6.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.5.31-beta.4"
61
+ "openclaw": ">=2026.6.1-beta.2"
62
62
  },
63
63
  "peerDependenciesMeta": {
64
64
  "openclaw": {