@openclaw/codex 2026.9.8 → 2026.9.9
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-G348lY1q.mjs → account-usage-runtime-9B-ABnCR.mjs} +1 -1
- package/dist/.setup/{apply-Cqb-YoCS.mjs → apply-CBcTS6Se.mjs} +4 -4
- package/dist/.setup/{attempt-client-cleanup-B-S7ngS_.mjs → attempt-client-cleanup-_RUXhE5e.mjs} +3 -3
- package/dist/.setup/{attempt-workspace-context-BJ5Z_olH.mjs → attempt-workspace-context-CSD2rKPq.mjs} +1 -1
- package/dist/.setup/{auth-cache-key-Dnps4W4_.mjs → auth-cache-key-gOhcdE_N.mjs} +3 -3
- package/dist/.setup/{bounded-turn-BNunZPtz.mjs → bounded-turn-BKSjzckA.mjs} +9 -9
- package/dist/.setup/{build-state-DIQ5O_-S.mjs → build-state-CDQUVDAI.mjs} +1 -1
- package/dist/.setup/{client-qyUBJlGZ.mjs → client-B4EOuI-w.mjs} +172 -14
- package/dist/.setup/{client-catalog-response-DRvx_wCC.mjs → client-catalog-response-CsnppTTd.mjs} +1 -1
- package/dist/.setup/{command-dispatch-Btrs1D6f.mjs → command-dispatch-DHjWG2Ll.mjs} +1 -1
- package/dist/.setup/{command-handlers-DvlCHJch.mjs → command-handlers-DSRIPTiA.mjs} +11 -11
- package/dist/.setup/{command-rpc-skzRq4wD.mjs → command-rpc-CKsxWgF6.mjs} +6 -6
- package/dist/.setup/{compact-8ttks5U5.mjs → compact-CXguvBLF.mjs} +8 -8
- package/dist/.setup/{conversation-binding-74LaGGH-.mjs → conversation-binding-BDlmcqm3.mjs} +9 -9
- package/dist/.setup/{conversation-control-OrN6zuaY.mjs → conversation-control-CzxjbHH4.mjs} +2 -2
- package/dist/.setup/{dynamic-tools-Db2sY5cZ.mjs → dynamic-tools-86M3tRl4.mjs} +6 -6
- package/dist/.setup/{effective-mcp-catalog-Bi6-SQ7i.mjs → effective-mcp-catalog-DMrerMF4.mjs} +2 -2
- package/dist/.setup/{ephemeral-turn-DiCS1ijR.mjs → ephemeral-turn-C-vPku4K.mjs} +2 -2
- package/dist/.setup/{event-projector-assistant-message-MV_1dj-3.mjs → event-projector-assistant-message-Bhu17sxy.mjs} +1 -1
- package/dist/.setup/{isolated-completion-D80IXfQF.mjs → isolated-completion-D68PsLcF.mjs} +4 -4
- package/dist/.setup/{managed-binary-kiWRhNRE.mjs → managed-binary-B6hQ1UKR.mjs} +1 -1
- package/dist/.setup/{model-catalog-DiC0Tkha.mjs → model-catalog-BeTX0Aeo.mjs} +4 -4
- package/dist/.setup/{models-DfLmPV0k.mjs → models-32Lqf2JB.mjs} +3 -3
- package/dist/.setup/{native-auth-CuG53tu4.mjs → native-auth-BN-BD2AV.mjs} +2 -2
- package/dist/.setup/{native-subagent-monitor-BwkQXf9e.mjs → native-subagent-monitor-BRr7YExU.mjs} +2 -2
- package/dist/.setup/{node-exec-server.runtime-BgBfWQqo.mjs → node-exec-server.runtime-BS7jsvK-.mjs} +2 -2
- package/dist/.setup/{plan-DPdMk1Oy.mjs → plan-CMXvb-Wm.mjs} +3 -3
- package/dist/.setup/{plugin-metadata-cache-BRwtRct9.mjs → plugin-metadata-cache-DiVUT-uC.mjs} +5 -5
- package/dist/.setup/{provider-D6F_7p1I.mjs → provider-D0GD39BJ.mjs} +4 -4
- package/dist/.setup/{provider-capabilities-DG5qbsUZ.mjs → provider-capabilities-CIWN6WAi.mjs} +2 -2
- package/dist/.setup/{request-BZOfsSXW.mjs → request-D-Vhprx3.mjs} +1 -1
- package/dist/.setup/{run-attempt-dYJhjZrp.mjs → run-attempt-CKZd8eYZ.mjs} +20 -20
- package/dist/.setup/{runtime-artifact-DDQ-HGXf.mjs → runtime-artifact-D7lCXdhV.mjs} +2 -2
- package/dist/.setup/{session-catalog-BFafIiF6.mjs → session-catalog-C7GPE6q8.mjs} +9 -9
- package/dist/.setup/{session-catalog-events-BMCFMZw-.mjs → session-catalog-events-BNKvbFTA.mjs} +2 -2
- package/dist/.setup/{session-catalog-index-DwJjnF5k.mjs → session-catalog-index-BY4p8Fcc.mjs} +3 -3
- package/dist/.setup/{session-catalog-native-projection-CuaFZuQE.mjs → session-catalog-native-projection-DZyauw3D.mjs} +1 -1
- package/dist/.setup/{session-catalog-projection-CGfzfP93.mjs → session-catalog-projection-D5zfSje1.mjs} +1 -1
- package/dist/.setup/{session-cli-DlmBHYIe.mjs → session-cli-DjWr7ujR.mjs} +1 -1
- package/dist/.setup/{session-retirement-LlYWBKTJ.mjs → session-retirement-CPUSNh9U.mjs} +5 -5
- package/dist/.setup/{settled-turn-finalizer-DW9W3gza.mjs → settled-turn-finalizer-DVOvJUSw.mjs} +5 -5
- package/dist/.setup/{shared-client-CJCTeFpQ.mjs → shared-client-D6n5dvpA.mjs} +9 -9
- package/dist/.setup/{shared-client-lifecycle-7xgtlo15.mjs → shared-client-lifecycle-BXJRGNcp.mjs} +1 -1
- package/dist/.setup/{side-question-BLeGj7TQ.mjs → side-question-BQTOqCgV.mjs} +9 -9
- package/dist/.setup/{source-CJis_1EF.mjs → source-pT6uUrZg.mjs} +1 -1
- package/dist/.setup/{thread-lifecycle-_bAbjedG.mjs → thread-lifecycle-BPIjjjRJ.mjs} +8 -8
- package/dist/.setup/{thread-ownership-B6pPt21M.mjs → thread-ownership-vY9gRYkw.mjs} +3 -3
- package/dist/.setup/{thread-policy-gNPzzpVp.mjs → thread-policy-Bf769xTq.mjs} +3 -3
- package/dist/.setup/{thread-requests-OWGOiDaV.mjs → thread-requests-CIyAcDJ3.mjs} +4 -4
- package/dist/.setup/{thread-resume-GOry0AYh.mjs → thread-resume-DZbRTxqM.mjs} +5 -5
- package/dist/.setup/{transport-stdio-Bdegpn2V.mjs → transport-stdio-CbutOIEh.mjs} +1 -1
- package/dist/.setup/{upstream-session-fork-gkdRj2yH.mjs → upstream-session-fork-Ci2-RvEy.mjs} +8 -8
- package/dist/.setup/{usage-CApUvLOV.mjs → usage-BP3aZPPp.mjs} +1 -1
- package/dist/.setup/{usage-limit-error-wSMQkbpV.mjs → usage-limit-error-CwGm2hnj.mjs} +1 -1
- package/dist/.setup/{web-search-provider.runtime-UKgeiBUG.mjs → web-search-provider.runtime-mvv6G9ul.mjs} +2 -2
- package/dist/api.js +2 -2
- package/dist/catalog-page.worker.js +1 -1
- package/dist/cli-metadata.js +1 -1
- package/dist/harness.js +15 -15
- package/dist/index.js +21 -21
- package/dist/media-understanding-provider.js +2 -2
- package/dist/migration-provider-api.js +1 -1
- package/dist/provider-discovery.js +1 -1
- package/package.json +5 -5
package/dist/.setup/{settled-turn-finalizer-DW9W3gza.mjs → settled-turn-finalizer-DVOvJUSw.mjs}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
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 { tt as resolveCodexAppServerPreparedAuthHandoff } from "./shared-client-
|
|
4
|
-
import { _ as assertCodexPassiveTurnItems } from "./client-
|
|
5
|
-
import { o as resolveCodexLocalRuntimeAttribution } from "./native-subagent-monitor-
|
|
3
|
+
import { tt as resolveCodexAppServerPreparedAuthHandoff } from "./shared-client-D6n5dvpA.mjs";
|
|
4
|
+
import { _ as assertCodexPassiveTurnItems } from "./client-B4EOuI-w.mjs";
|
|
5
|
+
import { o as resolveCodexLocalRuntimeAttribution } from "./native-subagent-monitor-BRr7YExU.mjs";
|
|
6
6
|
import { t as codexTranscriptMirrorRuntime } from "./transcript-mirror-kxmCYsuF.mjs";
|
|
7
|
-
import { runBoundedCodexAppServerTurn } from "./bounded-turn-
|
|
7
|
+
import { runBoundedCodexAppServerTurn } from "./bounded-turn-BKSjzckA.mjs";
|
|
8
8
|
import { t as resolveCodexBoundedTurnIsolation } from "./bounded-turn-isolation-B8K_ylqk.mjs";
|
|
9
|
-
import { a as createAttributedCodexAssistantMessage } from "./event-projector-assistant-message-
|
|
9
|
+
import { a as createAttributedCodexAssistantMessage } from "./event-projector-assistant-message-Bhu17sxy.mjs";
|
|
10
10
|
import { t as CodexSettledTurnContext } from "./settled-turn-context-D4yj4rxf.mjs";
|
|
11
11
|
import { isSilentReplyText } from "openclaw/plugin-sdk/reply-runtime";
|
|
12
12
|
//#region extensions/codex/src/app-server/settled-turn-finalizer.ts
|
|
@@ -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-CDQUVDAI.mjs";
|
|
3
3
|
import { t as CODEX_APP_SERVER_AUTH_PROVIDER } from "./auth-profile-selection-DFu9e167.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-CzyWLTJt.mjs";
|
|
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-
|
|
8
|
-
import { a as readCodexCliAuthFileApiKey, c as resolveCodexAppServerPreparedApiKeyCacheKey, d as waitForCodexDesktopGeneration, f as readCodexDesktopArtifactTreeFingerprint, i as fingerprintTokenAuthProfileCacheKey, n as CODEX_AUTH_JSON_FILENAME, o as readFirstNonEmptyEnv, r as fingerprintApiKeyAuthProfileCacheKey, s as resolveCodexAppServerFallbackApiKeyCacheKey, t as CODEX_APP_SERVER_API_KEY_ENV_VARS, u as isCodexDesktopGenerationCurrent } from "./auth-cache-key-
|
|
9
|
-
import { a as notifyDesktopGenerationDrainChecks, c as retainSharedClientEntry, d as retireSharedCodexAppServerClientIfCurrent, m as waitForUnclaimedSharedClientStartup, n as getCurrentSharedClientEntry, o as ownCodexStartup, r as getSharedCodexAppServerClientState, s as releaseSharedClientEntry, t as createCodexAppServerStartupLifetime, u as retirePendingSharedClientEntryIfUnclaimed } from "./shared-client-lifecycle-
|
|
10
|
-
import { n as resolveCodexAppServerSpawnEnv } from "./transport-stdio-
|
|
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-B6hQ1UKR.mjs";
|
|
8
|
+
import { a as readCodexCliAuthFileApiKey, c as resolveCodexAppServerPreparedApiKeyCacheKey, d as waitForCodexDesktopGeneration, f as readCodexDesktopArtifactTreeFingerprint, i as fingerprintTokenAuthProfileCacheKey, n as CODEX_AUTH_JSON_FILENAME, o as readFirstNonEmptyEnv, r as fingerprintApiKeyAuthProfileCacheKey, s as resolveCodexAppServerFallbackApiKeyCacheKey, t as CODEX_APP_SERVER_API_KEY_ENV_VARS, u as isCodexDesktopGenerationCurrent } from "./auth-cache-key-gOhcdE_N.mjs";
|
|
9
|
+
import { a as notifyDesktopGenerationDrainChecks, c as retainSharedClientEntry, d as retireSharedCodexAppServerClientIfCurrent, m as waitForUnclaimedSharedClientStartup, n as getCurrentSharedClientEntry, o as ownCodexStartup, r as getSharedCodexAppServerClientState, s as releaseSharedClientEntry, t as createCodexAppServerStartupLifetime, u as retirePendingSharedClientEntryIfUnclaimed } from "./shared-client-lifecycle-BXJRGNcp.mjs";
|
|
10
|
+
import { n as resolveCodexAppServerSpawnEnv } from "./transport-stdio-CbutOIEh.mjs";
|
|
11
11
|
import { n as CodexAppServerAuthProfileUnavailableError, r as formatCodexAuthProfileUnavailableMessage } from "./auth-profile-recovery-BREezV0L.mjs";
|
|
12
12
|
import { i as withTimeout } from "./timeout-CXOfNoaX.mjs";
|
|
13
13
|
import { n as readCodexSessionMeta } from "./session-catalog-provenance-DoAvktcj.mjs";
|
|
14
|
-
import { n as observeCodexCatalogClient } from "./session-catalog-events-
|
|
14
|
+
import { n as observeCodexCatalogClient } from "./session-catalog-events-BNKvbFTA.mjs";
|
|
15
15
|
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-C0NbLms1.mjs";
|
|
16
16
|
import { a as resolveCodexAppServerAuthProfileStore, i as resolveCodexAppServerAuthProfileIdForAgent, r as resolveCodexAppServerAuthProfileId, t as isCodexAppServerNativeAuthProfile } from "./auth-profile-B0okYl2D.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 { f as isUnsupportedCodexAppServerVersionError, t as CodexAppServerClient } from "./client-
|
|
18
|
+
import { f as isUnsupportedCodexAppServerVersionError, t as CodexAppServerClient } from "./client-B4EOuI-w.mjs";
|
|
19
19
|
import { n as isCodexWebSocketOpenFailure } from "./transport-websocket-BTBE-LD9.mjs";
|
|
20
20
|
import { t as __exportAll } from "./session-binding-sidecars-jo6H8dFr.mjs";
|
|
21
21
|
import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -2521,7 +2521,7 @@ async function prepareCodexInferenceRoute(params) {
|
|
|
2521
2521
|
}
|
|
2522
2522
|
pending = Promise.all([
|
|
2523
2523
|
import("./inference-proxy-DhcXOgUE.mjs"),
|
|
2524
|
-
import("./native-subagent-monitor-
|
|
2524
|
+
import("./native-subagent-monitor-BRr7YExU.mjs").then((n) => n.n),
|
|
2525
2525
|
import("./inference-dispatch-CMZtjQyz.mjs")
|
|
2526
2526
|
]).then(([{ createCodexInferenceProxy }, native, { createCodexInferenceModelBinding }]) => {
|
|
2527
2527
|
assertClient();
|
|
@@ -3312,7 +3312,7 @@ async function startInitializedCodexAppServerClientOnce(params) {
|
|
|
3312
3312
|
} finally {
|
|
3313
3313
|
artifactDrain?.cancel();
|
|
3314
3314
|
}
|
|
3315
|
-
const runtimeArtifactModule = params.runtimeArtifactMode ? await import("./runtime-artifact-
|
|
3315
|
+
const runtimeArtifactModule = params.runtimeArtifactMode ? await import("./runtime-artifact-D7lCXdhV.mjs") : void 0;
|
|
3316
3316
|
const runtimeArtifactBeforeStart = runtimeArtifactModule ? await runtimeArtifactModule.captureCodexAppServerRuntimeArtifactBeforeStart({
|
|
3317
3317
|
startOptions,
|
|
3318
3318
|
spawnIdentity: resolveCodexAppServerSpawnIdentity(startOptions),
|
package/dist/.setup/{shared-client-lifecycle-7xgtlo15.mjs → shared-client-lifecycle-BXJRGNcp.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as defineCodexBuildState } from "./build-state-
|
|
1
|
+
import { n as defineCodexBuildState } from "./build-state-CDQUVDAI.mjs";
|
|
2
2
|
//#region extensions/codex/src/app-server/shared-client-lifecycle.ts
|
|
3
3
|
/** Client ownership and synchronous retirement, independent of startup/auth execution. */
|
|
4
4
|
const createCodexAppServerStartupLifetime = () => ({
|
|
@@ -6,18 +6,18 @@ import { i as resolveCodexAppServerHomeScope, l as resolveCodexModelBackedReview
|
|
|
6
6
|
import { n as formatCodexUsageLimitErrorMessage } from "./rate-limits-B7-X2TgG.mjs";
|
|
7
7
|
import { i as resolveCodexBindingAppServerConnection, r as requireCodexSupervisionModelSelection } from "./binding-connection-DTtN1KrX.mjs";
|
|
8
8
|
import { n as canUseCodexModelBackedApprovalsReviewerForModel, r as resolveOpenClawExecPolicyForCodexAppServer } from "./config-DKhXquav.mjs";
|
|
9
|
-
import { X as readRecentCodexRateLimits, b as withLeasedCodexAppServerClientStartSelectionRetry, c as getLeasedSharedCodexAppServerClient, m as releaseCodexAppServerClientLease, tt as resolveCodexAppServerPreparedAuthHandoff } from "./shared-client-
|
|
10
|
-
import { A as handleDynamicToolCallWithTimeout, B as resolveCodexToolAbortTerminalReason, P as resolveDynamicToolCallTimeoutMs, S as assertCodexTurnStartResponse, i as isCodexAppServerApprovalRequest, k as createCodexElicitationResponse, s as isCodexAppServerIndeterminateRequestCancellationError, w as readCodexDynamicToolCallParams, y as assertCodexThreadForkResponse, z as toCodexDynamicToolProtocolResponse } from "./client-
|
|
11
|
-
import { f as terminateCodexBackgroundTerminals, p as unsubscribeCodexThreadBestEffort, s as interruptCodexTurnAndWaitBestEffort, u as retireUnsafeCodexTurnClientBestEffort } from "./attempt-client-cleanup-
|
|
12
|
-
import { t as CodexEphemeralTurn } from "./ephemeral-turn-
|
|
13
|
-
import { Ct as refreshCodexPluginAppApprovalPolicy, D as buildCodexNativeHookRelayConfig, M as resolveCodexNativeHookRelayEvents, N as resolveCodexNativeHookRelayTtlMs, O as buildCodexNativeHookRelayDisabledConfig, St as mergeCodexThreadConfigs, ft as resolveCodexDynamicToolsLoading, g as CODEX_NATIVE_PERSONALITY_NONE, p as resolveCodexWebSearchPlan, r as buildCodexRuntimeThreadConfig, y as resolveCodexAppServerThreadModelSelection } from "./thread-requests-
|
|
14
|
-
import { S as resolveCodexAppServerReasoningEffort, o as buildCodexUserInput, r as buildCodexTemporalAdditionalContext, x as readCodexSupportedReasoningEfforts } from "./thread-lifecycle-
|
|
9
|
+
import { X as readRecentCodexRateLimits, b as withLeasedCodexAppServerClientStartSelectionRetry, c as getLeasedSharedCodexAppServerClient, m as releaseCodexAppServerClientLease, tt as resolveCodexAppServerPreparedAuthHandoff } from "./shared-client-D6n5dvpA.mjs";
|
|
10
|
+
import { A as handleDynamicToolCallWithTimeout, B as resolveCodexToolAbortTerminalReason, P as resolveDynamicToolCallTimeoutMs, S as assertCodexTurnStartResponse, i as isCodexAppServerApprovalRequest, k as createCodexElicitationResponse, s as isCodexAppServerIndeterminateRequestCancellationError, w as readCodexDynamicToolCallParams, y as assertCodexThreadForkResponse, z as toCodexDynamicToolProtocolResponse } from "./client-B4EOuI-w.mjs";
|
|
11
|
+
import { f as terminateCodexBackgroundTerminals, p as unsubscribeCodexThreadBestEffort, s as interruptCodexTurnAndWaitBestEffort, u as retireUnsafeCodexTurnClientBestEffort } from "./attempt-client-cleanup-_RUXhE5e.mjs";
|
|
12
|
+
import { t as CodexEphemeralTurn } from "./ephemeral-turn-C-vPku4K.mjs";
|
|
13
|
+
import { Ct as refreshCodexPluginAppApprovalPolicy, D as buildCodexNativeHookRelayConfig, M as resolveCodexNativeHookRelayEvents, N as resolveCodexNativeHookRelayTtlMs, O as buildCodexNativeHookRelayDisabledConfig, St as mergeCodexThreadConfigs, ft as resolveCodexDynamicToolsLoading, g as CODEX_NATIVE_PERSONALITY_NONE, p as resolveCodexWebSearchPlan, r as buildCodexRuntimeThreadConfig, y as resolveCodexAppServerThreadModelSelection } from "./thread-requests-CIyAcDJ3.mjs";
|
|
14
|
+
import { S as resolveCodexAppServerReasoningEffort, o as buildCodexUserInput, r as buildCodexTemporalAdditionalContext, x as readCodexSupportedReasoningEfforts } from "./thread-lifecycle-BPIjjjRJ.mjs";
|
|
15
15
|
import { o as resolveCodexSessionBinding } from "./session-binding-DGCYAfvD.mjs";
|
|
16
|
-
import { a as refreshCodexThreadPolicy, i as assertCodexSupervisionThreadLineage, n as CodexThreadPolicyHandoffError } from "./thread-policy-
|
|
16
|
+
import { a as refreshCodexThreadPolicy, i as assertCodexSupervisionThreadLineage, n as CodexThreadPolicyHandoffError } from "./thread-policy-Bf769xTq.mjs";
|
|
17
17
|
import { t as resolveCodexNativeExecutionBlock } from "./sandbox-guard-DjCz2eOw.mjs";
|
|
18
|
-
import { E as CodexNativeToolLifecycleProjector, a as emitDynamicToolStartedDiagnostic, b as createCodexNativePreToolUseFailureBuffer, c as buildDynamicTools, f as resolveCodexExternalSandboxPolicyForOpenClawSandbox, g as shouldRequireCodexSandboxExecServerEnvironment, h as shouldEnableCodexAppServerNativeToolSurface, i as emitDynamicToolErrorDiagnostic, m as resolveCodexSandboxEnvironmentSelection, o as emitDynamicToolTerminalDiagnostic, p as resolveCodexMessageToolProvider, r as routeCodexAppServerElicitationRequest, s as handleCodexAppServerApprovalRequest, t as createCodexDynamicToolBridge, v as ensureCodexSandboxExecServerEnvironment, y as releaseCodexSandboxExecServerEnvironment } from "./dynamic-tools-
|
|
18
|
+
import { E as CodexNativeToolLifecycleProjector, a as emitDynamicToolStartedDiagnostic, b as createCodexNativePreToolUseFailureBuffer, c as buildDynamicTools, f as resolveCodexExternalSandboxPolicyForOpenClawSandbox, g as shouldRequireCodexSandboxExecServerEnvironment, h as shouldEnableCodexAppServerNativeToolSurface, i as emitDynamicToolErrorDiagnostic, m as resolveCodexSandboxEnvironmentSelection, o as emitDynamicToolTerminalDiagnostic, p as resolveCodexMessageToolProvider, r as routeCodexAppServerElicitationRequest, s as handleCodexAppServerApprovalRequest, t as createCodexDynamicToolBridge, v as ensureCodexSandboxExecServerEnvironment, y as releaseCodexSandboxExecServerEnvironment } from "./dynamic-tools-86M3tRl4.mjs";
|
|
19
19
|
import { a as resolveCodexAppServerForModelProvider, i as resolveCodexSessionPermissionCwd, n as applyCodexSessionPermissionPolicy, r as resolveCodexEffectiveSessionPermissionPolicy, t as CODEX_SESSION_PERMISSION_EXEC_MODES } from "./session-permission-policy-Ci_fVX6y.mjs";
|
|
20
|
-
import { n as resolveCodexProviderWebSearchSupportForClient } from "./provider-capabilities-
|
|
20
|
+
import { n as resolveCodexProviderWebSearchSupportForClient } from "./provider-capabilities-CIWN6WAi.mjs";
|
|
21
21
|
import { readStringField } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
22
22
|
import { randomUUID } from "node:crypto";
|
|
23
23
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as marketplaceRef, n as isOpenAiCuratedMarketplace, o as pluginReadParams, u as CODEX_PLUGINS_MARKETPLACE_NAME } from "./plugin-inventory-Cky2XJUw.mjs";
|
|
2
2
|
import { a as defaultCodexAppInventoryCache, r as buildCodexPluginAppCacheKey } from "./plugin-app-cache-key-BL9B5H0L.mjs";
|
|
3
|
-
import { o as withCodexAppServerJsonClient } from "./request-
|
|
3
|
+
import { o as withCodexAppServerJsonClient } from "./request-D-Vhprx3.mjs";
|
|
4
4
|
import "./config-DKhXquav.mjs";
|
|
5
5
|
import { t as __exportAll } from "./session-binding-sidecars-jo6H8dFr.mjs";
|
|
6
6
|
import { asNonArrayRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -4,7 +4,7 @@ import { u as stringifyCodexPolicy } from "./config-security-CE-FcGw9.mjs";
|
|
|
4
4
|
import { n as resolveCodexAppServerLocalHomeDir, t as resolveCodexAppServerHomeDir } from "./auth-start-options-BPIPeEX8.mjs";
|
|
5
5
|
import { d as readCodexEffectiveConfig, n as codexSandboxPolicyForTurn, s as assertCodexModelBackedReviewerEffectiveConfig, u as CODEX_SESSION_OVERRIDABLE_LAYER_TYPES } from "./config-options-CzyWLTJt.mjs";
|
|
6
6
|
import { i as markStartedCodexManagedThread } from "./managed-thread-store-BMqgThVL.mjs";
|
|
7
|
-
import { l as retainSharedCodexAppServerClientByInstanceId, n as getCurrentSharedClientEntry } from "./shared-client-lifecycle-
|
|
7
|
+
import { l as retainSharedCodexAppServerClientByInstanceId, n as getCurrentSharedClientEntry } from "./shared-client-lifecycle-BXJRGNcp.mjs";
|
|
8
8
|
import { t as withCodexAppServerThreadMutation } from "./thread-ownership-queue-Dp24d7-F.mjs";
|
|
9
9
|
import { t as isIncognitoSessionKey } from "./incognito-session-DWYapfwf.mjs";
|
|
10
10
|
import { n as CodexAppServerRpcError, r as isCodexThreadReadMissingError } from "./rpc-error-BlD2vuzn.mjs";
|
|
@@ -18,14 +18,14 @@ import "./config-DKhXquav.mjs";
|
|
|
18
18
|
import { i as sanitizeInlineImageDataUrl, r as invalidInlineImageText } from "./session-history-read-Ov3StuL4.mjs";
|
|
19
19
|
import { c as resolveCodexContextEngineProjectionMaxChars, o as neutralizeCodexExplicitMentionSigils } from "./context-engine-projection-PezSESth.mjs";
|
|
20
20
|
import { n as normalizeCodexAppServerBindingModelProvider } from "./auth-profile-B0okYl2D.mjs";
|
|
21
|
-
import { A as bindCodexInferenceThread, B as isCodexAppServerClientRuntimeLive, C as CodexThreadBindingConflictError, F as consumeCodexAppServerLiveThread, G as releaseCodexAppServerLiveThread, J as unsubscribeCodexAppServerLiveThread, M as getCodexInferenceThreadQualification, N as prepareCodexInferenceThreadConfig, Q as createCodexEphemeralThreadPolicy, S as CodexAdoptedThreadActiveError, T as CodexThreadStartRequestError, V as isCodexAppServerLiveThreadClaimed, j as getCodexInferenceThread, k as assertCodexInferenceRouteConfig, n as captureCodexAppServerClientLifetime, w as CodexThreadClientReplacementError, z as hasCodexAppServerSiblingThreadWork } from "./shared-client-
|
|
22
|
-
import { C as assertExactSupervisionModelSelection, D as readSupervisionResponseThreadId, O as resolveCodexThreadRolloutPath, d as isCodexAppServerRequestTimeoutError, l as isCodexAppServerOverloadError, p as resolveCodexAppServerClientInstanceId, r as getCodexAppServerClientInstanceId, v as assertCodexThreadAcceptsDirectInput, x as assertCodexThreadStartResponse, y as assertCodexThreadForkResponse } from "./client-
|
|
23
|
-
import { c as isCodexAppServerUnsafeSubscriptionError, g as hasCodexAppServerSiblingRouteWork, n as CODEX_APP_SERVER_UNSUBSCRIBE_TIMEOUT_MS, o as closeCodexStartupClientBestEffort, p as unsubscribeCodexThreadBestEffort, r as CodexAppServerUnsafeSubscriptionError, u as retireUnsafeCodexTurnClientBestEffort } from "./attempt-client-cleanup-
|
|
24
|
-
import { $ as readActiveCodexTurnIdsFromResume, B as loadCodexNativeToolCatalog, C as mergeCodexNativeProjectDocThreadConfig, E as assertCodexNativeHookRelayAllowed, F as attestCodexThreadToolSurface, G as areUserMcpServersFingerprintsCompatible, H as applyCodexNativeSkillIsolation, I as checkCodexThreadAppAvailability, J as fingerprintCodexThreadConfig, K as codexDynamicToolsFingerprint, L as discardUnattestedCodexPluginThread, Q as legacyFingerprintUserMcpServersConfigPatch, R as attestCodexRestrictedToolSurfaceMcpServersDisabled, St as mergeCodexThreadConfigs, T as CodexManagedHooksOnlyError, Tt as buildCodexAppApprovalOverrides, U as resolveCodexNativeSkillIsolation, W as areCodexDynamicToolFingerprintsCompatible, X as fingerprintJsonObject, Y as fingerprintEnvironmentSelection, Z as fingerprintUserMcpServersConfigPatch, _ as resolveCodexAppServerModelProvider, at as shouldRotateCodexGpt56MultiAgentBinding, bt as disableUnlistedCodexApps, c as codexThreadSandboxOrPermissions, d as resolveCodexThreadApprovalsReviewer, et as shouldStartTransientNoToolThread, g as CODEX_NATIVE_PERSONALITY_NONE, h as buildDeveloperInstructions, i as buildCodexRuntimeThreadConfigForRun, it as shouldRotateCodexAppServerBindingForRuntime, l as readCodexInheritedMcpServerNames, lt as isMessageOnlyCodexSourceReply, m as mergeCodexNativeShellEnvironment, mt as buildCodexPluginAppsConfigPatchFromPolicyContext, n as buildCodexRingZeroThreadConfigPatch, nt as isTransientWebSearchRestriction, o as buildThreadResumeParams, p as resolveCodexWebSearchPlan, q as codexLegacyDynamicToolsFingerprint, rt as shouldRecheckRecoverablePluginBinding, s as buildThreadStartParams, t as assertCodexManagedRequirementsDoNotOverrideToolPolicy, u as readCodexManagedRequirementsFingerprint, ut as isSystemAgentOnlyCodexDynamicToolAllowlist, v as resolveCodexAppServerRequestModelSelection, x as joinPresentSections, xt as isCodexPluginThreadBindingStale, y as resolveCodexAppServerThreadModelSelection, yt as buildPluginAppPolicyContext, z as hasCodexNativeToolCatalog } from "./thread-requests-
|
|
21
|
+
import { A as bindCodexInferenceThread, B as isCodexAppServerClientRuntimeLive, C as CodexThreadBindingConflictError, F as consumeCodexAppServerLiveThread, G as releaseCodexAppServerLiveThread, J as unsubscribeCodexAppServerLiveThread, M as getCodexInferenceThreadQualification, N as prepareCodexInferenceThreadConfig, Q as createCodexEphemeralThreadPolicy, S as CodexAdoptedThreadActiveError, T as CodexThreadStartRequestError, V as isCodexAppServerLiveThreadClaimed, j as getCodexInferenceThread, k as assertCodexInferenceRouteConfig, n as captureCodexAppServerClientLifetime, w as CodexThreadClientReplacementError, z as hasCodexAppServerSiblingThreadWork } from "./shared-client-D6n5dvpA.mjs";
|
|
22
|
+
import { C as assertExactSupervisionModelSelection, D as readSupervisionResponseThreadId, O as resolveCodexThreadRolloutPath, d as isCodexAppServerRequestTimeoutError, l as isCodexAppServerOverloadError, p as resolveCodexAppServerClientInstanceId, r as getCodexAppServerClientInstanceId, v as assertCodexThreadAcceptsDirectInput, x as assertCodexThreadStartResponse, y as assertCodexThreadForkResponse } from "./client-B4EOuI-w.mjs";
|
|
23
|
+
import { c as isCodexAppServerUnsafeSubscriptionError, g as hasCodexAppServerSiblingRouteWork, n as CODEX_APP_SERVER_UNSUBSCRIBE_TIMEOUT_MS, o as closeCodexStartupClientBestEffort, p as unsubscribeCodexThreadBestEffort, r as CodexAppServerUnsafeSubscriptionError, u as retireUnsafeCodexTurnClientBestEffort } from "./attempt-client-cleanup-_RUXhE5e.mjs";
|
|
24
|
+
import { $ as readActiveCodexTurnIdsFromResume, B as loadCodexNativeToolCatalog, C as mergeCodexNativeProjectDocThreadConfig, E as assertCodexNativeHookRelayAllowed, F as attestCodexThreadToolSurface, G as areUserMcpServersFingerprintsCompatible, H as applyCodexNativeSkillIsolation, I as checkCodexThreadAppAvailability, J as fingerprintCodexThreadConfig, K as codexDynamicToolsFingerprint, L as discardUnattestedCodexPluginThread, Q as legacyFingerprintUserMcpServersConfigPatch, R as attestCodexRestrictedToolSurfaceMcpServersDisabled, St as mergeCodexThreadConfigs, T as CodexManagedHooksOnlyError, Tt as buildCodexAppApprovalOverrides, U as resolveCodexNativeSkillIsolation, W as areCodexDynamicToolFingerprintsCompatible, X as fingerprintJsonObject, Y as fingerprintEnvironmentSelection, Z as fingerprintUserMcpServersConfigPatch, _ as resolveCodexAppServerModelProvider, at as shouldRotateCodexGpt56MultiAgentBinding, bt as disableUnlistedCodexApps, c as codexThreadSandboxOrPermissions, d as resolveCodexThreadApprovalsReviewer, et as shouldStartTransientNoToolThread, g as CODEX_NATIVE_PERSONALITY_NONE, h as buildDeveloperInstructions, i as buildCodexRuntimeThreadConfigForRun, it as shouldRotateCodexAppServerBindingForRuntime, l as readCodexInheritedMcpServerNames, lt as isMessageOnlyCodexSourceReply, m as mergeCodexNativeShellEnvironment, mt as buildCodexPluginAppsConfigPatchFromPolicyContext, n as buildCodexRingZeroThreadConfigPatch, nt as isTransientWebSearchRestriction, o as buildThreadResumeParams, p as resolveCodexWebSearchPlan, q as codexLegacyDynamicToolsFingerprint, rt as shouldRecheckRecoverablePluginBinding, s as buildThreadStartParams, t as assertCodexManagedRequirementsDoNotOverrideToolPolicy, u as readCodexManagedRequirementsFingerprint, ut as isSystemAgentOnlyCodexDynamicToolAllowlist, v as resolveCodexAppServerRequestModelSelection, x as joinPresentSections, xt as isCodexPluginThreadBindingStale, y as resolveCodexAppServerThreadModelSelection, yt as buildPluginAppPolicyContext, z as hasCodexNativeToolCatalog } from "./thread-requests-CIyAcDJ3.mjs";
|
|
25
25
|
import { o as resolveCodexSessionBinding, r as hashCodexAppServerBindingFingerprint } from "./session-binding-DGCYAfvD.mjs";
|
|
26
|
-
import { a as refreshCodexThreadPolicy, i as assertCodexSupervisionThreadLineage, n as CodexThreadPolicyHandoffError, o as refreshCodexThreadSkillsCatalog, r as assertAdoptedCodexThreadResumeAllowed, t as CodexIncognitoPolicyChangeError } from "./thread-policy-
|
|
27
|
-
import { t as resumeCodexAppServerThread } from "./thread-resume-
|
|
28
|
-
import { c as withExclusiveCodexAppServerThread, r as retainCodexAppServerBindingSubscription, t as isSameCodexAppServerThreadOwner } from "./thread-ownership-
|
|
26
|
+
import { a as refreshCodexThreadPolicy, i as assertCodexSupervisionThreadLineage, n as CodexThreadPolicyHandoffError, o as refreshCodexThreadSkillsCatalog, r as assertAdoptedCodexThreadResumeAllowed, t as CodexIncognitoPolicyChangeError } from "./thread-policy-Bf769xTq.mjs";
|
|
27
|
+
import { t as resumeCodexAppServerThread } from "./thread-resume-DZbRTxqM.mjs";
|
|
28
|
+
import { c as withExclusiveCodexAppServerThread, r as retainCodexAppServerBindingSubscription, t as isSameCodexAppServerThreadOwner } from "./thread-ownership-vY9gRYkw.mjs";
|
|
29
29
|
import "./transcript-mirror-kxmCYsuF.mjs";
|
|
30
30
|
import { asOptionalRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
31
31
|
import crypto from "node:crypto";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as retainSharedCodexAppServerClientByInstanceId } from "./shared-client-lifecycle-
|
|
1
|
+
import { l as retainSharedCodexAppServerClientByInstanceId } from "./shared-client-lifecycle-BXJRGNcp.mjs";
|
|
2
2
|
import { t as withCodexAppServerThreadMutation } from "./thread-ownership-queue-Dp24d7-F.mjs";
|
|
3
|
-
import { G as releaseCodexAppServerLiveThread, K as retainCodexAppServerLiveThread, V as isCodexAppServerLiveThreadClaimed } from "./shared-client-
|
|
4
|
-
import { o as closeCodexStartupClientBestEffort, p as unsubscribeCodexThreadBestEffort, r as CodexAppServerUnsafeSubscriptionError } from "./attempt-client-cleanup-
|
|
3
|
+
import { G as releaseCodexAppServerLiveThread, K as retainCodexAppServerLiveThread, V as isCodexAppServerLiveThreadClaimed } from "./shared-client-D6n5dvpA.mjs";
|
|
4
|
+
import { o as closeCodexStartupClientBestEffort, p as unsubscribeCodexThreadBestEffort, r as CodexAppServerUnsafeSubscriptionError } from "./attempt-client-cleanup-_RUXhE5e.mjs";
|
|
5
5
|
import { t as __exportAll } from "./session-binding-sidecars-jo6H8dFr.mjs";
|
|
6
6
|
import { createDeferred } from "openclaw/plugin-sdk/extension-shared";
|
|
7
7
|
import { runWithAsyncWorkResources } from "openclaw/plugin-sdk/agent-harness-tool-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { r as requestCodexAppServerClientJson, t as CodexAppServerScopedRequestRejectedError } from "./request-
|
|
2
|
-
import { S as CodexAdoptedThreadActiveError } from "./shared-client-
|
|
3
|
-
import { l as isCodexAppServerOverloadError, u as isCodexAppServerPrewriteRequestCancellationError, v as assertCodexThreadAcceptsDirectInput } from "./client-
|
|
1
|
+
import { r as requestCodexAppServerClientJson, t as CodexAppServerScopedRequestRejectedError } from "./request-D-Vhprx3.mjs";
|
|
2
|
+
import { S as CodexAdoptedThreadActiveError } from "./shared-client-D6n5dvpA.mjs";
|
|
3
|
+
import { l as isCodexAppServerOverloadError, u as isCodexAppServerPrewriteRequestCancellationError, v as assertCodexThreadAcceptsDirectInput } from "./client-B4EOuI-w.mjs";
|
|
4
4
|
import { AgentHarnessPreflightError, embeddedAgentLog, formatErrorMessage } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
5
5
|
//#region extensions/codex/src/app-server/thread-policy.ts
|
|
6
6
|
/** A refusal, not a failed native write: the ephemeral conversation must stay alive. */
|
|
@@ -8,13 +8,13 @@ import { t as isIncognitoSessionKey } from "./incognito-session-DWYapfwf.mjs";
|
|
|
8
8
|
import { a as defaultCodexAppInventoryCache, i as CodexAppInventoryCache, o as serializeCodexAppInventoryError, s as codexAppIdentityKey, t as buildCodexAppServerConnectionFingerprint } from "./plugin-app-cache-key-BL9B5H0L.mjs";
|
|
9
9
|
import "./config-DKhXquav.mjs";
|
|
10
10
|
import { t as isCodexAppServerNativeAuthProfile } from "./auth-profile-B0okYl2D.mjs";
|
|
11
|
-
import { D as nativeHookRelayUnregisterQueue, W as readCodexClientSessionMeta } from "./shared-client-
|
|
11
|
+
import { D as nativeHookRelayUnregisterQueue, W as readCodexClientSessionMeta } from "./shared-client-D6n5dvpA.mjs";
|
|
12
12
|
import { a as isCodexResponsesOAuthRun, i as isCodexResponsesOAuthCredential, t as CODEX_RESPONSES_OAUTH_PROVIDER } from "./responses-oauth-twnuTaAa.mjs";
|
|
13
|
-
import { B as resolveCodexToolAbortTerminalReason } from "./client-
|
|
14
|
-
import { n as CODEX_APP_SERVER_UNSUBSCRIBE_TIMEOUT_MS, p as unsubscribeCodexThreadBestEffort } from "./attempt-client-cleanup-
|
|
13
|
+
import { B as resolveCodexToolAbortTerminalReason } from "./client-B4EOuI-w.mjs";
|
|
14
|
+
import { n as CODEX_APP_SERVER_UNSUBSCRIBE_TIMEOUT_MS, p as unsubscribeCodexThreadBestEffort } from "./attempt-client-cleanup-_RUXhE5e.mjs";
|
|
15
15
|
import { t as ensureCodexPluginActivation } from "./plugin-activation-cNHRfaxU.mjs";
|
|
16
16
|
import { r as hashCodexAppServerBindingFingerprint } from "./session-binding-DGCYAfvD.mjs";
|
|
17
|
-
import { t as codexNativeSubagentMonitorRuntime } from "./native-subagent-monitor-
|
|
17
|
+
import { t as codexNativeSubagentMonitorRuntime } from "./native-subagent-monitor-BRr7YExU.mjs";
|
|
18
18
|
import { normalizeOptionalString, normalizeUniqueStringEntries, normalizeUniqueTrimmedStringList } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
19
19
|
import * as crypto$1 from "node:crypto";
|
|
20
20
|
import crypto, { createHash } from "node:crypto";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { n as CodexAppServerRpcError } from "./rpc-error-BlD2vuzn.mjs";
|
|
2
|
-
import { r as publishCodexCatalogResume } from "./session-catalog-events-
|
|
3
|
-
import { t as CodexAppServerScopedRequestRejectedError } from "./request-
|
|
4
|
-
import { L as forgetCodexWorkspaceReferences, ft as isCodexAppServerStartupError, u as isCodexAppServerStartSelectionChangedError } from "./shared-client-
|
|
5
|
-
import { b as assertCodexThreadResumeResponse, l as isCodexAppServerOverloadError, u as isCodexAppServerPrewriteRequestCancellationError } from "./client-
|
|
6
|
-
import { i as assertCodexThreadResumeSubscription, p as unsubscribeCodexThreadBestEffort, r as CodexAppServerUnsafeSubscriptionError } from "./attempt-client-cleanup-
|
|
2
|
+
import { r as publishCodexCatalogResume } from "./session-catalog-events-BNKvbFTA.mjs";
|
|
3
|
+
import { t as CodexAppServerScopedRequestRejectedError } from "./request-D-Vhprx3.mjs";
|
|
4
|
+
import { L as forgetCodexWorkspaceReferences, ft as isCodexAppServerStartupError, u as isCodexAppServerStartSelectionChangedError } from "./shared-client-D6n5dvpA.mjs";
|
|
5
|
+
import { b as assertCodexThreadResumeResponse, l as isCodexAppServerOverloadError, u as isCodexAppServerPrewriteRequestCancellationError } from "./client-B4EOuI-w.mjs";
|
|
6
|
+
import { i as assertCodexThreadResumeSubscription, p as unsubscribeCodexThreadBestEffort, r as CodexAppServerUnsafeSubscriptionError } from "./attempt-client-cleanup-_RUXhE5e.mjs";
|
|
7
7
|
import { sanitizeTerminalText } from "openclaw/plugin-sdk/text-chunking";
|
|
8
8
|
//#region extensions/codex/src/app-server/thread-resume.ts
|
|
9
9
|
/** Owns Codex thread/resume subscription safety. */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as normalizeCodexAppServerArgs } from "./launch-args-DbFCehO7.mjs";
|
|
2
|
-
import { i as resolveManagedCodexNativeCommand } from "./managed-binary-
|
|
2
|
+
import { i as resolveManagedCodexNativeCommand } from "./managed-binary-B6hQ1UKR.mjs";
|
|
3
3
|
import { i as recordCodexAppServerSpawnFailure, r as getCodexAppServerSpawnFailure } from "./spawn-error-CL3n6MAa.mjs";
|
|
4
4
|
import { createHash, randomUUID } from "node:crypto";
|
|
5
5
|
import { stripVTControlCharacters } from "node:util";
|
package/dist/.setup/{upstream-session-fork-gkdRj2yH.mjs → upstream-session-fork-Ci2-RvEy.mjs}
RENAMED
|
@@ -8,19 +8,19 @@ import { r as projectCodexUserItemText } from "./transcript-history-projection-D
|
|
|
8
8
|
import { n as codexUpstreamBaseline, t as codexLastTerminalTurnId } from "./session-upstream-marker-D15C9NHp.mjs";
|
|
9
9
|
import { r as buildCodexPluginAppCacheKey } from "./plugin-app-cache-key-BL9B5H0L.mjs";
|
|
10
10
|
import { n as readCodexSessionMeta } from "./session-catalog-provenance-DoAvktcj.mjs";
|
|
11
|
-
import { t as CodexAppServerScopedRequestRejectedError } from "./request-
|
|
11
|
+
import { t as CodexAppServerScopedRequestRejectedError } from "./request-D-Vhprx3.mjs";
|
|
12
12
|
import { r as resolveOpenClawExecPolicyForCodexAppServer } from "./config-DKhXquav.mjs";
|
|
13
13
|
import { r as resolveCodexSupervisionAppServerRuntimeOptions } from "./config-runtime-C0NbLms1.mjs";
|
|
14
14
|
import { a as fingerprintCodexMirrorSourceMessage, c as readCodexMirrorSourceFingerprint } from "./transcript-mirror-attestation-YSegaktH.mjs";
|
|
15
|
-
import { P as claimCodexAppServerLiveThread, R as hasCodexAppServerLiveThread, f as readCodexAppServerClientDesktopGenerationFingerprint } from "./shared-client-
|
|
16
|
-
import { l as isCodexAppServerOverloadError, u as isCodexAppServerPrewriteRequestCancellationError, v as assertCodexThreadAcceptsDirectInput, y as assertCodexThreadForkResponse } from "./client-
|
|
17
|
-
import { D as buildCodexNativeHookRelayConfig, E as assertCodexNativeHookRelayAllowed, H as applyCodexNativeSkillIsolation, I as checkCodexThreadAppAvailability, K as codexDynamicToolsFingerprint, M as resolveCodexNativeHookRelayEvents, St as mergeCodexThreadConfigs, U as resolveCodexNativeSkillIsolation, V as parseCodexNativeToolCatalog, X as fingerprintJsonObject, Z as fingerprintUserMcpServersConfigPatch, a as buildCodexThreadConfiguration, h as buildDeveloperInstructions, ht as buildCodexPluginThreadConfig, k as buildCodexNativeHookRelayId, p as resolveCodexWebSearchPlan, wt as shouldBuildCodexPluginThreadConfig } from "./thread-requests-
|
|
15
|
+
import { P as claimCodexAppServerLiveThread, R as hasCodexAppServerLiveThread, f as readCodexAppServerClientDesktopGenerationFingerprint } from "./shared-client-D6n5dvpA.mjs";
|
|
16
|
+
import { l as isCodexAppServerOverloadError, u as isCodexAppServerPrewriteRequestCancellationError, v as assertCodexThreadAcceptsDirectInput, y as assertCodexThreadForkResponse } from "./client-B4EOuI-w.mjs";
|
|
17
|
+
import { D as buildCodexNativeHookRelayConfig, E as assertCodexNativeHookRelayAllowed, H as applyCodexNativeSkillIsolation, I as checkCodexThreadAppAvailability, K as codexDynamicToolsFingerprint, M as resolveCodexNativeHookRelayEvents, St as mergeCodexThreadConfigs, U as resolveCodexNativeSkillIsolation, V as parseCodexNativeToolCatalog, X as fingerprintJsonObject, Z as fingerprintUserMcpServersConfigPatch, a as buildCodexThreadConfiguration, h as buildDeveloperInstructions, ht as buildCodexPluginThreadConfig, k as buildCodexNativeHookRelayId, p as resolveCodexWebSearchPlan, wt as shouldBuildCodexPluginThreadConfig } from "./thread-requests-CIyAcDJ3.mjs";
|
|
18
18
|
import "./session-binding-DGCYAfvD.mjs";
|
|
19
|
-
import { a as refreshCodexThreadPolicy, n as CodexThreadPolicyHandoffError } from "./thread-policy-
|
|
20
|
-
import "./thread-ownership-
|
|
19
|
+
import { a as refreshCodexThreadPolicy, n as CodexThreadPolicyHandoffError } from "./thread-policy-Bf769xTq.mjs";
|
|
20
|
+
import "./thread-ownership-vY9gRYkw.mjs";
|
|
21
21
|
import { n as resolveCodexNativeExecutionPolicy } from "./native-execution-policy-BxZJy5mP.mjs";
|
|
22
|
-
import { l as prepareCodexWorkspaceDeveloperInstructions } from "./attempt-workspace-context-
|
|
23
|
-
import { d as isCodexDynamicToolExcluded, n as resolveCodexProviderWebSearchSupportForClient } from "./provider-capabilities-
|
|
22
|
+
import { l as prepareCodexWorkspaceDeveloperInstructions } from "./attempt-workspace-context-CSD2rKPq.mjs";
|
|
23
|
+
import { d as isCodexDynamicToolExcluded, n as resolveCodexProviderWebSearchSupportForClient } from "./provider-capabilities-CIWN6WAi.mjs";
|
|
24
24
|
import { n as prepareCodexSessionInitialization } from "./session-initialization-6aveB9qb.mjs";
|
|
25
25
|
import { createImportedCodexSession } from "./session-history-import-WhX-X33a.mjs";
|
|
26
26
|
import { isRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as buildCodexAppServerUsageSnapshot } from "./rate-limits-B7-X2TgG.mjs";
|
|
2
|
-
import { n as readCodexAppServerUsage } from "./request-
|
|
2
|
+
import { n as readCodexAppServerUsage } from "./request-D-Vhprx3.mjs";
|
|
3
3
|
import "./config-DKhXquav.mjs";
|
|
4
4
|
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-C0NbLms1.mjs";
|
|
5
5
|
import { CODEX_APP_SERVER_AUTH_MARKER } from "openclaw/plugin-sdk/agent-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as isJsonObject } from "./protocol-CANUwXJ3.mjs";
|
|
2
2
|
import { a as shouldRefreshCodexRateLimitsForUsageLimitMessage, i as resolveCodexUsageLimitResetAtMs, n as formatCodexUsageLimitErrorMessage } from "./rate-limits-B7-X2TgG.mjs";
|
|
3
3
|
import { t as CODEX_CONTROL_METHODS } from "./capabilities-B3WEZl4e.mjs";
|
|
4
|
-
import { X as readRecentCodexRateLimits, Y as readCodexRateLimitsRevision, Z as rememberCodexRateLimitsRead } from "./shared-client-
|
|
4
|
+
import { X as readRecentCodexRateLimits, Y as readCodexRateLimitsRevision, Z as rememberCodexRateLimitsRead } from "./shared-client-D6n5dvpA.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,6 +1,6 @@
|
|
|
1
1
|
import { i as isJsonObject } from "./protocol-CANUwXJ3.mjs";
|
|
2
|
-
import { f as buildCodexNativeWebSearchThreadConfig } from "./thread-requests-
|
|
3
|
-
import { runBoundedCodexAppServerTurn } from "./bounded-turn-
|
|
2
|
+
import { f as buildCodexNativeWebSearchThreadConfig } from "./thread-requests-CIyAcDJ3.mjs";
|
|
3
|
+
import { runBoundedCodexAppServerTurn } from "./bounded-turn-BKSjzckA.mjs";
|
|
4
4
|
import { normalizeOptionalString, normalizeTrimmedStringList } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
import { readStringParam, resolveSearchTimeoutSeconds, wrapWebContent } from "openclaw/plugin-sdk/provider-web-search";
|
|
6
6
|
//#region extensions/codex/src/web-search-provider.runtime.ts
|
package/dist/api.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as readCodexPluginConfig } from "./.setup/config-parsing-b088LyhT.mjs";
|
|
2
2
|
import { a as resolveCodexAppServerStartOptionsForAgent } from "./.setup/config-options-CzyWLTJt.mjs";
|
|
3
|
-
import { i as resolveManagedCodexNativeCommand, r as resolveManagedCodexAppServerStartOptions, s as CODEX_APP_SERVER_VERSION, t as isManagedCodexDesktopCommand } from "./.setup/managed-binary-
|
|
3
|
+
import { i as resolveManagedCodexNativeCommand, r as resolveManagedCodexAppServerStartOptions, s as CODEX_APP_SERVER_VERSION, t as isManagedCodexDesktopCommand } from "./.setup/managed-binary-B6hQ1UKR.mjs";
|
|
4
4
|
import { t as codexNativeProfileRecoveryHealthCheck } from "./.setup/auth-profile-health-oHizqgye.mjs";
|
|
5
5
|
import { n as findCodexAppServerSpawnError, t as describeCodexSpawnError } from "./.setup/spawn-error-CL3n6MAa.mjs";
|
|
6
6
|
import "./.setup/config-DKhXquav.mjs";
|
|
@@ -126,7 +126,7 @@ function createCodexManagedAppServerHealthCheck(params) {
|
|
|
126
126
|
})];
|
|
127
127
|
}
|
|
128
128
|
const detectedVersion = parseCodexVersion(`${output.stdout}\n${output.stderr}`);
|
|
129
|
-
if (detectedVersion !== "0.
|
|
129
|
+
if (detectedVersion !== "0.160.0") return [managedCodexFinding({
|
|
130
130
|
severity: versionFailureSeverity,
|
|
131
131
|
message: detectedVersion ? `Managed Codex app-server version mismatch: expected ${CODEX_APP_SERVER_VERSION}, detected ${detectedVersion}.` : `Managed Codex app-server did not report a parseable version; expected ${CODEX_APP_SERVER_VERSION}.`,
|
|
132
132
|
path: nativeCommand,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createCodexCatalogDecoder } from "./.setup/client-catalog-response-
|
|
1
|
+
import { t as createCodexCatalogDecoder } from "./.setup/client-catalog-response-CsnppTTd.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();
|
package/dist/cli-metadata.js
CHANGED
|
@@ -2,7 +2,7 @@ import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
|
2
2
|
//#region extensions/codex/cli-metadata.ts
|
|
3
3
|
function registerCodexCliMetadata(api) {
|
|
4
4
|
api.registerCli(async ({ program }) => {
|
|
5
|
-
const { registerCodexSessionCli } = await import("./.setup/session-cli-
|
|
5
|
+
const { registerCodexSessionCli } = await import("./.setup/session-cli-DjWr7ujR.mjs");
|
|
6
6
|
registerCodexSessionCli(program);
|
|
7
7
|
}, { descriptors: [{
|
|
8
8
|
name: "codex",
|
package/dist/harness.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CODEX_NATIVE_TOOL_REQUIREMENTS } from "./native-tool-policy.js";
|
|
2
2
|
import { n as readCodexRuntimeModelId } from "./.setup/model-runtime-BdqzOMkU.mjs";
|
|
3
3
|
import { v as sessionBindingIdentity } from "./.setup/session-binding-record-Oe9L-CNY.mjs";
|
|
4
|
-
import { t as codexBuildSymbol } from "./.setup/build-state-
|
|
4
|
+
import { t as codexBuildSymbol } from "./.setup/build-state-CDQUVDAI.mjs";
|
|
5
5
|
import { resolvePluginConfigObject } from "openclaw/plugin-sdk/plugin-config-runtime";
|
|
6
6
|
//#region extensions/codex/harness.ts
|
|
7
7
|
const DEFAULT_CODEX_HARNESS_PROVIDER_IDS = /* @__PURE__ */ new Set(["codex", "openai"]);
|
|
@@ -108,7 +108,7 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
108
108
|
executionEnvironment: "host-only",
|
|
109
109
|
upstreamKinds: ["codex-app-server"],
|
|
110
110
|
fork: async (params) => {
|
|
111
|
-
const { forkCodexUpstreamSession } = await import("./.setup/upstream-session-fork-
|
|
111
|
+
const { forkCodexUpstreamSession } = await import("./.setup/upstream-session-fork-Ci2-RvEy.mjs");
|
|
112
112
|
return await forkCodexUpstreamSession(params, {
|
|
113
113
|
bindingStore: options.bindingStore,
|
|
114
114
|
controlFactory: sessionCatalogControlFactory,
|
|
@@ -123,25 +123,25 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
123
123
|
return fingerprintCodexAppServerAuthBinding(params);
|
|
124
124
|
} },
|
|
125
125
|
runtimeArtifact: { validate: async (binding) => {
|
|
126
|
-
const { validateCodexAppServerRuntimeArtifact } = await import("./.setup/runtime-artifact-
|
|
126
|
+
const { validateCodexAppServerRuntimeArtifact } = await import("./.setup/runtime-artifact-D7lCXdhV.mjs");
|
|
127
127
|
const { isCodexConfiguredConnectionArtifact } = await import("./.setup/runtime-artifact-connection-D68qQn1m.mjs");
|
|
128
128
|
if (!isCodexConfiguredConnectionArtifact(binding.id)) return validateCodexAppServerRuntimeArtifact(binding);
|
|
129
129
|
const { resolveCodexAppServerRuntimeOptions } = await import("./.setup/config-DKhXquav.mjs").then((n) => n.t);
|
|
130
130
|
return validateCodexAppServerRuntimeArtifact(binding, void 0, resolveCodexAppServerRuntimeOptions({ pluginConfig: resolveAttemptPluginConfig(options.resolveConfig?.()) }).start);
|
|
131
131
|
} },
|
|
132
132
|
fetchUsageSnapshot: async (ctx) => {
|
|
133
|
-
const { fetchCodexAppServerUsageSnapshot } = await import("./.setup/usage-
|
|
133
|
+
const { fetchCodexAppServerUsageSnapshot } = await import("./.setup/usage-BP3aZPPp.mjs");
|
|
134
134
|
return await fetchCodexAppServerUsageSnapshot(ctx, { pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig });
|
|
135
135
|
},
|
|
136
136
|
loadModelCatalog: async (params) => {
|
|
137
|
-
const { createCodexAppServerModelCatalog } = await import("./.setup/model-catalog-
|
|
137
|
+
const { createCodexAppServerModelCatalog } = await import("./.setup/model-catalog-BeTX0Aeo.mjs");
|
|
138
138
|
if (disposed) return { entries: [] };
|
|
139
139
|
modelCatalog ??= createCodexAppServerModelCatalog(harnessRuntimeId);
|
|
140
140
|
return { entries: await modelCatalog.load(params, resolveAttemptPluginConfig(params.config)) };
|
|
141
141
|
},
|
|
142
142
|
readModelCatalogReadiness: (params) => modelCatalog?.read(params, resolveAttemptPluginConfig(params.config)),
|
|
143
143
|
loadMcpToolCatalog: async (params) => {
|
|
144
|
-
const { loadCodexEffectiveMcpCatalog } = await import("./.setup/effective-mcp-catalog-
|
|
144
|
+
const { loadCodexEffectiveMcpCatalog } = await import("./.setup/effective-mcp-catalog-DMrerMF4.mjs");
|
|
145
145
|
return await loadCodexEffectiveMcpCatalog(params, { bindingStore: options.bindingStore });
|
|
146
146
|
},
|
|
147
147
|
supports: (ctx) => {
|
|
@@ -184,7 +184,7 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
184
184
|
};
|
|
185
185
|
},
|
|
186
186
|
runAttempt: async (params) => {
|
|
187
|
-
const { runCodexAppServerAttempt } = await import("./.setup/run-attempt-
|
|
187
|
+
const { runCodexAppServerAttempt } = await import("./.setup/run-attempt-CKZd8eYZ.mjs");
|
|
188
188
|
const { planCodexCyberEscalation, readCodexCyberAttemptVerdict, recordCodexCyberTargetUnavailable, reserveCodexCyberProbe, resolveCodexCyberFailoverConfig } = await import("./.setup/cyber-failover-XV0nNRZu.mjs");
|
|
189
189
|
const { emitCodexCyberNotice } = await import("./.setup/cyber-failover-notice-RNpGpTyP.mjs");
|
|
190
190
|
const pluginConfig = resolveAttemptPluginConfig(params.config);
|
|
@@ -250,7 +250,7 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
250
250
|
const { runHostPreparedIsolatedCompletion } = await import("openclaw/plugin-sdk/simple-completion-runtime");
|
|
251
251
|
return runHostPreparedIsolatedCompletion(params);
|
|
252
252
|
}
|
|
253
|
-
const { runCodexIsolatedCompletion } = await import("./.setup/isolated-completion-
|
|
253
|
+
const { runCodexIsolatedCompletion } = await import("./.setup/isolated-completion-D68PsLcF.mjs");
|
|
254
254
|
return runCodexIsolatedCompletion(params, { pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig });
|
|
255
255
|
},
|
|
256
256
|
runIsolatedCompletion: async (params) => {
|
|
@@ -266,11 +266,11 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
266
266
|
});
|
|
267
267
|
},
|
|
268
268
|
finalizeSettledTurn: async (params) => {
|
|
269
|
-
const { runCodexSettledTurnFinalization } = await import("./.setup/settled-turn-finalizer-
|
|
269
|
+
const { runCodexSettledTurnFinalization } = await import("./.setup/settled-turn-finalizer-DVOvJUSw.mjs");
|
|
270
270
|
return runCodexSettledTurnFinalization(params, { pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig });
|
|
271
271
|
},
|
|
272
272
|
runSideQuestion: async (params) => {
|
|
273
|
-
const { runCodexAppServerSideQuestion } = await import("./.setup/side-question-
|
|
273
|
+
const { runCodexAppServerSideQuestion } = await import("./.setup/side-question-BQTOqCgV.mjs");
|
|
274
274
|
return runCodexAppServerSideQuestion(params, {
|
|
275
275
|
bindingStore: options.bindingStore,
|
|
276
276
|
pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig,
|
|
@@ -281,25 +281,25 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
281
281
|
},
|
|
282
282
|
compact: async (params) => {
|
|
283
283
|
const admittedParams = requireCodexCompactionCapabilities(params);
|
|
284
|
-
const { maybeCompactCodexAppServerSession } = await import("./.setup/compact-
|
|
284
|
+
const { maybeCompactCodexAppServerSession } = await import("./.setup/compact-CXguvBLF.mjs");
|
|
285
285
|
return maybeCompactCodexAppServerSession(admittedParams, {
|
|
286
286
|
bindingStore: options.bindingStore,
|
|
287
287
|
pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig
|
|
288
288
|
});
|
|
289
289
|
},
|
|
290
290
|
withSessionDeletion: async (params, run) => {
|
|
291
|
-
const { withCodexAppServerSessionDeletion } = await import("./.setup/session-retirement-
|
|
291
|
+
const { withCodexAppServerSessionDeletion } = await import("./.setup/session-retirement-CPUSNh9U.mjs");
|
|
292
292
|
params.assertCurrent();
|
|
293
293
|
return withCodexAppServerSessionDeletion(options.bindingStore, params, run);
|
|
294
294
|
},
|
|
295
295
|
withSessionContextReset: async (params, run) => {
|
|
296
|
-
const { withCodexAppServerSessionContextReset } = await import("./.setup/session-retirement-
|
|
296
|
+
const { withCodexAppServerSessionContextReset } = await import("./.setup/session-retirement-CPUSNh9U.mjs");
|
|
297
297
|
params.assertCurrent();
|
|
298
298
|
return withCodexAppServerSessionContextReset(options.bindingStore, params, run);
|
|
299
299
|
},
|
|
300
300
|
reset: async (params) => {
|
|
301
301
|
if (params.sessionId && params.reason !== "deleted") {
|
|
302
|
-
const [{ reclaimCurrentCodexSessionGeneration }, { retireCodexAppServerSessionGeneration }] = await Promise.all([import("./.setup/session-binding-DGCYAfvD.mjs").then((n) => n.s), import("./.setup/session-retirement-
|
|
302
|
+
const [{ reclaimCurrentCodexSessionGeneration }, { retireCodexAppServerSessionGeneration }] = await Promise.all([import("./.setup/session-binding-DGCYAfvD.mjs").then((n) => n.s), import("./.setup/session-retirement-CPUSNh9U.mjs")]);
|
|
303
303
|
const identity = sessionBindingIdentity({
|
|
304
304
|
agentId: params.agentId,
|
|
305
305
|
sessionId: params.sessionId,
|
|
@@ -332,7 +332,7 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
332
332
|
function createCodexAppServerNativeCompaction(options) {
|
|
333
333
|
return async (params) => {
|
|
334
334
|
const admittedParams = requireCodexCompactionCapabilities(params);
|
|
335
|
-
const { maybeCompactCodexAppServerSession } = await import("./.setup/compact-
|
|
335
|
+
const { maybeCompactCodexAppServerSession } = await import("./.setup/compact-CXguvBLF.mjs");
|
|
336
336
|
return maybeCompactCodexAppServerSession(admittedParams, {
|
|
337
337
|
bindingStore: options.bindingStore,
|
|
338
338
|
pluginConfig: options.resolvePluginConfig?.() ?? options.pluginConfig,
|