@openclaw/codex 2026.10.10-beta.1 → 2026.10.10-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 (60) hide show
  1. package/dist/.setup/{account-usage-runtime-DDCDkvtl.mjs → account-usage-runtime-BVO-lpvn.mjs} +1 -1
  2. package/dist/.setup/{apply-BVSXYkTV.mjs → apply-tJl5mopa.mjs} +4 -4
  3. package/dist/.setup/{attempt-client-cleanup-6OcbMH46.mjs → attempt-client-cleanup-DMJWXGxM.mjs} +4 -4
  4. package/dist/.setup/{auth-cache-key-CVcYw8HD.mjs → auth-cache-key-BW1YeaIk.mjs} +1 -1
  5. package/dist/.setup/{bounded-turn-mN_ekXYW.mjs → bounded-turn-BQkmyyjB.mjs} +6 -6
  6. package/dist/.setup/{build-state-VcujMRqP.mjs → build-state-CjLCC0wm.mjs} +1 -1
  7. package/dist/.setup/{client-BS8X7HmG.mjs → client--P8jwXvA.mjs} +3 -3
  8. package/dist/.setup/{client-catalog-response-jM38o5w1.mjs → client-catalog-response-CsDxVVOZ.mjs} +1 -1
  9. package/dist/.setup/{command-dispatch-DzXbHqCn.mjs → command-dispatch-DqaVBeR3.mjs} +1 -1
  10. package/dist/.setup/{command-handlers-tfb5Uq-O.mjs → command-handlers-i6mEjvfo.mjs} +10 -10
  11. package/dist/.setup/{command-rpc-SXqLQukR.mjs → command-rpc-B65jEc0r.mjs} +6 -6
  12. package/dist/.setup/{compact-M-JxLcbZ.mjs → compact-AO2H4RJe.mjs} +9 -9
  13. package/dist/.setup/{computer-use-FqQ-Flbl.mjs → computer-use-YUnu0JVx.mjs} +3 -3
  14. package/dist/.setup/{conversation-binding-C7MZy-Cx.mjs → conversation-binding-CfnUR-IM.mjs} +7 -7
  15. package/dist/.setup/{dynamic-tool-build-BjFAIG-f.mjs → dynamic-tool-build-DOub3CB5.mjs} +1 -1
  16. package/dist/.setup/{dynamic-tools-XqWsVjcC.mjs → dynamic-tools-Us5mvq_N.mjs} +6 -6
  17. package/dist/.setup/{effective-mcp-catalog-C3ta5hHc.mjs → effective-mcp-catalog-DfUUoeeM.mjs} +4 -4
  18. package/dist/.setup/{ephemeral-turn-1ZF17fUR.mjs → ephemeral-turn-B2z0RIeF.mjs} +2 -2
  19. package/dist/.setup/{inference-context-mv_dBpAL.mjs → inference-context-HRw3PDwn.mjs} +1 -1
  20. package/dist/.setup/{inference-proxy-yd3hr2dr.mjs → inference-proxy-CiLbHMLf.mjs} +1 -1
  21. package/dist/.setup/{isolated-completion-P-r8NRE4.mjs → isolated-completion-CybgD6uU.mjs} +3 -3
  22. package/dist/.setup/{mcp-app-session-preparation-fnsnCovu.mjs → mcp-app-session-preparation-zUgpDLWR.mjs} +3 -3
  23. package/dist/.setup/{model-catalog-Y_esgRPY.mjs → model-catalog-CWY3wo0B.mjs} +5 -5
  24. package/dist/.setup/{models-BWLEUo2E.mjs → models-CmOBxsKF.mjs} +3 -3
  25. package/dist/.setup/{native-hook-relay-C7aaLJaP.mjs → native-hook-relay-CocOW9YS.mjs} +3 -3
  26. package/dist/.setup/{native-mcp-app-CsWj-v_x.mjs → native-mcp-app-DrQeLxXj.mjs} +4 -4
  27. package/dist/.setup/{native-skill-isolation-CMimsKYy.mjs → native-skill-isolation-DL4-PQa4.mjs} +2 -2
  28. package/dist/.setup/{native-subagent-monitor-CFE7b4oC.mjs → native-subagent-monitor-C3CIIaZG.mjs} +6 -6
  29. package/dist/.setup/{plan-B4cHgqNv.mjs → plan-Bqj6VQvQ.mjs} +2 -2
  30. package/dist/.setup/{plugin-approval-roundtrip-DIZHLbAM.mjs → plugin-approval-roundtrip-CGEiG7hG.mjs} +1 -1
  31. package/dist/.setup/{provider-wj_LFJH3.mjs → provider-C_1fMsyD.mjs} +4 -4
  32. package/dist/.setup/{provider-capabilities-DjcKunHS.mjs → provider-capabilities-C7pYYpvh.mjs} +1 -1
  33. package/dist/.setup/{request-ePeNJrOd.mjs → request-C6U8q2uz.mjs} +1 -1
  34. package/dist/.setup/{run-attempt-BcWArowv.mjs → run-attempt-BhuXanLv.mjs} +20 -20
  35. package/dist/.setup/{session-cancellation-DLBSJO5n.mjs → session-cancellation-DCN1FcBZ.mjs} +4 -4
  36. package/dist/.setup/{session-catalog-events-DK0opVp3.mjs → session-catalog-events-CEi6SuLQ.mjs} +3 -3
  37. package/dist/.setup/{session-catalog-index-BfzfdtH7.mjs → session-catalog-index-qt4UWBua.mjs} +4 -4
  38. package/dist/.setup/{session-catalog-native-projection-G3lSDYYG.mjs → session-catalog-native-projection-BqBYi6kV.mjs} +1 -1
  39. package/dist/.setup/{session-catalog-projection-BjWE414G.mjs → session-catalog-projection-CNyhjZze.mjs} +1 -1
  40. package/dist/.setup/{session-catalog-source-DqyuNxCe.mjs → session-catalog-source-z_mNyQdX.mjs} +1 -1
  41. package/dist/.setup/{session-retirement-Ci_JvOfH.mjs → session-retirement-RZStisKb.mjs} +5 -5
  42. package/dist/.setup/{settled-turn-finalizer-D3-KXsbP.mjs → settled-turn-finalizer-gioXygEX.mjs} +3 -3
  43. package/dist/.setup/{shared-client-CE_uY0A1.mjs → shared-client-CkyTrNB8.mjs} +6 -6
  44. package/dist/.setup/{side-question-OM18H9WJ.mjs → side-question-DHPWKgO3.mjs} +13 -13
  45. package/dist/.setup/{source-uGKgKWm8.mjs → source-63MLSmLJ.mjs} +1 -1
  46. package/dist/.setup/{thread-lifecycle-run-mLueY6pH.mjs → thread-lifecycle-run-zCXYFW8W.mjs} +13 -13
  47. package/dist/.setup/{thread-ownership-t6Y9fLQS.mjs → thread-ownership-Bmk5a2Gu.mjs} +3 -3
  48. package/dist/.setup/{thread-policy-Cy301Or8.mjs → thread-policy-DYtvZ5Ay.mjs} +3 -3
  49. package/dist/.setup/{thread-resume-BUbsUfgF.mjs → thread-resume-vBShG3-o.mjs} +4 -4
  50. package/dist/.setup/{turn-router-Dbw17k3K.mjs → turn-router-BGj67FMK.mjs} +1 -1
  51. package/dist/.setup/{upstream-session-fork-_LYkh0nZ.mjs → upstream-session-fork-CWKjpdtW.mjs} +8 -8
  52. package/dist/.setup/{usage-w_93wnnR.mjs → usage-AhrLFxZP.mjs} +1 -1
  53. package/dist/.setup/{usage-limit-error-DcOSH3J4.mjs → usage-limit-error-BdNbGJC3.mjs} +1 -1
  54. package/dist/.setup/{web-search-provider.runtime-DMHxve5v.mjs → web-search-provider.runtime-Yk6lnJBG.mjs} +1 -1
  55. package/dist/catalog-page.worker.js +1 -1
  56. package/dist/harness.js +16 -16
  57. package/dist/index.js +24 -24
  58. package/dist/media-understanding-provider.js +2 -2
  59. package/dist/migration-provider-api.js +1 -1
  60. package/package.json +4 -4
package/dist/harness.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { CODEX_NATIVE_TOOL_REQUIREMENTS, CODEX_TOOL_POLICY_SAFE_DENY_NAMES } from "./native-tool-policy.js";
2
2
  import { n as readCodexRuntimeModelId } from "./.setup/model-runtime-BdqzOMkU.mjs";
3
3
  import { g as sessionBindingIdentity } from "./.setup/session-binding-record-C_THntMe.mjs";
4
- import { t as codexBuildSymbol } from "./.setup/build-state-VcujMRqP.mjs";
4
+ import { t as codexBuildSymbol } from "./.setup/build-state-CjLCC0wm.mjs";
5
5
  import { resolvePluginConfigObject } from "openclaw/plugin-sdk/plugin-config-runtime";
6
6
  import { asOptionalRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
7
7
  //#region extensions/codex/harness.ts
@@ -111,7 +111,7 @@ function createCodexAppServerAgentHarness(options) {
111
111
  executionEnvironment: "host-only",
112
112
  upstreamKinds: ["codex-app-server"],
113
113
  fork: async (params) => {
114
- const { forkCodexUpstreamSession } = await import("./.setup/upstream-session-fork-_LYkh0nZ.mjs");
114
+ const { forkCodexUpstreamSession } = await import("./.setup/upstream-session-fork-CWKjpdtW.mjs");
115
115
  return await forkCodexUpstreamSession(params, {
116
116
  bindingStore: options.bindingStore,
117
117
  controlFactory: sessionCatalogControlFactory,
@@ -133,11 +133,11 @@ function createCodexAppServerAgentHarness(options) {
133
133
  return validateCodexAppServerRuntimeArtifact(binding, void 0, resolveCodexAppServerRuntimeOptions({ pluginConfig: resolveAttemptPluginConfig(options.resolveConfig?.()) }).start);
134
134
  } },
135
135
  fetchUsageSnapshot: async (ctx) => {
136
- const { fetchCodexAppServerUsageSnapshot } = await import("./.setup/usage-w_93wnnR.mjs");
136
+ const { fetchCodexAppServerUsageSnapshot } = await import("./.setup/usage-AhrLFxZP.mjs");
137
137
  return await fetchCodexAppServerUsageSnapshot(ctx, { pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig });
138
138
  },
139
139
  loadModelCatalog: async (params) => {
140
- const { createCodexAppServerModelCatalog } = await import("./.setup/model-catalog-Y_esgRPY.mjs");
140
+ const { createCodexAppServerModelCatalog } = await import("./.setup/model-catalog-CWY3wo0B.mjs");
141
141
  if (disposed) return { entries: [] };
142
142
  modelCatalog ??= createCodexAppServerModelCatalog(harnessRuntimeId);
143
143
  return await modelCatalog.load(params, resolveAttemptPluginConfig(params.config));
@@ -147,7 +147,7 @@ function createCodexAppServerAgentHarness(options) {
147
147
  return asOptionalRecord(asOptionalRecord(resolveAttemptPluginConfig(config))?.appServer)?.enableUltrafast === false ? serviceTiers.filter((tier) => tier !== "ultrafast") : serviceTiers;
148
148
  },
149
149
  acquireMcpAppRuntime: async (params) => {
150
- const { acquireCodexMcpAppRuntime } = await import("./.setup/effective-mcp-catalog-C3ta5hHc.mjs");
150
+ const { acquireCodexMcpAppRuntime } = await import("./.setup/effective-mcp-catalog-DfUUoeeM.mjs");
151
151
  if (disposed) return;
152
152
  params.assertCurrent();
153
153
  return await acquireCodexMcpAppRuntime(params, {
@@ -156,7 +156,7 @@ function createCodexAppServerAgentHarness(options) {
156
156
  });
157
157
  },
158
158
  loadMcpToolCatalog: async (params) => {
159
- const { loadCodexEffectiveMcpCatalog } = await import("./.setup/effective-mcp-catalog-C3ta5hHc.mjs");
159
+ const { loadCodexEffectiveMcpCatalog } = await import("./.setup/effective-mcp-catalog-DfUUoeeM.mjs");
160
160
  return await loadCodexEffectiveMcpCatalog(params, { bindingStore: options.bindingStore });
161
161
  },
162
162
  supports: (ctx) => {
@@ -188,7 +188,7 @@ function createCodexAppServerAgentHarness(options) {
188
188
  };
189
189
  },
190
190
  runAttempt: async (params) => {
191
- const { runCodexAppServerAttempt } = await import("./.setup/run-attempt-BcWArowv.mjs");
191
+ const { runCodexAppServerAttempt } = await import("./.setup/run-attempt-BhuXanLv.mjs");
192
192
  const { planCodexCyberEscalation, readCodexCyberAttemptVerdict, recordCodexCyberTargetUnavailable, reserveCodexCyberProbe, resolveCodexCyberFailoverConfig } = await import("./.setup/cyber-failover-CqEZoQsj.mjs");
193
193
  const { emitCodexCyberNotice } = await import("./.setup/cyber-failover-notice-poL3Advd.mjs");
194
194
  const pluginConfig = resolveAttemptPluginConfig(params.config);
@@ -254,7 +254,7 @@ function createCodexAppServerAgentHarness(options) {
254
254
  const { runHostPreparedIsolatedCompletion } = await import("openclaw/plugin-sdk/simple-completion-runtime");
255
255
  return runHostPreparedIsolatedCompletion(params);
256
256
  }
257
- const { runCodexIsolatedCompletion } = await import("./.setup/isolated-completion-P-r8NRE4.mjs");
257
+ const { runCodexIsolatedCompletion } = await import("./.setup/isolated-completion-CybgD6uU.mjs");
258
258
  return runCodexIsolatedCompletion(params, { pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig });
259
259
  },
260
260
  runIsolatedCompletion: async (params) => {
@@ -270,11 +270,11 @@ function createCodexAppServerAgentHarness(options) {
270
270
  });
271
271
  },
272
272
  finalizeSettledTurn: async (params) => {
273
- const { runCodexSettledTurnFinalization } = await import("./.setup/settled-turn-finalizer-D3-KXsbP.mjs");
273
+ const { runCodexSettledTurnFinalization } = await import("./.setup/settled-turn-finalizer-gioXygEX.mjs");
274
274
  return runCodexSettledTurnFinalization(params, { pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig });
275
275
  },
276
276
  runSideQuestion: async (params) => {
277
- const { runCodexAppServerSideQuestion } = await import("./.setup/side-question-OM18H9WJ.mjs");
277
+ const { runCodexAppServerSideQuestion } = await import("./.setup/side-question-DHPWKgO3.mjs");
278
278
  return runCodexAppServerSideQuestion(params, {
279
279
  bindingStore: options.bindingStore,
280
280
  pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig,
@@ -285,30 +285,30 @@ function createCodexAppServerAgentHarness(options) {
285
285
  },
286
286
  compact: async (params) => {
287
287
  const admittedParams = requireCodexCompactionCapabilities(params);
288
- const { maybeCompactCodexAppServerSession } = await import("./.setup/compact-M-JxLcbZ.mjs");
288
+ const { maybeCompactCodexAppServerSession } = await import("./.setup/compact-AO2H4RJe.mjs");
289
289
  return maybeCompactCodexAppServerSession(admittedParams, {
290
290
  bindingStore: options.bindingStore,
291
291
  pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig
292
292
  });
293
293
  },
294
294
  withDescendantCancellation: async (params, run) => {
295
- const { withCodexSessionDescendantCancellation } = await import("./.setup/session-cancellation-DLBSJO5n.mjs");
295
+ const { withCodexSessionDescendantCancellation } = await import("./.setup/session-cancellation-DCN1FcBZ.mjs");
296
296
  params.assertCurrent();
297
297
  return withCodexSessionDescendantCancellation(options.bindingStore, params, run);
298
298
  },
299
299
  withSessionDeletion: async (params, run) => {
300
- const { withCodexAppServerSessionDeletion } = await import("./.setup/session-retirement-Ci_JvOfH.mjs");
300
+ const { withCodexAppServerSessionDeletion } = await import("./.setup/session-retirement-RZStisKb.mjs");
301
301
  params.assertCurrent();
302
302
  return withCodexAppServerSessionDeletion(options.bindingStore, params, run);
303
303
  },
304
304
  withSessionContextReset: async (params, run) => {
305
- const { withCodexAppServerSessionContextReset } = await import("./.setup/session-retirement-Ci_JvOfH.mjs");
305
+ const { withCodexAppServerSessionContextReset } = await import("./.setup/session-retirement-RZStisKb.mjs");
306
306
  params.assertCurrent();
307
307
  return withCodexAppServerSessionContextReset(options.bindingStore, params, run);
308
308
  },
309
309
  reset: async (params) => {
310
310
  if (params.sessionId && params.reason !== "deleted") {
311
- const [{ reclaimCurrentCodexSessionGeneration }, { retireCodexAppServerSessionGeneration }] = await Promise.all([import("./.setup/session-binding-BgsWcbdY.mjs").then((n) => n.a), import("./.setup/session-retirement-Ci_JvOfH.mjs")]);
311
+ const [{ reclaimCurrentCodexSessionGeneration }, { retireCodexAppServerSessionGeneration }] = await Promise.all([import("./.setup/session-binding-BgsWcbdY.mjs").then((n) => n.a), import("./.setup/session-retirement-RZStisKb.mjs")]);
312
312
  const identity = sessionBindingIdentity({
313
313
  agentId: params.agentId,
314
314
  sessionId: params.sessionId,
@@ -341,7 +341,7 @@ function createCodexAppServerAgentHarness(options) {
341
341
  function createCodexAppServerNativeCompaction(options) {
342
342
  return async (params) => {
343
343
  const admittedParams = requireCodexCompactionCapabilities(params);
344
- const { maybeCompactCodexAppServerSession } = await import("./.setup/compact-M-JxLcbZ.mjs");
344
+ const { maybeCompactCodexAppServerSession } = await import("./.setup/compact-AO2H4RJe.mjs");
345
345
  return maybeCompactCodexAppServerSession(admittedParams, {
346
346
  bindingStore: options.bindingStore,
347
347
  pluginConfig: options.resolvePluginConfig?.() ?? options.pluginConfig,
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import { registerCodexCliMetadata } from "./cli-metadata.js";
2
2
  import { A as unwrapNodeInvokePayload, C as readGatewayParams, E as requireOnlyKeys, S as readControlCursor, _ as normalizeLimit, a as CODEX_LOCAL_SESSION_HOST_ID, b as parseTranscriptPage, f as catalogError, g as isInteractiveThreadSource, h as filterCatalogPageByTitle, i as CODEX_CATALOG_TRANSCRIPT_READ_COMMAND, j as CODEX_INTERACTIVE_THREAD_SOURCE_KINDS, l as MAX_TRANSCRIPT_PAGE_BYTES, n as CODEX_APP_SERVER_THREADS_LIST_COMMAND, o as CatalogParamsError, r as CODEX_APP_SERVER_THREAD_TURNS_LIST_COMMAND, s as MAX_CURSOR_LENGTH, t as CODEX_APP_SERVER_THREADS_CAPABILITY, u as NODE_INVOKE_TIMEOUT_MS, v as parseCatalogPage, w as readPageParams, x as readBoundedOptionalString, y as parseJsonParams } from "./.setup/session-catalog-parsing-V6jyFg9g.mjs";
3
3
  import { r as isJsonObject } from "./.setup/protocol-CaPAVwe9.mjs";
4
4
  import { d as readCurrentCodexAppServerBindingAsync, f as readCurrentCodexAppServerBindings, g as sessionBindingIdentity, m as readCurrentNativePendingAssignments, n as assertCodexBindingMayBeReplaced, p as readCurrentCodexNativeSubagentSubmissions, u as readCurrentCodexAppServerBinding } from "./.setup/session-binding-record-C_THntMe.mjs";
5
- import { n as defineCodexBuildState } from "./.setup/build-state-VcujMRqP.mjs";
5
+ import { n as defineCodexBuildState } from "./.setup/build-state-CjLCC0wm.mjs";
6
6
  import { createCodexAppServerAgentHarness, createCodexAppServerNativeCompaction } from "./harness.js";
7
7
  import { buildCodexMediaUnderstandingProvider } from "./media-understanding-provider.js";
8
8
  import codexProviderDiscovery from "./provider-discovery.js";
@@ -12,7 +12,7 @@ import { d as readCodexPluginConfig } from "./.setup/config-parsing-DsWSCPHO.mjs
12
12
  import { n as resolveCodexAppServerLocalHomeDir, r as resolveCodexAppServerUserHomeDir, t as resolveCodexAppServerHomeDir } from "./.setup/auth-start-options-BPIPeEX8.mjs";
13
13
  import { r as createCodexAppServerConfig, t as codexAppServerStartOptionsKey } from "./.setup/config-options-DMFZkd3X.mjs";
14
14
  import { h as setManagedCodexPluginRoot } from "./.setup/managed-binary-DbKvGXKl.mjs";
15
- import { O as retireSharedCodexAppServerClientsBeforeDesktopGeneration, h as hasActiveSharedCodexAppServerWork, j as createCodexDesktopGenerationService, m as getSharedCodexAppServerClientState, s as resolveCodexAppServerFallbackApiKeyCacheKey } from "./.setup/auth-cache-key-CVcYw8HD.mjs";
15
+ import { O as retireSharedCodexAppServerClientsBeforeDesktopGeneration, h as hasActiveSharedCodexAppServerWork, j as createCodexDesktopGenerationService, m as getSharedCodexAppServerClientState, s as resolveCodexAppServerFallbackApiKeyCacheKey } from "./.setup/auth-cache-key-BW1YeaIk.mjs";
16
16
  import { i as CODEX_APP_SERVER_BINDING_NAMESPACE, r as CODEX_APP_SERVER_BINDING_MAX_ENTRIES } from "./.setup/session-binding-meta-Lkm5Lpf4.mjs";
17
17
  import { c as createCodexAppServerProcessReaperService } from "./.setup/transport-stdio-Bq160Dhv.mjs";
18
18
  import { n as codexNativeProfileRecoveryService } from "./.setup/auth-profile-health-BVPZU9I8.mjs";
@@ -20,7 +20,7 @@ import { n as withCodexConversationThreadActivity } from "./.setup/thread-owners
20
20
  import { a as canMutateCodexHost, r as CODEX_NATIVE_EXECUTION_AUTH_ERROR } from "./.setup/command-authorization-AikPDtcc.mjs";
21
21
  import { o as formatCodexDisplayText } from "./.setup/command-formatters-B_7-QZ1c.mjs";
22
22
  import { a as readCodexConversationBindingDataRecord, i as readCodexConversationBindingData, o as resolveCodexDefaultWorkspaceDir } from "./.setup/conversation-binding-data-khgW0n-o.mjs";
23
- import { t as buildCodexMigrationProvider } from "./.setup/provider-wj_LFJH3.mjs";
23
+ import { t as buildCodexMigrationProvider } from "./.setup/provider-C_1fMsyD.mjs";
24
24
  import { r as CodexAppServerRpcError, s as isCodexThreadReadMissingError } from "./.setup/rpc-error-DemqqaxE.mjs";
25
25
  import { t as CODEX_CONTROL_METHODS } from "./.setup/capabilities-DAS-JX1z.mjs";
26
26
  import { n as filterCodexMarketplacePlugins, t as discoverCodexMarketplacePlugins } from "./.setup/plugin-marketplace-discovery-BblHM3DU.mjs";
@@ -35,10 +35,10 @@ import { r as projectCodexUserItemText } from "./.setup/transcript-history-proje
35
35
  import { r as codexUpstreamContinueResult } from "./.setup/session-upstream-marker-D15C9NHp.mjs";
36
36
  import { t as buildCodexAppServerConnectionFingerprint } from "./.setup/plugin-app-cache-key-DRb-niJc.mjs";
37
37
  import { n as readCodexSessionMeta } from "./.setup/session-catalog-provenance-Dg9s12z-.mjs";
38
- import { t as codexCatalogResidentHomeKey } from "./.setup/session-catalog-events-DK0opVp3.mjs";
38
+ import { t as codexCatalogResidentHomeKey } from "./.setup/session-catalog-events-CEi6SuLQ.mjs";
39
39
  import { a as setCodexCatalogConnectionHomeResolver } from "./.setup/binding-connection-GTgUj9pi.mjs";
40
40
  import { n as findCodexAppServerSpawnError } from "./.setup/spawn-error-CL3n6MAa.mjs";
41
- import { r as requestCodexAppServerJson } from "./.setup/request-ePeNJrOd.mjs";
41
+ import { r as requestCodexAppServerJson } from "./.setup/request-C6U8q2uz.mjs";
42
42
  import { t as createCodexWebSearchProviderBase } from "./.setup/web-search-provider.shared-BrZmlqyR.mjs";
43
43
  import { normalizePluginsConfig, resolveEffectiveEnableState, resolveLivePluginConfigObject, resolvePluginConfigObject } from "openclaw/plugin-sdk/plugin-config-runtime";
44
44
  import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
@@ -70,7 +70,7 @@ import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
70
70
  //#region extensions/codex/src/account-usage.ts
71
71
  function registerCodexAccountUsage(api) {
72
72
  api.registerGatewayMethod("codex.accountUsage", async (options) => {
73
- const { handleCodexAccountUsage } = await import("./.setup/account-usage-runtime-DDCDkvtl.mjs");
73
+ const { handleCodexAccountUsage } = await import("./.setup/account-usage-runtime-BVO-lpvn.mjs");
74
74
  await handleCodexAccountUsage(options);
75
75
  }, { scope: "operator.admin" });
76
76
  }
@@ -98,9 +98,9 @@ function createCodexAppServerConnectionHealthService(options) {
98
98
  return;
99
99
  }
100
100
  if (runtime.start.transport !== "websocket") return;
101
- const { getLeasedSharedCodexAppServerClient, releaseLeasedSharedCodexAppServerClient } = await import("./.setup/shared-client-CE_uY0A1.mjs").then((n) => n.m);
101
+ const { getLeasedSharedCodexAppServerClient, releaseLeasedSharedCodexAppServerClient } = await import("./.setup/shared-client-CkyTrNB8.mjs").then((n) => n.m);
102
102
  const { sleepWithAbort } = await import("openclaw/plugin-sdk/runtime-env");
103
- const { isUnsupportedCodexAppServerVersionError } = await import("./.setup/client-BS8X7HmG.mjs").then((n) => n.n);
103
+ const { isUnsupportedCodexAppServerVersionError } = await import("./.setup/client--P8jwXvA.mjs").then((n) => n.n);
104
104
  if (signal.aborted) return;
105
105
  let leasedClient;
106
106
  try {
@@ -315,7 +315,7 @@ function createCodexCommand(options) {
315
315
  ...ctx,
316
316
  gatewayClientScopes: ctx.gatewayClientScopes?.slice()
317
317
  };
318
- const { handleCodexCommand } = await import("./.setup/command-dispatch-DzXbHqCn.mjs");
318
+ const { handleCodexCommand } = await import("./.setup/command-dispatch-DqaVBeR3.mjs");
319
319
  return handleCodexCommand(commandContext, options);
320
320
  }
321
321
  };
@@ -382,7 +382,7 @@ async function handleCodexConversationInboundClaim(event, ctx, options) {
382
382
  handled: true,
383
383
  reply: await withCodexConversationThreadActivity(data.bindingId, async () => {
384
384
  const expected = await pendingExpected;
385
- const { runBoundTurnWithMissingThreadRecovery } = await import("./.setup/conversation-binding-C7MZy-Cx.mjs");
385
+ const { runBoundTurnWithMissingThreadRecovery } = await import("./.setup/conversation-binding-CfnUR-IM.mjs");
386
386
  const { inspectConversationBinding } = await import("openclaw/plugin-sdk/conversation-binding-inspection-runtime");
387
387
  const current = await options.bindingStore.readAsync(identity);
388
388
  if (!isCurrentPublicBinding(publicBinding, inspectConversationBinding) || expected && (!current || current.threadId !== expected.threadId || current.conversationStartId !== expected.conversationStartId) || !expected && current && data.start?.id && current.conversationStartId !== data.start.id) return { text: "This Codex conversation was detached or changed before its message could run." };
@@ -417,7 +417,7 @@ async function handleCodexConversationBindingResolved(event, options) {
417
417
  const binding = await options.bindingStore.readAsync(identity);
418
418
  assertCodexBindingMayBeReplaced(binding, "clearing a denied conversation binding");
419
419
  if (binding && (!data.start?.id || binding.conversationStartId === data.start.id)) await withCodexConversationThreadActivity(identity.bindingId, async () => {
420
- const { retireCodexConversationThreadBinding } = await import("./.setup/thread-ownership-t6Y9fLQS.mjs").then((n) => n.o);
420
+ const { retireCodexConversationThreadBinding } = await import("./.setup/thread-ownership-Bmk5a2Gu.mjs").then((n) => n.o);
421
421
  return retireCodexConversationThreadBinding({
422
422
  bindingStore: options.bindingStore,
423
423
  identity,
@@ -469,7 +469,7 @@ function createCodexPluginsTool(options) {
469
469
  if (runtimeConfig() !== config || !isDeepStrictEqual(options.getPluginConfig(), pluginConfig) || !isDeepStrictEqual(codexBindingConnectionSelection(readBinding()), selection)) throw new Error("Codex plugin discovery ownership changed; retry the request.");
470
470
  };
471
471
  const workspaceDir = binding?.cwd?.trim() || options.context.workspaceDir?.trim() || resolveCodexDefaultWorkspaceDir(pluginConfig);
472
- const request = options.request ?? (await import("./.setup/command-rpc-SXqLQukR.mjs").then((n) => n.n)).codexControlRequest;
472
+ const request = options.request ?? (await import("./.setup/command-rpc-B65jEc0r.mjs").then((n) => n.n)).codexControlRequest;
473
473
  const connection = await resolveCodexBindingAppServerConnection({
474
474
  binding,
475
475
  pluginConfig,
@@ -654,7 +654,7 @@ function createCodexThreadsTool(options) {
654
654
  session: archiveSession,
655
655
  identity: currentIdentity(archiveSession.sessionId)
656
656
  } : void 0;
657
- const request = options.request ?? (await import("./.setup/command-rpc-SXqLQukR.mjs").then((n) => n.n)).codexControlRequest;
657
+ const request = options.request ?? (await import("./.setup/command-rpc-B65jEc0r.mjs").then((n) => n.n)).codexControlRequest;
658
658
  const { isModelSelectionLocked, ModelSelectionLockedError } = await import("openclaw/plugin-sdk/model-session-runtime");
659
659
  const { codexBindingConnectionSelection, resolveCodexBindingAppServerConnection } = await import("./.setup/binding-connection-GTgUj9pi.mjs").then((n) => n.n);
660
660
  const { resolveCodexSupervisionAppServerRuntimeOptions } = await import("./.setup/config-runtime-BZRizyuG.mjs").then((n) => n.t);
@@ -791,8 +791,8 @@ function createCodexThreadsTool(options) {
791
791
  const usesSupervisionConnection = binding?.connectionScope === "supervision" || admissionPlugin.appServer?.homeScope !== "user" && supervision?.enabled === true;
792
792
  if (attach && usesSupervisionConnection) throw new Error("Supervised Codex forks must stay detached; set attach=false.");
793
793
  const forkOptions = await requestOptions();
794
- const { retainCodexAppServerBindingSubscription, rollbackCodexAppServerBindingSubscription } = await import("./.setup/thread-ownership-t6Y9fLQS.mjs").then((n) => n.o);
795
- const { closeCodexStartupClientBestEffort } = await import("./.setup/attempt-client-cleanup-6OcbMH46.mjs").then((n) => n.a);
794
+ const { retainCodexAppServerBindingSubscription, rollbackCodexAppServerBindingSubscription } = await import("./.setup/thread-ownership-Bmk5a2Gu.mjs").then((n) => n.o);
795
+ const { closeCodexStartupClientBestEffort } = await import("./.setup/attempt-client-cleanup-DMJWXGxM.mjs").then((n) => n.a);
796
796
  if (attach) {
797
797
  assertCodexBindingMayBeReplaced(binding, "attaching a different native fork");
798
798
  assertThreadIdle(await request(admissionConfig, CODEX_CONTROL_METHODS.readThread, {
@@ -2469,7 +2469,7 @@ async function requireEligibleCodexThread(params) {
2469
2469
  remaining();
2470
2470
  if (thread.id !== threadId || thread.ephemeral === true || !isInteractiveThreadSource(thread.source)) throw unverified();
2471
2471
  if (!root) {
2472
- const { CODEX_CATALOG_NATIVE_PAGE_LIMIT } = await import("./.setup/session-catalog-native-projection-G3lSDYYG.mjs").then((n) => n.a);
2472
+ const { CODEX_CATALOG_NATIVE_PAGE_LIMIT } = await import("./.setup/session-catalog-native-projection-BqBYi6kV.mjs").then((n) => n.a);
2473
2473
  const { CODEX_CATALOG_MAX_ROWS } = await import("./.setup/session-catalog-limits-Dc6E0BZz.mjs").then((n) => n.r);
2474
2474
  let cursor;
2475
2475
  const seenCursors = /* @__PURE__ */ new Set();
@@ -2905,7 +2905,7 @@ function createCodexSessionCatalogControl(params) {
2905
2905
  const homeId = await home;
2906
2906
  let index = indexes.get(homeId);
2907
2907
  if (!index) {
2908
- const [{ CodexCatalogIndex }, { canReuseCodexCatalogPreview, projectCodexCatalogDeltaPage, projectCodexCatalogPage }] = await Promise.all([import("./.setup/session-catalog-index-BfzfdtH7.mjs"), import("./.setup/session-catalog-projection-BjWE414G.mjs")]);
2908
+ const [{ CodexCatalogIndex }, { canReuseCodexCatalogPreview, projectCodexCatalogDeltaPage, projectCodexCatalogPage }] = await Promise.all([import("./.setup/session-catalog-index-qt4UWBua.mjs"), import("./.setup/session-catalog-projection-CNyhjZze.mjs")]);
2909
2909
  if (closed) throw new Error("Codex resident catalog is closed");
2910
2910
  index = indexes.get(homeId);
2911
2911
  if (index) return index;
@@ -3028,7 +3028,7 @@ function createCodexSessionCatalogControl(params) {
3028
3028
  const runtime = source?.appServer ?? resolveRuntimeOptions({ pluginConfig });
3029
3029
  const requestOptions = resolveRequestOptions(runtime.start, agentId, source);
3030
3030
  return createCodexCatalogRequestSnapshot(runtime.requestTimeoutMs, async (method, requestParams, timeoutMs, assertCurrent, observation) => {
3031
- const { codexControlRequest } = await import("./.setup/command-rpc-SXqLQukR.mjs").then((n) => n.n);
3031
+ const { codexControlRequest } = await import("./.setup/command-rpc-B65jEc0r.mjs").then((n) => n.n);
3032
3032
  return await codexControlRequest(pluginConfig, method, requestParams, {
3033
3033
  ...requestOptions,
3034
3034
  authProfileId: null,
@@ -3050,9 +3050,9 @@ function createCodexSessionCatalogControl(params) {
3050
3050
  const runtime = source?.appServer ?? resolveRuntimeOptions({ pluginConfig });
3051
3051
  const { agentDir, config: runtimeConfig, startOptions } = resolveRequestOptions(runtime.start, agentId, source);
3052
3052
  let catalogIndex;
3053
- const { getLeasedSharedCodexAppServerClient, releaseLeasedSharedCodexAppServerClient, retireSharedCodexAppServerClientIfCurrent } = await import("./.setup/shared-client-CE_uY0A1.mjs").then((n) => n.m);
3054
- const { resolveCodexAppServerClientInstanceId } = await import("./.setup/client-BS8X7HmG.mjs").then((n) => n.n);
3055
- const { requestCodexAppServerClientJson } = await import("./.setup/request-ePeNJrOd.mjs").then((n) => n.i);
3053
+ const { getLeasedSharedCodexAppServerClient, releaseLeasedSharedCodexAppServerClient, retireSharedCodexAppServerClientIfCurrent } = await import("./.setup/shared-client-CkyTrNB8.mjs").then((n) => n.m);
3054
+ const { resolveCodexAppServerClientInstanceId } = await import("./.setup/client--P8jwXvA.mjs").then((n) => n.n);
3055
+ const { requestCodexAppServerClientJson } = await import("./.setup/request-C6U8q2uz.mjs").then((n) => n.i);
3056
3056
  const client = await getLeasedSharedCodexAppServerClient({
3057
3057
  agentDir,
3058
3058
  config: runtimeConfig,
@@ -3121,7 +3121,7 @@ function createCodexSessionCatalogControl(params) {
3121
3121
  await Promise.allSettled(residentRequests);
3122
3122
  const clients = getSharedCodexAppServerClientState();
3123
3123
  if (clients.liveClients.size > 0 || clients.startup.pending.size > 0) {
3124
- const { clearSharedCodexAppServerClientAndWait } = await import("./.setup/shared-client-CE_uY0A1.mjs").then((n) => n.m);
3124
+ const { clearSharedCodexAppServerClientAndWait } = await import("./.setup/shared-client-CkyTrNB8.mjs").then((n) => n.m);
3125
3125
  await clearSharedCodexAppServerClientAndWait();
3126
3126
  }
3127
3127
  },
@@ -4122,7 +4122,7 @@ function createCodexSupervisionTools(options) {
4122
4122
  }
4123
4123
  //#endregion
4124
4124
  //#region extensions/codex/src/web-search-provider.ts
4125
- const loadCodexWebSearchRuntime = createLazyRuntimeModule(() => import("./.setup/web-search-provider.runtime-DMHxve5v.mjs"));
4125
+ const loadCodexWebSearchRuntime = createLazyRuntimeModule(() => import("./.setup/web-search-provider.runtime-Yk6lnJBG.mjs"));
4126
4126
  const CodexWebSearchSchema = {
4127
4127
  type: "object",
4128
4128
  properties: { query: {
@@ -4379,7 +4379,7 @@ var codex_default = definePluginEntry({
4379
4379
  if (endedSessionKey && nextSessionKey && nextSessionKey !== endedSessionKey) return;
4380
4380
  if (event.nextSessionId?.trim() === event.sessionId.trim()) return;
4381
4381
  const config = resolveCurrentConfig();
4382
- const [{ sessionBindingIdentity }, { retireCodexAppServerSessionGeneration }] = await Promise.all([import("./.setup/session-binding-BgsWcbdY.mjs").then((n) => n.a), import("./.setup/session-retirement-Ci_JvOfH.mjs")]);
4382
+ const [{ sessionBindingIdentity }, { retireCodexAppServerSessionGeneration }] = await Promise.all([import("./.setup/session-binding-BgsWcbdY.mjs").then((n) => n.a), import("./.setup/session-retirement-RZStisKb.mjs")]);
4383
4383
  await retireCodexAppServerSessionGeneration({
4384
4384
  bindingStore,
4385
4385
  identity: sessionBindingIdentity({
@@ -33,7 +33,7 @@ async function describeCodexImages(req, options) {
33
33
  const model = req.model.trim();
34
34
  if (!model) throw new Error("Codex image understanding requires model id.");
35
35
  req.signal?.throwIfAborted();
36
- const { runBoundedCodexAppServerTurn } = await import("./.setup/bounded-turn-mN_ekXYW.mjs");
36
+ const { runBoundedCodexAppServerTurn } = await import("./.setup/bounded-turn-BQkmyyjB.mjs");
37
37
  req.signal?.throwIfAborted();
38
38
  const { text } = await runBoundedCodexAppServerTurn({
39
39
  config: req.cfg,
@@ -73,7 +73,7 @@ async function extractCodexStructured(req, options) {
73
73
  if (req.input.length === 0) throw new Error("Codex structured extraction requires at least one input.");
74
74
  if (!req.input.some((entry) => entry.type === "image")) throw new Error("Codex structured extraction requires at least one image input.");
75
75
  req.signal?.throwIfAborted();
76
- const { runBoundedCodexAppServerTurn } = await import("./.setup/bounded-turn-mN_ekXYW.mjs");
76
+ const { runBoundedCodexAppServerTurn } = await import("./.setup/bounded-turn-BQkmyyjB.mjs");
77
77
  req.signal?.throwIfAborted();
78
78
  const { text } = await runBoundedCodexAppServerTurn({
79
79
  config: req.cfg,
@@ -1 +1 @@
1
- export { t as buildMigrationProvider } from "./.setup/provider-wj_LFJH3.mjs";
1
+ export { t as buildMigrationProvider } from "./.setup/provider-C_1fMsyD.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/codex",
3
- "version": "2026.10.10-beta.1",
3
+ "version": "2026.10.10-beta.2",
4
4
  "description": "OpenClaw Codex app-server harness and native session supervision plugin.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -38,10 +38,10 @@
38
38
  ]
39
39
  },
40
40
  "compat": {
41
- "pluginApi": ">=2026.10.10-beta.1"
41
+ "pluginApi": ">=2026.10.10-beta.2"
42
42
  },
43
43
  "build": {
44
- "openclawVersion": "2026.10.10-beta.1",
44
+ "openclawVersion": "2026.10.10-beta.2",
45
45
  "workerEntries": [
46
46
  "./catalog-page.worker.ts"
47
47
  ]
@@ -66,7 +66,7 @@
66
66
  "assets/activity.svg"
67
67
  ],
68
68
  "peerDependencies": {
69
- "openclaw": ">=2026.10.10-beta.1"
69
+ "openclaw": ">=2026.10.10-beta.2"
70
70
  },
71
71
  "peerDependenciesMeta": {
72
72
  "openclaw": {