@openclaw/codex 2026.10.1-beta.2 → 2026.10.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 (60) hide show
  1. package/dist/.setup/{account-usage-runtime-DGqFpAud.mjs → account-usage-runtime-B7Vg4rmy.mjs} +1 -1
  2. package/dist/.setup/{apply-CXTudl9p.mjs → apply-BzlIkqSz.mjs} +4 -4
  3. package/dist/.setup/{attempt-client-cleanup-BH0hW2xU.mjs → attempt-client-cleanup-HXQxfMc1.mjs} +4 -4
  4. package/dist/.setup/{attempt-workspace-context-BY0jprWJ.mjs → attempt-workspace-context-BmCutoyg.mjs} +1 -1
  5. package/dist/.setup/{auth-cache-key-CGm0UJOr.mjs → auth-cache-key-BCCQHWdc.mjs} +1 -1
  6. package/dist/.setup/{bounded-turn-pGsfXcmH.mjs → bounded-turn-Cv4uIEzz.mjs} +9 -9
  7. package/dist/.setup/{build-state-CqQnsg7T.mjs → build-state-BwxNfFEB.mjs} +1 -1
  8. package/dist/.setup/{client-C8lgBOoO.mjs → client-BIRVBXXb.mjs} +2 -2
  9. package/dist/.setup/{client-catalog-response-Bqp7WG51.mjs → client-catalog-response-BNFDYAKh.mjs} +1 -1
  10. package/dist/.setup/{command-dispatch-DhBbFIQ5.mjs → command-dispatch-D3_ypl-R.mjs} +1 -1
  11. package/dist/.setup/{command-handlers-ztOOzm6O.mjs → command-handlers-KPit4G0p.mjs} +11 -11
  12. package/dist/.setup/{command-rpc-CuC5fPom.mjs → command-rpc-CmQDOxY9.mjs} +6 -6
  13. package/dist/.setup/{compact-tUb9AYfH.mjs → compact-CLLteFIY.mjs} +9 -9
  14. package/dist/.setup/{computer-use-BBN9y326.mjs → computer-use-BVxocZZc.mjs} +4 -4
  15. package/dist/.setup/{conversation-binding-B3MNMVzb.mjs → conversation-binding-DJ_288rC.mjs} +10 -10
  16. package/dist/.setup/{conversation-control-CYsMlCuE.mjs → conversation-control-CuiZ_pDL.mjs} +2 -2
  17. package/dist/.setup/{dynamic-tool-build-C8xGEXmR.mjs → dynamic-tool-build-DgWZMfAQ.mjs} +2 -2
  18. package/dist/.setup/{dynamic-tools-DyERJnR6.mjs → dynamic-tools-Ct6GKAFr.mjs} +6 -6
  19. package/dist/.setup/{effective-mcp-catalog-C26Mio5l.mjs → effective-mcp-catalog-DmCSc8TS.mjs} +4 -4
  20. package/dist/.setup/{ephemeral-turn-D8VcDTNo.mjs → ephemeral-turn-_cBMKCFb.mjs} +2 -2
  21. package/dist/.setup/{event-projector-assistant-message-BN7CNUB5.mjs → event-projector-assistant-message-C3Tpt370.mjs} +1 -1
  22. package/dist/.setup/{isolated-completion-C0jrcplS.mjs → isolated-completion-CjrQEeke.mjs} +4 -4
  23. package/dist/.setup/{mcp-app-session-preparation-BxN0_CYe.mjs → mcp-app-session-preparation-D0yRoreX.mjs} +5 -5
  24. package/dist/.setup/{model-catalog-DZyNeDKG.mjs → model-catalog--G4arndd.mjs} +3 -3
  25. package/dist/.setup/{models-DSseKSMg.mjs → models-BYbLQPnj.mjs} +3 -3
  26. package/dist/.setup/{native-mcp-app-CqcPVmhH.mjs → native-mcp-app-5i5eRCwO.mjs} +4 -4
  27. package/dist/.setup/{native-subagent-monitor-BUYOUp9X.mjs → native-subagent-monitor-B2C8D_N0.mjs} +6 -6
  28. package/dist/.setup/{plan-BJ37d2Og.mjs → plan-B5bDIEuQ.mjs} +2 -2
  29. package/dist/.setup/{plugin-approval-roundtrip-CuahdPLC.mjs → plugin-approval-roundtrip-C_SGp5YW.mjs} +1 -1
  30. package/dist/.setup/{plugin-thread-config-deadline-B8LGaZNW.mjs → plugin-thread-config-deadline-CsScGgrk.mjs} +3 -3
  31. package/dist/.setup/{provider-BnwHVD_z.mjs → provider-BoIby-eX.mjs} +4 -4
  32. package/dist/.setup/{provider-capabilities-D68Whix6.mjs → provider-capabilities-B4yq6UgQ.mjs} +1 -1
  33. package/dist/.setup/{request-jSbhc1sg.mjs → request-DD3u22uv.mjs} +1 -1
  34. package/dist/.setup/{run-attempt-BLDZeYLD.mjs → run-attempt-DOVF5OON.mjs} +33 -23
  35. package/dist/.setup/{session-catalog-events-Bdjw9HEn.mjs → session-catalog-events-DRaivXvC.mjs} +2 -2
  36. package/dist/.setup/{session-catalog-index-DufISKJ6.mjs → session-catalog-index-qwmgqC4t.mjs} +3 -3
  37. package/dist/.setup/{session-catalog-native-projection-D6IiLtMb.mjs → session-catalog-native-projection-z9Q608QW.mjs} +1 -1
  38. package/dist/.setup/{session-catalog-projection-8aHNwzWD.mjs → session-catalog-projection-Cl0Nc7c6.mjs} +1 -1
  39. package/dist/.setup/{session-retirement-Czbchv_O.mjs → session-retirement-Bt3b0fpe.mjs} +5 -5
  40. package/dist/.setup/{settled-turn-finalizer-DjZsIwbZ.mjs → settled-turn-finalizer-e_24O6HA.mjs} +5 -5
  41. package/dist/.setup/{shared-client-qhyYWbew.mjs → shared-client-DeenOD8U.mjs} +5 -5
  42. package/dist/.setup/{shell-dynamic-tools-D3Brj3g9.mjs → shell-dynamic-tools-BqGszXcq.mjs} +1 -1
  43. package/dist/.setup/{side-question-D3NJlgbl.mjs → side-question-BZHn_1Jm.mjs} +10 -10
  44. package/dist/.setup/{source-BYu0T780.mjs → source-0ClinBHI.mjs} +1 -1
  45. package/dist/.setup/{thread-lifecycle-Cbz_7ySv.mjs → thread-lifecycle-CoqYpbpk.mjs} +9 -9
  46. package/dist/.setup/{thread-ownership-DwuSrt3s.mjs → thread-ownership-CSDZ6mHd.mjs} +3 -3
  47. package/dist/.setup/{thread-policy-DoNxbhqt.mjs → thread-policy-DCC9lQjC.mjs} +3 -3
  48. package/dist/.setup/{thread-requests-CL1e8Wmx.mjs → thread-requests-Dwg2b4Xl.mjs} +4 -4
  49. package/dist/.setup/{thread-resume-BT6NHMkM.mjs → thread-resume--WOKWxZd.mjs} +4 -4
  50. package/dist/.setup/{turn-router-sS69wYnI.mjs → turn-router-BWhX_SBh.mjs} +1 -1
  51. package/dist/.setup/{upstream-session-fork-ChSld66u.mjs → upstream-session-fork-BQvofnk7.mjs} +9 -9
  52. package/dist/.setup/{usage-D8e8Xiqf.mjs → usage-BEHcVwcZ.mjs} +1 -1
  53. package/dist/.setup/{usage-limit-error-GbT-5NcW.mjs → usage-limit-error-D1p3nE6n.mjs} +1 -1
  54. package/dist/.setup/{web-search-provider.runtime-dL2GD1Kl.mjs → web-search-provider.runtime-CV9oiB-v.mjs} +3 -3
  55. package/dist/catalog-page.worker.js +1 -1
  56. package/dist/harness.js +15 -15
  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 +5 -5
package/dist/harness.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { CODEX_NATIVE_TOOL_REQUIREMENTS } from "./native-tool-policy.js";
2
2
  import { n as readCodexRuntimeModelId } from "./.setup/model-runtime-BdqzOMkU.mjs";
3
3
  import { m as sessionBindingIdentity } from "./.setup/session-binding-record-BZB8RgcF.mjs";
4
- import { t as codexBuildSymbol } from "./.setup/build-state-CqQnsg7T.mjs";
4
+ import { t as codexBuildSymbol } from "./.setup/build-state-BwxNfFEB.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-ChSld66u.mjs");
114
+ const { forkCodexUpstreamSession } = await import("./.setup/upstream-session-fork-BQvofnk7.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-D8e8Xiqf.mjs");
136
+ const { fetchCodexAppServerUsageSnapshot } = await import("./.setup/usage-BEHcVwcZ.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-DZyNeDKG.mjs");
140
+ const { createCodexAppServerModelCatalog } = await import("./.setup/model-catalog--G4arndd.mjs");
141
141
  if (disposed) return { entries: [] };
142
142
  modelCatalog ??= createCodexAppServerModelCatalog(harnessRuntimeId);
143
143
  return { entries: 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-C26Mio5l.mjs");
150
+ const { acquireCodexMcpAppRuntime } = await import("./.setup/effective-mcp-catalog-DmCSc8TS.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-C26Mio5l.mjs");
159
+ const { loadCodexEffectiveMcpCatalog } = await import("./.setup/effective-mcp-catalog-DmCSc8TS.mjs");
160
160
  return await loadCodexEffectiveMcpCatalog(params, { bindingStore: options.bindingStore });
161
161
  },
162
162
  supports: (ctx) => {
@@ -199,7 +199,7 @@ function createCodexAppServerAgentHarness(options) {
199
199
  };
200
200
  },
201
201
  runAttempt: async (params) => {
202
- const { runCodexAppServerAttempt } = await import("./.setup/run-attempt-BLDZeYLD.mjs");
202
+ const { runCodexAppServerAttempt } = await import("./.setup/run-attempt-DOVF5OON.mjs");
203
203
  const { planCodexCyberEscalation, readCodexCyberAttemptVerdict, recordCodexCyberTargetUnavailable, reserveCodexCyberProbe, resolveCodexCyberFailoverConfig } = await import("./.setup/cyber-failover-Bb1J6hS1.mjs");
204
204
  const { emitCodexCyberNotice } = await import("./.setup/cyber-failover-notice-XR03ef31.mjs");
205
205
  const pluginConfig = resolveAttemptPluginConfig(params.config);
@@ -265,7 +265,7 @@ function createCodexAppServerAgentHarness(options) {
265
265
  const { runHostPreparedIsolatedCompletion } = await import("openclaw/plugin-sdk/simple-completion-runtime");
266
266
  return runHostPreparedIsolatedCompletion(params);
267
267
  }
268
- const { runCodexIsolatedCompletion } = await import("./.setup/isolated-completion-C0jrcplS.mjs");
268
+ const { runCodexIsolatedCompletion } = await import("./.setup/isolated-completion-CjrQEeke.mjs");
269
269
  return runCodexIsolatedCompletion(params, { pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig });
270
270
  },
271
271
  runIsolatedCompletion: async (params) => {
@@ -281,11 +281,11 @@ function createCodexAppServerAgentHarness(options) {
281
281
  });
282
282
  },
283
283
  finalizeSettledTurn: async (params) => {
284
- const { runCodexSettledTurnFinalization } = await import("./.setup/settled-turn-finalizer-DjZsIwbZ.mjs");
284
+ const { runCodexSettledTurnFinalization } = await import("./.setup/settled-turn-finalizer-e_24O6HA.mjs");
285
285
  return runCodexSettledTurnFinalization(params, { pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig });
286
286
  },
287
287
  runSideQuestion: async (params) => {
288
- const { runCodexAppServerSideQuestion } = await import("./.setup/side-question-D3NJlgbl.mjs");
288
+ const { runCodexAppServerSideQuestion } = await import("./.setup/side-question-BZHn_1Jm.mjs");
289
289
  return runCodexAppServerSideQuestion(params, {
290
290
  bindingStore: options.bindingStore,
291
291
  pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig,
@@ -296,25 +296,25 @@ function createCodexAppServerAgentHarness(options) {
296
296
  },
297
297
  compact: async (params) => {
298
298
  const admittedParams = requireCodexCompactionCapabilities(params);
299
- const { maybeCompactCodexAppServerSession } = await import("./.setup/compact-tUb9AYfH.mjs");
299
+ const { maybeCompactCodexAppServerSession } = await import("./.setup/compact-CLLteFIY.mjs");
300
300
  return maybeCompactCodexAppServerSession(admittedParams, {
301
301
  bindingStore: options.bindingStore,
302
302
  pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig
303
303
  });
304
304
  },
305
305
  withSessionDeletion: async (params, run) => {
306
- const { withCodexAppServerSessionDeletion } = await import("./.setup/session-retirement-Czbchv_O.mjs");
306
+ const { withCodexAppServerSessionDeletion } = await import("./.setup/session-retirement-Bt3b0fpe.mjs");
307
307
  params.assertCurrent();
308
308
  return withCodexAppServerSessionDeletion(options.bindingStore, params, run);
309
309
  },
310
310
  withSessionContextReset: async (params, run) => {
311
- const { withCodexAppServerSessionContextReset } = await import("./.setup/session-retirement-Czbchv_O.mjs");
311
+ const { withCodexAppServerSessionContextReset } = await import("./.setup/session-retirement-Bt3b0fpe.mjs");
312
312
  params.assertCurrent();
313
313
  return withCodexAppServerSessionContextReset(options.bindingStore, params, run);
314
314
  },
315
315
  reset: async (params) => {
316
316
  if (params.sessionId && params.reason !== "deleted") {
317
- const [{ reclaimCurrentCodexSessionGeneration }, { retireCodexAppServerSessionGeneration }] = await Promise.all([import("./.setup/session-binding-Ce7BqiPN.mjs").then((n) => n.i), import("./.setup/session-retirement-Czbchv_O.mjs")]);
317
+ const [{ reclaimCurrentCodexSessionGeneration }, { retireCodexAppServerSessionGeneration }] = await Promise.all([import("./.setup/session-binding-Ce7BqiPN.mjs").then((n) => n.i), import("./.setup/session-retirement-Bt3b0fpe.mjs")]);
318
318
  const identity = sessionBindingIdentity({
319
319
  agentId: params.agentId,
320
320
  sessionId: params.sessionId,
@@ -347,7 +347,7 @@ function createCodexAppServerAgentHarness(options) {
347
347
  function createCodexAppServerNativeCompaction(options) {
348
348
  return async (params) => {
349
349
  const admittedParams = requireCodexCompactionCapabilities(params);
350
- const { maybeCompactCodexAppServerSession } = await import("./.setup/compact-tUb9AYfH.mjs");
350
+ const { maybeCompactCodexAppServerSession } = await import("./.setup/compact-CLLteFIY.mjs");
351
351
  return maybeCompactCodexAppServerSession(admittedParams, {
352
352
  bindingStore: options.bindingStore,
353
353
  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-B-qWJh2x.mjs";
3
3
  import { i as isJsonObject, n as assertCodexThreadForkParams } from "./.setup/protocol-CANUwXJ3.mjs";
4
4
  import { d as readCurrentCodexNativeSubagentSubmissions, f as readCurrentNativePendingAssignments, l as readCurrentCodexAppServerBinding, m as sessionBindingIdentity, n as assertCodexBindingMayBeReplaced, u as readCurrentCodexAppServerBindings } from "./.setup/session-binding-record-BZB8RgcF.mjs";
5
- import { n as defineCodexBuildState } from "./.setup/build-state-CqQnsg7T.mjs";
5
+ import { n as defineCodexBuildState } from "./.setup/build-state-BwxNfFEB.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-BQq-CHTF.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-HG_Rr3W_.mjs";
14
14
  import { o as setManagedCodexPluginRoot } from "./.setup/managed-binary-C1VFoVPf.mjs";
15
- import { O as createCodexDesktopGenerationService, T as retireSharedCodexAppServerClientsBeforeDesktopGeneration, m as hasActiveSharedCodexAppServerWork, p as getSharedCodexAppServerClientState, s as resolveCodexAppServerFallbackApiKeyCacheKey } from "./.setup/auth-cache-key-CGm0UJOr.mjs";
15
+ import { O as createCodexDesktopGenerationService, T as retireSharedCodexAppServerClientsBeforeDesktopGeneration, m as hasActiveSharedCodexAppServerWork, p as getSharedCodexAppServerClientState, s as resolveCodexAppServerFallbackApiKeyCacheKey } from "./.setup/auth-cache-key-BCCQHWdc.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 { s as createCodexAppServerProcessReaperService } from "./.setup/transport-stdio-a0HDa2Mj.mjs";
18
18
  import { n as codexNativeProfileRecoveryService } from "./.setup/auth-profile-health-oHizqgye.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-DV3DHhdr.mjs";
22
22
  import { a as readCodexConversationBindingDataRecord, i as readCodexConversationBindingData, o as resolveCodexDefaultWorkspaceDir } from "./.setup/conversation-binding-data-DJ4ix-W5.mjs";
23
- import { t as buildCodexMigrationProvider } from "./.setup/provider-BnwHVD_z.mjs";
23
+ import { t as buildCodexMigrationProvider } from "./.setup/provider-BoIby-eX.mjs";
24
24
  import { r as CodexAppServerRpcError, s as isCodexThreadReadMissingError } from "./.setup/rpc-error-hmWM21RB.mjs";
25
25
  import { t as CODEX_CONTROL_METHODS } from "./.setup/capabilities-kQntafj_.mjs";
26
26
  import { n as filterCodexMarketplacePlugins, t as discoverCodexMarketplacePlugins } from "./.setup/plugin-marketplace-discovery-SQPhSuic.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-BW8rd98k.mjs";
37
37
  import { n as readCodexSessionMeta } from "./.setup/session-catalog-provenance-CmsOE5mh.mjs";
38
- import { t as codexCatalogResidentHomeKey } from "./.setup/session-catalog-events-Bdjw9HEn.mjs";
38
+ import { t as codexCatalogResidentHomeKey } from "./.setup/session-catalog-events-DRaivXvC.mjs";
39
39
  import { a as setCodexCatalogConnectionHomeResolver } from "./.setup/binding-connection-C-08ez1w.mjs";
40
40
  import { n as findCodexAppServerSpawnError } from "./.setup/spawn-error-CL3n6MAa.mjs";
41
- import { r as requestCodexAppServerJson } from "./.setup/request-jSbhc1sg.mjs";
41
+ import { r as requestCodexAppServerJson } from "./.setup/request-DD3u22uv.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-DGqFpAud.mjs");
73
+ const { handleCodexAccountUsage } = await import("./.setup/account-usage-runtime-B7Vg4rmy.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-qhyYWbew.mjs").then((n) => n.v);
101
+ const { getLeasedSharedCodexAppServerClient, releaseLeasedSharedCodexAppServerClient } = await import("./.setup/shared-client-DeenOD8U.mjs").then((n) => n.v);
102
102
  const { sleepWithAbort } = await import("openclaw/plugin-sdk/runtime-env");
103
- const { isUnsupportedCodexAppServerVersionError } = await import("./.setup/client-C8lgBOoO.mjs").then((n) => n.n);
103
+ const { isUnsupportedCodexAppServerVersionError } = await import("./.setup/client-BIRVBXXb.mjs").then((n) => n.n);
104
104
  if (signal.aborted) return;
105
105
  let leasedClient;
106
106
  try {
@@ -318,7 +318,7 @@ function createCodexCommand(options) {
318
318
  ...ctx,
319
319
  gatewayClientScopes: ctx.gatewayClientScopes?.slice()
320
320
  };
321
- const { handleCodexCommand } = await import("./.setup/command-dispatch-DhBbFIQ5.mjs");
321
+ const { handleCodexCommand } = await import("./.setup/command-dispatch-D3_ypl-R.mjs");
322
322
  return handleCodexCommand(commandContext, options);
323
323
  }
324
324
  };
@@ -396,7 +396,7 @@ async function handleCodexConversationInboundClaim(event, ctx, options) {
396
396
  });
397
397
  if (nativeExecutionBlock) return { reply: { text: nativeExecutionBlock } };
398
398
  const { getSessionBindingService } = await import("openclaw/plugin-sdk/conversation-binding-runtime");
399
- const { runBoundTurnWithMissingThreadRecovery } = await import("./.setup/conversation-binding-B3MNMVzb.mjs");
399
+ const { runBoundTurnWithMissingThreadRecovery } = await import("./.setup/conversation-binding-DJ_288rC.mjs");
400
400
  const current = options.bindingStore.read(identity);
401
401
  if (!isCurrentPublicBinding(publicBinding, getSessionBindingService()) || expected && (!current || current.threadId !== expected.threadId || current.conversationStartId !== expected.conversationStartId) || !expected && current && data.start?.id && current.conversationStartId !== data.start.id) return { reply: { text: "This Codex conversation was detached or changed before its message could run." } };
402
402
  return await runBoundTurnWithMissingThreadRecovery({
@@ -430,7 +430,7 @@ async function handleCodexConversationBindingResolved(event, options) {
430
430
  const binding = options.bindingStore.read(identity);
431
431
  assertCodexBindingMayBeReplaced(binding, "clearing a denied conversation binding");
432
432
  if (binding && (!data.start?.id || binding.conversationStartId === data.start.id)) await withCodexConversationThreadActivity(identity.bindingId, async () => {
433
- const { retireCodexConversationThreadBinding } = await import("./.setup/thread-ownership-DwuSrt3s.mjs").then((n) => n.o);
433
+ const { retireCodexConversationThreadBinding } = await import("./.setup/thread-ownership-CSDZ6mHd.mjs").then((n) => n.o);
434
434
  return retireCodexConversationThreadBinding({
435
435
  bindingStore: options.bindingStore,
436
436
  identity,
@@ -482,7 +482,7 @@ function createCodexPluginsTool(options) {
482
482
  if (runtimeConfig() !== config || !isDeepStrictEqual(options.getPluginConfig(), pluginConfig) || !isDeepStrictEqual(codexBindingConnectionSelection(readBinding()), selection)) throw new Error("Codex plugin discovery ownership changed; retry the request.");
483
483
  };
484
484
  const workspaceDir = binding?.cwd?.trim() || options.context.workspaceDir?.trim() || resolveCodexDefaultWorkspaceDir(pluginConfig);
485
- const request = options.request ?? (await import("./.setup/command-rpc-CuC5fPom.mjs").then((n) => n.n)).codexControlRequest;
485
+ const request = options.request ?? (await import("./.setup/command-rpc-CmQDOxY9.mjs").then((n) => n.n)).codexControlRequest;
486
486
  const connection = await resolveCodexBindingAppServerConnection({
487
487
  binding,
488
488
  pluginConfig,
@@ -660,7 +660,7 @@ function createCodexThreadsTool(options) {
660
660
  const threadResult = (response) => jsonResult(mayReadRawTranscripts ? response : redactNativeThreadResponse(response));
661
661
  if ((action === "fork" || action === "rename" || action === "archive" || action === "unarchive") && supervision?.enabled === true && supervision.allowWriteControls !== true) throw new Error("Codex native thread mutations are disabled for this codex plugin supervision config.");
662
662
  const run = async (archiveAdmission) => {
663
- const request = options.request ?? (await import("./.setup/command-rpc-CuC5fPom.mjs").then((n) => n.n)).codexControlRequest;
663
+ const request = options.request ?? (await import("./.setup/command-rpc-CmQDOxY9.mjs").then((n) => n.n)).codexControlRequest;
664
664
  const { isModelSelectionLocked, ModelSelectionLockedError } = await import("openclaw/plugin-sdk/model-session-runtime");
665
665
  const { codexBindingConnectionSelection, resolveCodexBindingAppServerConnection } = await import("./.setup/binding-connection-C-08ez1w.mjs").then((n) => n.n);
666
666
  const { resolveCodexSupervisionAppServerRuntimeOptions } = await import("./.setup/config-runtime-cUYrqu_a.mjs").then((n) => n.t);
@@ -792,8 +792,8 @@ function createCodexThreadsTool(options) {
792
792
  const usesSupervisionConnection = binding?.connectionScope === "supervision" || admissionPlugin.appServer?.homeScope !== "user" && supervision?.enabled === true;
793
793
  if (attach && usesSupervisionConnection) throw new Error("Supervised Codex forks must stay detached; set attach=false.");
794
794
  const forkOptions = await requestOptions();
795
- const { retainCodexAppServerBindingSubscription, rollbackCodexAppServerBindingSubscription } = await import("./.setup/thread-ownership-DwuSrt3s.mjs").then((n) => n.o);
796
- const { closeCodexStartupClientBestEffort } = await import("./.setup/attempt-client-cleanup-BH0hW2xU.mjs").then((n) => n.a);
795
+ const { retainCodexAppServerBindingSubscription, rollbackCodexAppServerBindingSubscription } = await import("./.setup/thread-ownership-CSDZ6mHd.mjs").then((n) => n.o);
796
+ const { closeCodexStartupClientBestEffort } = await import("./.setup/attempt-client-cleanup-HXQxfMc1.mjs").then((n) => n.a);
797
797
  if (attach) {
798
798
  assertCodexBindingMayBeReplaced(binding, "attaching a different native fork");
799
799
  assertThreadIdle(await request(admissionConfig, CODEX_CONTROL_METHODS.readThread, {
@@ -2537,7 +2537,7 @@ async function requireEligibleCodexThread(params) {
2537
2537
  remaining();
2538
2538
  if (thread.id !== threadId || thread.ephemeral === true || !isInteractiveThreadSource(thread.source)) throw unverified();
2539
2539
  if (!root) {
2540
- const { CODEX_CATALOG_NATIVE_PAGE_LIMIT } = await import("./.setup/session-catalog-native-projection-D6IiLtMb.mjs").then((n) => n.a);
2540
+ const { CODEX_CATALOG_NATIVE_PAGE_LIMIT } = await import("./.setup/session-catalog-native-projection-z9Q608QW.mjs").then((n) => n.a);
2541
2541
  const { CODEX_CATALOG_MAX_ROWS } = await import("./.setup/session-catalog-limits-DEU36Qlo.mjs").then((n) => n.r);
2542
2542
  let cursor;
2543
2543
  const seenCursors = /* @__PURE__ */ new Set();
@@ -2990,7 +2990,7 @@ function createCodexSessionCatalogControl(params) {
2990
2990
  if (closed || generation !== config || residentEpoch !== epoch) throw new Error("Codex catalog configuration changed");
2991
2991
  let index = indexes.get(homeId);
2992
2992
  if (!index) {
2993
- const [{ CodexCatalogIndex }, { canReuseCodexCatalogPreview, projectCodexCatalogDeltaPage, projectCodexCatalogPage }] = await Promise.all([import("./.setup/session-catalog-index-DufISKJ6.mjs"), import("./.setup/session-catalog-projection-8aHNwzWD.mjs")]);
2993
+ const [{ CodexCatalogIndex }, { canReuseCodexCatalogPreview, projectCodexCatalogDeltaPage, projectCodexCatalogPage }] = await Promise.all([import("./.setup/session-catalog-index-qwmgqC4t.mjs"), import("./.setup/session-catalog-projection-Cl0Nc7c6.mjs")]);
2994
2994
  source?.assertCurrent();
2995
2995
  if (closed || generation !== config || residentEpoch !== epoch) throw new Error("Codex catalog configuration changed");
2996
2996
  index = indexes.get(homeId);
@@ -3115,7 +3115,7 @@ function createCodexSessionCatalogControl(params) {
3115
3115
  const runtime = source?.appServer ?? resolveRuntimeOptions({ pluginConfig });
3116
3116
  const requestOptions = resolveRequestOptions(runtime.start, agentId, source);
3117
3117
  return createCodexCatalogRequestSnapshot(runtime.requestTimeoutMs, async (method, requestParams, timeoutMs, assertCurrent, observation) => {
3118
- const { codexControlRequest } = await import("./.setup/command-rpc-CuC5fPom.mjs").then((n) => n.n);
3118
+ const { codexControlRequest } = await import("./.setup/command-rpc-CmQDOxY9.mjs").then((n) => n.n);
3119
3119
  return await codexControlRequest(pluginConfig, method, requestParams, {
3120
3120
  ...requestOptions,
3121
3121
  authProfileId: null,
@@ -3137,9 +3137,9 @@ function createCodexSessionCatalogControl(params) {
3137
3137
  const runtime = source?.appServer ?? resolveRuntimeOptions({ pluginConfig });
3138
3138
  const { agentDir, config: runtimeConfig, startOptions } = resolveRequestOptions(runtime.start, agentId, source);
3139
3139
  let catalogIndex;
3140
- const { getLeasedSharedCodexAppServerClient, releaseLeasedSharedCodexAppServerClient, retireSharedCodexAppServerClientIfCurrent } = await import("./.setup/shared-client-qhyYWbew.mjs").then((n) => n.v);
3141
- const { resolveCodexAppServerClientInstanceId } = await import("./.setup/client-C8lgBOoO.mjs").then((n) => n.n);
3142
- const { requestCodexAppServerClientJson } = await import("./.setup/request-jSbhc1sg.mjs").then((n) => n.i);
3140
+ const { getLeasedSharedCodexAppServerClient, releaseLeasedSharedCodexAppServerClient, retireSharedCodexAppServerClientIfCurrent } = await import("./.setup/shared-client-DeenOD8U.mjs").then((n) => n.v);
3141
+ const { resolveCodexAppServerClientInstanceId } = await import("./.setup/client-BIRVBXXb.mjs").then((n) => n.n);
3142
+ const { requestCodexAppServerClientJson } = await import("./.setup/request-DD3u22uv.mjs").then((n) => n.i);
3143
3143
  const client = await getLeasedSharedCodexAppServerClient({
3144
3144
  agentDir,
3145
3145
  config: runtimeConfig,
@@ -3208,7 +3208,7 @@ function createCodexSessionCatalogControl(params) {
3208
3208
  await Promise.allSettled(residentRequests);
3209
3209
  const clients = getSharedCodexAppServerClientState();
3210
3210
  if (clients.liveClients.size > 0 || clients.startup.pending.size > 0) {
3211
- const { clearSharedCodexAppServerClientAndWait } = await import("./.setup/shared-client-qhyYWbew.mjs").then((n) => n.v);
3211
+ const { clearSharedCodexAppServerClientAndWait } = await import("./.setup/shared-client-DeenOD8U.mjs").then((n) => n.v);
3212
3212
  await clearSharedCodexAppServerClientAndWait();
3213
3213
  }
3214
3214
  },
@@ -4262,7 +4262,7 @@ function createCodexSupervisionTools(options) {
4262
4262
  }
4263
4263
  //#endregion
4264
4264
  //#region extensions/codex/src/web-search-provider.ts
4265
- const loadCodexWebSearchRuntime = createLazyRuntimeModule(() => import("./.setup/web-search-provider.runtime-dL2GD1Kl.mjs"));
4265
+ const loadCodexWebSearchRuntime = createLazyRuntimeModule(() => import("./.setup/web-search-provider.runtime-CV9oiB-v.mjs"));
4266
4266
  const CodexWebSearchSchema = {
4267
4267
  type: "object",
4268
4268
  properties: { query: {
@@ -4529,7 +4529,7 @@ var codex_default = definePluginEntry({
4529
4529
  if (endedSessionKey && nextSessionKey && nextSessionKey !== endedSessionKey) return;
4530
4530
  if (event.nextSessionId?.trim() === event.sessionId.trim()) return;
4531
4531
  const config = resolveCurrentConfig();
4532
- const [{ sessionBindingIdentity }, { retireCodexAppServerSessionGeneration }] = await Promise.all([import("./.setup/session-binding-Ce7BqiPN.mjs").then((n) => n.i), import("./.setup/session-retirement-Czbchv_O.mjs")]);
4532
+ const [{ sessionBindingIdentity }, { retireCodexAppServerSessionGeneration }] = await Promise.all([import("./.setup/session-binding-Ce7BqiPN.mjs").then((n) => n.i), import("./.setup/session-retirement-Bt3b0fpe.mjs")]);
4533
4533
  await retireCodexAppServerSessionGeneration({
4534
4534
  bindingStore,
4535
4535
  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-pGsfXcmH.mjs");
36
+ const { runBoundedCodexAppServerTurn } = await import("./.setup/bounded-turn-Cv4uIEzz.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-pGsfXcmH.mjs");
76
+ const { runBoundedCodexAppServerTurn } = await import("./.setup/bounded-turn-Cv4uIEzz.mjs");
77
77
  req.signal?.throwIfAborted();
78
78
  const { text } = await runBoundedCodexAppServerTurn({
79
79
  config: req.cfg,
@@ -1,2 +1,2 @@
1
- import { t as buildCodexMigrationProvider } from "./.setup/provider-BnwHVD_z.mjs";
1
+ import { t as buildCodexMigrationProvider } from "./.setup/provider-BoIby-eX.mjs";
2
2
  export { buildCodexMigrationProvider as buildMigrationProvider };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/codex",
3
- "version": "2026.10.1-beta.2",
3
+ "version": "2026.10.1",
4
4
  "description": "OpenClaw Codex app-server harness and native session supervision plugin.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,7 +9,7 @@
9
9
  "type": "module",
10
10
  "dependencies": {
11
11
  "@openai/codex": "0.160.0",
12
- "@openclaw/fs-safe": "0.23.0",
12
+ "@openclaw/fs-safe": "0.24.2",
13
13
  "semver": "7.8.5",
14
14
  "smol-toml": "1.8.0",
15
15
  "typebox": "1.3.34",
@@ -38,10 +38,10 @@
38
38
  ]
39
39
  },
40
40
  "compat": {
41
- "pluginApi": ">=2026.10.1-beta.2"
41
+ "pluginApi": ">=2026.10.1"
42
42
  },
43
43
  "build": {
44
- "openclawVersion": "2026.10.1-beta.2",
44
+ "openclawVersion": "2026.10.1",
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.1-beta.2"
69
+ "openclaw": ">=2026.10.1"
70
70
  },
71
71
  "peerDependenciesMeta": {
72
72
  "openclaw": {