@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/.setup/{native-subagent-monitor-B2C8D_N0.mjs → native-subagent-monitor-CkpiZfm0.mjs}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { c as codexNativeSubagentRunId, d as readNativeSubagentThreadIds, f as readThreadParentThreadId, l as normalizeIdentifier, m as assertHistoryOwnerMatchesRegistration, p as readThreadSpawnSource, t as matchesNativeAssignmentLifecycle, u as readCodexNativeSubagentRunId } from "./native-subagent-pending-assignments-BDqhOdJp.mjs";
|
|
2
2
|
import { i as isJsonObject } from "./protocol-CANUwXJ3.mjs";
|
|
3
|
-
import { n as defineCodexBuildState } from "./build-state-
|
|
3
|
+
import { n as defineCodexBuildState } from "./build-state-DP9Coy_6.mjs";
|
|
4
4
|
import { a as readHookOutputEntries, o as readItem, s as readNullableString } from "./event-projector-values-DTqZHizf.mjs";
|
|
5
5
|
import { t as attachCodexMirrorIdentity } from "./upstream-prompt-provenance-fXkKbPVC.mjs";
|
|
6
6
|
import { t as readCodexMirroredSessionHistoryMessages } from "./session-history-BogBHKLk.mjs";
|
|
7
|
-
import {
|
|
8
|
-
import { L as readCodexAppServerWarningMessage } from "./client-
|
|
9
|
-
import { _ as itemStatus, c as auditNativeToolName, d as isMutatingNativeToolItem, f as isNonSuccessItemStatus, g as itemName, h as itemKind, l as auditNativeToolTerminalStatus, m as isSideEffectingNativeToolItem, p as isProjectedNativeToolItem, v as itemTitle, x as unknownItemStatus, y as matchesCodexSnapshotTurn } from "./turn-router-
|
|
10
|
-
import { s as interruptCodexTurnAndWaitBestEffort } from "./attempt-client-cleanup-
|
|
11
|
-
import { n as codexApprovalTimeoutText } from "./plugin-approval-roundtrip-
|
|
7
|
+
import { P as claimCodexAppServerLiveThread, R as hasCodexAppServerLiveThread, q as retainCodexAppServerLiveThread } from "./shared-client-D2ivOIey.mjs";
|
|
8
|
+
import { L as readCodexAppServerWarningMessage } from "./client-DIC12QQ_.mjs";
|
|
9
|
+
import { _ as itemStatus, c as auditNativeToolName, d as isMutatingNativeToolItem, f as isNonSuccessItemStatus, g as itemName, h as itemKind, l as auditNativeToolTerminalStatus, m as isSideEffectingNativeToolItem, p as isProjectedNativeToolItem, v as itemTitle, x as unknownItemStatus, y as matchesCodexSnapshotTurn } from "./turn-router-CaGl9iS1.mjs";
|
|
10
|
+
import { s as interruptCodexTurnAndWaitBestEffort } from "./attempt-client-cleanup-hUrW3fmJ.mjs";
|
|
11
|
+
import { n as codexApprovalTimeoutText } from "./plugin-approval-roundtrip-D7LyYiO6.mjs";
|
|
12
12
|
import { t as __exportAll } from "./session-binding-sidecars-BrdV95Fg.mjs";
|
|
13
13
|
import { asFiniteNumber, asNonArrayRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalString, normalizeTrimmedStringList, readStringField } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
14
14
|
import { randomUUID } from "node:crypto";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as isOnlyMigrationKind } from "./scope-DOC1Xjc8.mjs";
|
|
2
2
|
import { l as CODEX_PLUGINS_MARKETPLACE_NAME } from "./plugin-inventory-Bf0_piTw.mjs";
|
|
3
3
|
import "./config-0Gxk3_eq.mjs";
|
|
4
|
-
import { i as hasCodexSource, n as defaultCodexHome, o as readJsonObject, r as discoverCodexSource, s as sanitizeName, t as codexPluginMigrationSubscriptionWarning } from "./source-
|
|
4
|
+
import { i as hasCodexSource, n as defaultCodexHome, o as readJsonObject, r as discoverCodexSource, s as sanitizeName, t as codexPluginMigrationSubscriptionWarning } from "./source-3uDpVdu3.mjs";
|
|
5
5
|
import { asBoolean, asOptionalRecord, isRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
import { createHash } from "node:crypto";
|
|
7
7
|
import { runCommandBuffered } from "openclaw/plugin-sdk/process-runtime";
|
|
@@ -96,7 +96,7 @@ async function readCodexCliCredentialsAsync(options) {
|
|
|
96
96
|
options.signal?.throwIfAborted();
|
|
97
97
|
if (!options.allowKeychainPrompt) return;
|
|
98
98
|
const home = await fs.realpath(options.codexHome).catch(() => path.resolve(options.codexHome));
|
|
99
|
-
const { CodexAppServerClient } = await import("./client-
|
|
99
|
+
const { CodexAppServerClient } = await import("./client-DIC12QQ_.mjs").then((n) => n.n);
|
|
100
100
|
const { resolveManagedCodexPackageEntrypoint, resolveManagedCodexNativeCommand } = await import("./managed-binary-C1VFoVPf.mjs").then((n) => n.n);
|
|
101
101
|
const launcher = resolveManagedCodexPackageEntrypoint(path.dirname(fileURLToPath(import.meta.url)));
|
|
102
102
|
const command = launcher ? resolveManagedCodexNativeCommand(launcher) : void 0;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { mt as resolveCodexGatewayTimeoutWithGraceMs } from "./shared-client-D2ivOIey.mjs";
|
|
2
2
|
import { isApprovalNotFoundError, toErrorObject } from "openclaw/plugin-sdk/error-runtime";
|
|
3
3
|
import { truncateUtf16Safe } from "openclaw/plugin-sdk/text-utility-runtime";
|
|
4
4
|
import { racePromiseWithAbortSignal } from "openclaw/plugin-sdk/time-runtime";
|
|
@@ -3,9 +3,9 @@ import { r as withAbortableTimeout } from "./timeout-CXOfNoaX.mjs";
|
|
|
3
3
|
import { a as defaultCodexAppInventoryCache } from "./plugin-app-cache-key-BW8rd98k.mjs";
|
|
4
4
|
import { s as resolveRecoverableCodexPluginConfigKeys } from "./plugin-inventory-Bf0_piTw.mjs";
|
|
5
5
|
import "./config-0Gxk3_eq.mjs";
|
|
6
|
-
import { Tt as shouldBuildCodexPluginThreadConfig, gt as buildCodexPluginThreadConfig, vt as buildCodexPluginThreadConfigTimeoutFallback } from "./thread-requests-
|
|
7
|
-
import { m as readCurrentCodexScheduledAppPolicy, p as intersectCodexPluginThreadConfigWithScheduledAuthority } from "./thread-lifecycle-
|
|
8
|
-
import { n as disableCodexPluginThreadConfig } from "./dynamic-tool-build-
|
|
6
|
+
import { Tt as shouldBuildCodexPluginThreadConfig, gt as buildCodexPluginThreadConfig, vt as buildCodexPluginThreadConfigTimeoutFallback } from "./thread-requests-CKEQxo_5.mjs";
|
|
7
|
+
import { m as readCurrentCodexScheduledAppPolicy, p as intersectCodexPluginThreadConfigWithScheduledAuthority } from "./thread-lifecycle-BSVWNPZt.mjs";
|
|
8
|
+
import { n as disableCodexPluginThreadConfig } from "./dynamic-tool-build-CdUp03dV.mjs";
|
|
9
9
|
import { t as defaultCodexPluginMetadataCache } from "./plugin-metadata-cache-DWnB7VMj.mjs";
|
|
10
10
|
import { AgentHarnessPreflightError } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
11
11
|
//#region extensions/codex/src/app-server/plugin-thread-config-deadline.ts
|
|
@@ -11,7 +11,7 @@ function buildCodexMigrationProvider(params = {}) {
|
|
|
11
11
|
].join(" "),
|
|
12
12
|
supportedItemKinds: ["memory", "auth"],
|
|
13
13
|
async detect(ctx) {
|
|
14
|
-
const { discoverCodexSource, hasCodexSource } = await import("./source-
|
|
14
|
+
const { discoverCodexSource, hasCodexSource } = await import("./source-3uDpVdu3.mjs").then((n) => n.a);
|
|
15
15
|
const memoryOnly = isOnlyMigrationKind(ctx, "memory");
|
|
16
16
|
const authOnly = isOnlyMigrationKind(ctx, "auth");
|
|
17
17
|
const source = await discoverCodexSource({
|
|
@@ -29,16 +29,16 @@ function buildCodexMigrationProvider(params = {}) {
|
|
|
29
29
|
};
|
|
30
30
|
},
|
|
31
31
|
async plan(ctx) {
|
|
32
|
-
const { buildCodexMigrationPlan } = await import("./plan-
|
|
32
|
+
const { buildCodexMigrationPlan } = await import("./plan-LJsaUrXA.mjs");
|
|
33
33
|
return buildCodexMigrationPlan(ctx);
|
|
34
34
|
},
|
|
35
35
|
deferredApply: { retrySafe: true },
|
|
36
36
|
prepareApply(ctx) {
|
|
37
37
|
if (isOnlyMigrationKind(ctx, "memory") || isOnlyMigrationKind(ctx, "auth")) return;
|
|
38
|
-
return import("./apply-
|
|
38
|
+
return import("./apply-CMLZMIVH.mjs").then(({ prepareTargetCodexAppServer }) => prepareTargetCodexAppServer(ctx));
|
|
39
39
|
},
|
|
40
40
|
async apply(ctx, plan) {
|
|
41
|
-
const { applyCodexMigrationPlan } = await import("./apply-
|
|
41
|
+
const { applyCodexMigrationPlan } = await import("./apply-CMLZMIVH.mjs");
|
|
42
42
|
return await applyCodexMigrationPlan({
|
|
43
43
|
ctx,
|
|
44
44
|
plan,
|
package/dist/.setup/{provider-capabilities-B4yq6UgQ.mjs → provider-capabilities-NZytgEzO.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as releaseLeasedSharedCodexAppServerClient } from "./shared-client-
|
|
1
|
+
import { h as releaseLeasedSharedCodexAppServerClient } from "./shared-client-D2ivOIey.mjs";
|
|
2
2
|
//#region extensions/codex/src/app-server/provider-capabilities.ts
|
|
3
3
|
function resolveOverriddenProviderWebSearchSupport(modelProviderOverride) {
|
|
4
4
|
const provider = modelProviderOverride?.trim().toLowerCase();
|
|
@@ -316,7 +316,7 @@ async function withCodexAppServerJsonClient(params, run) {
|
|
|
316
316
|
timeoutMessage,
|
|
317
317
|
promise: (async () => {
|
|
318
318
|
const { resolveCodexAppServerDirectSandboxBypassBlock } = await import("./sandbox-guard-WqE8yPge.mjs").then((n) => n.r);
|
|
319
|
-
const { createIsolatedCodexAppServerClient, getLeasedSharedCodexAppServerClient, isCodexAppServerStartSelectionChangedError, releaseLeasedSharedCodexAppServerClient, retireSharedCodexAppServerClientIfCurrent } = await import("./shared-client-
|
|
319
|
+
const { createIsolatedCodexAppServerClient, getLeasedSharedCodexAppServerClient, isCodexAppServerStartSelectionChangedError, releaseLeasedSharedCodexAppServerClient, retireSharedCodexAppServerClientIfCurrent } = await import("./shared-client-D2ivOIey.mjs").then((n) => n.v);
|
|
320
320
|
for (let attempt = 0; attempt < 2; attempt += 1) {
|
|
321
321
|
errorPhase = void 0;
|
|
322
322
|
setPhase("prepare");
|
|
@@ -2,13 +2,13 @@ import { n as readCodexRuntimeModelId } from "./model-runtime-BdqzOMkU.mjs";
|
|
|
2
2
|
import { g as createCodexNativeSubagentHistoryOwner } from "./native-subagent-pending-assignments-BDqhOdJp.mjs";
|
|
3
3
|
import { i as isJsonObject, r as flattenCodexDynamicToolFunctions } from "./protocol-CANUwXJ3.mjs";
|
|
4
4
|
import { i as matchesCodexNativeSubagentSubmissionBinding, m as sessionBindingIdentity, n as assertCodexBindingMayBeReplaced } from "./session-binding-record-BZB8RgcF.mjs";
|
|
5
|
-
import { n as defineCodexBuildState } from "./build-state-
|
|
5
|
+
import { n as defineCodexBuildState } from "./build-state-DP9Coy_6.mjs";
|
|
6
6
|
import { c as shouldAutoApproveCodexAppServerApprovals, f as readCodexRequirementsToml, l as withMcpElicitationsApprovalPolicy, n as hasCodexMcpToolApprovalOverrides } from "./config-security-KAPScztc.mjs";
|
|
7
7
|
import { c as isCodexPairedNodeRemoteExecPlacementSandbox, d as readCodexPluginConfig, f as resolveCodexPluginsPolicy, l as isCodexRemoteExecPlacementSandbox, u as isCodexSandboxExecServerEnabled } from "./config-parsing-BQq-CHTF.mjs";
|
|
8
8
|
import { n as isCodexAppServerProxyLaunch } from "./launch-args-DbFCehO7.mjs";
|
|
9
9
|
import { t as resolveCodexAppServerHomeDir } from "./auth-start-options-BPIPeEX8.mjs";
|
|
10
10
|
import { i as resolveCodexAppServerHomeScope, l as resolveCodexModelBackedReviewerPolicyContext, o as resolveCodexComputerUseConfig } from "./config-options-HG_Rr3W_.mjs";
|
|
11
|
-
import { c as resolveCodexAppServerPreparedApiKeyCacheKey, s as resolveCodexAppServerFallbackApiKeyCacheKey, w as retireSharedCodexAppServerClientIfCurrent } from "./auth-cache-key-
|
|
11
|
+
import { c as resolveCodexAppServerPreparedApiKeyCacheKey, s as resolveCodexAppServerFallbackApiKeyCacheKey, w as retireSharedCodexAppServerClientIfCurrent } from "./auth-cache-key-CeVZHm9H.mjs";
|
|
12
12
|
import { o as formatCodexDisplayText } from "./command-formatters-DV3DHhdr.mjs";
|
|
13
13
|
import { a as codexPrewriteRejectionCause, i as CodexAppServerScopedRequestRejectedError, r as CodexAppServerRpcError } from "./rpc-error-hmWM21RB.mjs";
|
|
14
14
|
import { n as waitForPromiseOrAbort } from "./timeout-CXOfNoaX.mjs";
|
|
@@ -17,46 +17,46 @@ import { i as readCodexProviderRefusal, n as extractRawAssistantText, o as readI
|
|
|
17
17
|
import { r as readMirrorIdentity, t as attachCodexMirrorIdentity } from "./upstream-prompt-provenance-fXkKbPVC.mjs";
|
|
18
18
|
import { n as buildCodexAppServerRuntimeFingerprint, r as buildCodexPluginAppCacheKey } from "./plugin-app-cache-key-BW8rd98k.mjs";
|
|
19
19
|
import { i as resolveCodexBindingAppServerConnection, r as requireCodexSupervisionModelSelection, t as assertCodexSessionRuntimeOwnership } from "./binding-connection-C-08ez1w.mjs";
|
|
20
|
-
import { n as requestCodexAppServerClientJson } from "./request-
|
|
20
|
+
import { n as requestCodexAppServerClientJson } from "./request-Ddy7nOme.mjs";
|
|
21
21
|
import { n as canUseCodexModelBackedApprovalsReviewerForModel, r as resolveOpenClawExecPolicyForCodexAppServer } from "./config-0Gxk3_eq.mjs";
|
|
22
22
|
import { a as isCodexDurableCustomMessage, c as resolveCodexContextEngineProjectionMaxChars, i as fitCodexProjectedContextForTurnStart, l as resolveCodexContinuityProjectionMaxChars, n as CodexContextAttachmentError, o as neutralizeCodexExplicitMentionSigils, r as buildCodexContinuityCalibration, s as projectContextEngineAssemblyForCodex, t as CODEX_TURN_START_TEXT_INPUT_MAX_CHARS, u as resolveProjectionPromptBudgetTokens } from "./context-engine-projection-CsgYSQhW.mjs";
|
|
23
23
|
import { o as hasCodexMirrorOrigin, t as applyCodexTranscriptTaint } from "./transcript-mirror-attestation-YSegaktH.mjs";
|
|
24
24
|
import { t as readCodexMirroredSessionHistoryMessages } from "./session-history-BogBHKLk.mjs";
|
|
25
25
|
import { i as resolveCodexAppServerAuthProfileIdForAgent, r as resolveCodexAppServerAuthProfileId } from "./auth-profile-CgHQ8Vot.mjs";
|
|
26
|
-
import { E as isCodexContextRestartSelectionChangedError,
|
|
26
|
+
import { E as isCodexContextRestartSelectionChangedError, I as ensureCodexAppServerClientRuntime, M as getCodexInferenceThreadQualification, U as prepareCodexWorkspaceReferences, W as protectCodexAppServerLiveThread, X as readCodexRateLimitsRevision, Z as readRecentCodexRateLimits, _ as retainSharedCodexAppServerClientIfCurrent, a as clearSharedCodexAppServerClientIfCurrentAndUnclaimed, c as getLeasedSharedCodexAppServerClient, dt as TURN_FINALIZE_DRAIN_ABORT_GRACE_MS, f as readCodexAppServerClientDesktopGenerationFingerprint, ft as TURN_TERMINAL_SETTLEMENT_TIMEOUT_MS, gt as withCodexStartupTimeout, h as releaseLeasedSharedCodexAppServerClient, ht as resolveCodexStartupTimeoutMs, i as clearSharedCodexAppServerClientIfCurrent, j as getCodexInferenceThread, l as getSharedCodexAppServerClient, nt as resolveCodexAppServerPreparedAuthHandoff, s as createIsolatedCodexAppServerClient, tt as resolveCodexAppServerAuthAccountCacheKey, u as isCodexAppServerStartSelectionChangedError, ut as CodexAppServerStartupError, w as CodexThreadClientReplacementError, x as CODEX_APP_SERVER_CONTEXT_RESTART_SELECTION_CHANGED } from "./shared-client-D2ivOIey.mjs";
|
|
27
27
|
import { a as isCodexResponsesOAuthRun, r as isCodexResponsesOAuth } from "./responses-oauth-twnuTaAa.mjs";
|
|
28
|
-
import { A as resolveTerminalDynamicToolBatchAction, D as isDynamicToolTerminalDiagnosticEvent, E as hasPendingDynamicToolTerminalDiagnostic, H as resolveCodexAppServerClientInstanceId, M as toCodexDynamicToolProgressResponse, N as toCodexDynamicToolProtocolResponse, O as isMatchingDynamicToolTerminalDiagnostic, T as handleDynamicToolCallWithTimeout, _ as assertCodexTurnStartResponse, a as isCodexAppServerIndeterminateRequestCancellationError, i as isCodexAppServerConnectionClosedError, j as shouldReleaseTurnAfterTerminalDynamicTool, k as resolveDynamicToolCallTimeoutMs, l as CodexServerRequestResolvedError, o as isCodexAppServerIndeterminateTransportError, r as isCodexAppServerApprovalRequest, w as createCodexElicitationResponse, x as readCodexTurnCompletedNotification, y as readCodexDynamicToolCallParams, z as CODEX_APP_SERVER_OPT_OUT_NOTIFICATION_METHODS } from "./client-
|
|
28
|
+
import { A as resolveTerminalDynamicToolBatchAction, D as isDynamicToolTerminalDiagnosticEvent, E as hasPendingDynamicToolTerminalDiagnostic, H as resolveCodexAppServerClientInstanceId, M as toCodexDynamicToolProgressResponse, N as toCodexDynamicToolProtocolResponse, O as isMatchingDynamicToolTerminalDiagnostic, T as handleDynamicToolCallWithTimeout, _ as assertCodexTurnStartResponse, a as isCodexAppServerIndeterminateRequestCancellationError, i as isCodexAppServerConnectionClosedError, j as shouldReleaseTurnAfterTerminalDynamicTool, k as resolveDynamicToolCallTimeoutMs, l as CodexServerRequestResolvedError, o as isCodexAppServerIndeterminateTransportError, r as isCodexAppServerApprovalRequest, w as createCodexElicitationResponse, x as readCodexTurnCompletedNotification, y as readCodexDynamicToolCallParams, z as CODEX_APP_SERVER_OPT_OUT_NOTIFICATION_METHODS } from "./client-DIC12QQ_.mjs";
|
|
29
29
|
import { n as isCodexWebSocketOpenFailure } from "./transport-websocket-zqJ0Cmtn.mjs";
|
|
30
|
-
import { a as isCodexNotificationForTurn, b as shouldClearTerminalPresentationForNativeItem, g as itemName, i as CodexProjectionDiagnostics, n as getCodexAppServerTurnRouter, o as readCodexNotificationThreadId, t as CODEX_APP_SERVER_NATIVE_TURN_WAIT_TIMEOUT_MS, y as matchesCodexSnapshotTurn } from "./turn-router-
|
|
31
|
-
import { d as terminateCodexBackgroundTerminals, f as unsubscribeCodexThreadBestEffort, l as retireUnsafeCodexTurnClientBestEffort, n as CODEX_APP_SERVER_UNSUBSCRIBE_TIMEOUT_MS, o as closeCodexStartupClientBestEffort, r as CodexAppServerUnsafeSubscriptionError, s as interruptCodexTurnAndWaitBestEffort, u as shouldRetireCodexStartupClient } from "./attempt-client-cleanup-
|
|
30
|
+
import { a as isCodexNotificationForTurn, b as shouldClearTerminalPresentationForNativeItem, g as itemName, i as CodexProjectionDiagnostics, n as getCodexAppServerTurnRouter, o as readCodexNotificationThreadId, t as CODEX_APP_SERVER_NATIVE_TURN_WAIT_TIMEOUT_MS, y as matchesCodexSnapshotTurn } from "./turn-router-CaGl9iS1.mjs";
|
|
31
|
+
import { d as terminateCodexBackgroundTerminals, f as unsubscribeCodexThreadBestEffort, l as retireUnsafeCodexTurnClientBestEffort, n as CODEX_APP_SERVER_UNSUBSCRIBE_TIMEOUT_MS, o as closeCodexStartupClientBestEffort, r as CodexAppServerUnsafeSubscriptionError, s as interruptCodexTurnAndWaitBestEffort, u as shouldRetireCodexStartupClient } from "./attempt-client-cleanup-hUrW3fmJ.mjs";
|
|
32
32
|
import { r as prepareCodexAppServerAuthBinding } from "./auth-binding-BoMwpuPN.mjs";
|
|
33
33
|
import { a as isRawFunctionToolOutputCompletionNotification, c as readNotificationItemId, i as isPendingOpenClawDynamicToolCompletionNotification, l as readRawResponseToolCallId, o as isTerminalTurnStatus, r as isCodexTurnAbortMarkerNotification, s as readCodexNotificationItem, t as CodexUsageProjection, u as updateActiveTurnItemIds } from "./event-projector-usage-03R0I2dM.mjs";
|
|
34
|
-
import { n as listAllCodexAppServerModels } from "./models-
|
|
35
|
-
import { B as hasCodexNativeToolCatalog, Ct as mergeCodexThreadConfigs, D as assertCodexNativeHookRelayAllowed, E as CodexManagedHooksOnlyError, F as scheduleCodexNativeHookRelayUnregister, G as areCodexDynamicToolFingerprintsCompatible, J as codexLegacyDynamicToolsFingerprint, N as resolveCodexNativeHookRelayEvents, O as buildCodexNativeHookRelayConfig, P as resolveCodexNativeHookRelayTtlMs, S as joinPresentSections, T as CODEX_NATIVE_HOOK_RELAY_TTL_GRACE_MS, V as loadCodexNativeToolCatalog, Z as fingerprintJsonObject, _t as buildCodexPluginThreadConfigInputFingerprint, b as resolveCodexAppServerThreadModelSelection, dt as isSystemAgentOnlyCodexDynamicToolAllowlist, g as buildDeveloperInstructions, j as createCodexNativeHookRelay, k as buildCodexNativeHookRelayDisabledConfig, l as isCodexNativeDelegationDisabledForRun, m as resolveCodexWebSearchPlan, mt as resolveCodexDynamicToolsLoadingForRuntime, nt as stabilizeJsonValue, q as codexDynamicToolsFingerprint, st as filterCodexDynamicTools } from "./thread-requests-
|
|
36
|
-
import { _ as buildContextEngineBinding, a as buildTurnStartParams, c as assertScheduledCodexAppAuthorityRuntime, d as buildScheduledCodexAppServerConnectionIdentity, f as captureScheduledCodexAppAuthority, g as isCodexAppServerProfilerEnabled, h as resolveScheduledCodexAppCreatorCaptureDecision, i as buildTurnCollaborationMode, l as buildLegacyScheduledCodexAppRecoveryPrompt, n as buildCodexParentLocalInstructions, o as buildCodexUserInput, s as startOrResumeThread, t as buildCodexHistoryProvenancePrefix, u as buildScheduledCodexAppAuthorityInputFingerprint, v as isContextEngineBindingCompatible } from "./thread-lifecycle-
|
|
34
|
+
import { n as listAllCodexAppServerModels } from "./models-CR97NoEB.mjs";
|
|
35
|
+
import { B as hasCodexNativeToolCatalog, Ct as mergeCodexThreadConfigs, D as assertCodexNativeHookRelayAllowed, E as CodexManagedHooksOnlyError, F as scheduleCodexNativeHookRelayUnregister, G as areCodexDynamicToolFingerprintsCompatible, J as codexLegacyDynamicToolsFingerprint, N as resolveCodexNativeHookRelayEvents, O as buildCodexNativeHookRelayConfig, P as resolveCodexNativeHookRelayTtlMs, S as joinPresentSections, T as CODEX_NATIVE_HOOK_RELAY_TTL_GRACE_MS, V as loadCodexNativeToolCatalog, Z as fingerprintJsonObject, _t as buildCodexPluginThreadConfigInputFingerprint, b as resolveCodexAppServerThreadModelSelection, dt as isSystemAgentOnlyCodexDynamicToolAllowlist, g as buildDeveloperInstructions, j as createCodexNativeHookRelay, k as buildCodexNativeHookRelayDisabledConfig, l as isCodexNativeDelegationDisabledForRun, m as resolveCodexWebSearchPlan, mt as resolveCodexDynamicToolsLoadingForRuntime, nt as stabilizeJsonValue, q as codexDynamicToolsFingerprint, st as filterCodexDynamicTools } from "./thread-requests-CKEQxo_5.mjs";
|
|
36
|
+
import { _ as buildContextEngineBinding, a as buildTurnStartParams, c as assertScheduledCodexAppAuthorityRuntime, d as buildScheduledCodexAppServerConnectionIdentity, f as captureScheduledCodexAppAuthority, g as isCodexAppServerProfilerEnabled, h as resolveScheduledCodexAppCreatorCaptureDecision, i as buildTurnCollaborationMode, l as buildLegacyScheduledCodexAppRecoveryPrompt, n as buildCodexParentLocalInstructions, o as buildCodexUserInput, s as startOrResumeThread, t as buildCodexHistoryProvenancePrefix, u as buildScheduledCodexAppAuthorityInputFingerprint, v as isContextEngineBindingCompatible } from "./thread-lifecycle-BSVWNPZt.mjs";
|
|
37
37
|
import { o as createCodexSessionGenerationSupersededError, r as resolveCodexSessionBinding, s as resolveCodexRunSessionBindingAuthority, t as clearCodexBindingForClient } from "./session-binding-Ce7BqiPN.mjs";
|
|
38
|
-
import { a as CodexToolTranscriptProjection, c as shouldEmitTranscriptToolProgress, d as resolveCodexToolProgressDetailMode, f as sanitizeCodexAgentEventRecord, i as emitCodexAgentEvent, p as sanitizeCodexToolArguments, r as CodexEventProjection, s as CodexToolProgressProjection, t as codexNativeSubagentMonitorRuntime, u as isCodexCommandBearingToolCall } from "./native-subagent-monitor-
|
|
39
|
-
import { a as requestPluginApprovalOutcome } from "./plugin-approval-roundtrip-
|
|
40
|
-
import { n as CodexThreadPolicyHandoffError, s as restoreCodexThreadInstructionsAfterCompaction } from "./thread-policy-
|
|
41
|
-
import { c as withExclusiveCodexAppServerThread, r as retainCodexAppServerBindingSubscription, t as isSameCodexAppServerThreadOwner } from "./thread-ownership-
|
|
42
|
-
import { a as resolveCodexPromptError, i as refreshCodexUsageLimitPromptError, n as formatCodexTurnStartUsageLimitError, r as markCodexAuthProfileBlockedFromRateLimits, t as CodexUsageLimitPromptError } from "./usage-limit-error-
|
|
38
|
+
import { a as CodexToolTranscriptProjection, c as shouldEmitTranscriptToolProgress, d as resolveCodexToolProgressDetailMode, f as sanitizeCodexAgentEventRecord, i as emitCodexAgentEvent, p as sanitizeCodexToolArguments, r as CodexEventProjection, s as CodexToolProgressProjection, t as codexNativeSubagentMonitorRuntime, u as isCodexCommandBearingToolCall } from "./native-subagent-monitor-CkpiZfm0.mjs";
|
|
39
|
+
import { a as requestPluginApprovalOutcome } from "./plugin-approval-roundtrip-D7LyYiO6.mjs";
|
|
40
|
+
import { n as CodexThreadPolicyHandoffError, s as restoreCodexThreadInstructionsAfterCompaction } from "./thread-policy-Brc0nbdS.mjs";
|
|
41
|
+
import { c as withExclusiveCodexAppServerThread, r as retainCodexAppServerBindingSubscription, t as isSameCodexAppServerThreadOwner } from "./thread-ownership-GlDZf8J7.mjs";
|
|
42
|
+
import { a as resolveCodexPromptError, i as refreshCodexUsageLimitPromptError, n as formatCodexTurnStartUsageLimitError, r as markCodexAuthProfileBlockedFromRateLimits, t as CodexUsageLimitPromptError } from "./usage-limit-error-B26Xp5eo.mjs";
|
|
43
43
|
import { t as persistCodexContextCompactionActivity } from "./context-compaction-activity-CMla5FPJ.mjs";
|
|
44
44
|
import { t as attemptTerminal } from "./attempt-terminal-gZrxQ35N.mjs";
|
|
45
45
|
import { a as runCodexAgentEndHook, i as reportCodexBackgroundCleanupFailure, n as ensureCodexWorkspaceDirOnce, o as shouldKeepCodexSharedAbortOpen, r as estimateCodexAppServerProjectedTurnTokens, s as withCodexAppServerFastModeServiceTier, t as emitCodexAppServerEvent } from "./run-attempt-lifecycle-BuZgVbDA.mjs";
|
|
46
46
|
import { t as CODEX_INFERENCE_GENERATION_KEY } from "./inference-metadata-CgIf7sOx.mjs";
|
|
47
47
|
import "./inference-context-D-9gWlTR.mjs";
|
|
48
|
-
import { i as createAssistantReasoningMessage, n as createAssistantCommentaryMessage, r as createAssistantMessage, t as createAssistantAsyncMessage } from "./event-projector-assistant-message-
|
|
49
|
-
import { a as resolveCodexExternalSandboxPolicyForOpenClawSandbox, c as shouldEnableCodexAppServerNativeToolSurface, i as resolveCodexAppServerHookChannelId, l as shouldRequireCodexSandboxExecServerEnvironment, o as resolveCodexMessageToolProvider, p as mapCodexAppServerRemoteWorkspacePath, r as resolveCodexAppServerExecutionCwd, s as resolveCodexSandboxEnvironmentSelection, t as buildDynamicTools, u as shouldWarnCodexDynamicToolBuildStageSummary } from "./dynamic-tool-build-
|
|
50
|
-
import { n as resolveCodexPluginThreadConfigStartupPolicy, t as createCodexPluginThreadConfigStartupProvider } from "./plugin-thread-config-deadline-
|
|
48
|
+
import { i as createAssistantReasoningMessage, n as createAssistantCommentaryMessage, r as createAssistantMessage, t as createAssistantAsyncMessage } from "./event-projector-assistant-message-CRadIRA4.mjs";
|
|
49
|
+
import { a as resolveCodexExternalSandboxPolicyForOpenClawSandbox, c as shouldEnableCodexAppServerNativeToolSurface, i as resolveCodexAppServerHookChannelId, l as shouldRequireCodexSandboxExecServerEnvironment, o as resolveCodexMessageToolProvider, p as mapCodexAppServerRemoteWorkspacePath, r as resolveCodexAppServerExecutionCwd, s as resolveCodexSandboxEnvironmentSelection, t as buildDynamicTools, u as shouldWarnCodexDynamicToolBuildStageSummary } from "./dynamic-tool-build-CdUp03dV.mjs";
|
|
50
|
+
import { n as resolveCodexPluginThreadConfigStartupPolicy, t as createCodexPluginThreadConfigStartupProvider } from "./plugin-thread-config-deadline-DZw8qiVC.mjs";
|
|
51
51
|
import { i as resolveCodexSessionPermissionCwd, n as applyCodexSessionPermissionPolicy, r as resolveCodexEffectiveSessionPermissionPolicy } from "./session-permission-policy-BxIUJ0Zd.mjs";
|
|
52
|
-
import { r as prepareCodexNativeMcpFormResourceContext, t as createCodexNativeMcpAppResultDetailsPreparer } from "./native-mcp-app-
|
|
53
|
-
import { a as emitDynamicToolStartedDiagnostic, c as ensureCodexSandboxExecServerEnvironment, d as CodexNativeProcessAuthority, f as readCodexRetainedBackgroundCommands, i as emitDynamicToolErrorDiagnostic, l as releaseCodexSandboxExecServerEnvironment, m as CodexNativeToolLifecycleProjector, n as projectCodexExecutableDynamicTools, o as emitDynamicToolTerminalDiagnostic, p as createCodexRemoteWorkspaceFileReader, r as routeCodexAppServerElicitationRequest, s as handleCodexAppServerApprovalRequest, t as createCodexDynamicToolBridge, u as createCodexNativePreToolUseFailureBuffer } from "./dynamic-tools-
|
|
52
|
+
import { r as prepareCodexNativeMcpFormResourceContext, t as createCodexNativeMcpAppResultDetailsPreparer } from "./native-mcp-app-D4VcVFK7.mjs";
|
|
53
|
+
import { a as emitDynamicToolStartedDiagnostic, c as ensureCodexSandboxExecServerEnvironment, d as CodexNativeProcessAuthority, f as readCodexRetainedBackgroundCommands, i as emitDynamicToolErrorDiagnostic, l as releaseCodexSandboxExecServerEnvironment, m as CodexNativeToolLifecycleProjector, n as projectCodexExecutableDynamicTools, o as emitDynamicToolTerminalDiagnostic, p as createCodexRemoteWorkspaceFileReader, r as routeCodexAppServerElicitationRequest, s as handleCodexAppServerApprovalRequest, t as createCodexDynamicToolBridge, u as createCodexNativePreToolUseFailureBuffer } from "./dynamic-tools-3hNi6oog.mjs";
|
|
54
54
|
import { c as promptSnapshot, i as mirrorPromptAtTurnStartBestEffort, n as createCodexAppServerUserMessagePersistenceNotifier, o as buildCodexUserPromptMessage, s as buildResolvedCodexUserPromptMessage, t as codexTranscriptMirrorRuntime } from "./transcript-mirror-BfLRARNL.mjs";
|
|
55
55
|
import { t as resolveCodexAppServerForModelProvider } from "./app-server-policy-Bg4FZw1f.mjs";
|
|
56
|
-
import { a as getCodexContextFileDisplayBasename, i as getCodexContextFileBasename, n as CODEX_NATIVE_PROJECT_DOC_BASENAMES, o as isNonEmptyString, r as buildCodexWorkspaceBootstrapContext, s as normalizeCodexContextFilePath } from "./attempt-workspace-context-
|
|
56
|
+
import { a as getCodexContextFileDisplayBasename, i as getCodexContextFileBasename, n as CODEX_NATIVE_PROJECT_DOC_BASENAMES, o as isNonEmptyString, r as buildCodexWorkspaceBootstrapContext, s as normalizeCodexContextFilePath } from "./attempt-workspace-context-BRvpkEo_.mjs";
|
|
57
57
|
import { n as captureCodexSettledTurnFinalizationContext } from "./settled-turn-context-BZsMjkIO.mjs";
|
|
58
|
-
import { t as resolveCodexProviderWebSearchSupport } from "./provider-capabilities-
|
|
59
|
-
import { a as runCodexComputerUseLiveTest, i as createComputerUseRequest, t as ensureCodexComputerUse } from "./computer-use-
|
|
58
|
+
import { t as resolveCodexProviderWebSearchSupport } from "./provider-capabilities-NZytgEzO.mjs";
|
|
59
|
+
import { a as runCodexComputerUseLiveTest, i as createComputerUseRequest, t as ensureCodexComputerUse } from "./computer-use-rt0M8Bom.mjs";
|
|
60
60
|
import { asOptionalRecord, normalizeLowercaseStringOrEmpty, readNonBlankString, readStringField } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
61
61
|
import { createHash } from "node:crypto";
|
|
62
62
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -5842,6 +5842,7 @@ function prepareCodexAttemptResources(prompt) {
|
|
|
5842
5842
|
};
|
|
5843
5843
|
const startupTimeoutMs = resolveCodexStartupTimeoutMs({
|
|
5844
5844
|
timeoutMs: params.timeoutMs,
|
|
5845
|
+
requestTimeoutMs: appServer.requestTimeoutMs,
|
|
5845
5846
|
timeoutFloorMs: options.startupTimeoutFloorMs
|
|
5846
5847
|
});
|
|
5847
5848
|
const requesterChannel = params.messageChannel ?? params.messageProvider;
|
package/dist/.setup/{session-catalog-events-DRaivXvC.mjs → session-catalog-events-Ce-JJuIv.mjs}
RENAMED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c as MAX_CWD_LENGTH, d as boundedCatalogString } from "./session-catalog-parsing-B-qWJh2x.mjs";
|
|
2
|
-
import { n as defineCodexBuildState } from "./build-state-
|
|
2
|
+
import { n as defineCodexBuildState } from "./build-state-DP9Coy_6.mjs";
|
|
3
3
|
import { r as inferCodexAppServerConnectionClass } from "./config-security-KAPScztc.mjs";
|
|
4
4
|
import { n as resolveCodexAppServerLocalHomeDir } from "./auth-start-options-BPIPeEX8.mjs";
|
|
5
5
|
import { n as codexCatalogHomeIdFromCanonicalPath } from "./session-catalog-home-id-vlih0B_g.mjs";
|
|
6
6
|
import { t as buildCodexAppServerConnectionFingerprint } from "./plugin-app-cache-key-BW8rd98k.mjs";
|
|
7
|
-
import { d as observeCodexCatalogEphemeralThreads, r as projectCodexCatalogNativeThread, s as codexCatalogSourceForClient } from "./session-catalog-native-projection-
|
|
7
|
+
import { d as observeCodexCatalogEphemeralThreads, r as projectCodexCatalogNativeThread, s as codexCatalogSourceForClient } from "./session-catalog-native-projection-Cpc9sZnx.mjs";
|
|
8
8
|
import { createHash } from "node:crypto";
|
|
9
9
|
import { embeddedAgentLog } from "openclaw/plugin-sdk/agent-harness-registration";
|
|
10
10
|
import path from "node:path";
|
package/dist/.setup/{session-catalog-index-qwmgqC4t.mjs → session-catalog-index-BnHv8CX_.mjs}
RENAMED
|
@@ -2,10 +2,10 @@ import { S as readControlCursor, _ as normalizeLimit, c as MAX_CWD_LENGTH, d as
|
|
|
2
2
|
import { n as detachCodexCatalogString, t as CODEX_CATALOG_MAX_ROWS } from "./session-catalog-limits-DEU36Qlo.mjs";
|
|
3
3
|
import { i as retainCodexCatalogRow, n as codexCatalogRowRecency, r as compareCodexCatalogRows, t as CodexCatalogOrdering } from "./session-catalog-index-order-nhyO0wdW.mjs";
|
|
4
4
|
import { c as codexCatalogMetadataPage, i as CodexCatalogAvailability, r as withCodexCatalogListRequest, s as CodexCatalogPersistence } from "./session-catalog-list-request-tXephOB4.mjs";
|
|
5
|
-
import { l as getCodexCatalogSource, p as setCodexCatalogSource, r as projectCodexCatalogNativeThread, u as hasLiveCodexCatalogSource } from "./session-catalog-native-projection-
|
|
6
|
-
import { i as subscribeCodexCatalogEvents } from "./session-catalog-events-
|
|
5
|
+
import { l as getCodexCatalogSource, p as setCodexCatalogSource, r as projectCodexCatalogNativeThread, u as hasLiveCodexCatalogSource } from "./session-catalog-native-projection-Cpc9sZnx.mjs";
|
|
6
|
+
import { i as subscribeCodexCatalogEvents } from "./session-catalog-events-Ce-JJuIv.mjs";
|
|
7
7
|
import { a as reportCodexCatalogSpawnFailure, n as findCodexAppServerSpawnError } from "./spawn-error-CL3n6MAa.mjs";
|
|
8
|
-
import { CodexCatalogProjectionCapacityError, CodexCatalogProjections, mergeCodexCatalogRolloutRow, n as readCodexCatalogRollout, projectCodexCatalogThread, r as resolveCodexCatalogRolloutFingerprint, t as codexCatalogRolloutLogicalPath } from "./session-catalog-projection-
|
|
8
|
+
import { CodexCatalogProjectionCapacityError, CodexCatalogProjections, mergeCodexCatalogRolloutRow, n as readCodexCatalogRollout, projectCodexCatalogThread, r as resolveCodexCatalogRolloutFingerprint, t as codexCatalogRolloutLogicalPath } from "./session-catalog-projection-D7YtgdS_.mjs";
|
|
9
9
|
import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
10
10
|
import { createHash } from "node:crypto";
|
|
11
11
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as selectCodexCatalogPreviewInput, c as MAX_CWD_LENGTH, d as boundedCatalogString, k as truncateCodexCatalogPreview } from "./session-catalog-parsing-B-qWJh2x.mjs";
|
|
2
2
|
import { i as isJsonObject } from "./protocol-CANUwXJ3.mjs";
|
|
3
|
-
import { n as defineCodexBuildState } from "./build-state-
|
|
3
|
+
import { n as defineCodexBuildState } from "./build-state-DP9Coy_6.mjs";
|
|
4
4
|
import { n as detachCodexCatalogString } from "./session-catalog-limits-DEU36Qlo.mjs";
|
|
5
5
|
import { t as __exportAll } from "./session-binding-sidecars-BrdV95Fg.mjs";
|
|
6
6
|
import { truncateUtf16Safe } from "openclaw/plugin-sdk/text-utility-runtime";
|
|
@@ -2,7 +2,7 @@ import { D as selectCodexCatalogPreviewInput, O as toCatalogSession, S as readCo
|
|
|
2
2
|
import { n as detachCodexCatalogString } from "./session-catalog-limits-DEU36Qlo.mjs";
|
|
3
3
|
import { n as codexCatalogRowRecency } from "./session-catalog-index-order-nhyO0wdW.mjs";
|
|
4
4
|
import { t as isOpenClawManagedCodexThread } from "./session-catalog-provenance-CmsOE5mh.mjs";
|
|
5
|
-
import { c as copyCodexCatalogSource, l as getCodexCatalogSource, p as setCodexCatalogSource, r as projectCodexCatalogNativeThread } from "./session-catalog-native-projection-
|
|
5
|
+
import { c as copyCodexCatalogSource, l as getCodexCatalogSource, p as setCodexCatalogSource, r as projectCodexCatalogNativeThread } from "./session-catalog-native-projection-Cpc9sZnx.mjs";
|
|
6
6
|
import { asFiniteNumber, isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
7
7
|
import path from "node:path";
|
|
8
8
|
import fs from "node:fs/promises";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { S as retainSharedCodexAppServerClientByInstanceId } from "./auth-cache-key-
|
|
1
|
+
import { S as retainSharedCodexAppServerClientByInstanceId } from "./auth-cache-key-CeVZHm9H.mjs";
|
|
2
2
|
import { t as withCodexAppServerThreadMutation } from "./thread-ownership-queue-Dp24d7-F.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { f as unsubscribeCodexThreadBestEffort, n as CODEX_APP_SERVER_UNSUBSCRIBE_TIMEOUT_MS, o as closeCodexStartupClientBestEffort, r as CodexAppServerUnsafeSubscriptionError } from "./attempt-client-cleanup-
|
|
5
|
-
import { t as codexNativeSubagentMonitorRuntime } from "./native-subagent-monitor-
|
|
6
|
-
import { t as isSameCodexAppServerThreadOwner } from "./thread-ownership-
|
|
3
|
+
import { K as releaseCodexAppServerLiveThread, R as hasCodexAppServerLiveThread, V as isCodexAppServerLiveThreadClaimed } from "./shared-client-D2ivOIey.mjs";
|
|
4
|
+
import { f as unsubscribeCodexThreadBestEffort, n as CODEX_APP_SERVER_UNSUBSCRIBE_TIMEOUT_MS, o as closeCodexStartupClientBestEffort, r as CodexAppServerUnsafeSubscriptionError } from "./attempt-client-cleanup-hUrW3fmJ.mjs";
|
|
5
|
+
import { t as codexNativeSubagentMonitorRuntime } from "./native-subagent-monitor-CkpiZfm0.mjs";
|
|
6
|
+
import { t as isSameCodexAppServerThreadOwner } from "./thread-ownership-GlDZf8J7.mjs";
|
|
7
7
|
import { t as getCodexSessionInitializationRollback } from "./session-initialization-D6dtFQkE.mjs";
|
|
8
8
|
import { isIncognitoSessionKey } from "openclaw/plugin-sdk/session-key-runtime";
|
|
9
9
|
import { isNativeSessionDeletionUnresolved, wrapNativeSessionDeletionMutation } from "openclaw/plugin-sdk/agent-harness-session-runtime";
|
package/dist/.setup/{settled-turn-finalizer-e_24O6HA.mjs → settled-turn-finalizer-CEyM5wo_.mjs}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { r as readMirrorIdentity, t as attachCodexMirrorIdentity } from "./upstream-prompt-provenance-fXkKbPVC.mjs";
|
|
2
2
|
import { a as fingerprintCodexMirrorSourceMessage, c as readCodexMirrorSourceFingerprint } from "./transcript-mirror-attestation-YSegaktH.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { f as assertCodexPassiveTurnItems } from "./client-
|
|
5
|
-
import { o as resolveCodexLocalRuntimeAttribution } from "./native-subagent-monitor-
|
|
6
|
-
import { runBoundedCodexAppServerTurn } from "./bounded-turn-
|
|
3
|
+
import { nt as resolveCodexAppServerPreparedAuthHandoff } from "./shared-client-D2ivOIey.mjs";
|
|
4
|
+
import { f as assertCodexPassiveTurnItems } from "./client-DIC12QQ_.mjs";
|
|
5
|
+
import { o as resolveCodexLocalRuntimeAttribution } from "./native-subagent-monitor-CkpiZfm0.mjs";
|
|
6
|
+
import { runBoundedCodexAppServerTurn } from "./bounded-turn-DVI5FRqE.mjs";
|
|
7
7
|
import { t as resolveCodexBoundedTurnIsolation } from "./bounded-turn-isolation-DklXNk3k.mjs";
|
|
8
|
-
import { a as createAttributedCodexAssistantMessage } from "./event-projector-assistant-message-
|
|
8
|
+
import { a as createAttributedCodexAssistantMessage } from "./event-projector-assistant-message-CRadIRA4.mjs";
|
|
9
9
|
import { t as codexTranscriptMirrorRuntime } from "./transcript-mirror-BfLRARNL.mjs";
|
|
10
10
|
import { t as CodexSettledTurnContext } from "./settled-turn-context-BZsMjkIO.mjs";
|
|
11
11
|
import { isSilentReplyText } from "openclaw/plugin-sdk/reply-runtime";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { i as isJsonObject } from "./protocol-CANUwXJ3.mjs";
|
|
2
|
-
import { n as defineCodexBuildState, t as codexBuildSymbol } from "./build-state-
|
|
2
|
+
import { n as defineCodexBuildState, t as codexBuildSymbol } from "./build-state-DP9Coy_6.mjs";
|
|
3
3
|
import { t as CODEX_APP_SERVER_AUTH_PROVIDER } from "./auth-profile-selection-hr8ocLtz.mjs";
|
|
4
4
|
import { n as isCodexAppServerProxyLaunch } from "./launch-args-DbFCehO7.mjs";
|
|
5
5
|
import { a as withEphemeralCodexAuthStore, i as withClearedEnvironmentVariables, n as resolveCodexAppServerLocalHomeDir, r as resolveCodexAppServerUserHomeDir, t as resolveCodexAppServerHomeDir } from "./auth-start-options-BPIPeEX8.mjs";
|
|
6
6
|
import { a as resolveCodexAppServerStartOptionsForAgent, d as readCodexEffectiveConfig, o as resolveCodexComputerUseConfig, t as codexAppServerStartOptionsKey, u as CODEX_SESSION_OVERRIDABLE_LAYER_TYPES } from "./config-options-HG_Rr3W_.mjs";
|
|
7
7
|
import { d as resolveMacOSDesktopCodexBundledMarketplaceCandidates, f as resolveMacOSDesktopCodexComputerUseServiceAppCandidates, i as resolveManagedCodexNativeCommand, l as resolveFirstExistingMacOSDesktopCodexBundledMarketplacePath, r as resolveManagedCodexAppServerStartOptions, t as isManagedCodexDesktopCommand, u as resolveMacOSDesktopCodexAppPathCandidates } from "./managed-binary-C1VFoVPf.mjs";
|
|
8
|
-
import { A as waitForCodexDesktopGeneration, C as retirePendingSharedClientEntryIfUnclaimed, D as waitForUnclaimedSharedClientStartup, _ as observeSharedClientAcquire, a as readCodexCliAuthFileApiKey, b as releaseSharedClientEntry, c as resolveCodexAppServerPreparedApiKeyCacheKey, d as getCurrentSharedClientEntry, f as getOrCreateSharedClientEntry, g as observeAcquire, h as notifyDesktopGenerationDrainChecks, i as fingerprintTokenAuthProfileCacheKey, j as readCodexDesktopArtifactTreeFingerprint, k as isCodexDesktopGenerationCurrent, l as closeSharedClientEntryIfUnclaimed, n as CODEX_AUTH_JSON_FILENAME, o as readFirstNonEmptyEnv, p as getSharedCodexAppServerClientState, r as fingerprintApiKeyAuthProfileCacheKey, s as resolveCodexAppServerFallbackApiKeyCacheKey, t as CODEX_APP_SERVER_API_KEY_ENV_VARS, u as createCodexAppServerStartupLifetime, v as ownCodexStartup, w as retireSharedCodexAppServerClientIfCurrent, x as retainSharedClientEntry, y as recordSharedClientAcquireBoundary } from "./auth-cache-key-
|
|
8
|
+
import { A as waitForCodexDesktopGeneration, C as retirePendingSharedClientEntryIfUnclaimed, D as waitForUnclaimedSharedClientStartup, _ as observeSharedClientAcquire, a as readCodexCliAuthFileApiKey, b as releaseSharedClientEntry, c as resolveCodexAppServerPreparedApiKeyCacheKey, d as getCurrentSharedClientEntry, f as getOrCreateSharedClientEntry, g as observeAcquire, h as notifyDesktopGenerationDrainChecks, i as fingerprintTokenAuthProfileCacheKey, j as readCodexDesktopArtifactTreeFingerprint, k as isCodexDesktopGenerationCurrent, l as closeSharedClientEntryIfUnclaimed, n as CODEX_AUTH_JSON_FILENAME, o as readFirstNonEmptyEnv, p as getSharedCodexAppServerClientState, r as fingerprintApiKeyAuthProfileCacheKey, s as resolveCodexAppServerFallbackApiKeyCacheKey, t as CODEX_APP_SERVER_API_KEY_ENV_VARS, u as createCodexAppServerStartupLifetime, v as ownCodexStartup, w as retireSharedCodexAppServerClientIfCurrent, x as retainSharedClientEntry, y as recordSharedClientAcquireBoundary } from "./auth-cache-key-CeVZHm9H.mjs";
|
|
9
9
|
import { n as resolveCodexAppServerSpawnEnv } from "./transport-stdio-a0HDa2Mj.mjs";
|
|
10
10
|
import { n as CodexAppServerAuthProfileUnavailableError, r as formatCodexAuthProfileUnavailableMessage } from "./auth-profile-recovery-BREezV0L.mjs";
|
|
11
11
|
import { a as codexPrewriteRejectionCause } from "./rpc-error-hmWM21RB.mjs";
|
|
12
12
|
import { i as withTimeout } from "./timeout-CXOfNoaX.mjs";
|
|
13
13
|
import { n as readCodexSessionMeta } from "./session-catalog-provenance-CmsOE5mh.mjs";
|
|
14
|
-
import { n as observeCodexCatalogClient } from "./session-catalog-events-
|
|
14
|
+
import { n as observeCodexCatalogClient } from "./session-catalog-events-Ce-JJuIv.mjs";
|
|
15
15
|
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-cUYrqu_a.mjs";
|
|
16
16
|
import { a as resolveCodexAppServerAuthProfileStore, i as resolveCodexAppServerAuthProfileIdForAgent, r as resolveCodexAppServerAuthProfileId, t as isCodexAppServerNativeAuthProfile } from "./auth-profile-CgHQ8Vot.mjs";
|
|
17
17
|
import { i as isCodexResponsesOAuthCredential, n as createCodexResponsesOAuth, o as resolveCodexResponsesOAuthProfileFingerprint, r as isCodexResponsesOAuth, t as CODEX_RESPONSES_OAUTH_PROVIDER } from "./responses-oauth-twnuTaAa.mjs";
|
|
18
|
-
import { R as isUnsupportedCodexAppServerVersionError, t as CodexAppServerClient } from "./client-
|
|
18
|
+
import { R as isUnsupportedCodexAppServerVersionError, t as CodexAppServerClient } from "./client-DIC12QQ_.mjs";
|
|
19
19
|
import { n as isCodexWebSocketOpenFailure } from "./transport-websocket-zqJ0Cmtn.mjs";
|
|
20
20
|
import { t as __exportAll } from "./session-binding-sidecars-BrdV95Fg.mjs";
|
|
21
21
|
import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -39,6 +39,7 @@ import { pruneMapToMaxSize } from "openclaw/plugin-sdk/collection-runtime";
|
|
|
39
39
|
import { sleepWithAbort } from "openclaw/plugin-sdk/runtime-env";
|
|
40
40
|
//#region extensions/codex/src/app-server/attempt-timeouts.ts
|
|
41
41
|
const CODEX_APP_SERVER_STARTUP_TIMEOUT_FLOOR_MS = 100;
|
|
42
|
+
const CODEX_APP_SERVER_STARTUP_REQUEST_TIMEOUT_MULTIPLE = 10;
|
|
42
43
|
const TURN_TERMINAL_SETTLEMENT_TIMEOUT_MS = 12e4;
|
|
43
44
|
const TURN_FINALIZE_DRAIN_ABORT_GRACE_MS = 5e3;
|
|
44
45
|
var CodexAppServerStartupError = class extends Error {
|
|
@@ -90,10 +91,15 @@ async function withCodexStartupTimeout(params) {
|
|
|
90
91
|
abortCleanup?.();
|
|
91
92
|
}
|
|
92
93
|
}
|
|
94
|
+
/**
|
|
95
|
+
* Bounds app-server startup by the turn budget and, when known, by a multiple of
|
|
96
|
+
* the per-request timeout, so a turn with a long budget cannot hang silently in startup.
|
|
97
|
+
*/
|
|
93
98
|
function resolveCodexStartupTimeoutMs(params) {
|
|
94
99
|
const timeoutFloorMs = resolveTimerTimeoutMs(params.timeoutFloorMs, CODEX_APP_SERVER_STARTUP_TIMEOUT_FLOOR_MS);
|
|
95
|
-
const
|
|
96
|
-
|
|
100
|
+
const turnTimeoutMs = resolveTimerTimeoutMs(params.timeoutMs, timeoutFloorMs);
|
|
101
|
+
const requestBudgetMs = params.requestTimeoutMs === void 0 ? turnTimeoutMs : resolveTimerTimeoutMs(params.requestTimeoutMs * CODEX_APP_SERVER_STARTUP_REQUEST_TIMEOUT_MULTIPLE, turnTimeoutMs);
|
|
102
|
+
return Math.max(timeoutFloorMs, Math.min(turnTimeoutMs, requestBudgetMs));
|
|
97
103
|
}
|
|
98
104
|
function resolveCodexGatewayTimeoutWithGraceMs(timeoutMs, graceMs = 1e4) {
|
|
99
105
|
const timeout = resolveTimerTimeoutMs(timeoutMs, 1);
|
|
@@ -2183,6 +2189,11 @@ function isCodexAppServerLiveThreadClaimed(client, threadId) {
|
|
|
2183
2189
|
const runtime = configuredClients.get(client);
|
|
2184
2190
|
return runtime !== void 0 && !runtime.closed && runtime.claimedThreads.has(threadId);
|
|
2185
2191
|
}
|
|
2192
|
+
/** Native commands and children can still need an otherwise-idle subscription. */
|
|
2193
|
+
function isCodexAppServerLiveThreadProtected(client, threadId) {
|
|
2194
|
+
const runtime = configuredClients.get(client);
|
|
2195
|
+
return runtime !== void 0 && !runtime.closed && runtime.protectedThreads.has(threadId);
|
|
2196
|
+
}
|
|
2186
2197
|
function hasCodexAppServerSiblingThreadWork(client, threadId) {
|
|
2187
2198
|
return hasSiblingThreadWork(configuredClients.get(client), threadId);
|
|
2188
2199
|
}
|
|
@@ -2529,7 +2540,7 @@ async function prepareCodexInferenceRoute(params) {
|
|
|
2529
2540
|
}
|
|
2530
2541
|
pending = Promise.all([
|
|
2531
2542
|
import("./inference-proxy-DUO5E2QQ.mjs"),
|
|
2532
|
-
import("./native-subagent-monitor-
|
|
2543
|
+
import("./native-subagent-monitor-CkpiZfm0.mjs").then((n) => n.n),
|
|
2533
2544
|
import("./inference-dispatch-B5UKEUyC.mjs")
|
|
2534
2545
|
]).then(([{ createCodexInferenceProxy }, native, { createCodexInferenceModelBinding }]) => {
|
|
2535
2546
|
assertClient();
|
|
@@ -3607,4 +3618,4 @@ function clearSharedCodexAppServerClientIfCurrentAndUnclaimed(client) {
|
|
|
3607
3618
|
};
|
|
3608
3619
|
}
|
|
3609
3620
|
//#endregion
|
|
3610
|
-
export {
|
|
3621
|
+
export { createCodexEphemeralThreadPolicy as $, bindCodexInferenceThread as A, isCodexAppServerClientRuntimeLive as B, CodexThreadBindingConflictError as C, nativeHookRelayUnregisterQueue as D, isCodexContextRestartSelectionChangedError as E, consumeCodexAppServerLiveThread as F, readCodexClientSessionMeta as G, isCodexAppServerLiveThreadProtected as H, ensureCodexAppServerClientRuntime as I, revertCodexAppServerLiveThreadInstructions as J, releaseCodexAppServerLiveThread as K, forgetCodexWorkspaceReferences as L, getCodexInferenceThreadQualification as M, prepareCodexInferenceThreadConfig as N, acquireCodexNativeConfigFence as O, claimCodexAppServerLiveThread as P, rememberCodexRateLimitsRead as Q, hasCodexAppServerLiveThread as R, CodexAdoptedThreadActiveError as S, CodexThreadStartRequestError as T, prepareCodexWorkspaceReferences as U, isCodexAppServerLiveThreadClaimed as V, protectCodexAppServerLiveThread as W, readCodexRateLimitsRevision as X, unsubscribeCodexAppServerLiveThread as Y, readRecentCodexRateLimits as Z, retainSharedCodexAppServerClientIfCurrent as _, clearSharedCodexAppServerClientIfCurrentAndUnclaimed as a, hasLegacyCodexComputerUseMcpPolicy as at, withLeasedCodexAppServerClientStartSelectionRetry as b, getLeasedSharedCodexAppServerClient as c, ensureCodexComputerUseSharedPluginCache as ct, readCodexAppServerClientDesktopGeneration as d, TURN_FINALIZE_DRAIN_ABORT_GRACE_MS as dt, reconcileCodexComputerUseStartArtifacts as et, readCodexAppServerClientDesktopGenerationFingerprint as f, TURN_TERMINAL_SETTLEMENT_TIMEOUT_MS as ft, resolveCodexNativeConfigFenceKey as g, withCodexStartupTimeout as gt, releaseLeasedSharedCodexAppServerClient as h, resolveCodexStartupTimeoutMs as ht, clearSharedCodexAppServerClientIfCurrent as i, resolveClientManagedBundledMarketplacePath as it, getCodexInferenceThread as j, assertCodexInferenceRouteConfig as k, getSharedCodexAppServerClient as l, assertNotSymlink as lt, releaseCodexAppServerClientLease as m, resolveCodexGatewayTimeoutWithGraceMs as mt, captureCodexAppServerClientLifetime as n, resolveCodexAppServerPreparedAuthHandoff as nt, clearSharedCodexAppServerClientIfCurrentAndWait as o, isLegacyCodexComputerUsePluginDisabled as ot, readCodexAppServerClientProcessIdentity as p, isCodexAppServerStartupError as pt, retainCodexAppServerLiveThread as q, captureSharedCodexAppServerCatalogLifetime as r, resolveBundledComputerUseMarketplacePath as rt, createIsolatedCodexAppServerClient as s, resolveManagedCodexComputerUseConfig as st, assertCodexAppServerClientStartSelectionCurrent as t, resolveCodexAppServerAuthAccountCacheKey as tt, isCodexAppServerStartSelectionChangedError as u, CodexAppServerStartupError as ut, shared_client_exports as v, CodexThreadClientReplacementError as w, CODEX_APP_SERVER_CONTEXT_RESTART_SELECTION_CHANGED as x, waitForCodexAppServerClientDesktopGenerationDrain as y, hasCodexAppServerSiblingThreadWork as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ft as normalizeCodexDynamicToolName } from "./thread-requests-
|
|
1
|
+
import { ft as normalizeCodexDynamicToolName } from "./thread-requests-CKEQxo_5.mjs";
|
|
2
2
|
import { pinExecToolTarget } from "openclaw/plugin-sdk/codex-mcp-projection";
|
|
3
3
|
import { loadNodeExecAvailability } from "openclaw/plugin-sdk/node-selection-runtime";
|
|
4
4
|
//#region extensions/codex/src/app-server/shell-dynamic-tools.ts
|
|
@@ -6,20 +6,20 @@ import { i as resolveCodexAppServerHomeScope, l as resolveCodexModelBackedReview
|
|
|
6
6
|
import { n as formatCodexUsageLimitErrorMessage } from "./rate-limits-CMPy24F5.mjs";
|
|
7
7
|
import { i as resolveCodexBindingAppServerConnection, r as requireCodexSupervisionModelSelection } from "./binding-connection-C-08ez1w.mjs";
|
|
8
8
|
import { n as canUseCodexModelBackedApprovalsReviewerForModel, r as resolveOpenClawExecPolicyForCodexAppServer } from "./config-0Gxk3_eq.mjs";
|
|
9
|
-
import {
|
|
10
|
-
import { N as toCodexDynamicToolProtocolResponse, P as resolveCodexToolAbortTerminalReason, T as handleDynamicToolCallWithTimeout, _ as assertCodexTurnStartResponse, a as isCodexAppServerIndeterminateRequestCancellationError, k as resolveDynamicToolCallTimeoutMs, m as assertCodexThreadForkResponse, r as isCodexAppServerApprovalRequest, w as createCodexElicitationResponse, y as readCodexDynamicToolCallParams } from "./client-
|
|
11
|
-
import { d as terminateCodexBackgroundTerminals, f as unsubscribeCodexThreadBestEffort, l as retireUnsafeCodexTurnClientBestEffort, s as interruptCodexTurnAndWaitBestEffort } from "./attempt-client-cleanup-
|
|
12
|
-
import { t as CodexEphemeralTurn } from "./ephemeral-turn-
|
|
13
|
-
import { Ct as mergeCodexThreadConfigs, N as resolveCodexNativeHookRelayEvents, O as buildCodexNativeHookRelayConfig, P as resolveCodexNativeHookRelayTtlMs, _ as CODEX_NATIVE_PERSONALITY_NONE, b as resolveCodexAppServerThreadModelSelection, k as buildCodexNativeHookRelayDisabledConfig, m as resolveCodexWebSearchPlan, pt as resolveCodexDynamicToolsLoading, r as buildCodexRuntimeThreadConfig, wt as refreshCodexPluginAppApprovalPolicy } from "./thread-requests-
|
|
14
|
-
import { b as resolveCodexAppServerReasoningEffort, o as buildCodexUserInput, r as buildCodexTemporalAdditionalContext, y as readCodexSupportedReasoningEfforts } from "./thread-lifecycle-
|
|
9
|
+
import { Z as readRecentCodexRateLimits, b as withLeasedCodexAppServerClientStartSelectionRetry, c as getLeasedSharedCodexAppServerClient, m as releaseCodexAppServerClientLease, nt as resolveCodexAppServerPreparedAuthHandoff } from "./shared-client-D2ivOIey.mjs";
|
|
10
|
+
import { N as toCodexDynamicToolProtocolResponse, P as resolveCodexToolAbortTerminalReason, T as handleDynamicToolCallWithTimeout, _ as assertCodexTurnStartResponse, a as isCodexAppServerIndeterminateRequestCancellationError, k as resolveDynamicToolCallTimeoutMs, m as assertCodexThreadForkResponse, r as isCodexAppServerApprovalRequest, w as createCodexElicitationResponse, y as readCodexDynamicToolCallParams } from "./client-DIC12QQ_.mjs";
|
|
11
|
+
import { d as terminateCodexBackgroundTerminals, f as unsubscribeCodexThreadBestEffort, l as retireUnsafeCodexTurnClientBestEffort, s as interruptCodexTurnAndWaitBestEffort } from "./attempt-client-cleanup-hUrW3fmJ.mjs";
|
|
12
|
+
import { t as CodexEphemeralTurn } from "./ephemeral-turn-BVauXzx9.mjs";
|
|
13
|
+
import { Ct as mergeCodexThreadConfigs, N as resolveCodexNativeHookRelayEvents, O as buildCodexNativeHookRelayConfig, P as resolveCodexNativeHookRelayTtlMs, _ as CODEX_NATIVE_PERSONALITY_NONE, b as resolveCodexAppServerThreadModelSelection, k as buildCodexNativeHookRelayDisabledConfig, m as resolveCodexWebSearchPlan, pt as resolveCodexDynamicToolsLoading, r as buildCodexRuntimeThreadConfig, wt as refreshCodexPluginAppApprovalPolicy } from "./thread-requests-CKEQxo_5.mjs";
|
|
14
|
+
import { b as resolveCodexAppServerReasoningEffort, o as buildCodexUserInput, r as buildCodexTemporalAdditionalContext, y as readCodexSupportedReasoningEfforts } from "./thread-lifecycle-BSVWNPZt.mjs";
|
|
15
15
|
import { r as resolveCodexSessionBinding } from "./session-binding-Ce7BqiPN.mjs";
|
|
16
|
-
import { i as assertCodexSupervisionThreadLineage, n as CodexThreadPolicyHandoffError, o as refreshCodexThreadPolicy } from "./thread-policy-
|
|
16
|
+
import { i as assertCodexSupervisionThreadLineage, n as CodexThreadPolicyHandoffError, o as refreshCodexThreadPolicy } from "./thread-policy-Brc0nbdS.mjs";
|
|
17
17
|
import { t as resolveCodexNativeExecutionBlock } from "./sandbox-guard-WqE8yPge.mjs";
|
|
18
|
-
import { a as resolveCodexExternalSandboxPolicyForOpenClawSandbox, c as shouldEnableCodexAppServerNativeToolSurface, l as shouldRequireCodexSandboxExecServerEnvironment, o as resolveCodexMessageToolProvider, s as resolveCodexSandboxEnvironmentSelection, t as buildDynamicTools } from "./dynamic-tool-build-
|
|
18
|
+
import { a as resolveCodexExternalSandboxPolicyForOpenClawSandbox, c as shouldEnableCodexAppServerNativeToolSurface, l as shouldRequireCodexSandboxExecServerEnvironment, o as resolveCodexMessageToolProvider, s as resolveCodexSandboxEnvironmentSelection, t as buildDynamicTools } from "./dynamic-tool-build-CdUp03dV.mjs";
|
|
19
19
|
import { i as resolveCodexSessionPermissionCwd, n as applyCodexSessionPermissionPolicy, r as resolveCodexEffectiveSessionPermissionPolicy, t as CODEX_SESSION_PERMISSION_EXEC_MODES } from "./session-permission-policy-BxIUJ0Zd.mjs";
|
|
20
|
-
import { a as emitDynamicToolStartedDiagnostic, c as ensureCodexSandboxExecServerEnvironment, i as emitDynamicToolErrorDiagnostic, l as releaseCodexSandboxExecServerEnvironment, m as CodexNativeToolLifecycleProjector, o as emitDynamicToolTerminalDiagnostic, r as routeCodexAppServerElicitationRequest, s as handleCodexAppServerApprovalRequest, t as createCodexDynamicToolBridge, u as createCodexNativePreToolUseFailureBuffer } from "./dynamic-tools-
|
|
20
|
+
import { a as emitDynamicToolStartedDiagnostic, c as ensureCodexSandboxExecServerEnvironment, i as emitDynamicToolErrorDiagnostic, l as releaseCodexSandboxExecServerEnvironment, m as CodexNativeToolLifecycleProjector, o as emitDynamicToolTerminalDiagnostic, r as routeCodexAppServerElicitationRequest, s as handleCodexAppServerApprovalRequest, t as createCodexDynamicToolBridge, u as createCodexNativePreToolUseFailureBuffer } from "./dynamic-tools-3hNi6oog.mjs";
|
|
21
21
|
import { t as resolveCodexAppServerForModelProvider } from "./app-server-policy-Bg4FZw1f.mjs";
|
|
22
|
-
import { n as resolveCodexProviderWebSearchSupportForClient } from "./provider-capabilities-
|
|
22
|
+
import { n as resolveCodexProviderWebSearchSupportForClient } from "./provider-capabilities-NZytgEzO.mjs";
|
|
23
23
|
import { readStringField } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
24
24
|
import { randomUUID } from "node:crypto";
|
|
25
25
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as defaultCodexAppInventoryCache, r as buildCodexPluginAppCacheKey } from "./plugin-app-cache-key-BW8rd98k.mjs";
|
|
2
|
-
import { a as withCodexAppServerJsonClient } from "./request-
|
|
2
|
+
import { a as withCodexAppServerJsonClient } from "./request-Ddy7nOme.mjs";
|
|
3
3
|
import { a as pluginReadParams, i as marketplaceRef, l as CODEX_PLUGINS_MARKETPLACE_NAME, n as isOpenAiCuratedMarketplaceName } from "./plugin-inventory-Bf0_piTw.mjs";
|
|
4
4
|
import "./config-0Gxk3_eq.mjs";
|
|
5
5
|
import { t as __exportAll } from "./session-binding-sidecars-BrdV95Fg.mjs";
|