@openclaw/codex 2026.9.9 → 2026.9.33
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-9B-ABnCR.mjs → account-usage-runtime-dYM1lh1V.mjs} +1 -1
- package/dist/.setup/{apply-CBcTS6Se.mjs → apply-C82xe8Bk.mjs} +4 -4
- package/dist/.setup/{attempt-client-cleanup-_RUXhE5e.mjs → attempt-client-cleanup-D1aznv7C.mjs} +3 -3
- package/dist/.setup/{attempt-workspace-context-CSD2rKPq.mjs → attempt-workspace-context-DKAbD-vI.mjs} +1 -1
- package/dist/.setup/{auth-cache-key-gOhcdE_N.mjs → auth-cache-key-CWpIEtTm.mjs} +1 -1
- package/dist/.setup/{bounded-turn-BKSjzckA.mjs → bounded-turn-Ca4urQ25.mjs} +9 -9
- package/dist/.setup/{build-state-CDQUVDAI.mjs → build-state-E-CRUdgh.mjs} +1 -1
- package/dist/.setup/{client-B4EOuI-w.mjs → client-6GbdZFc0.mjs} +2 -2
- package/dist/.setup/{client-catalog-response-CsnppTTd.mjs → client-catalog-response-HvvnCxvX.mjs} +1 -1
- package/dist/.setup/{command-dispatch-DHjWG2Ll.mjs → command-dispatch-_PPJobF7.mjs} +1 -1
- package/dist/.setup/{command-handlers-DSRIPTiA.mjs → command-handlers-Do_MOc5V.mjs} +11 -11
- package/dist/.setup/{command-rpc-CKsxWgF6.mjs → command-rpc-Bc_OIgK0.mjs} +6 -6
- package/dist/.setup/{compact-CXguvBLF.mjs → compact-BVSQoyh-.mjs} +8 -8
- package/dist/.setup/{conversation-binding-BDlmcqm3.mjs → conversation-binding-CvjxRWI-.mjs} +9 -9
- package/dist/.setup/{conversation-control-CzxjbHH4.mjs → conversation-control-DoxkQ9nq.mjs} +2 -2
- package/dist/.setup/{dynamic-tools-86M3tRl4.mjs → dynamic-tools-CGMXNyuw.mjs} +6 -6
- package/dist/.setup/{effective-mcp-catalog-DMrerMF4.mjs → effective-mcp-catalog-C1zwj-bq.mjs} +2 -2
- package/dist/.setup/{ephemeral-turn-C-vPku4K.mjs → ephemeral-turn-Cyu_xJDs.mjs} +2 -2
- package/dist/.setup/{event-projector-assistant-message-Bhu17sxy.mjs → event-projector-assistant-message-CAI4foF8.mjs} +1 -1
- package/dist/.setup/{isolated-completion-D68PsLcF.mjs → isolated-completion-DPr7Nsl7.mjs} +4 -4
- package/dist/.setup/{model-catalog-BeTX0Aeo.mjs → model-catalog-gcv3irT9.mjs} +26 -19
- package/dist/.setup/{models-32Lqf2JB.mjs → models-Bs4aEhpG.mjs} +3 -3
- package/dist/.setup/{native-subagent-monitor-BRr7YExU.mjs → native-subagent-monitor-DbNIloTJ.mjs} +2 -2
- package/dist/.setup/{plan-CMXvb-Wm.mjs → plan-NTSBQtKx.mjs} +2 -2
- package/dist/.setup/{plugin-metadata-cache-DiVUT-uC.mjs → plugin-metadata-cache-Z06WuND0.mjs} +4 -4
- package/dist/.setup/{provider-D0GD39BJ.mjs → provider-BnX84knz.mjs} +4 -4
- package/dist/.setup/{provider-capabilities-CIWN6WAi.mjs → provider-capabilities-CYK-rMwC.mjs} +2 -2
- package/dist/.setup/{request-D-Vhprx3.mjs → request-DQh7X3fU.mjs} +1 -1
- package/dist/.setup/{run-attempt-CKZd8eYZ.mjs → run-attempt-Bp6qFrIQ.mjs} +34 -19
- package/dist/.setup/{session-catalog-C7GPE6q8.mjs → session-catalog-DFZmNlhW.mjs} +9 -9
- package/dist/.setup/{session-catalog-events-BNKvbFTA.mjs → session-catalog-events-DVLgp99B.mjs} +2 -2
- package/dist/.setup/{session-catalog-index-BY4p8Fcc.mjs → session-catalog-index-v3Yjgaih.mjs} +3 -3
- package/dist/.setup/{session-catalog-native-projection-DZyauw3D.mjs → session-catalog-native-projection-LshItrMe.mjs} +1 -1
- package/dist/.setup/{session-catalog-projection-D5zfSje1.mjs → session-catalog-projection-CCBFozaQ.mjs} +1 -1
- package/dist/.setup/{session-cli-DjWr7ujR.mjs → session-cli-KhdG-_Aj.mjs} +1 -1
- package/dist/.setup/{session-retirement-CPUSNh9U.mjs → session-retirement-ERjp2r4a.mjs} +5 -5
- package/dist/.setup/{settled-turn-finalizer-DVOvJUSw.mjs → settled-turn-finalizer-DbS1Mwoq.mjs} +5 -5
- package/dist/.setup/{shared-client-lifecycle-BXJRGNcp.mjs → shared-client-lifecycle-4LdC3gM4.mjs} +1 -1
- package/dist/.setup/{shared-client-D6n5dvpA.mjs → shared-client-zsK3DTPh.mjs} +11 -11
- package/dist/.setup/{side-question-BQTOqCgV.mjs → side-question-DW4W4HY7.mjs} +9 -9
- package/dist/.setup/{source-pT6uUrZg.mjs → source-DzsIjGO7.mjs} +1 -1
- package/dist/.setup/{thread-lifecycle-BPIjjjRJ.mjs → thread-lifecycle-D03WesNn.mjs} +60 -38
- package/dist/.setup/{thread-ownership-vY9gRYkw.mjs → thread-ownership-B0xUCXOU.mjs} +3 -3
- package/dist/.setup/{thread-policy-Bf769xTq.mjs → thread-policy-g1TKKqWj.mjs} +3 -3
- package/dist/.setup/{thread-requests-CIyAcDJ3.mjs → thread-requests-15uBuGjw.mjs} +4 -4
- package/dist/.setup/{thread-resume-DZbRTxqM.mjs → thread-resume-BZfwM8Jh.mjs} +5 -5
- package/dist/.setup/{upstream-session-fork-Ci2-RvEy.mjs → upstream-session-fork--vHya1T-.mjs} +8 -8
- package/dist/.setup/{usage-BP3aZPPp.mjs → usage-CdWiiqqY.mjs} +1 -1
- package/dist/.setup/{usage-limit-error-CwGm2hnj.mjs → usage-limit-error-BEyQJjD_.mjs} +1 -1
- package/dist/.setup/{web-search-provider.runtime-mvv6G9ul.mjs → web-search-provider.runtime--55TuUQG.mjs} +2 -2
- package/dist/catalog-page.worker.js +1 -1
- package/dist/cli-metadata.js +1 -1
- package/dist/harness.js +14 -14
- package/dist/index.js +18 -18
- package/dist/media-understanding-provider.js +2 -2
- package/dist/migration-provider-api.js +1 -1
- package/package.json +4 -4
package/dist/.setup/{account-usage-runtime-9B-ABnCR.mjs → account-usage-runtime-dYM1lh1V.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as isCodexAppServerProxyLaunch } from "./launch-args-DbFCehO7.mjs";
|
|
2
2
|
import { t as buildCodexAppServerUsageSnapshot } from "./rate-limits-B7-X2TgG.mjs";
|
|
3
|
-
import { n as readCodexAppServerUsage } from "./request-
|
|
3
|
+
import { n as readCodexAppServerUsage } from "./request-DQh7X3fU.mjs";
|
|
4
4
|
import "./config-DKhXquav.mjs";
|
|
5
5
|
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-C0NbLms1.mjs";
|
|
6
6
|
import { a as resolveCodexAppServerAuthProfileStore } from "./auth-profile-B0okYl2D.mjs";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { n as isOpenAiCuratedMarketplace, u as CODEX_PLUGINS_MARKETPLACE_NAME } from "./plugin-inventory-Cky2XJUw.mjs";
|
|
2
2
|
import { d as readCodexPluginConfig } from "./config-parsing-b088LyhT.mjs";
|
|
3
|
-
import { s as resolveCodexAppServerFallbackApiKeyCacheKey } from "./auth-cache-key-
|
|
3
|
+
import { s as resolveCodexAppServerFallbackApiKeyCacheKey } from "./auth-cache-key-CWpIEtTm.mjs";
|
|
4
4
|
import { a as defaultCodexAppInventoryCache, r as buildCodexPluginAppCacheKey } from "./plugin-app-cache-key-BL9B5H0L.mjs";
|
|
5
|
-
import { i as requestCodexAppServerJson } from "./request-
|
|
5
|
+
import { i as requestCodexAppServerJson } from "./request-DQh7X3fU.mjs";
|
|
6
6
|
import "./config-DKhXquav.mjs";
|
|
7
7
|
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-C0NbLms1.mjs";
|
|
8
8
|
import { i as resolveCodexAppServerAuthProfileIdForAgent } from "./auth-profile-B0okYl2D.mjs";
|
|
9
|
-
import { c as getLeasedSharedCodexAppServerClient,
|
|
9
|
+
import { c as getLeasedSharedCodexAppServerClient, h as releaseLeasedSharedCodexAppServerClient, o as clearSharedCodexAppServerClientIfCurrentAndWait, tt as resolveCodexAppServerAuthAccountCacheKey } from "./shared-client-zsK3DTPh.mjs";
|
|
10
10
|
import { t as ensureCodexPluginActivation } from "./plugin-activation-cNHRfaxU.mjs";
|
|
11
|
-
import { CODEX_PLUGIN_CONFIG_PATH, buildCodexMigrationPlan, buildCodexPluginsConfigValue, hasCodexPluginConfigConflict, n as resolveCodexConfigPatchMode, readCodexPluginMigrationConfigEntry, t as createCodexAuthItemApplier } from "./plan-
|
|
11
|
+
import { CODEX_PLUGIN_CONFIG_PATH, buildCodexMigrationPlan, buildCodexPluginsConfigValue, hasCodexPluginConfigConflict, n as resolveCodexConfigPatchMode, readCodexPluginMigrationConfigEntry, t as createCodexAuthItemApplier } from "./plan-NTSBQtKx.mjs";
|
|
12
12
|
import { uniqueStrings } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
13
13
|
import { parseStrictNonNegativeInteger } from "openclaw/plugin-sdk/number-runtime";
|
|
14
14
|
import path from "node:path";
|
package/dist/.setup/{attempt-client-cleanup-_RUXhE5e.mjs → attempt-client-cleanup-D1aznv7C.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { i as isJsonObject } from "./protocol-CANUwXJ3.mjs";
|
|
2
|
-
import { d as retireSharedCodexAppServerClientIfCurrent } from "./shared-client-lifecycle-
|
|
2
|
+
import { d as retireSharedCodexAppServerClientIfCurrent } from "./shared-client-lifecycle-4LdC3gM4.mjs";
|
|
3
3
|
import { n as CodexAppServerRpcError } from "./rpc-error-BlD2vuzn.mjs";
|
|
4
4
|
import { n as waitForPromiseOrAbort, t as abortReason } from "./timeout-CXOfNoaX.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import { E as readCodexTurnCompletedNotification, a as isCodexAppServerBrokenPipeError, d as isCodexAppServerRequestTimeoutError, l as isCodexAppServerOverloadError } from "./client-
|
|
5
|
+
import { Y as unsubscribeCodexAppServerLiveThread, pt as isCodexAppServerStartupError, u as isCodexAppServerStartSelectionChangedError } from "./shared-client-zsK3DTPh.mjs";
|
|
6
|
+
import { E as readCodexTurnCompletedNotification, a as isCodexAppServerBrokenPipeError, d as isCodexAppServerRequestTimeoutError, l as isCodexAppServerOverloadError } from "./client-6GbdZFc0.mjs";
|
|
7
7
|
import { t as __exportAll } from "./session-binding-sidecars-jo6H8dFr.mjs";
|
|
8
8
|
import { normalizeOptionalString, readStringField } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
9
9
|
import { AsyncResource } from "node:async_hooks";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as flattenCodexDynamicToolFunctions } from "./protocol-CANUwXJ3.mjs";
|
|
2
|
-
import { lt as isMessageOnlyCodexSourceReply } from "./thread-requests-
|
|
2
|
+
import { lt as isMessageOnlyCodexSourceReply } from "./thread-requests-15uBuGjw.mjs";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { buildAgentWorkspaceInstructionSnapshot, buildBootstrapContextForFiles, embeddedAgentLog, prepareAgentWorkspaceContext } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
5
5
|
import { resolveAgentWorkspaceMemoryRouting, shouldIncludeAgentHarnessRuntimeContext } from "openclaw/plugin-sdk/agent-harness-attempt-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as defineCodexBuildState } from "./build-state-
|
|
1
|
+
import { n as defineCodexBuildState } from "./build-state-E-CRUdgh.mjs";
|
|
2
2
|
import { u as resolveMacOSDesktopCodexAppPathCandidates } from "./managed-binary-B6hQ1UKR.mjs";
|
|
3
3
|
import { n as resolveCodexAppServerSpawnEnv } from "./transport-stdio-CbutOIEh.mjs";
|
|
4
4
|
import { createHash } from "node:crypto";
|
|
@@ -3,14 +3,14 @@ import { a as resolveCodexPrivateLauncher, i as readCodexAppServerConfigOptions
|
|
|
3
3
|
import { d as readCodexEffectiveConfig } from "./config-options-CzyWLTJt.mjs";
|
|
4
4
|
import "./config-DKhXquav.mjs";
|
|
5
5
|
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-C0NbLms1.mjs";
|
|
6
|
-
import { u as isCodexAppServerStartSelectionChangedError } from "./shared-client-
|
|
7
|
-
import { S as assertCodexTurnStartResponse, T as readCodexErrorNotification, k as createCodexElicitationResponse, x as assertCodexThreadStartResponse } from "./client-
|
|
8
|
-
import { o as closeCodexStartupClientBestEffort, s as interruptCodexTurnAndWaitBestEffort, t as CODEX_APP_SERVER_INTERRUPT_TIMEOUT_MS } from "./attempt-client-cleanup-
|
|
9
|
-
import { t as CodexEphemeralTurn } from "./ephemeral-turn-
|
|
10
|
-
import { i as readModelListResult } from "./models-
|
|
11
|
-
import { R as attestCodexRestrictedToolSurfaceMcpServersDisabled, St as mergeCodexThreadConfigs, l as readCodexInheritedMcpServerNames, n as buildCodexRingZeroThreadConfigPatch, r as buildCodexRuntimeThreadConfig, t as assertCodexManagedRequirementsDoNotOverrideToolPolicy } from "./thread-requests-
|
|
12
|
-
import { S as resolveCodexAppServerReasoningEffort } from "./thread-lifecycle-
|
|
13
|
-
import { a as resolveCodexPromptError } from "./usage-limit-error-
|
|
6
|
+
import { u as isCodexAppServerStartSelectionChangedError } from "./shared-client-zsK3DTPh.mjs";
|
|
7
|
+
import { S as assertCodexTurnStartResponse, T as readCodexErrorNotification, k as createCodexElicitationResponse, x as assertCodexThreadStartResponse } from "./client-6GbdZFc0.mjs";
|
|
8
|
+
import { o as closeCodexStartupClientBestEffort, s as interruptCodexTurnAndWaitBestEffort, t as CODEX_APP_SERVER_INTERRUPT_TIMEOUT_MS } from "./attempt-client-cleanup-D1aznv7C.mjs";
|
|
9
|
+
import { t as CodexEphemeralTurn } from "./ephemeral-turn-Cyu_xJDs.mjs";
|
|
10
|
+
import { i as readModelListResult } from "./models-Bs4aEhpG.mjs";
|
|
11
|
+
import { R as attestCodexRestrictedToolSurfaceMcpServersDisabled, St as mergeCodexThreadConfigs, l as readCodexInheritedMcpServerNames, n as buildCodexRingZeroThreadConfigPatch, r as buildCodexRuntimeThreadConfig, t as assertCodexManagedRequirementsDoNotOverrideToolPolicy } from "./thread-requests-15uBuGjw.mjs";
|
|
12
|
+
import { S as resolveCodexAppServerReasoningEffort } from "./thread-lifecycle-D03WesNn.mjs";
|
|
13
|
+
import { a as resolveCodexPromptError } from "./usage-limit-error-BEyQJjD_.mjs";
|
|
14
14
|
import { resolveTimerTimeoutMs } from "openclaw/plugin-sdk/number-runtime";
|
|
15
15
|
import { parse } from "smol-toml";
|
|
16
16
|
import path from "node:path";
|
|
@@ -144,7 +144,7 @@ async function runBoundedCodexAppServerTurnInWorkspace(params, appServer, worksp
|
|
|
144
144
|
assertCurrent: params.assertCurrent,
|
|
145
145
|
...params.signal ? { abandonSignal: params.signal } : {}
|
|
146
146
|
};
|
|
147
|
-
const client = params.options.clientFactory ? await params.options.clientFactory(clientOptions) : await import("./shared-client-
|
|
147
|
+
const client = params.options.clientFactory ? await params.options.clientFactory(clientOptions) : await import("./shared-client-zsK3DTPh.mjs").then((n) => n.v).then(({ createIsolatedCodexAppServerClient }) => createIsolatedCodexAppServerClient({
|
|
148
148
|
...clientOptions,
|
|
149
149
|
authProfileStore: params.authProfileStore
|
|
150
150
|
}));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { a as stringifyCodexAppServerMessage, c as isRpcResponse, i as readCodexCatalogDecodeRoute, n as projectCodexCatalogMessage, o as CodexAppServerMessageDecoder, r as listenCodexAppServerLines, s as redactCodexAppServerLinePreview } from "./client-catalog-response-
|
|
1
|
+
import { a as stringifyCodexAppServerMessage, c as isRpcResponse, i as readCodexCatalogDecodeRoute, n as projectCodexCatalogMessage, o as CodexAppServerMessageDecoder, r as listenCodexAppServerLines, s as redactCodexAppServerLinePreview } from "./client-catalog-response-HvvnCxvX.mjs";
|
|
2
2
|
import { i as isJsonObject } from "./protocol-CANUwXJ3.mjs";
|
|
3
3
|
import { c as MIN_SUPPORTED_CODEX_APP_SERVER_VERSION, s as CODEX_APP_SERVER_VERSION } from "./managed-binary-B6hQ1UKR.mjs";
|
|
4
4
|
import { a as closeCodexAppServerTransportAndWait, i as closeCodexAppServerTransport, o as hasCodexAppServerNaturalExit, t as createStdioTransport } from "./transport-stdio-CbutOIEh.mjs";
|
|
5
5
|
import { n as CodexAppServerRpcError, t as CODEX_APP_SERVER_OVERLOADED_ERROR_CODE } from "./rpc-error-BlD2vuzn.mjs";
|
|
6
|
-
import { f as recordCodexCatalogResponseSource, i as reuseCodexCatalogPreview, o as closeCodexCatalogClientSource, s as codexCatalogSourceForClient } from "./session-catalog-native-projection-
|
|
6
|
+
import { f as recordCodexCatalogResponseSource, i as reuseCodexCatalogPreview, o as closeCodexCatalogClientSource, s as codexCatalogSourceForClient } from "./session-catalog-native-projection-LshItrMe.mjs";
|
|
7
7
|
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-C0NbLms1.mjs";
|
|
8
8
|
import { codexCatalogPageWorkerEntrypoint } from "../catalog-page-worker-entrypoint.js";
|
|
9
9
|
import { t as createWebSocketTransport } from "./transport-websocket-BTBE-LD9.mjs";
|
package/dist/.setup/{client-catalog-response-CsnppTTd.mjs → client-catalog-response-HvvnCxvX.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as isJsonObject } from "./protocol-CANUwXJ3.mjs";
|
|
2
|
-
import { n as projectCodexCatalogNativeResponse, r as projectCodexCatalogNativeThread } from "./session-catalog-native-projection-
|
|
2
|
+
import { n as projectCodexCatalogNativeResponse, r as projectCodexCatalogNativeThread } from "./session-catalog-native-projection-LshItrMe.mjs";
|
|
3
3
|
import { coerceErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
4
4
|
import { truncateUtf16Safe } from "openclaw/plugin-sdk/text-utility-runtime";
|
|
5
5
|
import { sanitizeTerminalText } from "openclaw/plugin-sdk/text-chunking";
|
|
@@ -9,7 +9,7 @@ async function handleCodexCommand(ctx, options) {
|
|
|
9
9
|
};
|
|
10
10
|
const { resolvePluginConfig, ...subcommandOptions } = options;
|
|
11
11
|
try {
|
|
12
|
-
const { handleCodexSubcommand } = await import("./command-handlers-
|
|
12
|
+
const { handleCodexSubcommand } = await import("./command-handlers-Do_MOc5V.mjs");
|
|
13
13
|
return await handleCodexSubcommand(commandContext, {
|
|
14
14
|
...subcommandOptions,
|
|
15
15
|
pluginConfig: resolvePluginConfig?.() ?? subcommandOptions.pluginConfig
|
|
@@ -2,7 +2,7 @@ import { n as isCodexFastServiceTier } from "./config-utils-D0CXecki.mjs";
|
|
|
2
2
|
import { o as pluginReadParams, r as isOpenAiCuratedMarketplaceName, t as findCodexMarketplacePluginSummary, u as CODEX_PLUGINS_MARKETPLACE_NAME } from "./plugin-inventory-Cky2XJUw.mjs";
|
|
3
3
|
import { i as isJsonObject } from "./protocol-CANUwXJ3.mjs";
|
|
4
4
|
import { n as assertCodexBindingMayBeReplaced, r as bindingStoreKey, v as sessionBindingIdentity } from "./session-binding-record-Oe9L-CNY.mjs";
|
|
5
|
-
import { c as resolveCodexAppServerPreparedApiKeyCacheKey, s as resolveCodexAppServerFallbackApiKeyCacheKey } from "./auth-cache-key-
|
|
5
|
+
import { c as resolveCodexAppServerPreparedApiKeyCacheKey, s as resolveCodexAppServerFallbackApiKeyCacheKey } from "./auth-cache-key-CWpIEtTm.mjs";
|
|
6
6
|
import { n as withCodexConversationThreadActivity } from "./thread-ownership-queue-Dp24d7-F.mjs";
|
|
7
7
|
import { a as CODEX_HOST_INSPECTION_AUTH_ERROR, c as canMutateCodexHost, i as CODEX_FULL_PERMISSIONS_AUTH_ERROR, l as hasCodexAdminScope, n as filterCodexMarketplacePlugins, o as CODEX_NATIVE_EXECUTION_AUTH_ERROR, r as parseCodexPluginMarketplaceId, s as assertCodexHostOwnerCurrent, t as discoverCodexMarketplacePlugins } from "./plugin-marketplace-discovery-D_dV9FXa.mjs";
|
|
8
8
|
import { l as formatRelativeDuration, s as summarizeCodexAccountUsage } from "./rate-limits-B7-X2TgG.mjs";
|
|
@@ -14,23 +14,23 @@ import { t as CODEX_CONTROL_METHODS } from "./capabilities-B3WEZl4e.mjs";
|
|
|
14
14
|
import { o as formatCodexCliSessions } from "./node-cli-sessions-HC4W6FLI.mjs";
|
|
15
15
|
import { a as defaultCodexAppInventoryCache, r as buildCodexPluginAppCacheKey } from "./plugin-app-cache-key-BL9B5H0L.mjs";
|
|
16
16
|
import { i as resolveCodexBindingAppServerConnection } from "./binding-connection-DTtN1KrX.mjs";
|
|
17
|
-
import { o as withCodexAppServerJsonClient } from "./request-
|
|
17
|
+
import { o as withCodexAppServerJsonClient } from "./request-DQh7X3fU.mjs";
|
|
18
18
|
import "./config-DKhXquav.mjs";
|
|
19
19
|
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-C0NbLms1.mjs";
|
|
20
20
|
import { a as resolveCodexAppServerAuthProfileStore, i as resolveCodexAppServerAuthProfileIdForAgent, n as normalizeCodexAppServerBindingModelProvider } from "./auth-profile-B0okYl2D.mjs";
|
|
21
|
-
import { F as consumeCodexAppServerLiveThread, R as hasCodexAppServerLiveThread, c as getLeasedSharedCodexAppServerClient,
|
|
22
|
-
import { b as assertCodexThreadResumeResponse, s as isCodexAppServerIndeterminateRequestCancellationError, u as isCodexAppServerPrewriteRequestCancellationError, v as assertCodexThreadAcceptsDirectInput } from "./client-
|
|
23
|
-
import { o as closeCodexStartupClientBestEffort } from "./attempt-client-cleanup-
|
|
21
|
+
import { F as consumeCodexAppServerLiveThread, R as hasCodexAppServerLiveThread, c as getLeasedSharedCodexAppServerClient, h as releaseLeasedSharedCodexAppServerClient, tt as resolveCodexAppServerAuthAccountCacheKey } from "./shared-client-zsK3DTPh.mjs";
|
|
22
|
+
import { b as assertCodexThreadResumeResponse, s as isCodexAppServerIndeterminateRequestCancellationError, u as isCodexAppServerPrewriteRequestCancellationError, v as assertCodexThreadAcceptsDirectInput } from "./client-6GbdZFc0.mjs";
|
|
23
|
+
import { o as closeCodexStartupClientBestEffort } from "./attempt-client-cleanup-D1aznv7C.mjs";
|
|
24
24
|
import { n as fingerprintCodexAppServerAuthBinding } from "./auth-binding-BLWz7stm.mjs";
|
|
25
|
-
import { n as listAllCodexAppServerModels } from "./models-
|
|
25
|
+
import { n as listAllCodexAppServerModels } from "./models-Bs4aEhpG.mjs";
|
|
26
26
|
import { n as refreshCodexAppRuntimeState, r as refreshCodexPluginRuntimeState } from "./plugin-activation-cNHRfaxU.mjs";
|
|
27
27
|
import { n as createCodexSessionGenerationSupersededError, o as resolveCodexSessionBinding } from "./session-binding-DGCYAfvD.mjs";
|
|
28
|
-
import { i as assertCodexSupervisionThreadLineage } from "./thread-policy-
|
|
29
|
-
import { a as rollbackCodexAppServerBindingSubscription, c as withExclusiveCodexAppServerThread, i as retireCodexConversationThreadBinding, n as releaseCodexAppServerBindingSubscription, r as retainCodexAppServerBindingSubscription, t as isSameCodexAppServerThreadOwner } from "./thread-ownership-
|
|
28
|
+
import { i as assertCodexSupervisionThreadLineage } from "./thread-policy-g1TKKqWj.mjs";
|
|
29
|
+
import { a as rollbackCodexAppServerBindingSubscription, c as withExclusiveCodexAppServerThread, i as retireCodexConversationThreadBinding, n as releaseCodexAppServerBindingSubscription, r as retainCodexAppServerBindingSubscription, t as isSameCodexAppServerThreadOwner } from "./thread-ownership-B0xUCXOU.mjs";
|
|
30
30
|
import { n as resolveCodexNativeSandboxBlock, t as resolveCodexNativeExecutionBlock } from "./sandbox-guard-DjCz2eOw.mjs";
|
|
31
|
-
import { i as readCodexComputerUseStatus, r as installCodexComputerUse, t as defaultCodexPluginMetadataCache } from "./plugin-metadata-cache-
|
|
32
|
-
import { a as requestOptions, i as readCodexStatusProbes, o as safeCodexControlRequest, r as prepareCodexControlSessionAuth, t as codexControlRequest } from "./command-rpc-
|
|
33
|
-
import { a as setCodexConversationFastMode, c as steerCodexConversationTurn, i as readCodexConversationActiveTurn, l as stopCodexConversationTurn, n as parseCodexFastModeArg, o as setCodexConversationModel, r as parseCodexPermissionsModeArg, s as setCodexConversationPermissions, t as formatPermissionsMode } from "./conversation-control-
|
|
31
|
+
import { i as readCodexComputerUseStatus, r as installCodexComputerUse, t as defaultCodexPluginMetadataCache } from "./plugin-metadata-cache-Z06WuND0.mjs";
|
|
32
|
+
import { a as requestOptions, i as readCodexStatusProbes, o as safeCodexControlRequest, r as prepareCodexControlSessionAuth, t as codexControlRequest } from "./command-rpc-Bc_OIgK0.mjs";
|
|
33
|
+
import { a as setCodexConversationFastMode, c as steerCodexConversationTurn, i as readCodexConversationActiveTurn, l as stopCodexConversationTurn, n as parseCodexFastModeArg, o as setCodexConversationModel, r as parseCodexPermissionsModeArg, s as setCodexConversationPermissions, t as formatPermissionsMode } from "./conversation-control-DoxkQ9nq.mjs";
|
|
34
34
|
import { normalizeOptionalString, normalizeUniqueStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
35
35
|
import crypto from "node:crypto";
|
|
36
36
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { i as isJsonObject } from "./protocol-CANUwXJ3.mjs";
|
|
2
2
|
import { n as CodexAppServerRpcError } from "./rpc-error-BlD2vuzn.mjs";
|
|
3
3
|
import { n as describeControlFailure, t as CODEX_CONTROL_METHODS } from "./capabilities-B3WEZl4e.mjs";
|
|
4
|
-
import { i as requestCodexAppServerJson, o as withCodexAppServerJsonClient } from "./request-
|
|
4
|
+
import { i as requestCodexAppServerJson, o as withCodexAppServerJsonClient } from "./request-DQh7X3fU.mjs";
|
|
5
5
|
import "./config-DKhXquav.mjs";
|
|
6
6
|
import { n as resolveCodexAppServerRuntimeOptions, r as resolveCodexSupervisionAppServerRuntimeOptions } from "./config-runtime-C0NbLms1.mjs";
|
|
7
7
|
import { a as resolveCodexAppServerAuthProfileStore, r as resolveCodexAppServerAuthProfileId } from "./auth-profile-B0okYl2D.mjs";
|
|
8
|
-
import {
|
|
9
|
-
import { c as isCodexAppServerIndeterminateTransportError, l as isCodexAppServerOverloadError, s as isCodexAppServerIndeterminateRequestCancellationError } from "./client-
|
|
10
|
-
import { o as closeCodexStartupClientBestEffort } from "./attempt-client-cleanup-
|
|
8
|
+
import { nt as resolveCodexAppServerPreparedAuthHandoff } from "./shared-client-zsK3DTPh.mjs";
|
|
9
|
+
import { c as isCodexAppServerIndeterminateTransportError, l as isCodexAppServerOverloadError, s as isCodexAppServerIndeterminateRequestCancellationError } from "./client-6GbdZFc0.mjs";
|
|
10
|
+
import { o as closeCodexStartupClientBestEffort } from "./attempt-client-cleanup-D1aznv7C.mjs";
|
|
11
11
|
import { r as prepareCodexAppServerAuthBinding } from "./auth-binding-BLWz7stm.mjs";
|
|
12
|
-
import { r as listCodexAppServerModels } from "./models-
|
|
12
|
+
import { r as listCodexAppServerModels } from "./models-Bs4aEhpG.mjs";
|
|
13
13
|
import { n as createCodexSessionGenerationSupersededError } from "./session-binding-DGCYAfvD.mjs";
|
|
14
|
-
import { t as resumeCodexAppServerThread } from "./thread-resume-
|
|
14
|
+
import { t as resumeCodexAppServerThread } from "./thread-resume-BZfwM8Jh.mjs";
|
|
15
15
|
import { t as __exportAll } from "./session-binding-sidecars-jo6H8dFr.mjs";
|
|
16
16
|
import { resolveAgentDir, resolveSessionAgentIdsStrict } from "openclaw/plugin-sdk/agent-scope-runtime";
|
|
17
17
|
import { resolveAgentWorkspaceDir } from "openclaw/plugin-sdk/agent-runtime";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { n as readCodexRuntimeModelId } from "./model-runtime-BdqzOMkU.mjs";
|
|
2
2
|
import { i as isJsonObject } from "./protocol-CANUwXJ3.mjs";
|
|
3
3
|
import { v as sessionBindingIdentity } from "./session-binding-record-Oe9L-CNY.mjs";
|
|
4
|
-
import { l as retainSharedCodexAppServerClientByInstanceId, p as waitForCodexAppServerClientExit } from "./shared-client-lifecycle-
|
|
4
|
+
import { l as retainSharedCodexAppServerClientByInstanceId, p as waitForCodexAppServerClientExit } from "./shared-client-lifecycle-4LdC3gM4.mjs";
|
|
5
5
|
import { t as isIncognitoSessionKey } from "./incognito-session-DWYapfwf.mjs";
|
|
6
6
|
import { n as CodexAppServerRpcError } from "./rpc-error-BlD2vuzn.mjs";
|
|
7
7
|
import { i as resolveCodexBindingAppServerConnection } from "./binding-connection-DTtN1KrX.mjs";
|
|
8
|
-
import { F as consumeCodexAppServerLiveThread,
|
|
8
|
+
import { F as consumeCodexAppServerLiveThread, J as revertCodexAppServerLiveThreadSkillsCatalog, M as getCodexInferenceThreadQualification, W as protectCodexAppServerLiveThread, _ as retainSharedCodexAppServerClientIfCurrent, q as retainCodexAppServerLiveThread, s as createIsolatedCodexAppServerClient } from "./shared-client-zsK3DTPh.mjs";
|
|
9
9
|
import "./responses-oauth-twnuTaAa.mjs";
|
|
10
|
-
import { s as isCodexAppServerIndeterminateRequestCancellationError, u as isCodexAppServerPrewriteRequestCancellationError } from "./client-
|
|
11
|
-
import { b as readCodexNotificationTurnId, l as isCodexNoActiveTurnInterruptError, o as closeCodexStartupClientBestEffort, p as unsubscribeCodexThreadBestEffort, r as CodexAppServerUnsafeSubscriptionError, y as readCodexNotificationThreadId } from "./attempt-client-cleanup-
|
|
10
|
+
import { s as isCodexAppServerIndeterminateRequestCancellationError, u as isCodexAppServerPrewriteRequestCancellationError } from "./client-6GbdZFc0.mjs";
|
|
11
|
+
import { b as readCodexNotificationTurnId, l as isCodexNoActiveTurnInterruptError, o as closeCodexStartupClientBestEffort, p as unsubscribeCodexThreadBestEffort, r as CodexAppServerUnsafeSubscriptionError, y as readCodexNotificationThreadId } from "./attempt-client-cleanup-D1aznv7C.mjs";
|
|
12
12
|
import { n as readCodexThreadContextSnapshot, s as readCodexNotificationItem } from "./event-projector-usage-03R0I2dM.mjs";
|
|
13
13
|
import { o as resolveCodexSessionBinding, t as CODEX_APP_SERVER_BINDING_GUARDED_REQUEST_TIMEOUT_MS } from "./session-binding-DGCYAfvD.mjs";
|
|
14
|
-
import { t as codexNativeSubagentMonitorRuntime } from "./native-subagent-monitor-
|
|
15
|
-
import { i as assertCodexSupervisionThreadLineage } from "./thread-policy-
|
|
16
|
-
import { t as resumeCodexAppServerThread } from "./thread-resume-
|
|
17
|
-
import { s as withCodexAppServerThreadMutationHold, t as isSameCodexAppServerThreadOwner } from "./thread-ownership-
|
|
14
|
+
import { t as codexNativeSubagentMonitorRuntime } from "./native-subagent-monitor-DbNIloTJ.mjs";
|
|
15
|
+
import { i as assertCodexSupervisionThreadLineage } from "./thread-policy-g1TKKqWj.mjs";
|
|
16
|
+
import { t as resumeCodexAppServerThread } from "./thread-resume-BZfwM8Jh.mjs";
|
|
17
|
+
import { s as withCodexAppServerThreadMutationHold, t as isSameCodexAppServerThreadOwner } from "./thread-ownership-B0xUCXOU.mjs";
|
|
18
18
|
import { t as persistCodexContextCompactionActivity } from "./context-compaction-activity-CMla5FPJ.mjs";
|
|
19
19
|
import { t as resolveCodexNativeExecutionBlock } from "./sandbox-guard-DjCz2eOw.mjs";
|
|
20
20
|
import { asOptionalRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -3,22 +3,22 @@ import { n as assertCodexBindingMayBeReplaced, v as sessionBindingIdentity } fro
|
|
|
3
3
|
import { m as readCodexRequirementsToml } from "./config-security-CE-FcGw9.mjs";
|
|
4
4
|
import { d as readCodexPluginConfig } from "./config-parsing-b088LyhT.mjs";
|
|
5
5
|
import { d as readCodexEffectiveConfig, n as codexSandboxPolicyForTurn } from "./config-options-CzyWLTJt.mjs";
|
|
6
|
-
import { l as retainSharedCodexAppServerClientByInstanceId } from "./shared-client-lifecycle-
|
|
6
|
+
import { l as retainSharedCodexAppServerClientByInstanceId } from "./shared-client-lifecycle-4LdC3gM4.mjs";
|
|
7
7
|
import { o as resolveCodexDefaultWorkspaceDir } from "./conversation-binding-data-C746z5Pn.mjs";
|
|
8
8
|
import { n as projectBoundedCodexVisibleSessionHistory } from "./transcript-history-projection-DRSifI-1.mjs";
|
|
9
9
|
import { n as canUseCodexModelBackedApprovalsReviewerForModel, r as resolveOpenClawExecPolicyForCodexAppServer } from "./config-DKhXquav.mjs";
|
|
10
10
|
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-C0NbLms1.mjs";
|
|
11
11
|
import { n as normalizeCodexAppServerBindingModelProvider, t as isCodexAppServerNativeAuthProfile } from "./auth-profile-B0okYl2D.mjs";
|
|
12
|
-
import { B as isCodexAppServerClientRuntimeLive, F as consumeCodexAppServerLiveThread,
|
|
13
|
-
import { h as CodexThreadDirectInputError, l as isCodexAppServerOverloadError, s as isCodexAppServerIndeterminateRequestCancellationError, v as assertCodexThreadAcceptsDirectInput, x as assertCodexThreadStartResponse } from "./client-
|
|
14
|
-
import { c as isCodexAppServerUnsafeSubscriptionError, h as getCodexAppServerTurnRouter, o as closeCodexStartupClientBestEffort, p as unsubscribeCodexThreadBestEffort, s as interruptCodexTurnAndWaitBestEffort, u as retireUnsafeCodexTurnClientBestEffort, v as isCodexNotificationForTurn } from "./attempt-client-cleanup-
|
|
15
|
-
import { S as buildCodexProjectDocThreadConfig, St as mergeCodexThreadConfigs, g as CODEX_NATIVE_PERSONALITY_NONE, v as resolveCodexAppServerRequestModelSelection, vt as buildDisabledAppsConfigPatch } from "./thread-requests-
|
|
16
|
-
import "./thread-lifecycle-
|
|
12
|
+
import { B as isCodexAppServerClientRuntimeLive, F as consumeCodexAppServerLiveThread, K as releaseCodexAppServerLiveThread, R as hasCodexAppServerLiveThread, V as isCodexAppServerLiveThreadClaimed, b as withLeasedCodexAppServerClientStartSelectionRetry, c as getLeasedSharedCodexAppServerClient, m as releaseCodexAppServerClientLease } from "./shared-client-zsK3DTPh.mjs";
|
|
13
|
+
import { h as CodexThreadDirectInputError, l as isCodexAppServerOverloadError, s as isCodexAppServerIndeterminateRequestCancellationError, v as assertCodexThreadAcceptsDirectInput, x as assertCodexThreadStartResponse } from "./client-6GbdZFc0.mjs";
|
|
14
|
+
import { c as isCodexAppServerUnsafeSubscriptionError, h as getCodexAppServerTurnRouter, o as closeCodexStartupClientBestEffort, p as unsubscribeCodexThreadBestEffort, s as interruptCodexTurnAndWaitBestEffort, u as retireUnsafeCodexTurnClientBestEffort, v as isCodexNotificationForTurn } from "./attempt-client-cleanup-D1aznv7C.mjs";
|
|
15
|
+
import { S as buildCodexProjectDocThreadConfig, St as mergeCodexThreadConfigs, g as CODEX_NATIVE_PERSONALITY_NONE, v as resolveCodexAppServerRequestModelSelection, vt as buildDisabledAppsConfigPatch } from "./thread-requests-15uBuGjw.mjs";
|
|
16
|
+
import "./thread-lifecycle-D03WesNn.mjs";
|
|
17
17
|
import "./session-binding-DGCYAfvD.mjs";
|
|
18
|
-
import { t as resumeCodexAppServerThread } from "./thread-resume-
|
|
19
|
-
import { a as rollbackCodexAppServerBindingSubscription, c as withExclusiveCodexAppServerThread, n as releaseCodexAppServerBindingSubscription, r as retainCodexAppServerBindingSubscription, t as isSameCodexAppServerThreadOwner } from "./thread-ownership-
|
|
18
|
+
import { t as resumeCodexAppServerThread } from "./thread-resume-BZfwM8Jh.mjs";
|
|
19
|
+
import { a as rollbackCodexAppServerBindingSubscription, c as withExclusiveCodexAppServerThread, n as releaseCodexAppServerBindingSubscription, r as retainCodexAppServerBindingSubscription, t as isSameCodexAppServerThreadOwner } from "./thread-ownership-B0xUCXOU.mjs";
|
|
20
20
|
import { a as resolveCodexAppServerForModelProvider, i as resolveCodexSessionPermissionCwd, n as applyCodexSessionPermissionPolicy, t as CODEX_SESSION_PERMISSION_EXEC_MODES } from "./session-permission-policy-Ci_fVX6y.mjs";
|
|
21
|
-
import { u as trackCodexConversationActiveTurn } from "./conversation-control-
|
|
21
|
+
import { u as trackCodexConversationActiveTurn } from "./conversation-control-DoxkQ9nq.mjs";
|
|
22
22
|
import { asOptionalRecord, normalizeOptionalString, readNonEmptyStringPreservingWhitespace } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
23
23
|
import { resolveSessionAgentIdsStrict } from "openclaw/plugin-sdk/agent-scope-runtime";
|
|
24
24
|
import { resolveTimerTimeoutMs } from "openclaw/plugin-sdk/number-runtime";
|
|
@@ -3,8 +3,8 @@ import { r as bindingStoreKey } from "./session-binding-record-Oe9L-CNY.mjs";
|
|
|
3
3
|
import { o as formatCodexDisplayText } from "./command-formatters-R3ckE3Co.mjs";
|
|
4
4
|
import "./config-DKhXquav.mjs";
|
|
5
5
|
import { n as normalizeCodexAppServerBindingModelProvider, t as isCodexAppServerNativeAuthProfile } from "./auth-profile-B0okYl2D.mjs";
|
|
6
|
-
import { b as resolveCodexBindingModelProviderFallback, v as resolveCodexAppServerRequestModelSelection } from "./thread-requests-
|
|
7
|
-
import "./thread-lifecycle-
|
|
6
|
+
import { b as resolveCodexBindingModelProviderFallback, v as resolveCodexAppServerRequestModelSelection } from "./thread-requests-15uBuGjw.mjs";
|
|
7
|
+
import "./thread-lifecycle-D03WesNn.mjs";
|
|
8
8
|
import "./session-binding-DGCYAfvD.mjs";
|
|
9
9
|
import { resolveAgentDir } from "openclaw/plugin-sdk/agent-runtime";
|
|
10
10
|
import { getSessionEntry, patchSessionEntry, resolveStorePath } from "openclaw/plugin-sdk/session-store-runtime";
|
|
@@ -6,14 +6,14 @@ import { s as readItem } from "./event-projector-values-DJSz8BTk.mjs";
|
|
|
6
6
|
import { s as codexAppIdentityKey } from "./plugin-app-cache-key-BL9B5H0L.mjs";
|
|
7
7
|
import "./config-DKhXquav.mjs";
|
|
8
8
|
import { i as sanitizeInlineImageDataUrl, r as invalidInlineImageText } from "./session-history-read-Ov3StuL4.mjs";
|
|
9
|
-
import {
|
|
9
|
+
import { W as protectCodexAppServerLiveThread, _ as retainSharedCodexAppServerClientIfCurrent } from "./shared-client-zsK3DTPh.mjs";
|
|
10
10
|
import { a as isCodexResponsesOAuthRun } from "./responses-oauth-twnuTaAa.mjs";
|
|
11
|
-
import { B as resolveCodexToolAbortTerminalReason, E as readCodexTurnCompletedNotification, H as failedToolResult, V as createFailedDynamicToolResponse, k as createCodexElicitationResponse, m as CodexServerRequestResolvedError } from "./client-
|
|
12
|
-
import { A as itemStatus, C as auditNativeToolUnfinishedStatus, N as shouldClearTerminalPresentationForNativeItem, S as auditNativeToolTerminalStatus, b as readCodexNotificationTurnId, k as itemName, v as isCodexNotificationForTurn, x as auditNativeToolName, y as readCodexNotificationThreadId } from "./attempt-client-cleanup-
|
|
13
|
-
import { ct as isForcedPrivateQaCodexRuntime, dt as normalizeCodexDynamicToolName, j as emitCodexNativePreToolUseFailureDiagnostic, ot as filterCodexDynamicTools, p as resolveCodexWebSearchPlan, st as filterCodexDynamicToolsForDisabledNativeSurface, ut as isSystemAgentOnlyCodexDynamicToolAllowlist } from "./thread-requests-
|
|
14
|
-
import { _ as waitForPluginApprovalDecision, d as mapExecDecisionToOutcome, f as requestPluginApproval, g as truncateCodexApprovalDisplayText, h as stripDanglingCodexApprovalTerminalSequence, l as approvalRequestExplicitlyUnavailable, m as sanitizeCodexApprovalVisibleText, p as requestPluginApprovalOutcome, u as codexApprovalTimeoutText } from "./native-subagent-monitor-
|
|
11
|
+
import { B as resolveCodexToolAbortTerminalReason, E as readCodexTurnCompletedNotification, H as failedToolResult, V as createFailedDynamicToolResponse, k as createCodexElicitationResponse, m as CodexServerRequestResolvedError } from "./client-6GbdZFc0.mjs";
|
|
12
|
+
import { A as itemStatus, C as auditNativeToolUnfinishedStatus, N as shouldClearTerminalPresentationForNativeItem, S as auditNativeToolTerminalStatus, b as readCodexNotificationTurnId, k as itemName, v as isCodexNotificationForTurn, x as auditNativeToolName, y as readCodexNotificationThreadId } from "./attempt-client-cleanup-D1aznv7C.mjs";
|
|
13
|
+
import { ct as isForcedPrivateQaCodexRuntime, dt as normalizeCodexDynamicToolName, j as emitCodexNativePreToolUseFailureDiagnostic, ot as filterCodexDynamicTools, p as resolveCodexWebSearchPlan, st as filterCodexDynamicToolsForDisabledNativeSurface, ut as isSystemAgentOnlyCodexDynamicToolAllowlist } from "./thread-requests-15uBuGjw.mjs";
|
|
14
|
+
import { _ as waitForPluginApprovalDecision, d as mapExecDecisionToOutcome, f as requestPluginApproval, g as truncateCodexApprovalDisplayText, h as stripDanglingCodexApprovalTerminalSequence, l as approvalRequestExplicitlyUnavailable, m as sanitizeCodexApprovalVisibleText, p as requestPluginApprovalOutcome, u as codexApprovalTimeoutText } from "./native-subagent-monitor-DbNIloTJ.mjs";
|
|
15
15
|
import { n as resolveCodexNativeExecutionPolicy, r as resolveCodexNodeExecToolOverrides } from "./native-execution-policy-BxZJy5mP.mjs";
|
|
16
|
-
import { a as CODEX_NODE_EXEC_DYNAMIC_TOOL_NAME, c as createNodeExecAliasDynamicTool, d as isCodexDynamicToolExcluded, i as CODEX_GATEWAY_PROCESS_DYNAMIC_TOOL_NAME, l as createSandboxExecProjection, o as createGatewayExecProjection, r as CODEX_GATEWAY_EXEC_DYNAMIC_TOOL_NAME, s as createGatewayProcessProjection, u as createSandboxProcessProjection } from "./provider-capabilities-
|
|
16
|
+
import { a as CODEX_NODE_EXEC_DYNAMIC_TOOL_NAME, c as createNodeExecAliasDynamicTool, d as isCodexDynamicToolExcluded, i as CODEX_GATEWAY_PROCESS_DYNAMIC_TOOL_NAME, l as createSandboxExecProjection, o as createGatewayExecProjection, r as CODEX_GATEWAY_EXEC_DYNAMIC_TOOL_NAME, s as createGatewayProcessProjection, u as createSandboxProcessProjection } from "./provider-capabilities-CYK-rMwC.mjs";
|
|
17
17
|
import { createRequire } from "node:module";
|
|
18
18
|
import { asNonArrayRecord, asOptionalRecord, isRecord, normalizeTrimmedStringList, readNonBlankString, readStringField } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
19
19
|
import { createHash, randomUUID } from "node:crypto";
|
package/dist/.setup/{effective-mcp-catalog-DMrerMF4.mjs → effective-mcp-catalog-C1zwj-bq.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { v as sessionBindingIdentity } from "./session-binding-record-Oe9L-CNY.mjs";
|
|
2
|
-
import { l as retainSharedCodexAppServerClientByInstanceId } from "./shared-client-lifecycle-
|
|
3
|
-
import "./shared-client-
|
|
2
|
+
import { l as retainSharedCodexAppServerClientByInstanceId } from "./shared-client-lifecycle-4LdC3gM4.mjs";
|
|
3
|
+
import "./shared-client-zsK3DTPh.mjs";
|
|
4
4
|
import "./session-binding-DGCYAfvD.mjs";
|
|
5
5
|
import { asOptionalRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
import { assignMcpCatalogSafeServerNames } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as isJsonObject } from "./protocol-CANUwXJ3.mjs";
|
|
2
|
-
import { E as readCodexTurnCompletedNotification } from "./client-
|
|
3
|
-
import { h as getCodexAppServerTurnRouter } from "./attempt-client-cleanup-
|
|
2
|
+
import { E as readCodexTurnCompletedNotification } from "./client-6GbdZFc0.mjs";
|
|
3
|
+
import { h as getCodexAppServerTurnRouter } from "./attempt-client-cleanup-D1aznv7C.mjs";
|
|
4
4
|
import { o as isTerminalTurnStatus, s as readCodexNotificationItem, t as CodexUsageProjection } from "./event-projector-usage-03R0I2dM.mjs";
|
|
5
5
|
import { readStringField } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
import { toStringifiedError } from "openclaw/plugin-sdk/error-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as codexProviderRefusalDiagnostics } from "./event-projector-values-DJSz8BTk.mjs";
|
|
2
|
-
import { o as resolveCodexLocalRuntimeAttribution } from "./native-subagent-monitor-
|
|
2
|
+
import { o as resolveCodexLocalRuntimeAttribution } from "./native-subagent-monitor-DbNIloTJ.mjs";
|
|
3
3
|
import { createAgentHarnessAssistantMessage } from "openclaw/plugin-sdk/agent-harness-attempt-runtime";
|
|
4
4
|
//#region extensions/codex/src/app-server/event-projector-assistant-message.ts
|
|
5
5
|
function createAssistantMessage(params, text, options) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { d as readCodexPluginConfig } from "./config-parsing-b088LyhT.mjs";
|
|
2
2
|
import { i as resolveCodexAppServerHomeScope } from "./config-options-CzyWLTJt.mjs";
|
|
3
3
|
import "./config-DKhXquav.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import { _ as assertCodexPassiveTurnItems } from "./client-
|
|
6
|
-
import { runBoundedCodexAppServerTurn } from "./bounded-turn-
|
|
4
|
+
import { nt as resolveCodexAppServerPreparedAuthHandoff } from "./shared-client-zsK3DTPh.mjs";
|
|
5
|
+
import { _ as assertCodexPassiveTurnItems } from "./client-6GbdZFc0.mjs";
|
|
6
|
+
import { runBoundedCodexAppServerTurn } from "./bounded-turn-Ca4urQ25.mjs";
|
|
7
7
|
import { t as resolveCodexBoundedTurnIsolation } from "./bounded-turn-isolation-B8K_ylqk.mjs";
|
|
8
|
-
import { a as createAttributedCodexAssistantMessage } from "./event-projector-assistant-message-
|
|
8
|
+
import { a as createAttributedCodexAssistantMessage } from "./event-projector-assistant-message-CAI4foF8.mjs";
|
|
9
9
|
//#region extensions/codex/src/app-server/isolated-completion.ts
|
|
10
10
|
/** Runs prompt-only Codex inference on an ephemeral, ring-zero native thread. */
|
|
11
11
|
async function runCodexIsolatedCompletion(params, options) {
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { t as buildCodexRuntimeModelParams } from "./model-runtime-BdqzOMkU.mjs";
|
|
2
2
|
import { d as readCodexPluginConfig } from "./config-parsing-b088LyhT.mjs";
|
|
3
3
|
import { n as isCodexAppServerProxyLaunch } from "./launch-args-DbFCehO7.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { d as retireSharedCodexAppServerClientIfCurrent } from "./shared-client-lifecycle-4LdC3gM4.mjs";
|
|
5
|
+
import { o as withCodexAppServerJsonClient } from "./request-DQh7X3fU.mjs";
|
|
5
6
|
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-C0NbLms1.mjs";
|
|
6
7
|
import { a as resolveCodexAppServerAuthProfileStore, r as resolveCodexAppServerAuthProfileId } from "./auth-profile-B0okYl2D.mjs";
|
|
7
|
-
import { r as captureSharedCodexAppServerCatalogLifetime } from "./shared-client-
|
|
8
|
+
import { r as captureSharedCodexAppServerCatalogLifetime } from "./shared-client-zsK3DTPh.mjs";
|
|
8
9
|
import { i as isCodexResponsesOAuthCredential } from "./responses-oauth-twnuTaAa.mjs";
|
|
9
|
-
import {
|
|
10
|
+
import { s as isCodexAppServerIndeterminateRequestCancellationError } from "./client-6GbdZFc0.mjs";
|
|
11
|
+
import { n as listAllCodexAppServerModels } from "./models-Bs4aEhpG.mjs";
|
|
10
12
|
import { probeCodexNativeAuth } from "./native-auth-BN-BD2AV.mjs";
|
|
11
13
|
//#region extensions/codex/src/app-server/model-catalog.ts
|
|
12
14
|
const INPUT_TYPES = /* @__PURE__ */ new Set([
|
|
@@ -97,22 +99,27 @@ function createCodexAppServerModelCatalog(runtime) {
|
|
|
97
99
|
authProfileId
|
|
98
100
|
} : {}
|
|
99
101
|
}, async (request, client) => {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
102
|
+
try {
|
|
103
|
+
const isCurrent = captureSharedCodexAppServerCatalogLifetime(client);
|
|
104
|
+
const models = (await listAllCodexAppServerModels({
|
|
105
|
+
request,
|
|
106
|
+
limit: 100,
|
|
107
|
+
includeHidden: true
|
|
108
|
+
})).models.filter((model) => !model.hidden || params.configuredModelRefs?.some((ref) => ref.provider === "openai" && ref.model === model.id));
|
|
109
|
+
const account = await request({
|
|
110
|
+
method: "account/read",
|
|
111
|
+
requestParams: { refreshToken: false }
|
|
112
|
+
});
|
|
113
|
+
const observedType = account.account?.type;
|
|
114
|
+
return {
|
|
115
|
+
models,
|
|
116
|
+
isCurrent,
|
|
117
|
+
accountType: account.requiresOpenaiAuth ? observedType === "apiKey" || observedType === "chatgpt" ? observedType : void 0 : void 0
|
|
118
|
+
};
|
|
119
|
+
} catch (error) {
|
|
120
|
+
if (isCodexAppServerIndeterminateRequestCancellationError(error)) retireSharedCodexAppServerClientIfCurrent(client);
|
|
121
|
+
throw error;
|
|
122
|
+
}
|
|
116
123
|
});
|
|
117
124
|
if (disposed || observations.get(key) !== observation || !result.isCurrent()) return [];
|
|
118
125
|
observation.models = new Set(result.models.map((model) => model.id));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as assertCodexModelListResponse } from "./client-
|
|
1
|
+
import { g as assertCodexModelListResponse } from "./client-6GbdZFc0.mjs";
|
|
2
2
|
import { normalizeOptionalString, normalizeUniqueTrimmedStringList } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
3
|
//#region extensions/codex/src/app-server/models.ts
|
|
4
4
|
const DEFAULT_MODEL_DISCOVERY_TIMEOUT_MS = 1e4;
|
|
@@ -32,8 +32,8 @@ async function withCodexAppServerModelRequest(options, run) {
|
|
|
32
32
|
if (options.request) return await run(options.request);
|
|
33
33
|
const timeoutMs = options.timeoutMs ?? 1e4;
|
|
34
34
|
const useSharedClient = options.sharedClient !== false;
|
|
35
|
-
const { createIsolatedCodexAppServerClient, getLeasedSharedCodexAppServerClient, releaseLeasedSharedCodexAppServerClient } = await import("./shared-client-
|
|
36
|
-
const { requestCodexAppServerClientJson } = await import("./request-
|
|
35
|
+
const { createIsolatedCodexAppServerClient, getLeasedSharedCodexAppServerClient, releaseLeasedSharedCodexAppServerClient } = await import("./shared-client-zsK3DTPh.mjs").then((n) => n.v);
|
|
36
|
+
const { requestCodexAppServerClientJson } = await import("./request-DQh7X3fU.mjs").then((n) => n.a);
|
|
37
37
|
const client = await (useSharedClient ? getLeasedSharedCodexAppServerClient : createIsolatedCodexAppServerClient)({
|
|
38
38
|
startOptions: options.startOptions,
|
|
39
39
|
timeoutMs,
|
package/dist/.setup/{native-subagent-monitor-BRr7YExU.mjs → native-subagent-monitor-DbNIloTJ.mjs}
RENAMED
|
@@ -3,8 +3,8 @@ import { i as isJsonObject } from "./protocol-CANUwXJ3.mjs";
|
|
|
3
3
|
import { c as readNonEmptyString, o as readHookOutputEntries, r as normalizeOptionalString$1, s as readItem, u as readNullableString } from "./event-projector-values-DJSz8BTk.mjs";
|
|
4
4
|
import { t as attachCodexMirrorIdentity } from "./upstream-prompt-provenance-fXkKbPVC.mjs";
|
|
5
5
|
import { t as readCodexMirroredSessionHistoryMessages } from "./session-history-D83lJWHG.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { A as itemStatus, D as isSideEffectingNativeToolItem, E as isProjectedNativeToolItem, M as matchesCodexSnapshotTurn, O as itemKind, P as unknownItemStatus, S as auditNativeToolTerminalStatus, T as isNonSuccessItemStatus, j as itemTitle, k as itemName, s as interruptCodexTurnAndWaitBestEffort, w as isMutatingNativeToolItem, x as auditNativeToolName } from "./attempt-client-cleanup-
|
|
6
|
+
import { P as claimCodexAppServerLiveThread, R as hasCodexAppServerLiveThread, mt as resolveCodexGatewayTimeoutWithGraceMs, q as retainCodexAppServerLiveThread } from "./shared-client-zsK3DTPh.mjs";
|
|
7
|
+
import { A as itemStatus, D as isSideEffectingNativeToolItem, E as isProjectedNativeToolItem, M as matchesCodexSnapshotTurn, O as itemKind, P as unknownItemStatus, S as auditNativeToolTerminalStatus, T as isNonSuccessItemStatus, j as itemTitle, k as itemName, s as interruptCodexTurnAndWaitBestEffort, w as isMutatingNativeToolItem, x as auditNativeToolName } from "./attempt-client-cleanup-D1aznv7C.mjs";
|
|
8
8
|
import { t as __exportAll } from "./session-binding-sidecars-jo6H8dFr.mjs";
|
|
9
9
|
import { asFiniteNumber, asNonArrayRecord, normalizeLowercaseStringOrEmpty, normalizeOptionalString, normalizeTrimmedStringList, readStringField } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
10
10
|
import { randomUUID } from "node:crypto";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { u as CODEX_PLUGINS_MARKETPLACE_NAME } from "./plugin-inventory-Cky2XJUw.mjs";
|
|
2
2
|
import { t as isOnlyMigrationKind } from "./scope-DOC1Xjc8.mjs";
|
|
3
3
|
import "./config-DKhXquav.mjs";
|
|
4
|
-
import { i as hasCodexSource, n as defaultCodexHome, o as readJsonObject, r as discoverCodexSource, s as sanitizeName, t as codexPluginMigrationSubscriptionWarning } from "./source-
|
|
4
|
+
import { i as hasCodexSource, n as defaultCodexHome, o as readJsonObject, r as discoverCodexSource, s as sanitizeName, t as codexPluginMigrationSubscriptionWarning } from "./source-DzsIjGO7.mjs";
|
|
5
5
|
import { asBoolean, asOptionalRecord, isRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
import { createHash } from "node:crypto";
|
|
7
7
|
import { runCommandBuffered } from "openclaw/plugin-sdk/process-runtime";
|
|
@@ -97,7 +97,7 @@ async function readCodexCliCredentialsAsync(options) {
|
|
|
97
97
|
options.signal?.throwIfAborted();
|
|
98
98
|
if (!options.allowKeychainPrompt) return;
|
|
99
99
|
const home = await fs.realpath(options.codexHome).catch(() => path.resolve(options.codexHome));
|
|
100
|
-
const { CodexAppServerClient } = await import("./client-
|
|
100
|
+
const { CodexAppServerClient } = await import("./client-6GbdZFc0.mjs").then((n) => n.n);
|
|
101
101
|
const { resolveManagedCodexPackageEntrypoint, resolveManagedCodexNativeCommand } = await import("./managed-binary-B6hQ1UKR.mjs").then((n) => n.n);
|
|
102
102
|
const launcher = resolveManagedCodexPackageEntrypoint(path.dirname(fileURLToPath(import.meta.url)));
|
|
103
103
|
const command = launcher ? resolveManagedCodexNativeCommand(launcher) : void 0;
|
package/dist/.setup/{plugin-metadata-cache-DiVUT-uC.mjs → plugin-metadata-cache-Z06WuND0.mjs}
RENAMED
|
@@ -2,12 +2,12 @@ import { t as resolveCodexAppServerHomeDir } from "./auth-start-options-BPIPeEX8
|
|
|
2
2
|
import { o as resolveCodexComputerUseConfig } from "./config-options-CzyWLTJt.mjs";
|
|
3
3
|
import { d as resolveMacOSDesktopCodexBundledMarketplaceCandidates, t as isManagedCodexDesktopCommand } from "./managed-binary-B6hQ1UKR.mjs";
|
|
4
4
|
import { n as describeControlFailure } from "./capabilities-B3WEZl4e.mjs";
|
|
5
|
-
import { r as requestCodexAppServerClientJson } from "./request-
|
|
5
|
+
import { r as requestCodexAppServerClientJson } from "./request-DQh7X3fU.mjs";
|
|
6
6
|
import "./config-DKhXquav.mjs";
|
|
7
7
|
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-C0NbLms1.mjs";
|
|
8
|
-
import {
|
|
9
|
-
import { c as isCodexAppServerIndeterminateTransportError, o as isCodexAppServerConnectionClosedError, s as isCodexAppServerIndeterminateRequestCancellationError } from "./client-
|
|
10
|
-
import { r as CodexAppServerUnsafeSubscriptionError, u as retireUnsafeCodexTurnClientBestEffort } from "./attempt-client-cleanup-
|
|
8
|
+
import { O as acquireCodexNativeConfigFence, at as hasLegacyCodexComputerUseMcpPolicy, b as withLeasedCodexAppServerClientStartSelectionRetry, c as getLeasedSharedCodexAppServerClient, ct as ensureCodexComputerUseSharedPluginCache, d as readCodexAppServerClientDesktopGeneration, et as reconcileCodexComputerUseStartArtifacts, g as resolveCodexNativeConfigFenceKey, h as releaseLeasedSharedCodexAppServerClient, it as resolveClientManagedBundledMarketplacePath, lt as assertNotSymlink, ot as isLegacyCodexComputerUsePluginDisabled, p as readCodexAppServerClientProcessIdentity, rt as resolveBundledComputerUseMarketplacePath, st as resolveManagedCodexComputerUseConfig, t as assertCodexAppServerClientStartSelectionCurrent, u as isCodexAppServerStartSelectionChangedError, y as waitForCodexAppServerClientDesktopGenerationDrain } from "./shared-client-zsK3DTPh.mjs";
|
|
9
|
+
import { c as isCodexAppServerIndeterminateTransportError, o as isCodexAppServerConnectionClosedError, s as isCodexAppServerIndeterminateRequestCancellationError } from "./client-6GbdZFc0.mjs";
|
|
10
|
+
import { r as CodexAppServerUnsafeSubscriptionError, u as retireUnsafeCodexTurnClientBestEffort } from "./attempt-client-cleanup-D1aznv7C.mjs";
|
|
11
11
|
import path from "node:path";
|
|
12
12
|
import fs from "node:fs/promises";
|
|
13
13
|
import { toErrorObject } from "openclaw/plugin-sdk/error-runtime";
|
|
@@ -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-DzsIjGO7.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-NTSBQtKx.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-C82xe8Bk.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-C82xe8Bk.mjs");
|
|
42
42
|
return await applyCodexMigrationPlan({
|
|
43
43
|
ctx,
|
|
44
44
|
plan,
|
package/dist/.setup/{provider-capabilities-CIWN6WAi.mjs → provider-capabilities-CYK-rMwC.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as releaseLeasedSharedCodexAppServerClient } from "./shared-client-
|
|
2
|
-
import { dt as normalizeCodexDynamicToolName } from "./thread-requests-
|
|
1
|
+
import { h as releaseLeasedSharedCodexAppServerClient } from "./shared-client-zsK3DTPh.mjs";
|
|
2
|
+
import { dt as normalizeCodexDynamicToolName } from "./thread-requests-15uBuGjw.mjs";
|
|
3
3
|
import { pinExecToolTarget } from "openclaw/plugin-sdk/codex-mcp-projection";
|
|
4
4
|
import { loadNodeExecAvailability } from "openclaw/plugin-sdk/node-selection-runtime";
|
|
5
5
|
//#region extensions/codex/src/app-server/shell-dynamic-tools.ts
|
|
@@ -180,7 +180,7 @@ async function withCodexAppServerJsonClient(params, run) {
|
|
|
180
180
|
timeoutMessage,
|
|
181
181
|
promise: (async () => {
|
|
182
182
|
const { resolveCodexAppServerDirectSandboxBypassBlock } = await import("./sandbox-guard-DjCz2eOw.mjs").then((n) => n.r);
|
|
183
|
-
const { createIsolatedCodexAppServerClient, getLeasedSharedCodexAppServerClient, isCodexAppServerStartSelectionChangedError, releaseLeasedSharedCodexAppServerClient, retireSharedCodexAppServerClientIfCurrent } = await import("./shared-client-
|
|
183
|
+
const { createIsolatedCodexAppServerClient, getLeasedSharedCodexAppServerClient, isCodexAppServerStartSelectionChangedError, releaseLeasedSharedCodexAppServerClient, retireSharedCodexAppServerClientIfCurrent } = await import("./shared-client-zsK3DTPh.mjs").then((n) => n.v);
|
|
184
184
|
for (let attempt = 0; attempt < 2; attempt += 1) {
|
|
185
185
|
errorPhase = void 0;
|
|
186
186
|
activePhase = "prepare";
|