@openclaw/codex 2026.5.25-beta.1 → 2026.5.26-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.
Files changed (26) hide show
  1. package/dist/{client-SrtuTTVa.js → client-BVK_jmHW.js} +1 -1
  2. package/dist/client-factory-fW4Hh9q_.js +15 -0
  3. package/dist/{command-handlers-CLtPT37L.js → command-handlers-hYTtzAdy.js} +8 -8
  4. package/dist/{compact-acCua7zr.js → compact-C_1JAB4C.js} +26 -3
  5. package/dist/{computer-use-CVfE2Vfb.js → computer-use-DSdj1hJY.js} +2 -2
  6. package/dist/{config-D6TUuyo2.js → config-0-UN67Qg.js} +2 -1
  7. package/dist/{conversation-binding-B-GevkEb.js → conversation-binding-OjYqDwhw.js} +114 -88
  8. package/dist/{dynamic-tools-BXAE1U1-.js → dynamic-tools-DlEefKNQ.js} +61 -20
  9. package/dist/harness.js +5 -5
  10. package/dist/index.js +10 -9
  11. package/dist/media-understanding-provider.js +7 -7
  12. package/dist/{models-CC2IusQs.js → models-_XwpqjR8.js} +5 -4
  13. package/dist/{notification-correlation-D7tJW3FW.js → notification-correlation-YINts3PA.js} +1 -1
  14. package/dist/{protocol-validators-_gKDcd0x.js → protocol-validators-DtjYmUw_.js} +188 -441
  15. package/dist/provider.js +2 -2
  16. package/dist/{request-BO0z3vA8.js → request-OaxhR46w.js} +5 -4
  17. package/dist/{run-attempt-BjoI3hUJ.js → run-attempt-D8Vxo-Jm.js} +497 -176
  18. package/dist/{session-binding-CwNOIDP2.js → session-binding-UFjjws4k.js} +1 -1
  19. package/dist/{shared-client-CZP1DjaN.js → shared-client-8kIrP817.js} +167 -17
  20. package/dist/{side-question-Cb4COOQ9.js → side-question-DU7en3_R.js} +12 -11
  21. package/dist/test-api.js +3 -3
  22. package/dist/{thread-lifecycle-CXMd9UgJ.js → thread-lifecycle-CUXQezJL.js} +110 -22
  23. package/dist/{vision-tools-CETeQgze.js → vision-tools-DqpLmF5H.js} +5 -3
  24. package/npm-shrinkwrap.json +35 -105
  25. package/package.json +6 -6
  26. package/dist/client-factory-A7DQkSLq.js +0 -9
package/dist/provider.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { CODEX_APP_SERVER_AUTH_MARKER, CODEX_BASE_URL, CODEX_PROVIDER_ID, FALLBACK_CODEX_MODELS, buildCodexModelDefinition, buildCodexProviderConfig } from "./provider-catalog.js";
2
- import { c as readCodexPluginConfig, l as resolveCodexAppServerRuntimeOptions } from "./config-D6TUuyo2.js";
2
+ import { c as readCodexPluginConfig, l as resolveCodexAppServerRuntimeOptions } from "./config-0-UN67Qg.js";
3
3
  import { resolveCodexSystemPromptContribution } from "./prompt-overlay.js";
4
4
  import { resolvePluginConfigObject } from "openclaw/plugin-sdk/plugin-config-runtime";
5
5
  import { normalizeModelCompat } from "openclaw/plugin-sdk/provider-model-shared";
@@ -123,7 +123,7 @@ async function listModelsBestEffort(params) {
123
123
  }
124
124
  }
125
125
  async function listCodexAppServerModelsLazy(options) {
126
- const { listCodexAppServerModels } = await import("./models-CC2IusQs.js").then((n) => n.r);
126
+ const { listCodexAppServerModels } = await import("./models-_XwpqjR8.js").then((n) => n.r);
127
127
  return listCodexAppServerModels(options);
128
128
  }
129
129
  function normalizeTimeoutMs(value) {
@@ -1,6 +1,6 @@
1
- import { n as CodexAppServerRpcError } from "./client-SrtuTTVa.js";
2
- import { x as buildCodexAppInventoryCacheKey } from "./thread-lifecycle-CXMd9UgJ.js";
3
- import { f as resolveCodexAppServerHomeDir, i as getSharedCodexAppServerClient, o as withTimeout, r as createIsolatedCodexAppServerClient } from "./shared-client-CZP1DjaN.js";
1
+ import { n as CodexAppServerRpcError } from "./client-BVK_jmHW.js";
2
+ import { S as buildCodexAppInventoryCacheKey } from "./thread-lifecycle-CUXQezJL.js";
3
+ import { a as releaseLeasedSharedCodexAppServerClient, c as withTimeout, i as getLeasedSharedCodexAppServerClient, m as resolveCodexAppServerHomeDir, r as createIsolatedCodexAppServerClient } from "./shared-client-8kIrP817.js";
4
4
  import { t as resolveCodexAppServerDirectSandboxBypassBlock } from "./sandbox-guard-CTnEWuor.js";
5
5
  import { createHash } from "node:crypto";
6
6
  //#region extensions/codex/src/app-server/capabilities.ts
@@ -77,7 +77,7 @@ async function requestCodexAppServerJson(params) {
77
77
  if (sandboxBlock) throw new Error(sandboxBlock);
78
78
  const timeoutMs = params.timeoutMs ?? 6e4;
79
79
  return await withTimeout((async () => {
80
- const client = await (params.isolated ? createIsolatedCodexAppServerClient : getSharedCodexAppServerClient)({
80
+ const client = await (params.isolated ? createIsolatedCodexAppServerClient : getLeasedSharedCodexAppServerClient)({
81
81
  startOptions: params.startOptions,
82
82
  timeoutMs,
83
83
  authProfileId: params.authProfileId,
@@ -91,6 +91,7 @@ async function requestCodexAppServerJson(params) {
91
91
  exitTimeoutMs: 2e3,
92
92
  forceKillDelayMs: 250
93
93
  });
94
+ else releaseLeasedSharedCodexAppServerClient(client);
94
95
  }
95
96
  })(), timeoutMs, `codex app-server ${params.method} timed out`);
96
97
  }