@openclaw/codex 2026.10.10-beta.1 → 2026.10.10-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.setup/{account-usage-runtime-DDCDkvtl.mjs → account-usage-runtime-BVO-lpvn.mjs} +1 -1
- package/dist/.setup/{apply-BVSXYkTV.mjs → apply-tJl5mopa.mjs} +4 -4
- package/dist/.setup/{attempt-client-cleanup-6OcbMH46.mjs → attempt-client-cleanup-DMJWXGxM.mjs} +4 -4
- package/dist/.setup/{auth-cache-key-CVcYw8HD.mjs → auth-cache-key-BW1YeaIk.mjs} +1 -1
- package/dist/.setup/{bounded-turn-mN_ekXYW.mjs → bounded-turn-BQkmyyjB.mjs} +6 -6
- package/dist/.setup/{build-state-VcujMRqP.mjs → build-state-CjLCC0wm.mjs} +1 -1
- package/dist/.setup/{client-BS8X7HmG.mjs → client--P8jwXvA.mjs} +3 -3
- package/dist/.setup/{client-catalog-response-jM38o5w1.mjs → client-catalog-response-CsDxVVOZ.mjs} +1 -1
- package/dist/.setup/{command-dispatch-DzXbHqCn.mjs → command-dispatch-DqaVBeR3.mjs} +1 -1
- package/dist/.setup/{command-handlers-tfb5Uq-O.mjs → command-handlers-i6mEjvfo.mjs} +10 -10
- package/dist/.setup/{command-rpc-SXqLQukR.mjs → command-rpc-B65jEc0r.mjs} +6 -6
- package/dist/.setup/{compact-M-JxLcbZ.mjs → compact-AO2H4RJe.mjs} +9 -9
- package/dist/.setup/{computer-use-FqQ-Flbl.mjs → computer-use-YUnu0JVx.mjs} +3 -3
- package/dist/.setup/{conversation-binding-C7MZy-Cx.mjs → conversation-binding-CfnUR-IM.mjs} +7 -7
- package/dist/.setup/{dynamic-tool-build-BjFAIG-f.mjs → dynamic-tool-build-DOub3CB5.mjs} +1 -1
- package/dist/.setup/{dynamic-tools-XqWsVjcC.mjs → dynamic-tools-Us5mvq_N.mjs} +6 -6
- package/dist/.setup/{effective-mcp-catalog-C3ta5hHc.mjs → effective-mcp-catalog-DfUUoeeM.mjs} +4 -4
- package/dist/.setup/{ephemeral-turn-1ZF17fUR.mjs → ephemeral-turn-B2z0RIeF.mjs} +2 -2
- package/dist/.setup/{inference-context-mv_dBpAL.mjs → inference-context-HRw3PDwn.mjs} +1 -1
- package/dist/.setup/{inference-proxy-yd3hr2dr.mjs → inference-proxy-CiLbHMLf.mjs} +1 -1
- package/dist/.setup/{isolated-completion-P-r8NRE4.mjs → isolated-completion-CybgD6uU.mjs} +3 -3
- package/dist/.setup/{mcp-app-session-preparation-fnsnCovu.mjs → mcp-app-session-preparation-zUgpDLWR.mjs} +3 -3
- package/dist/.setup/{model-catalog-Y_esgRPY.mjs → model-catalog-CWY3wo0B.mjs} +5 -5
- package/dist/.setup/{models-BWLEUo2E.mjs → models-CmOBxsKF.mjs} +3 -3
- package/dist/.setup/{native-hook-relay-C7aaLJaP.mjs → native-hook-relay-CocOW9YS.mjs} +3 -3
- package/dist/.setup/{native-mcp-app-CsWj-v_x.mjs → native-mcp-app-DrQeLxXj.mjs} +4 -4
- package/dist/.setup/{native-skill-isolation-CMimsKYy.mjs → native-skill-isolation-DL4-PQa4.mjs} +2 -2
- package/dist/.setup/{native-subagent-monitor-CFE7b4oC.mjs → native-subagent-monitor-C3CIIaZG.mjs} +6 -6
- package/dist/.setup/{plan-B4cHgqNv.mjs → plan-Bqj6VQvQ.mjs} +2 -2
- package/dist/.setup/{plugin-approval-roundtrip-DIZHLbAM.mjs → plugin-approval-roundtrip-CGEiG7hG.mjs} +1 -1
- package/dist/.setup/{provider-wj_LFJH3.mjs → provider-C_1fMsyD.mjs} +4 -4
- package/dist/.setup/{provider-capabilities-DjcKunHS.mjs → provider-capabilities-C7pYYpvh.mjs} +1 -1
- package/dist/.setup/{request-ePeNJrOd.mjs → request-C6U8q2uz.mjs} +1 -1
- package/dist/.setup/{run-attempt-BcWArowv.mjs → run-attempt-BhuXanLv.mjs} +20 -20
- package/dist/.setup/{session-cancellation-DLBSJO5n.mjs → session-cancellation-DCN1FcBZ.mjs} +4 -4
- package/dist/.setup/{session-catalog-events-DK0opVp3.mjs → session-catalog-events-CEi6SuLQ.mjs} +3 -3
- package/dist/.setup/{session-catalog-index-BfzfdtH7.mjs → session-catalog-index-qt4UWBua.mjs} +4 -4
- package/dist/.setup/{session-catalog-native-projection-G3lSDYYG.mjs → session-catalog-native-projection-BqBYi6kV.mjs} +1 -1
- package/dist/.setup/{session-catalog-projection-BjWE414G.mjs → session-catalog-projection-CNyhjZze.mjs} +1 -1
- package/dist/.setup/{session-catalog-source-DqyuNxCe.mjs → session-catalog-source-z_mNyQdX.mjs} +1 -1
- package/dist/.setup/{session-retirement-Ci_JvOfH.mjs → session-retirement-RZStisKb.mjs} +5 -5
- package/dist/.setup/{settled-turn-finalizer-D3-KXsbP.mjs → settled-turn-finalizer-gioXygEX.mjs} +3 -3
- package/dist/.setup/{shared-client-CE_uY0A1.mjs → shared-client-CkyTrNB8.mjs} +6 -6
- package/dist/.setup/{side-question-OM18H9WJ.mjs → side-question-DHPWKgO3.mjs} +13 -13
- package/dist/.setup/{source-uGKgKWm8.mjs → source-63MLSmLJ.mjs} +1 -1
- package/dist/.setup/{thread-lifecycle-run-mLueY6pH.mjs → thread-lifecycle-run-zCXYFW8W.mjs} +13 -13
- package/dist/.setup/{thread-ownership-t6Y9fLQS.mjs → thread-ownership-Bmk5a2Gu.mjs} +3 -3
- package/dist/.setup/{thread-policy-Cy301Or8.mjs → thread-policy-DYtvZ5Ay.mjs} +3 -3
- package/dist/.setup/{thread-resume-BUbsUfgF.mjs → thread-resume-vBShG3-o.mjs} +4 -4
- package/dist/.setup/{turn-router-Dbw17k3K.mjs → turn-router-BGj67FMK.mjs} +1 -1
- package/dist/.setup/{upstream-session-fork-_LYkh0nZ.mjs → upstream-session-fork-CWKjpdtW.mjs} +8 -8
- package/dist/.setup/{usage-w_93wnnR.mjs → usage-AhrLFxZP.mjs} +1 -1
- package/dist/.setup/{usage-limit-error-DcOSH3J4.mjs → usage-limit-error-BdNbGJC3.mjs} +1 -1
- package/dist/.setup/{web-search-provider.runtime-DMHxve5v.mjs → web-search-provider.runtime-Yk6lnJBG.mjs} +1 -1
- package/dist/catalog-page.worker.js +1 -1
- package/dist/harness.js +16 -16
- 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
|
@@ -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-63MLSmLJ.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-Bqj6VQvQ.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-tJl5mopa.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-tJl5mopa.mjs");
|
|
42
42
|
return await applyCodexMigrationPlan({
|
|
43
43
|
ctx,
|
|
44
44
|
plan,
|
package/dist/.setup/{provider-capabilities-DjcKunHS.mjs → provider-capabilities-C7pYYpvh.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as releaseLeasedSharedCodexAppServerClient } from "./shared-client-
|
|
1
|
+
import { f as releaseLeasedSharedCodexAppServerClient } from "./shared-client-CkyTrNB8.mjs";
|
|
2
2
|
//#region extensions/codex/src/app-server/provider-capabilities.ts
|
|
3
3
|
function resolveOverriddenProviderWebSearchSupport(modelProviderOverride) {
|
|
4
4
|
const provider = modelProviderOverride?.trim().toLowerCase();
|
|
@@ -289,7 +289,7 @@ async function withCodexAppServerJsonClient(params, run) {
|
|
|
289
289
|
timeoutMessage,
|
|
290
290
|
promise: (async () => {
|
|
291
291
|
const { prepareCodexAppServerDirectSandboxBypassBlock } = await import("./sandbox-guard-DneAfNye.mjs").then((n) => n.a);
|
|
292
|
-
const { createIsolatedCodexAppServerClient, getLeasedSharedCodexAppServerClient, releaseLeasedSharedCodexAppServerClient } = await import("./shared-client-
|
|
292
|
+
const { createIsolatedCodexAppServerClient, getLeasedSharedCodexAppServerClient, releaseLeasedSharedCodexAppServerClient } = await import("./shared-client-CkyTrNB8.mjs").then((n) => n.m);
|
|
293
293
|
errorPhase = void 0;
|
|
294
294
|
setPhase("prepare");
|
|
295
295
|
throwIfAbandoned();
|
|
@@ -2,13 +2,13 @@ import { n as readCodexRuntimeModelId } from "./model-runtime-BdqzOMkU.mjs";
|
|
|
2
2
|
import { g as createCodexNativeSubagentHistoryOwner } from "./native-subagent-pending-assignments-CTinVtjo.mjs";
|
|
3
3
|
import { n as flattenCodexDynamicToolFunctions, r as isJsonObject, t as CODEX_OPENCLAW_DIRECT_DYNAMIC_TOOL_NAMESPACE } from "./protocol-CaPAVwe9.mjs";
|
|
4
4
|
import { g as sessionBindingIdentity, i as matchesCodexNativeSubagentSubmissionBinding, n as assertCodexBindingMayBeReplaced } from "./session-binding-record-C_THntMe.mjs";
|
|
5
|
-
import { n as defineCodexBuildState } from "./build-state-
|
|
5
|
+
import { n as defineCodexBuildState } from "./build-state-CjLCC0wm.mjs";
|
|
6
6
|
import { c as withMcpElicitationsApprovalPolicy, d as readCodexRequirementsToml, n as hasCodexMcpToolApprovalOverrides, s as shouldAutoApproveCodexAppServerApprovals } from "./config-security-clxAZYWX.mjs";
|
|
7
7
|
import { c as isCodexPairedNodeRemoteExecPlacementSandbox, d as readCodexPluginConfig, f as resolveCodexPluginsPolicy, l as isCodexRemoteExecPlacementSandbox, u as isCodexSandboxExecServerEnabled } from "./config-parsing-DsWSCPHO.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-DMFZkd3X.mjs";
|
|
11
|
-
import { D as retireSharedCodexAppServerClientIfCurrent, _ as observeAcquire, c as resolveCodexAppServerPreparedApiKeyCacheKey, s as resolveCodexAppServerFallbackApiKeyCacheKey } from "./auth-cache-key-
|
|
11
|
+
import { D as retireSharedCodexAppServerClientIfCurrent, _ as observeAcquire, c as resolveCodexAppServerPreparedApiKeyCacheKey, s as resolveCodexAppServerFallbackApiKeyCacheKey } from "./auth-cache-key-BW1YeaIk.mjs";
|
|
12
12
|
import { i as withCodexAppServerGitConfig } from "./transport-stdio-Bq160Dhv.mjs";
|
|
13
13
|
import { o as formatCodexDisplayText } from "./command-formatters-B_7-QZ1c.mjs";
|
|
14
14
|
import { a as codexPrewriteRejectionCause, r as CodexAppServerRpcError } from "./rpc-error-DemqqaxE.mjs";
|
|
@@ -23,43 +23,43 @@ import { t as readCodexMirroredSessionHistoryMessages } from "./session-history-
|
|
|
23
23
|
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-PIeLSnR-.mjs";
|
|
24
24
|
import { a as buildCodexMirrorIdempotencyKey, i as buildCodexMirrorDedupeIdentity, s as hasCodexMirrorOrigin, t as applyCodexTranscriptTaint } from "./transcript-mirror-attestation-BzUXnrvv.mjs";
|
|
25
25
|
import { i as resolveCodexAppServerAuthProfileIdForAgent, r as resolveCodexAppServerAuthProfileId } from "./auth-profile-auwzSwwy.mjs";
|
|
26
|
-
import { C as getCodexInferenceThread, F as prepareCodexWorkspaceReferences, I as protectCodexAppServerLiveThread, J as recordCodexTurnForkSettings, O as ensureCodexAppServerClientRuntime, Q as resolveCodexAppServerPreparedAuthHandoff, U as readCodexRateLimitsRevision, W as readRecentCodexRateLimits, Z as resolveCodexAppServerAuthAccountCacheKey, a as createIsolatedCodexAppServerClient, ct as TURN_TERMINAL_SETTLEMENT_TIMEOUT_MS, dt as resolveCodexStartupTimeoutMs, f as releaseLeasedSharedCodexAppServerClient, ft as withCodexStartupTimeout, l as readCodexAppServerClientDesktopGenerationFingerprint, o as getLeasedSharedCodexAppServerClient, ot as CodexAppServerStartupError, p as retainSharedCodexAppServerClientIfCurrent, r as clearSharedCodexAppServerClientIfCurrentAndUnclaimed, s as getSharedCodexAppServerClient, st as TURN_FINALIZE_DRAIN_ABORT_GRACE_MS, v as CodexThreadClientReplacementError, w as getCodexInferenceThreadQualification } from "./shared-client-
|
|
26
|
+
import { C as getCodexInferenceThread, F as prepareCodexWorkspaceReferences, I as protectCodexAppServerLiveThread, J as recordCodexTurnForkSettings, O as ensureCodexAppServerClientRuntime, Q as resolveCodexAppServerPreparedAuthHandoff, U as readCodexRateLimitsRevision, W as readRecentCodexRateLimits, Z as resolveCodexAppServerAuthAccountCacheKey, a as createIsolatedCodexAppServerClient, ct as TURN_TERMINAL_SETTLEMENT_TIMEOUT_MS, dt as resolveCodexStartupTimeoutMs, f as releaseLeasedSharedCodexAppServerClient, ft as withCodexStartupTimeout, l as readCodexAppServerClientDesktopGenerationFingerprint, o as getLeasedSharedCodexAppServerClient, ot as CodexAppServerStartupError, p as retainSharedCodexAppServerClientIfCurrent, r as clearSharedCodexAppServerClientIfCurrentAndUnclaimed, s as getSharedCodexAppServerClient, st as TURN_FINALIZE_DRAIN_ABORT_GRACE_MS, v as CodexThreadClientReplacementError, w as getCodexInferenceThreadQualification } from "./shared-client-CkyTrNB8.mjs";
|
|
27
27
|
import { a as isCodexResponsesOAuthRun, r as isCodexResponsesOAuth } from "./responses-oauth-CCV7aVYF.mjs";
|
|
28
|
-
import { C as createCodexElicitationResponse, D as toCodexDynamicToolProtocolResponse, E as toCodexDynamicToolProgressResponse, P as resolveCodexAppServerClientInstanceId, T as resolveDynamicToolCallTimeoutMs, a as isCodexAppServerIndeterminateTransportError, b as readCodexTurnCompletedNotification, c as CodexServerRequestResolvedError, g as assertCodexTurnStartResponse, i as isCodexAppServerIndeterminateRequestCancellationError, j as readCodexAppServerWarningMessage, r as isCodexAppServerApprovalRequest, v as readCodexDynamicToolCallParams, w as handleDynamicToolCallWithTimeout } from "./client
|
|
28
|
+
import { C as createCodexElicitationResponse, D as toCodexDynamicToolProtocolResponse, E as toCodexDynamicToolProgressResponse, P as resolveCodexAppServerClientInstanceId, T as resolveDynamicToolCallTimeoutMs, a as isCodexAppServerIndeterminateTransportError, b as readCodexTurnCompletedNotification, c as CodexServerRequestResolvedError, g as assertCodexTurnStartResponse, i as isCodexAppServerIndeterminateRequestCancellationError, j as readCodexAppServerWarningMessage, r as isCodexAppServerApprovalRequest, v as readCodexDynamicToolCallParams, w as handleDynamicToolCallWithTimeout } from "./client--P8jwXvA.mjs";
|
|
29
29
|
import { s as CODEX_APP_SERVER_OPT_OUT_NOTIFICATION_METHODS } from "./client-initialize-CjgZcX61.mjs";
|
|
30
|
-
import { S as shouldClearTerminalPresentationForNativeItem, _ as itemName, a as isCodexNotificationForTurn, b as matchesCodexSnapshotTurn, i as CodexProjectionDiagnostics, n as getCodexAppServerTurnRouter, o as readCodexNotificationScope, s as readCodexNotificationThreadId, t as CODEX_APP_SERVER_NATIVE_TURN_WAIT_TIMEOUT_MS, x as shouldAdvancePersistableAssistantBarrier } 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 { S as shouldClearTerminalPresentationForNativeItem, _ as itemName, a as isCodexNotificationForTurn, b as matchesCodexSnapshotTurn, i as CodexProjectionDiagnostics, n as getCodexAppServerTurnRouter, o as readCodexNotificationScope, s as readCodexNotificationThreadId, t as CODEX_APP_SERVER_NATIVE_TURN_WAIT_TIMEOUT_MS, x as shouldAdvancePersistableAssistantBarrier } from "./turn-router-BGj67FMK.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-DMJWXGxM.mjs";
|
|
32
32
|
import { r as prepareCodexAppServerAuthBinding } from "./auth-binding-830RLAJW.mjs";
|
|
33
33
|
import { a as isRawFunctionToolOutputCompletionNotification, c as readRawResponseToolCallId, i as isCodexTurnAbortMarkerNotification, l as updateActiveTurnItemIds, o as isTerminalTurnStatus, r as completePendingOpenClawDynamicToolNotification, s as readCodexNotificationItem, t as CodexUsageProjection } from "./event-projector-usage-CBY0Hkga.mjs";
|
|
34
34
|
import { d as mergeCodexThreadConfigs } from "./project-doc-thread-config-B0UI3f1D.mjs";
|
|
35
35
|
import { B as resolveCodexDynamicToolsLoadingForRuntime, L as isSystemAgentOnlyCodexDynamicToolAllowlist, P as filterCodexDynamicTools, V as joinPresentSections, _ as buildDeveloperInstructions, b as codexDynamicToolsFingerprint, h as resolveCodexWebSearchPlan, k as stabilizeJsonValue, l as isCodexNativeDelegationDisabledForRun, v as areCodexDynamicToolFingerprintsCompatible, w as fingerprintJsonObject, x as codexLegacyDynamicToolsFingerprint } from "./thread-requests-BjawdIVV.mjs";
|
|
36
36
|
import { i as resolveCodexSessionBinding, n as createCodexSessionGenerationSupersededError, t as clearCodexBindingForClient } from "./session-binding-BgsWcbdY.mjs";
|
|
37
37
|
import { i as resolveCodexAppServerThreadModelSelection } from "./thread-model-selection-DxposL4X.mjs";
|
|
38
|
-
import { a as resolveCodexPromptError, i as refreshCodexUsageLimitPromptError, n as formatCodexTurnStartUsageLimitError, r as markCodexAuthProfileBlockedFromRateLimits, t as CodexUsageLimitPromptError } from "./usage-limit-error-
|
|
39
|
-
import { c as withExclusiveCodexAppServerThread, r as retainCodexAppServerBindingSubscription, t as isSameCodexAppServerThreadOwner } from "./thread-ownership-
|
|
38
|
+
import { a as resolveCodexPromptError, i as refreshCodexUsageLimitPromptError, n as formatCodexTurnStartUsageLimitError, r as markCodexAuthProfileBlockedFromRateLimits, t as CodexUsageLimitPromptError } from "./usage-limit-error-BdNbGJC3.mjs";
|
|
39
|
+
import { c as withExclusiveCodexAppServerThread, r as retainCodexAppServerBindingSubscription, t as isSameCodexAppServerThreadOwner } from "./thread-ownership-Bmk5a2Gu.mjs";
|
|
40
40
|
import { t as persistCodexContextCompactionActivity } from "./context-compaction-activity-CMla5FPJ.mjs";
|
|
41
|
-
import { a as CodexToolTranscriptProjection, c as asCodexToolArguments, i as emitCodexAgentEvent, l as isCodexCommandBearingToolCall, o as CodexToolProgressProjection, r as CodexEventProjection, s as shouldEmitTranscriptToolProgress, t as codexNativeSubagentMonitorRuntime, u as resolveCodexToolProgressDetailMode } from "./native-subagent-monitor-
|
|
42
|
-
import { a as requestPluginApprovalOutcome } from "./plugin-approval-roundtrip-
|
|
41
|
+
import { a as CodexToolTranscriptProjection, c as asCodexToolArguments, i as emitCodexAgentEvent, l as isCodexCommandBearingToolCall, o as CodexToolProgressProjection, r as CodexEventProjection, s as shouldEmitTranscriptToolProgress, t as codexNativeSubagentMonitorRuntime, u as resolveCodexToolProgressDetailMode } from "./native-subagent-monitor-C3CIIaZG.mjs";
|
|
42
|
+
import { a as requestPluginApprovalOutcome } from "./plugin-approval-roundtrip-CGEiG7hG.mjs";
|
|
43
43
|
import { r as prepareCodexNativeExecutionPolicyForRun } from "./native-execution-policy-D09tLP-u.mjs";
|
|
44
|
-
import { n as CodexThreadPolicyHandoffError, s as restoreCodexThreadInstructionsAfterCompaction } from "./thread-policy-
|
|
44
|
+
import { n as CodexThreadPolicyHandoffError, s as restoreCodexThreadInstructionsAfterCompaction } from "./thread-policy-DYtvZ5Ay.mjs";
|
|
45
45
|
import { t as attemptTerminal } from "./attempt-terminal-sZutF0WY.mjs";
|
|
46
46
|
import { a as runCodexAgentEndHook, c as withCodexAppServerFastModeServiceTier, i as reportCodexBackgroundCleanupFailure, n as ensureCodexWorkspaceDirOnce, o as runCodexCleanupStep, r as estimateCodexAppServerProjectedTurnTokens, s as shouldKeepCodexSharedAbortOpen, t as emitCodexAppServerEvent } from "./run-attempt-lifecycle-DN-ATDp9.mjs";
|
|
47
47
|
import { t as CODEX_INFERENCE_GENERATION_KEY } from "./inference-metadata-CYFWLHVk.mjs";
|
|
48
|
-
import "./inference-context-
|
|
48
|
+
import "./inference-context-HRw3PDwn.mjs";
|
|
49
49
|
import { i as createAssistantReasoningMessage, n as createAssistantCommentaryMessage, r as createAssistantMessage, t as createAssistantAsyncDelivery } from "./event-projector-assistant-message-ChOAY7rW.mjs";
|
|
50
|
-
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-
|
|
51
|
-
import { a as buildCodexNativeHookRelayDisabledConfig, d as scheduleCodexNativeHookRelayUnregister, i as buildCodexNativeHookRelayConfig, l as resolveCodexNativeHookRelayEvents, n as CodexManagedHooksOnlyError, r as assertCodexNativeHookRelayAllowed, s as createCodexNativeHookRelay, t as CODEX_NATIVE_HOOK_RELAY_TTL_GRACE_MS, u as resolveCodexNativeHookRelayTtlMs } from "./native-hook-relay-
|
|
52
|
-
import { a as prepareCodexPluginThreadConfigStartupProvider, c as buildLegacyScheduledCodexAppRecoveryPrompt, d as resolveScheduledCodexAppCreatorCaptureDecision, i as isContextEngineBindingCompatible, l as buildScheduledCodexAppServerConnectionIdentity, n as isCodexAppServerProfilerEnabled, o as resolveCodexPluginThreadConfigStartupPolicy, r as buildContextEngineBinding, s as assertScheduledCodexAppAuthorityRuntime, t as startOrResumeThread, u as captureScheduledCodexAppAuthority } from "./thread-lifecycle-run-
|
|
50
|
+
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-DOub3CB5.mjs";
|
|
51
|
+
import { a as buildCodexNativeHookRelayDisabledConfig, d as scheduleCodexNativeHookRelayUnregister, i as buildCodexNativeHookRelayConfig, l as resolveCodexNativeHookRelayEvents, n as CodexManagedHooksOnlyError, r as assertCodexNativeHookRelayAllowed, s as createCodexNativeHookRelay, t as CODEX_NATIVE_HOOK_RELAY_TTL_GRACE_MS, u as resolveCodexNativeHookRelayTtlMs } from "./native-hook-relay-CocOW9YS.mjs";
|
|
52
|
+
import { a as prepareCodexPluginThreadConfigStartupProvider, c as buildLegacyScheduledCodexAppRecoveryPrompt, d as resolveScheduledCodexAppCreatorCaptureDecision, i as isContextEngineBindingCompatible, l as buildScheduledCodexAppServerConnectionIdentity, n as isCodexAppServerProfilerEnabled, o as resolveCodexPluginThreadConfigStartupPolicy, r as buildContextEngineBinding, s as assertScheduledCodexAppAuthorityRuntime, t as startOrResumeThread, u as captureScheduledCodexAppAuthority } from "./thread-lifecycle-run-zCXYFW8W.mjs";
|
|
53
53
|
import { i as resolveCodexSessionPermissionCwd, n as applyCodexSessionPermissionPolicy, r as resolveCodexEffectiveSessionPermissionPolicy } from "./session-permission-policy-CD2MAWU8.mjs";
|
|
54
|
-
import { o as hasCodexNativeToolCatalog, s as loadCodexNativeToolCatalog } from "./native-skill-isolation-
|
|
55
|
-
import { r as prepareCodexNativeMcpFormResourceContext, t as createCodexNativeMcpAppResultDetailsPreparer } from "./native-mcp-app-
|
|
56
|
-
import { _ as invalidateCodexComputerFrame, a as handleCodexAppServerApprovalRequest, c as createCodexNativePreToolUseFailureBuffer, f as buildTurnCollaborationMode, g as buildCodexUserInput, h as readCodexRetainedBackgroundCommands, i as createCodexDynamicToolDiagnostics, l as buildCodexHistoryProvenancePrefix, m as CodexNativeProcessAuthority, n as projectCodexExecutableDynamicTools, o as ensureCodexSandboxExecServerEnvironment, p as buildTurnStartParams, r as routeCodexAppServerElicitationRequest, s as releaseCodexSandboxExecServerEnvironment, t as createCodexDynamicToolBridge, u as buildCodexParentLocalInstructions, v as createCodexRemoteWorkspaceFileReader, y as CodexNativeToolLifecycleProjector } from "./dynamic-tools-
|
|
54
|
+
import { o as hasCodexNativeToolCatalog, s as loadCodexNativeToolCatalog } from "./native-skill-isolation-DL4-PQa4.mjs";
|
|
55
|
+
import { r as prepareCodexNativeMcpFormResourceContext, t as createCodexNativeMcpAppResultDetailsPreparer } from "./native-mcp-app-DrQeLxXj.mjs";
|
|
56
|
+
import { _ as invalidateCodexComputerFrame, a as handleCodexAppServerApprovalRequest, c as createCodexNativePreToolUseFailureBuffer, f as buildTurnCollaborationMode, g as buildCodexUserInput, h as readCodexRetainedBackgroundCommands, i as createCodexDynamicToolDiagnostics, l as buildCodexHistoryProvenancePrefix, m as CodexNativeProcessAuthority, n as projectCodexExecutableDynamicTools, o as ensureCodexSandboxExecServerEnvironment, p as buildTurnStartParams, r as routeCodexAppServerElicitationRequest, s as releaseCodexSandboxExecServerEnvironment, t as createCodexDynamicToolBridge, u as buildCodexParentLocalInstructions, v as createCodexRemoteWorkspaceFileReader, y as CodexNativeToolLifecycleProjector } from "./dynamic-tools-Us5mvq_N.mjs";
|
|
57
57
|
import { c as promptSnapshot, i as mirrorPromptAtTurnStartBestEffort, n as createCodexAppServerUserMessagePersistenceNotifier, o as buildCodexUserPromptMessage, s as buildResolvedCodexUserPromptMessage, t as codexTranscriptMirrorRuntime } from "./transcript-mirror-CEQJZlF3.mjs";
|
|
58
58
|
import { t as resolveCodexAppServerForModelProvider } from "./app-server-policy-Cog6mm2i.mjs";
|
|
59
59
|
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-GYPLawX6.mjs";
|
|
60
60
|
import { n as captureCodexSettledTurnFinalizationContext } from "./settled-turn-context-BPL6D3RO.mjs";
|
|
61
|
-
import { t as resolveCodexProviderWebSearchSupport } from "./provider-capabilities-
|
|
62
|
-
import { a as runCodexComputerUseLiveTest, i as createComputerUseRequest, t as ensureCodexComputerUse } from "./computer-use-
|
|
61
|
+
import { t as resolveCodexProviderWebSearchSupport } from "./provider-capabilities-C7pYYpvh.mjs";
|
|
62
|
+
import { a as runCodexComputerUseLiveTest, i as createComputerUseRequest, t as ensureCodexComputerUse } from "./computer-use-YUnu0JVx.mjs";
|
|
63
63
|
import { asOptionalRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalString, readNonBlankString, readStringField } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
64
64
|
import { createHash, randomUUID } from "node:crypto";
|
|
65
65
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as retainSharedCodexAppServerClientByInstanceId } from "./auth-cache-key-
|
|
2
|
-
import "./shared-client-
|
|
3
|
-
import { t as isSameCodexAppServerThreadOwner } from "./thread-ownership-
|
|
4
|
-
import { t as codexNativeSubagentMonitorRuntime } from "./native-subagent-monitor-
|
|
1
|
+
import { T as retainSharedCodexAppServerClientByInstanceId } from "./auth-cache-key-BW1YeaIk.mjs";
|
|
2
|
+
import "./shared-client-CkyTrNB8.mjs";
|
|
3
|
+
import { t as isSameCodexAppServerThreadOwner } from "./thread-ownership-Bmk5a2Gu.mjs";
|
|
4
|
+
import { t as codexNativeSubagentMonitorRuntime } from "./native-subagent-monitor-C3CIIaZG.mjs";
|
|
5
5
|
//#region extensions/codex/src/app-server/session-cancellation.ts
|
|
6
6
|
/** Stop owns admitted descendants, without retiring the session or its native history. */
|
|
7
7
|
async function withCodexSessionDescendantCancellation(bindingStore, params, run) {
|
package/dist/.setup/{session-catalog-events-DK0opVp3.mjs → session-catalog-events-CEi6SuLQ.mjs}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { c as MAX_CWD_LENGTH, d as boundedCatalogString } from "./session-catalog-parsing-V6jyFg9g.mjs";
|
|
2
|
-
import { n as defineCodexBuildState } from "./build-state-
|
|
2
|
+
import { n as defineCodexBuildState } from "./build-state-CjLCC0wm.mjs";
|
|
3
3
|
import { r as inferCodexAppServerConnectionClass } from "./config-security-clxAZYWX.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-DRb-niJc.mjs";
|
|
7
|
-
import { a as observeCodexCatalogEphemeralThreads, n as codexCatalogSourceForClient } from "./session-catalog-source-
|
|
8
|
-
import { r as projectCodexCatalogNativeThread } from "./session-catalog-native-projection-
|
|
7
|
+
import { a as observeCodexCatalogEphemeralThreads, n as codexCatalogSourceForClient } from "./session-catalog-source-z_mNyQdX.mjs";
|
|
8
|
+
import { r as projectCodexCatalogNativeThread } from "./session-catalog-native-projection-BqBYi6kV.mjs";
|
|
9
9
|
import { createHash } from "node:crypto";
|
|
10
10
|
import { embeddedAgentLog } from "openclaw/plugin-sdk/agent-harness-registration";
|
|
11
11
|
import path from "node:path";
|
package/dist/.setup/{session-catalog-index-BfzfdtH7.mjs → session-catalog-index-qt4UWBua.mjs}
RENAMED
|
@@ -2,11 +2,11 @@ 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-Dc6E0BZz.mjs";
|
|
3
3
|
import { i as retainCodexCatalogRow, n as codexCatalogRowRecency, r as compareCodexCatalogRows, t as CodexCatalogOrdering } from "./session-catalog-index-order-0Zqng2u8.mjs";
|
|
4
4
|
import { c as CodexCatalogPersistence, i as CodexCatalogAvailability, l as codexCatalogMetadataPage, r as withCodexCatalogListRequest } from "./session-catalog-list-request-CAjoWjaH.mjs";
|
|
5
|
-
import { i as getCodexCatalogSource, s as setCodexCatalogSource } from "./session-catalog-source-
|
|
6
|
-
import { r as projectCodexCatalogNativeThread } from "./session-catalog-native-projection-
|
|
7
|
-
import { i as subscribeCodexCatalogEvents } from "./session-catalog-events-
|
|
5
|
+
import { i as getCodexCatalogSource, s as setCodexCatalogSource } from "./session-catalog-source-z_mNyQdX.mjs";
|
|
6
|
+
import { r as projectCodexCatalogNativeThread } from "./session-catalog-native-projection-BqBYi6kV.mjs";
|
|
7
|
+
import { i as subscribeCodexCatalogEvents } from "./session-catalog-events-CEi6SuLQ.mjs";
|
|
8
8
|
import { a as reportCodexCatalogSpawnFailure, n as findCodexAppServerSpawnError } from "./spawn-error-CL3n6MAa.mjs";
|
|
9
|
-
import { CodexCatalogProjectionCapacityError, CodexCatalogProjections, mergeCodexCatalogRolloutRow, n as readCodexCatalogRollout, projectCodexCatalogPage, r as resolveCodexCatalogRolloutFingerprint, t as codexCatalogRolloutLogicalPath } from "./session-catalog-projection-
|
|
9
|
+
import { CodexCatalogProjectionCapacityError, CodexCatalogProjections, mergeCodexCatalogRolloutRow, n as readCodexCatalogRollout, projectCodexCatalogPage, r as resolveCodexCatalogRolloutFingerprint, t as codexCatalogRolloutLogicalPath } from "./session-catalog-projection-CNyhjZze.mjs";
|
|
10
10
|
import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
11
11
|
import { createHash } from "node:crypto";
|
|
12
12
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { D as selectCodexCatalogPreviewInput, c as MAX_CWD_LENGTH, d as boundedCatalogString, k as truncateCodexCatalogPreview } from "./session-catalog-parsing-V6jyFg9g.mjs";
|
|
2
2
|
import { r as isJsonObject } from "./protocol-CaPAVwe9.mjs";
|
|
3
3
|
import { n as detachCodexCatalogString } from "./session-catalog-limits-Dc6E0BZz.mjs";
|
|
4
|
-
import { r as copyCodexCatalogSource } from "./session-catalog-source-
|
|
4
|
+
import { r as copyCodexCatalogSource } from "./session-catalog-source-z_mNyQdX.mjs";
|
|
5
5
|
import { t as __exportAll } from "./session-binding-sidecars-BNSS6WL4.mjs";
|
|
6
6
|
import { truncateUtf16Safe } from "openclaw/plugin-sdk/text-utility-runtime";
|
|
7
7
|
//#region extensions/codex/src/session-catalog-native-projection.ts
|
|
@@ -2,7 +2,7 @@ import { D as selectCodexCatalogPreviewInput, O as toCatalogSession, S as readCo
|
|
|
2
2
|
import { n as detachCodexCatalogString } from "./session-catalog-limits-Dc6E0BZz.mjs";
|
|
3
3
|
import { n as codexCatalogRowRecency } from "./session-catalog-index-order-0Zqng2u8.mjs";
|
|
4
4
|
import { t as isOpenClawManagedCodexThread } from "./session-catalog-provenance-Dg9s12z-.mjs";
|
|
5
|
-
import { i as getCodexCatalogSource, r as copyCodexCatalogSource, s as setCodexCatalogSource } from "./session-catalog-source-
|
|
5
|
+
import { i as getCodexCatalogSource, r as copyCodexCatalogSource, s as setCodexCatalogSource } from "./session-catalog-source-z_mNyQdX.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";
|
package/dist/.setup/{session-catalog-source-DqyuNxCe.mjs → session-catalog-source-z_mNyQdX.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as defineCodexBuildState } from "./build-state-
|
|
1
|
+
import { n as defineCodexBuildState } from "./build-state-CjLCC0wm.mjs";
|
|
2
2
|
//#region extensions/codex/src/session-catalog-source.ts
|
|
3
3
|
const getSources = defineCodexBuildState("openclaw.codexCatalogSources", () => ({
|
|
4
4
|
clients: /* @__PURE__ */ new WeakMap(),
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { T as retainSharedCodexAppServerClientByInstanceId } from "./auth-cache-key-
|
|
1
|
+
import { T as retainSharedCodexAppServerClientByInstanceId } from "./auth-cache-key-BW1YeaIk.mjs";
|
|
2
2
|
import { t as withCodexAppServerThreadMutation } from "./thread-ownership-queue-CeyYScUC.mjs";
|
|
3
|
-
import { A as hasCodexAppServerLiveThread, N as isCodexAppServerLiveThreadClaimed, z as releaseCodexAppServerLiveThread } from "./shared-client-
|
|
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 isSameCodexAppServerThreadOwner } from "./thread-ownership-
|
|
6
|
-
import { t as codexNativeSubagentMonitorRuntime } from "./native-subagent-monitor-
|
|
3
|
+
import { A as hasCodexAppServerLiveThread, N as isCodexAppServerLiveThreadClaimed, z as releaseCodexAppServerLiveThread } from "./shared-client-CkyTrNB8.mjs";
|
|
4
|
+
import { f as unsubscribeCodexThreadBestEffort, n as CODEX_APP_SERVER_UNSUBSCRIBE_TIMEOUT_MS, o as closeCodexStartupClientBestEffort, r as CodexAppServerUnsafeSubscriptionError } from "./attempt-client-cleanup-DMJWXGxM.mjs";
|
|
5
|
+
import { t as isSameCodexAppServerThreadOwner } from "./thread-ownership-Bmk5a2Gu.mjs";
|
|
6
|
+
import { t as codexNativeSubagentMonitorRuntime } from "./native-subagent-monitor-C3CIIaZG.mjs";
|
|
7
7
|
import { t as getCodexSessionInitializationRollback } from "./session-initialization-Dn3vveGv.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-D3-KXsbP.mjs → settled-turn-finalizer-gioXygEX.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as readMirrorIdentity, n as attachCodexMirrorIdentity } from "./upstream-prompt-provenance-Ccd9MFRJ.mjs";
|
|
2
2
|
import { l as readCodexMirrorSourceFingerprint, o as fingerprintCodexMirrorSourceMessage } from "./transcript-mirror-attestation-BzUXnrvv.mjs";
|
|
3
|
-
import { Q as resolveCodexAppServerPreparedAuthHandoff } from "./shared-client-
|
|
4
|
-
import { d as assertCodexPassiveTurnItems } from "./client
|
|
5
|
-
import { runBoundedCodexAppServerTurn } from "./bounded-turn-
|
|
3
|
+
import { Q as resolveCodexAppServerPreparedAuthHandoff } from "./shared-client-CkyTrNB8.mjs";
|
|
4
|
+
import { d as assertCodexPassiveTurnItems } from "./client--P8jwXvA.mjs";
|
|
5
|
+
import { runBoundedCodexAppServerTurn } from "./bounded-turn-BQkmyyjB.mjs";
|
|
6
6
|
import { t as resolveCodexLocalRuntimeAttribution } from "./local-runtime-attribution-CZz2DJ4q.mjs";
|
|
7
7
|
import { t as resolveCodexBoundedTurnIsolation } from "./bounded-turn-isolation-D8CDrAVX.mjs";
|
|
8
8
|
import { a as createAttributedCodexAssistantMessage } from "./event-projector-assistant-message-ChOAY7rW.mjs";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { r as isJsonObject } from "./protocol-CaPAVwe9.mjs";
|
|
2
|
-
import { n as defineCodexBuildState, t as codexBuildSymbol } from "./build-state-
|
|
2
|
+
import { n as defineCodexBuildState, t as codexBuildSymbol } from "./build-state-CjLCC0wm.mjs";
|
|
3
3
|
import { t as CODEX_APP_SERVER_AUTH_PROVIDER } from "./auth-profile-selection-Bp5PDk3W.mjs";
|
|
4
4
|
import { n as isCodexAppServerProxyLaunch } from "./launch-args-DbFCehO7.mjs";
|
|
5
5
|
import { a as withEphemeralCodexAuthStore, i as withClearedEnvironmentVariables, n as resolveCodexAppServerLocalHomeDir, 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-DMFZkd3X.mjs";
|
|
7
7
|
import { a as isManagedCodexDesktopCommand, b as resolveMacOSDesktopCodexBundledMarketplaceCandidates, c as readInstalledCodexAppServerStatus, f as resolveManagedCodexNativeCommand, i as assertInstalledCodexAppServerVersion, l as rejectInstalledCodexAppServer, r as INSTALLED_CODEX_START_TIMEOUT_MS, u as resolveManagedCodexAppServerStartOptions, v as resolveFirstExistingMacOSDesktopCodexBundledMarketplacePath, x as resolveMacOSDesktopCodexComputerUseServiceAppCandidates, y as resolveMacOSDesktopCodexAppPathCandidates } from "./managed-binary-DbKvGXKl.mjs";
|
|
8
|
-
import { A as waitForUnclaimedSharedClientStartup, C as releaseSharedClientEntry, D as retireSharedCodexAppServerClientIfCurrent, E as retirePendingSharedClientEntryIfUnclaimed, M as waitForCodexDesktopGeneration, N as readCodexDesktopArtifactTreeFingerprint, S as rekeySharedClientEntry, _ as observeAcquire, a as readCodexCliAuthFileApiKey, b as recordSharedClientAcquireBoundary, c as resolveCodexAppServerPreparedApiKeyCacheKey, d as createCodexAppServerStartupLifetime, f as getCurrentSharedClientEntry, g as isSharedCodexFallbackJoinError, i as fingerprintTokenAuthProfileCacheKey, l as SharedCodexFallbackJoinError, m as getSharedCodexAppServerClientState, n as CODEX_AUTH_JSON_FILENAME, o as readFirstNonEmptyEnv, p as getOrCreateSharedClientEntry, r as fingerprintApiKeyAuthProfileCacheKey, s as resolveCodexAppServerFallbackApiKeyCacheKey, t as CODEX_APP_SERVER_API_KEY_ENV_VARS, u as closeSharedClientEntryIfUnclaimed, v as observeSharedClientAcquire, w as retainSharedClientEntry, x as refreshSharedClientIdleRetirement, y as ownCodexStartup } from "./auth-cache-key-
|
|
8
|
+
import { A as waitForUnclaimedSharedClientStartup, C as releaseSharedClientEntry, D as retireSharedCodexAppServerClientIfCurrent, E as retirePendingSharedClientEntryIfUnclaimed, M as waitForCodexDesktopGeneration, N as readCodexDesktopArtifactTreeFingerprint, S as rekeySharedClientEntry, _ as observeAcquire, a as readCodexCliAuthFileApiKey, b as recordSharedClientAcquireBoundary, c as resolveCodexAppServerPreparedApiKeyCacheKey, d as createCodexAppServerStartupLifetime, f as getCurrentSharedClientEntry, g as isSharedCodexFallbackJoinError, i as fingerprintTokenAuthProfileCacheKey, l as SharedCodexFallbackJoinError, m as getSharedCodexAppServerClientState, n as CODEX_AUTH_JSON_FILENAME, o as readFirstNonEmptyEnv, p as getOrCreateSharedClientEntry, r as fingerprintApiKeyAuthProfileCacheKey, s as resolveCodexAppServerFallbackApiKeyCacheKey, t as CODEX_APP_SERVER_API_KEY_ENV_VARS, u as closeSharedClientEntryIfUnclaimed, v as observeSharedClientAcquire, w as retainSharedClientEntry, x as refreshSharedClientIdleRetirement, y as ownCodexStartup } from "./auth-cache-key-BW1YeaIk.mjs";
|
|
9
9
|
import { n as resolveCodexAppServerSpawnEnv } from "./transport-stdio-Bq160Dhv.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-DemqqaxE.mjs";
|
|
12
12
|
import { i as withTimeout } from "./timeout-D0mEWSGG.mjs";
|
|
13
13
|
import { n as readCodexSessionMeta } from "./session-catalog-provenance-Dg9s12z-.mjs";
|
|
14
|
-
import { n as observeCodexCatalogClient } from "./session-catalog-events-
|
|
14
|
+
import { n as observeCodexCatalogClient } from "./session-catalog-events-CEi6SuLQ.mjs";
|
|
15
15
|
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-BZRizyuG.mjs";
|
|
16
16
|
import { a as resolveCodexAppServerAuthProfileStore, i as resolveCodexAppServerAuthProfileIdForAgent, r as resolveCodexAppServerAuthProfileId, t as isCodexAppServerNativeAuthProfile } from "./auth-profile-auwzSwwy.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-CCV7aVYF.mjs";
|
|
18
|
-
import { t as CodexAppServerClient } from "./client
|
|
18
|
+
import { t as CodexAppServerClient } from "./client--P8jwXvA.mjs";
|
|
19
19
|
import { a as isUnsupportedCodexAppServerVersionError } from "./client-initialize-CjgZcX61.mjs";
|
|
20
20
|
import { n as isCodexWebSocketOpenFailure } from "./transport-websocket-0YqiI_MH.mjs";
|
|
21
21
|
import { t as __exportAll } from "./session-binding-sidecars-BNSS6WL4.mjs";
|
|
@@ -2444,8 +2444,8 @@ async function prepareCodexInferenceRoute(params) {
|
|
|
2444
2444
|
throw new Error("Codex inference route limit reached; start a fresh managed native connection before retrying.");
|
|
2445
2445
|
}
|
|
2446
2446
|
pending = Promise.all([
|
|
2447
|
-
import("./inference-proxy-
|
|
2448
|
-
import("./native-subagent-monitor-
|
|
2447
|
+
import("./inference-proxy-CiLbHMLf.mjs"),
|
|
2448
|
+
import("./native-subagent-monitor-C3CIIaZG.mjs").then((n) => n.n),
|
|
2449
2449
|
import("./inference-dispatch-C2zVSnrr.mjs")
|
|
2450
2450
|
]).then(([{ createCodexInferenceProxy }, native, { createCodexInferenceModelBinding }]) => {
|
|
2451
2451
|
assertClient();
|
|
@@ -3,34 +3,34 @@ import { g as sessionBindingIdentity } from "./session-binding-record-C_THntMe.m
|
|
|
3
3
|
import { c as withMcpElicitationsApprovalPolicy, d as readCodexRequirementsToml, n as hasCodexMcpToolApprovalOverrides, s as shouldAutoApproveCodexAppServerApprovals } from "./config-security-clxAZYWX.mjs";
|
|
4
4
|
import { c as isCodexPairedNodeRemoteExecPlacementSandbox, d as readCodexPluginConfig, l as isCodexRemoteExecPlacementSandbox, u as isCodexSandboxExecServerEnabled } from "./config-parsing-DsWSCPHO.mjs";
|
|
5
5
|
import { i as resolveCodexAppServerHomeScope, l as resolveCodexModelBackedReviewerPolicyContext } from "./config-options-DMFZkd3X.mjs";
|
|
6
|
-
import { T as retainSharedCodexAppServerClientByInstanceId } from "./auth-cache-key-
|
|
6
|
+
import { T as retainSharedCodexAppServerClientByInstanceId } from "./auth-cache-key-BW1YeaIk.mjs";
|
|
7
7
|
import { n as formatCodexUsageLimitErrorMessage } from "./rate-limits-BpfURnuy.mjs";
|
|
8
8
|
import { c as isMissingCodexParentThreadError } from "./rpc-error-DemqqaxE.mjs";
|
|
9
9
|
import { i as resolveCodexBindingAppServerConnection, r as requireCodexSupervisionModelSelection } from "./binding-connection-GTgUj9pi.mjs";
|
|
10
10
|
import { n as canUseCodexModelBackedApprovalsReviewerForModel, r as resolveOpenClawExecPolicyForCodexAppServer } from "./config-BfrAlTMT.mjs";
|
|
11
|
-
import { C as getCodexInferenceThread, Q as resolveCodexAppServerPreparedAuthHandoff, W as readRecentCodexRateLimits, Y as requireCodexThreadForkSettings, d as releaseCodexAppServerClientLease, h as withCodexAppServerClientRequestScope, o as getLeasedSharedCodexAppServerClient, w as getCodexInferenceThreadQualification } from "./shared-client-
|
|
12
|
-
import { C as createCodexElicitationResponse, D as toCodexDynamicToolProtocolResponse, O as resolveCodexToolAbortTerminalReason, T as resolveDynamicToolCallTimeoutMs, g as assertCodexTurnStartResponse, i as isCodexAppServerIndeterminateRequestCancellationError, p as assertCodexThreadForkResponse, r as isCodexAppServerApprovalRequest, v as readCodexDynamicToolCallParams, w as handleDynamicToolCallWithTimeout } from "./client
|
|
13
|
-
import { d as terminateCodexBackgroundTerminals, f as unsubscribeCodexThreadBestEffort, l as retireUnsafeCodexTurnClientBestEffort, s as interruptCodexTurnAndWaitBestEffort } from "./attempt-client-cleanup-
|
|
14
|
-
import { t as CodexEphemeralTurn } from "./ephemeral-turn-
|
|
11
|
+
import { C as getCodexInferenceThread, Q as resolveCodexAppServerPreparedAuthHandoff, W as readRecentCodexRateLimits, Y as requireCodexThreadForkSettings, d as releaseCodexAppServerClientLease, h as withCodexAppServerClientRequestScope, o as getLeasedSharedCodexAppServerClient, w as getCodexInferenceThreadQualification } from "./shared-client-CkyTrNB8.mjs";
|
|
12
|
+
import { C as createCodexElicitationResponse, D as toCodexDynamicToolProtocolResponse, O as resolveCodexToolAbortTerminalReason, T as resolveDynamicToolCallTimeoutMs, g as assertCodexTurnStartResponse, i as isCodexAppServerIndeterminateRequestCancellationError, p as assertCodexThreadForkResponse, r as isCodexAppServerApprovalRequest, v as readCodexDynamicToolCallParams, w as handleDynamicToolCallWithTimeout } from "./client--P8jwXvA.mjs";
|
|
13
|
+
import { d as terminateCodexBackgroundTerminals, f as unsubscribeCodexThreadBestEffort, l as retireUnsafeCodexTurnClientBestEffort, s as interruptCodexTurnAndWaitBestEffort } from "./attempt-client-cleanup-DMJWXGxM.mjs";
|
|
14
|
+
import { t as CodexEphemeralTurn } from "./ephemeral-turn-B2z0RIeF.mjs";
|
|
15
15
|
import { d as mergeCodexThreadConfigs, f as refreshCodexPluginAppApprovalPolicy } from "./project-doc-thread-config-B0UI3f1D.mjs";
|
|
16
16
|
import { n as resolveCodexAppServerReasoningEffort, t as readCodexSupportedReasoningEfforts } from "./reasoning-effort-CS9kKWB9.mjs";
|
|
17
17
|
import { h as resolveCodexWebSearchPlan, r as buildCodexRuntimeThreadConfig, z as resolveCodexDynamicToolsLoading } from "./thread-requests-BjawdIVV.mjs";
|
|
18
18
|
import { i as resolveCodexSessionBinding } from "./session-binding-BgsWcbdY.mjs";
|
|
19
19
|
import { i as resolveCodexAppServerThreadModelSelection, t as CODEX_NATIVE_PERSONALITY_NONE } from "./thread-model-selection-DxposL4X.mjs";
|
|
20
|
-
import { t as isSameCodexAppServerThreadOwner } from "./thread-ownership-
|
|
21
|
-
import { t as codexNativeSubagentMonitorRuntime } from "./native-subagent-monitor-
|
|
20
|
+
import { t as isSameCodexAppServerThreadOwner } from "./thread-ownership-Bmk5a2Gu.mjs";
|
|
21
|
+
import { t as codexNativeSubagentMonitorRuntime } from "./native-subagent-monitor-C3CIIaZG.mjs";
|
|
22
22
|
import { r as prepareCodexNativeExecutionPolicyForRun } from "./native-execution-policy-D09tLP-u.mjs";
|
|
23
23
|
import { i as resolveCodexNativeExecutionBlock } from "./sandbox-guard-DneAfNye.mjs";
|
|
24
|
-
import { i as assertCodexSupervisionThreadLineage, n as CodexThreadPolicyHandoffError, o as refreshCodexThreadPolicy } from "./thread-policy-
|
|
24
|
+
import { i as assertCodexSupervisionThreadLineage, n as CodexThreadPolicyHandoffError, o as refreshCodexThreadPolicy } from "./thread-policy-DYtvZ5Ay.mjs";
|
|
25
25
|
import { o as runCodexCleanupStep } from "./run-attempt-lifecycle-DN-ATDp9.mjs";
|
|
26
26
|
import { t as CODEX_INFERENCE_GENERATION_KEY } from "./inference-metadata-CYFWLHVk.mjs";
|
|
27
|
-
import "./inference-context-
|
|
28
|
-
import { a as resolveCodexExternalSandboxPolicyForOpenClawSandbox, c as shouldEnableCodexAppServerNativeToolSurface, l as shouldRequireCodexSandboxExecServerEnvironment, o as resolveCodexMessageToolProvider, s as resolveCodexSandboxEnvironmentSelection, t as buildDynamicTools } from "./dynamic-tool-build-
|
|
29
|
-
import { a as buildCodexNativeHookRelayDisabledConfig, i as buildCodexNativeHookRelayConfig, l as resolveCodexNativeHookRelayEvents, r as assertCodexNativeHookRelayAllowed, u as resolveCodexNativeHookRelayTtlMs } from "./native-hook-relay-
|
|
27
|
+
import "./inference-context-HRw3PDwn.mjs";
|
|
28
|
+
import { a as resolveCodexExternalSandboxPolicyForOpenClawSandbox, c as shouldEnableCodexAppServerNativeToolSurface, l as shouldRequireCodexSandboxExecServerEnvironment, o as resolveCodexMessageToolProvider, s as resolveCodexSandboxEnvironmentSelection, t as buildDynamicTools } from "./dynamic-tool-build-DOub3CB5.mjs";
|
|
29
|
+
import { a as buildCodexNativeHookRelayDisabledConfig, i as buildCodexNativeHookRelayConfig, l as resolveCodexNativeHookRelayEvents, r as assertCodexNativeHookRelayAllowed, u as resolveCodexNativeHookRelayTtlMs } from "./native-hook-relay-CocOW9YS.mjs";
|
|
30
30
|
import { i as resolveCodexSessionPermissionCwd, n as applyCodexSessionPermissionPolicy, r as resolveCodexEffectiveSessionPermissionPolicy, t as CODEX_SESSION_PERMISSION_EXEC_MODES } from "./session-permission-policy-CD2MAWU8.mjs";
|
|
31
|
-
import { a as handleCodexAppServerApprovalRequest, c as createCodexNativePreToolUseFailureBuffer, d as buildCodexTemporalAdditionalContext, g as buildCodexUserInput, i as createCodexDynamicToolDiagnostics, o as ensureCodexSandboxExecServerEnvironment, r as routeCodexAppServerElicitationRequest, s as releaseCodexSandboxExecServerEnvironment, t as createCodexDynamicToolBridge, y as CodexNativeToolLifecycleProjector } from "./dynamic-tools-
|
|
31
|
+
import { a as handleCodexAppServerApprovalRequest, c as createCodexNativePreToolUseFailureBuffer, d as buildCodexTemporalAdditionalContext, g as buildCodexUserInput, i as createCodexDynamicToolDiagnostics, o as ensureCodexSandboxExecServerEnvironment, r as routeCodexAppServerElicitationRequest, s as releaseCodexSandboxExecServerEnvironment, t as createCodexDynamicToolBridge, y as CodexNativeToolLifecycleProjector } from "./dynamic-tools-Us5mvq_N.mjs";
|
|
32
32
|
import { t as resolveCodexAppServerForModelProvider } from "./app-server-policy-Cog6mm2i.mjs";
|
|
33
|
-
import { n as resolveCodexProviderWebSearchSupportForClient } from "./provider-capabilities-
|
|
33
|
+
import { n as resolveCodexProviderWebSearchSupportForClient } from "./provider-capabilities-C7pYYpvh.mjs";
|
|
34
34
|
import { readStringField } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
35
35
|
import { randomUUID } from "node:crypto";
|
|
36
36
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as defaultCodexAppInventoryCache, r as buildCodexPluginAppCacheKey } from "./plugin-app-cache-key-DRb-niJc.mjs";
|
|
2
|
-
import { a as withCodexAppServerJsonClient } from "./request-
|
|
2
|
+
import { a as withCodexAppServerJsonClient } from "./request-C6U8q2uz.mjs";
|
|
3
3
|
import { a as marketplaceRef, o as pluginReadParams, r as isOpenAiCuratedMarketplaceName, u as CODEX_PLUGINS_MARKETPLACE_NAME } from "./plugin-inventory-DE9wcaeH.mjs";
|
|
4
4
|
import "./config-BfrAlTMT.mjs";
|
|
5
5
|
import { t as __exportAll } from "./session-binding-sidecars-BNSS6WL4.mjs";
|
|
@@ -5,7 +5,7 @@ import { l as fingerprintCodexPolicy } from "./config-security-clxAZYWX.mjs";
|
|
|
5
5
|
import { f as resolveCodexPluginsPolicy } from "./config-parsing-DsWSCPHO.mjs";
|
|
6
6
|
import { n as resolveCodexAppServerLocalHomeDir, t as resolveCodexAppServerHomeDir } from "./auth-start-options-BPIPeEX8.mjs";
|
|
7
7
|
import { d as readCodexEffectiveConfig, s as assertCodexModelBackedReviewerEffectiveConfig, u as CODEX_SESSION_OVERRIDABLE_LAYER_TYPES } from "./config-options-DMFZkd3X.mjs";
|
|
8
|
-
import { T as retainSharedCodexAppServerClientByInstanceId, f as getCurrentSharedClientEntry } from "./auth-cache-key-
|
|
8
|
+
import { T as retainSharedCodexAppServerClientByInstanceId, f as getCurrentSharedClientEntry } from "./auth-cache-key-BW1YeaIk.mjs";
|
|
9
9
|
import { t as withCodexAppServerThreadMutation } from "./thread-ownership-queue-CeyYScUC.mjs";
|
|
10
10
|
import { i as CodexAppServerScopedRequestRejectedError, o as isCodexAppServerOverloadError, r as CodexAppServerRpcError, s as isCodexThreadReadMissingError } from "./rpc-error-DemqqaxE.mjs";
|
|
11
11
|
import { t as codexCatalogHomeId } from "./session-catalog-home-id-vlih0B_g.mjs";
|
|
@@ -14,29 +14,29 @@ import { t as projectBoundedCodexThreadHistory } from "./transcript-history-proj
|
|
|
14
14
|
import { a as defaultCodexAppInventoryCache, t as buildCodexAppServerConnectionFingerprint } from "./plugin-app-cache-key-DRb-niJc.mjs";
|
|
15
15
|
import { n as readCodexSessionMeta } from "./session-catalog-provenance-Dg9s12z-.mjs";
|
|
16
16
|
import { t as assertCodexSessionRuntimeOwnership } from "./binding-connection-GTgUj9pi.mjs";
|
|
17
|
-
import { n as requestCodexAppServerClientJson } from "./request-
|
|
17
|
+
import { n as requestCodexAppServerClientJson } from "./request-C6U8q2uz.mjs";
|
|
18
18
|
import { c as resolveRecoverableCodexPluginConfigKeys } from "./plugin-inventory-DE9wcaeH.mjs";
|
|
19
19
|
import "./config-BfrAlTMT.mjs";
|
|
20
20
|
import { c as resolveCodexContextEngineProjectionMaxChars } from "./context-engine-projection-PIeLSnR-.mjs";
|
|
21
21
|
import { n as normalizeCodexAppServerBindingModelProvider } from "./auth-profile-auwzSwwy.mjs";
|
|
22
|
-
import { C as getCodexInferenceThread, D as consumeCodexAppServerLiveThread, H as unsubscribeCodexAppServerLiveThread, K as createCodexEphemeralThreadPolicy, M as isCodexAppServerClientRuntimeLive, N as isCodexAppServerLiveThreadClaimed, P as isCodexAppServerLiveThreadProtected, R as readCodexLiveThreadEphemeralPolicy, S as bindCodexInferenceThread, T as prepareCodexInferenceThreadConfig, _ as CodexThreadBindingConflictError, g as CodexAdoptedThreadActiveError, j as hasCodexAppServerSiblingThreadWork, q as recordCodexThreadForkSettings, t as captureCodexAppServerClientLifetime, v as CodexThreadClientReplacementError, w as getCodexInferenceThreadQualification, x as assertCodexInferenceRouteConfig, y as CodexThreadStartRequestError, z as releaseCodexAppServerLiveThread } from "./shared-client-
|
|
22
|
+
import { C as getCodexInferenceThread, D as consumeCodexAppServerLiveThread, H as unsubscribeCodexAppServerLiveThread, K as createCodexEphemeralThreadPolicy, M as isCodexAppServerClientRuntimeLive, N as isCodexAppServerLiveThreadClaimed, P as isCodexAppServerLiveThreadProtected, R as readCodexLiveThreadEphemeralPolicy, S as bindCodexInferenceThread, T as prepareCodexInferenceThreadConfig, _ as CodexThreadBindingConflictError, g as CodexAdoptedThreadActiveError, j as hasCodexAppServerSiblingThreadWork, q as recordCodexThreadForkSettings, t as captureCodexAppServerClientLifetime, v as CodexThreadClientReplacementError, w as getCodexInferenceThreadQualification, x as assertCodexInferenceRouteConfig, y as CodexThreadStartRequestError, z as releaseCodexAppServerLiveThread } from "./shared-client-CkyTrNB8.mjs";
|
|
23
23
|
import "./responses-oauth-CCV7aVYF.mjs";
|
|
24
|
-
import { M as getCodexAppServerClientInstanceId, P as resolveCodexAppServerClientInstanceId, S as resolveCodexThreadRolloutPath, _ as assertExactSupervisionModelSelection, f as assertCodexThreadAcceptsDirectInput, h as assertCodexThreadStartResponse, p as assertCodexThreadForkResponse, s as isCodexAppServerRequestTimeoutError, x as readSupervisionResponseThreadId } from "./client
|
|
25
|
-
import { r as hasCodexAppServerSiblingRouteWork } from "./turn-router-
|
|
26
|
-
import { f as unsubscribeCodexThreadBestEffort, l as retireUnsafeCodexTurnClientBestEffort, n as CODEX_APP_SERVER_UNSUBSCRIBE_TIMEOUT_MS, o as closeCodexStartupClientBestEffort, r as CodexAppServerUnsafeSubscriptionError } from "./attempt-client-cleanup-
|
|
27
|
-
import { n as listAllCodexAppServerModels } from "./models-
|
|
24
|
+
import { M as getCodexAppServerClientInstanceId, P as resolveCodexAppServerClientInstanceId, S as resolveCodexThreadRolloutPath, _ as assertExactSupervisionModelSelection, f as assertCodexThreadAcceptsDirectInput, h as assertCodexThreadStartResponse, p as assertCodexThreadForkResponse, s as isCodexAppServerRequestTimeoutError, x as readSupervisionResponseThreadId } from "./client--P8jwXvA.mjs";
|
|
25
|
+
import { r as hasCodexAppServerSiblingRouteWork } from "./turn-router-BGj67FMK.mjs";
|
|
26
|
+
import { f as unsubscribeCodexThreadBestEffort, l as retireUnsafeCodexTurnClientBestEffort, n as CODEX_APP_SERVER_UNSUBSCRIBE_TIMEOUT_MS, o as closeCodexStartupClientBestEffort, r as CodexAppServerUnsafeSubscriptionError } from "./attempt-client-cleanup-DMJWXGxM.mjs";
|
|
27
|
+
import { n as listAllCodexAppServerModels } from "./models-CmOBxsKF.mjs";
|
|
28
28
|
import { a as buildCodexPluginThreadConfigInputFingerprint, c as buildPluginAppPolicyContext, d as mergeCodexThreadConfigs, i as buildCodexPluginThreadConfig, l as disableUnlistedCodexApps, m as buildCodexAppApprovalOverrides, n as mergeCodexNativeProjectDocThreadConfig, o as buildCodexPluginThreadConfigTimeoutFallback, p as shouldBuildCodexPluginThreadConfig, r as buildCodexPluginAppsConfigPatchFromPolicyContext, u as isCodexPluginThreadBindingStale } from "./project-doc-thread-config-B0UI3f1D.mjs";
|
|
29
29
|
import { A as isTransientWebSearchRestriction, C as fingerprintEnvironmentSelection, D as readActiveCodexTurnIdsFromResume, E as legacyFingerprintUserMcpServersConfigPatch, I as isMessageOnlyCodexSourceReply, L as isSystemAgentOnlyCodexDynamicToolAllowlist, M as shouldRotateCodexAppServerBindingForRuntime, N as shouldRotateCodexGpt56MultiAgentBinding, O as shouldStartTransientNoToolThread, S as fingerprintCodexThreadConfig, T as fingerprintUserMcpServersConfigPatch, _ as buildDeveloperInstructions, b as codexDynamicToolsFingerprint, c as codexThreadSandboxOrPermissions, d as readCodexManagedRequirementsFingerprint, f as resolveCodexThreadApprovalsReviewer, g as mergeCodexNativeShellEnvironment, h as resolveCodexWebSearchPlan, i as buildCodexRuntimeThreadConfigForRun, j as shouldRecheckRecoverablePluginBinding, n as buildCodexRingZeroThreadConfigPatch, o as buildThreadResumeParams, p as attestCodexRestrictedToolSurfaceMcpServersDisabled, s as buildThreadStartParams, t as assertCodexManagedRequirementsDoNotOverrideToolPolicy, u as readCodexInheritedMcpServerNames, v as areCodexDynamicToolFingerprintsCompatible, w as fingerprintJsonObject, x as codexLegacyDynamicToolsFingerprint, y as areUserMcpServersFingerprintsCompatible } from "./thread-requests-BjawdIVV.mjs";
|
|
30
30
|
import { i as resolveCodexSessionBinding, o as hashCodexAppServerBindingFingerprint } from "./session-binding-BgsWcbdY.mjs";
|
|
31
31
|
import { i as resolveCodexAppServerThreadModelSelection, n as resolveCodexAppServerModelProvider } from "./thread-model-selection-DxposL4X.mjs";
|
|
32
|
-
import { c as withExclusiveCodexAppServerThread, r as retainCodexAppServerBindingSubscription, t as isSameCodexAppServerThreadOwner } from "./thread-ownership-
|
|
33
|
-
import { a as refreshCodexThreadInstructions, i as assertCodexSupervisionThreadLineage, n as CodexThreadPolicyHandoffError, o as refreshCodexThreadPolicy, r as assertAdoptedCodexThreadResumeAllowed, t as CodexIncognitoPolicyChangeError } from "./thread-policy-
|
|
34
|
-
import { t as resumeCodexAppServerThread } from "./thread-resume-
|
|
32
|
+
import { c as withExclusiveCodexAppServerThread, r as retainCodexAppServerBindingSubscription, t as isSameCodexAppServerThreadOwner } from "./thread-ownership-Bmk5a2Gu.mjs";
|
|
33
|
+
import { a as refreshCodexThreadInstructions, i as assertCodexSupervisionThreadLineage, n as CodexThreadPolicyHandoffError, o as refreshCodexThreadPolicy, r as assertAdoptedCodexThreadResumeAllowed, t as CodexIncognitoPolicyChangeError } from "./thread-policy-DYtvZ5Ay.mjs";
|
|
34
|
+
import { t as resumeCodexAppServerThread } from "./thread-resume-vBShG3-o.mjs";
|
|
35
35
|
import { r as readCodexMcpToolConnectorId } from "./mcp-tool-metadata-DW41snf3.mjs";
|
|
36
|
-
import { n as disableCodexPluginThreadConfig } from "./dynamic-tool-build-
|
|
37
|
-
import { n as CodexManagedHooksOnlyError, r as assertCodexNativeHookRelayAllowed } from "./native-hook-relay-
|
|
36
|
+
import { n as disableCodexPluginThreadConfig } from "./dynamic-tool-build-DOub3CB5.mjs";
|
|
37
|
+
import { n as CodexManagedHooksOnlyError, r as assertCodexNativeHookRelayAllowed } from "./native-hook-relay-CocOW9YS.mjs";
|
|
38
38
|
import { t as defaultCodexPluginMetadataCache } from "./plugin-metadata-cache-BqC-a6Fb.mjs";
|
|
39
|
-
import { a as discardUnattestedCodexPluginThread, i as checkCodexThreadAppAvailability, n as resolveCodexNativeSkillIsolation, o as hasCodexNativeToolCatalog, r as attestCodexThreadToolSurface, s as loadCodexNativeToolCatalog, t as applyCodexNativeSkillIsolation } from "./native-skill-isolation-
|
|
39
|
+
import { a as discardUnattestedCodexPluginThread, i as checkCodexThreadAppAvailability, n as resolveCodexNativeSkillIsolation, o as hasCodexNativeToolCatalog, r as attestCodexThreadToolSurface, s as loadCodexNativeToolCatalog, t as applyCodexNativeSkillIsolation } from "./native-skill-isolation-DL4-PQa4.mjs";
|
|
40
40
|
import { asOptionalRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
41
41
|
import crypto from "node:crypto";
|
|
42
42
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { T as retainSharedCodexAppServerClientByInstanceId } from "./auth-cache-key-
|
|
1
|
+
import { T as retainSharedCodexAppServerClientByInstanceId } from "./auth-cache-key-BW1YeaIk.mjs";
|
|
2
2
|
import { t as withCodexAppServerThreadMutation } from "./thread-ownership-queue-CeyYScUC.mjs";
|
|
3
|
-
import { B as retainCodexAppServerLiveThread, N as isCodexAppServerLiveThreadClaimed, z as releaseCodexAppServerLiveThread } from "./shared-client-
|
|
4
|
-
import { f as unsubscribeCodexThreadBestEffort, o as closeCodexStartupClientBestEffort, r as CodexAppServerUnsafeSubscriptionError } from "./attempt-client-cleanup-
|
|
3
|
+
import { B as retainCodexAppServerLiveThread, N as isCodexAppServerLiveThreadClaimed, z as releaseCodexAppServerLiveThread } from "./shared-client-CkyTrNB8.mjs";
|
|
4
|
+
import { f as unsubscribeCodexThreadBestEffort, o as closeCodexStartupClientBestEffort, r as CodexAppServerUnsafeSubscriptionError } from "./attempt-client-cleanup-DMJWXGxM.mjs";
|
|
5
5
|
import { t as __exportAll } from "./session-binding-sidecars-BNSS6WL4.mjs";
|
|
6
6
|
import { createDeferred } from "openclaw/plugin-sdk/extension-shared";
|
|
7
7
|
import { runWithAsyncWorkResources } from "openclaw/plugin-sdk/agent-harness-tool-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as CodexAppServerScopedRequestRejectedError, o as isCodexAppServerOverloadError } from "./rpc-error-DemqqaxE.mjs";
|
|
2
|
-
import { n as requestCodexAppServerClientJson } from "./request-
|
|
3
|
-
import { g as CodexAdoptedThreadActiveError } from "./shared-client-
|
|
4
|
-
import { f as assertCodexThreadAcceptsDirectInput, o as isCodexAppServerPrewriteRequestCancellationError } from "./client
|
|
2
|
+
import { n as requestCodexAppServerClientJson } from "./request-C6U8q2uz.mjs";
|
|
3
|
+
import { g as CodexAdoptedThreadActiveError } from "./shared-client-CkyTrNB8.mjs";
|
|
4
|
+
import { f as assertCodexThreadAcceptsDirectInput, o as isCodexAppServerPrewriteRequestCancellationError } from "./client--P8jwXvA.mjs";
|
|
5
5
|
import { AgentHarnessPreflightError, embeddedAgentLog, formatErrorMessage } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
6
6
|
//#region extensions/codex/src/app-server/thread-policy.ts
|
|
7
7
|
/** A refusal, not a failed native write: the ephemeral conversation must stay alive. */
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { i as CodexAppServerScopedRequestRejectedError, o as isCodexAppServerOverloadError, r as CodexAppServerRpcError } from "./rpc-error-DemqqaxE.mjs";
|
|
2
|
-
import { r as publishCodexCatalogResume } from "./session-catalog-events-
|
|
3
|
-
import { k as forgetCodexWorkspaceReferences, lt as isCodexAppServerStartupError } from "./shared-client-
|
|
4
|
-
import { m as assertCodexThreadResumeResponse, o as isCodexAppServerPrewriteRequestCancellationError } from "./client
|
|
5
|
-
import { f as unsubscribeCodexThreadBestEffort, i as assertCodexThreadResumeSubscription, r as CodexAppServerUnsafeSubscriptionError } from "./attempt-client-cleanup-
|
|
2
|
+
import { r as publishCodexCatalogResume } from "./session-catalog-events-CEi6SuLQ.mjs";
|
|
3
|
+
import { k as forgetCodexWorkspaceReferences, lt as isCodexAppServerStartupError } from "./shared-client-CkyTrNB8.mjs";
|
|
4
|
+
import { m as assertCodexThreadResumeResponse, o as isCodexAppServerPrewriteRequestCancellationError } from "./client--P8jwXvA.mjs";
|
|
5
|
+
import { f as unsubscribeCodexThreadBestEffort, i as assertCodexThreadResumeSubscription, r as CodexAppServerUnsafeSubscriptionError } from "./attempt-client-cleanup-DMJWXGxM.mjs";
|
|
6
6
|
import { sanitizeTerminalText } from "openclaw/plugin-sdk/text-chunking";
|
|
7
7
|
//#region extensions/codex/src/app-server/thread-resume.ts
|
|
8
8
|
/** Owns Codex thread/resume subscription safety. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as isJsonObject } from "./protocol-CaPAVwe9.mjs";
|
|
2
2
|
import { n as waitForPromiseOrAbort, t as abortReason } from "./timeout-D0mEWSGG.mjs";
|
|
3
|
-
import { b as readCodexTurnCompletedNotification } from "./client
|
|
3
|
+
import { b as readCodexTurnCompletedNotification } from "./client--P8jwXvA.mjs";
|
|
4
4
|
import { normalizeOptionalString, readStringField } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
import { AsyncResource } from "node:async_hooks";
|
|
6
6
|
import { createDeferred } from "openclaw/plugin-sdk/extension-shared";
|
package/dist/.setup/{upstream-session-fork-_LYkh0nZ.mjs → upstream-session-fork-CWKjpdtW.mjs}
RENAMED
|
@@ -9,22 +9,22 @@ import { r as projectCodexUserItemText } from "./transcript-history-projection-i
|
|
|
9
9
|
import { n as codexUpstreamBaseline, t as codexLastTerminalTurnId } from "./session-upstream-marker-D15C9NHp.mjs";
|
|
10
10
|
import { r as buildCodexPluginAppCacheKey } from "./plugin-app-cache-key-DRb-niJc.mjs";
|
|
11
11
|
import { n as readCodexSessionMeta } from "./session-catalog-provenance-Dg9s12z-.mjs";
|
|
12
|
-
import "./request-
|
|
12
|
+
import "./request-C6U8q2uz.mjs";
|
|
13
13
|
import { r as resolveOpenClawExecPolicyForCodexAppServer } from "./config-BfrAlTMT.mjs";
|
|
14
14
|
import { r as resolveCodexSupervisionAppServerRuntimeOptions } from "./config-runtime-BZRizyuG.mjs";
|
|
15
15
|
import { l as readCodexMirrorSourceFingerprint, o as fingerprintCodexMirrorSourceMessage } from "./transcript-mirror-attestation-BzUXnrvv.mjs";
|
|
16
|
-
import { A as hasCodexAppServerLiveThread, E as claimCodexAppServerLiveThread, l as readCodexAppServerClientDesktopGenerationFingerprint } from "./shared-client-
|
|
17
|
-
import { f as assertCodexThreadAcceptsDirectInput, o as isCodexAppServerPrewriteRequestCancellationError, p as assertCodexThreadForkResponse } from "./client
|
|
16
|
+
import { A as hasCodexAppServerLiveThread, E as claimCodexAppServerLiveThread, l as readCodexAppServerClientDesktopGenerationFingerprint } from "./shared-client-CkyTrNB8.mjs";
|
|
17
|
+
import { f as assertCodexThreadAcceptsDirectInput, o as isCodexAppServerPrewriteRequestCancellationError, p as assertCodexThreadForkResponse } from "./client--P8jwXvA.mjs";
|
|
18
18
|
import { d as mergeCodexThreadConfigs, i as buildCodexPluginThreadConfig, p as shouldBuildCodexPluginThreadConfig } from "./project-doc-thread-config-B0UI3f1D.mjs";
|
|
19
19
|
import { T as fingerprintUserMcpServersConfigPatch, _ as buildDeveloperInstructions, a as buildCodexThreadConfiguration, b as codexDynamicToolsFingerprint, h as resolveCodexWebSearchPlan, w as fingerprintJsonObject } from "./thread-requests-BjawdIVV.mjs";
|
|
20
20
|
import "./session-binding-BgsWcbdY.mjs";
|
|
21
|
-
import "./thread-ownership-
|
|
21
|
+
import "./thread-ownership-Bmk5a2Gu.mjs";
|
|
22
22
|
import { i as resolveCodexNativeExecutionPolicy } from "./native-execution-policy-D09tLP-u.mjs";
|
|
23
|
-
import { n as CodexThreadPolicyHandoffError, o as refreshCodexThreadPolicy } from "./thread-policy-
|
|
24
|
-
import { b as isCodexDynamicToolExcluded, f as codexNativeHookRemoteCredentialPath, i as buildCodexNativeHookRelayConfig, l as resolveCodexNativeHookRelayEvents, o as buildCodexNativeHookRelayId, r as assertCodexNativeHookRelayAllowed } from "./native-hook-relay-
|
|
25
|
-
import { c as parseCodexNativeToolCatalog, i as checkCodexThreadAppAvailability, n as resolveCodexNativeSkillIsolation, t as applyCodexNativeSkillIsolation } from "./native-skill-isolation-
|
|
23
|
+
import { n as CodexThreadPolicyHandoffError, o as refreshCodexThreadPolicy } from "./thread-policy-DYtvZ5Ay.mjs";
|
|
24
|
+
import { b as isCodexDynamicToolExcluded, f as codexNativeHookRemoteCredentialPath, i as buildCodexNativeHookRelayConfig, l as resolveCodexNativeHookRelayEvents, o as buildCodexNativeHookRelayId, r as assertCodexNativeHookRelayAllowed } from "./native-hook-relay-CocOW9YS.mjs";
|
|
25
|
+
import { c as parseCodexNativeToolCatalog, i as checkCodexThreadAppAvailability, n as resolveCodexNativeSkillIsolation, t as applyCodexNativeSkillIsolation } from "./native-skill-isolation-DL4-PQa4.mjs";
|
|
26
26
|
import { c as prepareCodexWorkspaceDeveloperInstructions } from "./attempt-workspace-context-GYPLawX6.mjs";
|
|
27
|
-
import { n as resolveCodexProviderWebSearchSupportForClient } from "./provider-capabilities-
|
|
27
|
+
import { n as resolveCodexProviderWebSearchSupportForClient } from "./provider-capabilities-C7pYYpvh.mjs";
|
|
28
28
|
import { n as prepareCodexSessionInitialization } from "./session-initialization-Dn3vveGv.mjs";
|
|
29
29
|
import { createImportedCodexSession } from "./session-history-import-BwPKwcNi.mjs";
|
|
30
30
|
import { isRecord, normalizeOptionalString, readNonBlankString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as buildCodexAppServerUsageSnapshot } from "./rate-limits-BpfURnuy.mjs";
|
|
2
|
-
import { t as readCodexAppServerUsage } from "./request-
|
|
2
|
+
import { t as readCodexAppServerUsage } from "./request-C6U8q2uz.mjs";
|
|
3
3
|
import "./config-BfrAlTMT.mjs";
|
|
4
4
|
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-BZRizyuG.mjs";
|
|
5
5
|
import { CODEX_APP_SERVER_AUTH_MARKER } from "openclaw/plugin-sdk/agent-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { r as isJsonObject } from "./protocol-CaPAVwe9.mjs";
|
|
2
2
|
import { a as shouldRefreshCodexRateLimitsForUsageLimitMessage, i as resolveCodexUsageLimitResetAtMs, n as formatCodexUsageLimitErrorMessage } from "./rate-limits-BpfURnuy.mjs";
|
|
3
3
|
import { t as CODEX_CONTROL_METHODS } from "./capabilities-DAS-JX1z.mjs";
|
|
4
|
-
import { G as rememberCodexRateLimitsRead, U as readCodexRateLimitsRevision, W as readRecentCodexRateLimits } from "./shared-client-
|
|
4
|
+
import { G as rememberCodexRateLimitsRead, U as readCodexRateLimitsRevision, W as readRecentCodexRateLimits } from "./shared-client-CkyTrNB8.mjs";
|
|
5
5
|
import { readStringField } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
import { markAuthProfileBlockedUntil } from "openclaw/plugin-sdk/agent-runtime";
|
|
7
7
|
import { embeddedAgentLog, formatErrorMessage } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { m as buildCodexNativeWebSearchThreadConfig } from "./thread-requests-BjawdIVV.mjs";
|
|
2
|
-
import { runBoundedCodexAppServerTurn } from "./bounded-turn-
|
|
2
|
+
import { runBoundedCodexAppServerTurn } from "./bounded-turn-BQkmyyjB.mjs";
|
|
3
3
|
import { t as projectCodexWebSearchItem } from "./web-search-item-DHVuNSqk.mjs";
|
|
4
4
|
import { readStringParam, resolveSearchTimeoutSeconds, wrapWebContent } from "openclaw/plugin-sdk/provider-web-search";
|
|
5
5
|
//#region extensions/codex/src/web-search-provider.runtime.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createCodexCatalogDecoder } from "./.setup/client-catalog-response-
|
|
1
|
+
import { t as createCodexCatalogDecoder } from "./.setup/client-catalog-response-CsDxVVOZ.mjs";
|
|
2
2
|
import { serveWorkerTasks } from "openclaw/plugin-sdk/worker-task-server";
|
|
3
3
|
//#region extensions/codex/catalog-page.worker.ts
|
|
4
4
|
const decode = createCodexCatalogDecoder();
|