@openclaw/codex 2026.10.1 → 2026.10.3
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/.setup/{account-usage-runtime-B7Vg4rmy.mjs → account-usage-runtime-BsPb0Y3w.mjs} +1 -1
- package/dist/.setup/{apply-BzlIkqSz.mjs → apply-CMLZMIVH.mjs} +4 -4
- package/dist/.setup/{attempt-client-cleanup-HXQxfMc1.mjs → attempt-client-cleanup-hUrW3fmJ.mjs} +4 -4
- package/dist/.setup/{attempt-workspace-context-BmCutoyg.mjs → attempt-workspace-context-BRvpkEo_.mjs} +1 -1
- package/dist/.setup/{auth-cache-key-BCCQHWdc.mjs → auth-cache-key-CeVZHm9H.mjs} +1 -1
- package/dist/.setup/{bounded-turn-Cv4uIEzz.mjs → bounded-turn-DVI5FRqE.mjs} +9 -9
- package/dist/.setup/{build-state-BwxNfFEB.mjs → build-state-DP9Coy_6.mjs} +1 -1
- package/dist/.setup/{client-BIRVBXXb.mjs → client-DIC12QQ_.mjs} +2 -2
- package/dist/.setup/{client-catalog-response-BNFDYAKh.mjs → client-catalog-response-Bhc23x3Q.mjs} +1 -1
- package/dist/.setup/{command-dispatch-D3_ypl-R.mjs → command-dispatch-Dc95dWpV.mjs} +1 -1
- package/dist/.setup/{command-handlers-KPit4G0p.mjs → command-handlers-K365hYqd.mjs} +11 -11
- package/dist/.setup/{command-rpc-CmQDOxY9.mjs → command-rpc-C207n84A.mjs} +6 -6
- package/dist/.setup/{compact-CLLteFIY.mjs → compact-DNLigO9M.mjs} +9 -9
- package/dist/.setup/{computer-use-BVxocZZc.mjs → computer-use-rt0M8Bom.mjs} +4 -4
- package/dist/.setup/{conversation-binding-DJ_288rC.mjs → conversation-binding-BQ5GWV_6.mjs} +10 -10
- package/dist/.setup/{conversation-control-CuiZ_pDL.mjs → conversation-control-DMDuo_D6.mjs} +2 -2
- package/dist/.setup/{dynamic-tool-build-DgWZMfAQ.mjs → dynamic-tool-build-CdUp03dV.mjs} +2 -2
- package/dist/.setup/{dynamic-tools-Ct6GKAFr.mjs → dynamic-tools-3hNi6oog.mjs} +15 -7
- package/dist/.setup/{effective-mcp-catalog-DmCSc8TS.mjs → effective-mcp-catalog-DHEOnIwA.mjs} +4 -4
- package/dist/.setup/{ephemeral-turn-_cBMKCFb.mjs → ephemeral-turn-BVauXzx9.mjs} +2 -2
- package/dist/.setup/{event-projector-assistant-message-C3Tpt370.mjs → event-projector-assistant-message-CRadIRA4.mjs} +1 -1
- package/dist/.setup/{isolated-completion-CjrQEeke.mjs → isolated-completion-Dab4vUwO.mjs} +4 -4
- package/dist/.setup/{mcp-app-session-preparation-D0yRoreX.mjs → mcp-app-session-preparation-8CGBwfHK.mjs} +5 -5
- package/dist/.setup/{model-catalog--G4arndd.mjs → model-catalog-CQXEzyxr.mjs} +26 -19
- package/dist/.setup/{models-BYbLQPnj.mjs → models-CR97NoEB.mjs} +3 -3
- package/dist/.setup/{native-mcp-app-5i5eRCwO.mjs → native-mcp-app-D4VcVFK7.mjs} +4 -4
- package/dist/.setup/{native-subagent-monitor-B2C8D_N0.mjs → native-subagent-monitor-CkpiZfm0.mjs} +6 -6
- package/dist/.setup/{plan-B5bDIEuQ.mjs → plan-LJsaUrXA.mjs} +2 -2
- package/dist/.setup/{plugin-approval-roundtrip-C_SGp5YW.mjs → plugin-approval-roundtrip-D7LyYiO6.mjs} +1 -1
- package/dist/.setup/{plugin-thread-config-deadline-CsScGgrk.mjs → plugin-thread-config-deadline-DZw8qiVC.mjs} +3 -3
- package/dist/.setup/{provider-BoIby-eX.mjs → provider-CGCiFHsg.mjs} +4 -4
- package/dist/.setup/{provider-capabilities-B4yq6UgQ.mjs → provider-capabilities-NZytgEzO.mjs} +1 -1
- package/dist/.setup/{request-DD3u22uv.mjs → request-Ddy7nOme.mjs} +1 -1
- package/dist/.setup/{run-attempt-DOVF5OON.mjs → run-attempt-BqC2g0aO.mjs} +24 -23
- package/dist/.setup/{session-catalog-events-DRaivXvC.mjs → session-catalog-events-Ce-JJuIv.mjs} +2 -2
- package/dist/.setup/{session-catalog-index-qwmgqC4t.mjs → session-catalog-index-BnHv8CX_.mjs} +3 -3
- package/dist/.setup/{session-catalog-native-projection-z9Q608QW.mjs → session-catalog-native-projection-Cpc9sZnx.mjs} +1 -1
- package/dist/.setup/{session-catalog-projection-Cl0Nc7c6.mjs → session-catalog-projection-D7YtgdS_.mjs} +1 -1
- package/dist/.setup/{session-retirement-Bt3b0fpe.mjs → session-retirement-D8akYv0Q.mjs} +5 -5
- package/dist/.setup/{settled-turn-finalizer-e_24O6HA.mjs → settled-turn-finalizer-CEyM5wo_.mjs} +5 -5
- package/dist/.setup/{shared-client-DeenOD8U.mjs → shared-client-D2ivOIey.mjs} +19 -8
- package/dist/.setup/{shell-dynamic-tools-BqGszXcq.mjs → shell-dynamic-tools-CkHxyESN.mjs} +1 -1
- package/dist/.setup/{side-question-BZHn_1Jm.mjs → side-question-DiQ2HCos.mjs} +10 -10
- package/dist/.setup/{source-0ClinBHI.mjs → source-3uDpVdu3.mjs} +1 -1
- package/dist/.setup/{thread-lifecycle-CoqYpbpk.mjs → thread-lifecycle-BSVWNPZt.mjs} +78 -50
- package/dist/.setup/{thread-ownership-CSDZ6mHd.mjs → thread-ownership-GlDZf8J7.mjs} +3 -3
- package/dist/.setup/{thread-policy-DCC9lQjC.mjs → thread-policy-Brc0nbdS.mjs} +3 -3
- package/dist/.setup/{thread-requests-Dwg2b4Xl.mjs → thread-requests-CKEQxo_5.mjs} +4 -4
- package/dist/.setup/{thread-resume--WOKWxZd.mjs → thread-resume-BfkvLUZY.mjs} +4 -4
- package/dist/.setup/{turn-router-BWhX_SBh.mjs → turn-router-CaGl9iS1.mjs} +1 -1
- package/dist/.setup/{upstream-session-fork-BQvofnk7.mjs → upstream-session-fork-BdvuVrvg.mjs} +9 -9
- package/dist/.setup/{usage-BEHcVwcZ.mjs → usage-Drw_79Hn.mjs} +1 -1
- package/dist/.setup/{usage-limit-error-D1p3nE6n.mjs → usage-limit-error-B26Xp5eo.mjs} +1 -1
- package/dist/.setup/{web-search-provider.runtime-CV9oiB-v.mjs → web-search-provider.runtime-94j6OiyW.mjs} +3 -3
- package/dist/catalog-page.worker.js +1 -1
- package/dist/harness.js +15 -15
- package/dist/index.js +24 -24
- package/dist/media-understanding-provider.js +2 -2
- package/dist/migration-provider-api.js +1 -1
- package/package.json +4 -4
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-
|
|
5
|
+
import { n as defineCodexBuildState } from "./.setup/build-state-DP9Coy_6.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-
|
|
15
|
+
import { O as createCodexDesktopGenerationService, T as retireSharedCodexAppServerClientsBeforeDesktopGeneration, m as hasActiveSharedCodexAppServerWork, p as getSharedCodexAppServerClientState, s as resolveCodexAppServerFallbackApiKeyCacheKey } from "./.setup/auth-cache-key-CeVZHm9H.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-
|
|
23
|
+
import { t as buildCodexMigrationProvider } from "./.setup/provider-CGCiFHsg.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-
|
|
38
|
+
import { t as codexCatalogResidentHomeKey } from "./.setup/session-catalog-events-Ce-JJuIv.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-
|
|
41
|
+
import { r as requestCodexAppServerJson } from "./.setup/request-Ddy7nOme.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-
|
|
73
|
+
const { handleCodexAccountUsage } = await import("./.setup/account-usage-runtime-BsPb0Y3w.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-
|
|
101
|
+
const { getLeasedSharedCodexAppServerClient, releaseLeasedSharedCodexAppServerClient } = await import("./.setup/shared-client-D2ivOIey.mjs").then((n) => n.v);
|
|
102
102
|
const { sleepWithAbort } = await import("openclaw/plugin-sdk/runtime-env");
|
|
103
|
-
const { isUnsupportedCodexAppServerVersionError } = await import("./.setup/client-
|
|
103
|
+
const { isUnsupportedCodexAppServerVersionError } = await import("./.setup/client-DIC12QQ_.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-
|
|
321
|
+
const { handleCodexCommand } = await import("./.setup/command-dispatch-Dc95dWpV.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-
|
|
399
|
+
const { runBoundTurnWithMissingThreadRecovery } = await import("./.setup/conversation-binding-BQ5GWV_6.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-
|
|
433
|
+
const { retireCodexConversationThreadBinding } = await import("./.setup/thread-ownership-GlDZf8J7.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-
|
|
485
|
+
const request = options.request ?? (await import("./.setup/command-rpc-C207n84A.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-
|
|
663
|
+
const request = options.request ?? (await import("./.setup/command-rpc-C207n84A.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-
|
|
796
|
-
const { closeCodexStartupClientBestEffort } = await import("./.setup/attempt-client-cleanup-
|
|
795
|
+
const { retainCodexAppServerBindingSubscription, rollbackCodexAppServerBindingSubscription } = await import("./.setup/thread-ownership-GlDZf8J7.mjs").then((n) => n.o);
|
|
796
|
+
const { closeCodexStartupClientBestEffort } = await import("./.setup/attempt-client-cleanup-hUrW3fmJ.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-
|
|
2540
|
+
const { CODEX_CATALOG_NATIVE_PAGE_LIMIT } = await import("./.setup/session-catalog-native-projection-Cpc9sZnx.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-
|
|
2993
|
+
const [{ CodexCatalogIndex }, { canReuseCodexCatalogPreview, projectCodexCatalogDeltaPage, projectCodexCatalogPage }] = await Promise.all([import("./.setup/session-catalog-index-BnHv8CX_.mjs"), import("./.setup/session-catalog-projection-D7YtgdS_.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-
|
|
3118
|
+
const { codexControlRequest } = await import("./.setup/command-rpc-C207n84A.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-
|
|
3141
|
-
const { resolveCodexAppServerClientInstanceId } = await import("./.setup/client-
|
|
3142
|
-
const { requestCodexAppServerClientJson } = await import("./.setup/request-
|
|
3140
|
+
const { getLeasedSharedCodexAppServerClient, releaseLeasedSharedCodexAppServerClient, retireSharedCodexAppServerClientIfCurrent } = await import("./.setup/shared-client-D2ivOIey.mjs").then((n) => n.v);
|
|
3141
|
+
const { resolveCodexAppServerClientInstanceId } = await import("./.setup/client-DIC12QQ_.mjs").then((n) => n.n);
|
|
3142
|
+
const { requestCodexAppServerClientJson } = await import("./.setup/request-Ddy7nOme.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-
|
|
3211
|
+
const { clearSharedCodexAppServerClientAndWait } = await import("./.setup/shared-client-D2ivOIey.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-
|
|
4265
|
+
const loadCodexWebSearchRuntime = createLazyRuntimeModule(() => import("./.setup/web-search-provider.runtime-94j6OiyW.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-
|
|
4532
|
+
const [{ sessionBindingIdentity }, { retireCodexAppServerSessionGeneration }] = await Promise.all([import("./.setup/session-binding-Ce7BqiPN.mjs").then((n) => n.i), import("./.setup/session-retirement-D8akYv0Q.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-
|
|
36
|
+
const { runBoundedCodexAppServerTurn } = await import("./.setup/bounded-turn-DVI5FRqE.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-
|
|
76
|
+
const { runBoundedCodexAppServerTurn } = await import("./.setup/bounded-turn-DVI5FRqE.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-
|
|
1
|
+
import { t as buildCodexMigrationProvider } from "./.setup/provider-CGCiFHsg.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.
|
|
3
|
+
"version": "2026.10.3",
|
|
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.
|
|
41
|
+
"pluginApi": ">=2026.10.3"
|
|
42
42
|
},
|
|
43
43
|
"build": {
|
|
44
|
-
"openclawVersion": "2026.10.
|
|
44
|
+
"openclawVersion": "2026.10.3",
|
|
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.
|
|
69
|
+
"openclaw": ">=2026.10.3"
|
|
70
70
|
},
|
|
71
71
|
"peerDependenciesMeta": {
|
|
72
72
|
"openclaw": {
|