@openclaw/codex 2026.5.28 → 2026.5.31-beta.1

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 (28) hide show
  1. package/dist/{client-DMXvboVu.js → client-BnOmn0y-.js} +20 -6
  2. package/dist/client-factory-B8dh39UW.js +20 -0
  3. package/dist/{command-handlers-C2t6-ChO.js → command-handlers-BsK6kZJi.js} +265 -16
  4. package/dist/{compact-Dlnt5G3v.js → compact-BXLjhUHX.js} +4 -4
  5. package/dist/{computer-use-Ba4vW9fO.js → computer-use-D-0EFJBJ.js} +3 -4
  6. package/dist/{config--tW89bHH.js → config-AlzuNKCY.js} +14 -5
  7. package/dist/{conversation-binding-CC9XMAwn.js → conversation-binding-KUDxop-C.js} +69 -92
  8. package/dist/doctor-contract-api.js +1 -1
  9. package/dist/harness.js +6 -10
  10. package/dist/index.js +23 -60
  11. package/dist/media-understanding-provider.js +8 -9
  12. package/dist/{models-QT-XOhE7.js → models-mbjSisZL.js} +2 -2
  13. package/dist/{native-hook-relay-B8qM8ZwR.js → native-hook-relay-DCxPRaBN.js} +77 -9
  14. package/dist/{notification-correlation-BDakP_d3.js → notification-correlation-BykOI_jh.js} +3 -3
  15. package/dist/{protocol-validators-DtjYmUw_.js → protocol-validators-DIt7cXIp.js} +2 -2
  16. package/dist/provider-catalog.js +2 -2
  17. package/dist/provider.js +2 -2
  18. package/dist/{request-CF4f5hWY.js → request-DuFgTwRU.js} +4 -4
  19. package/dist/{run-attempt-CuhGEh0u.js → run-attempt-CgaY9r5u.js} +579 -288
  20. package/dist/{sandbox-guard-mXE4_vE_.js → sandbox-guard-DMCJlzmz.js} +4 -1
  21. package/dist/{session-binding-ueMCn4om.js → session-binding-BXJAV_xy.js} +27 -10
  22. package/dist/{shared-client-Duh1bHaP.js → shared-client-DBlR-rV2.js} +33 -4
  23. package/dist/{side-question-B-Cjb9wm.js → side-question-SjBLGANT.js} +10 -10
  24. package/dist/{thread-lifecycle-Dv9Npl7a.js → thread-lifecycle-Bnlv_Q8u.js} +78 -120
  25. package/npm-shrinkwrap.json +34 -34
  26. package/openclaw.plugin.json +5 -4
  27. package/package.json +6 -6
  28. package/dist/client-factory-qZvhyyXr.js +0 -15
@@ -5553,7 +5553,7 @@ function normalizeJsonSchemaNode(schema) {
5553
5553
  }));
5554
5554
  }
5555
5555
  function readDefault(schema) {
5556
- if (!isRecord(schema) || !Object.prototype.hasOwnProperty.call(schema, "default")) return;
5556
+ if (!isRecord(schema) || !Object.hasOwn(schema, "default")) return;
5557
5557
  return structuredClone(schema.default);
5558
5558
  }
5559
5559
  function decodePointerSegment(segment) {
@@ -5595,7 +5595,7 @@ function applySchemaDefaults(schema, value, root = schema, resolvingRefs = /* @_
5595
5595
  if (defaultedValue !== void 0 && defaultedValue !== currentValue) nextValue[key] = defaultedValue;
5596
5596
  }
5597
5597
  if (isRecord(schema.additionalProperties)) for (const key of Object.keys(nextValue)) {
5598
- if (Object.prototype.hasOwnProperty.call(schema.properties, key)) continue;
5598
+ if (Object.hasOwn(schema.properties, key)) continue;
5599
5599
  nextValue[key] = applySchemaDefaults(schema.additionalProperties, nextValue[key], root, resolvingRefs);
5600
5600
  }
5601
5601
  }
@@ -35,7 +35,7 @@ function buildCodexModelDefinition(model) {
35
35
  return {
36
36
  id,
37
37
  name: model.displayName?.trim() || id,
38
- api: "openai-codex-responses",
38
+ api: "openai-chatgpt-responses",
39
39
  reasoning: model.supportedReasoningEfforts.length > 0 || shouldDefaultToReasoningModel(id),
40
40
  input: model.inputModalities.includes("image") ? ["text", "image"] : ["text"],
41
41
  cost: {
@@ -57,7 +57,7 @@ function buildCodexProviderConfig(models) {
57
57
  baseUrl: CODEX_BASE_URL,
58
58
  apiKey: CODEX_APP_SERVER_AUTH_MARKER,
59
59
  auth: "token",
60
- api: "openai-codex-responses",
60
+ api: "openai-chatgpt-responses",
61
61
  models: models.map(buildCodexModelDefinition)
62
62
  };
63
63
  }
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--tW89bHH.js";
2
+ import { d as resolveCodexAppServerRuntimeOptions, u as readCodexPluginConfig } from "./config-AlzuNKCY.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-QT-XOhE7.js").then((n) => n.r);
126
+ const { listCodexAppServerModels } = await import("./models-mbjSisZL.js").then((n) => n.r);
127
127
  return listCodexAppServerModels(options);
128
128
  }
129
129
  function normalizeTimeoutMs(value) {
@@ -1,7 +1,7 @@
1
- import { n as CodexAppServerRpcError } from "./client-DMXvboVu.js";
2
- import { b as buildCodexAppInventoryCacheKey } from "./thread-lifecycle-Dv9Npl7a.js";
3
- import { a as releaseLeasedSharedCodexAppServerClient, c as withTimeout, i as getLeasedSharedCodexAppServerClient, m as resolveCodexAppServerHomeDir, r as createIsolatedCodexAppServerClient } from "./shared-client-Duh1bHaP.js";
4
- import { t as resolveCodexAppServerDirectSandboxBypassBlock } from "./sandbox-guard-mXE4_vE_.js";
1
+ import { n as CodexAppServerRpcError } from "./client-BnOmn0y-.js";
2
+ import { b as buildCodexAppInventoryCacheKey } from "./thread-lifecycle-Bnlv_Q8u.js";
3
+ import { a as releaseLeasedSharedCodexAppServerClient, c as withTimeout, i as getLeasedSharedCodexAppServerClient, m as resolveCodexAppServerHomeDir, r as createIsolatedCodexAppServerClient } from "./shared-client-DBlR-rV2.js";
4
+ import { t as resolveCodexAppServerDirectSandboxBypassBlock } from "./sandbox-guard-DMCJlzmz.js";
5
5
  import { createHash } from "node:crypto";
6
6
  //#region extensions/codex/src/app-server/capabilities.ts
7
7
  const CODEX_CONTROL_METHODS = {