@openclaw/codex 2026.10.5-beta.4 → 2026.10.5
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-CoVpNIlD.mjs → account-usage-runtime-Dqpnnkst.mjs} +3 -3
- package/dist/.setup/{app-server-policy-D_zv8J7V.mjs → app-server-policy-XTIa6h5k.mjs} +1 -1
- package/dist/.setup/{apply-BXDMd05l.mjs → apply-QyZT5-na.mjs} +8 -8
- package/dist/.setup/{attempt-client-cleanup-zNuNTKVr.mjs → attempt-client-cleanup-TScCVTsk.mjs} +5 -5
- package/dist/.setup/attempt-terminal-sZutF0WY.mjs +1 -0
- package/dist/.setup/{attempt-workspace-context-CcwP3DA3.mjs → attempt-workspace-context-Cr3mI4vp.mjs} +1 -1
- package/dist/.setup/{auth-binding-BaxlhaNx.mjs → auth-binding-BFTkrP_b.mjs} +1 -1
- package/dist/.setup/{auth-cache-key-f8ODJ_OX.mjs → auth-cache-key-DvDLHVJe.mjs} +3 -3
- package/dist/.setup/{binding-connection-B7HAAZSI.mjs → binding-connection-X1ZeEDz8.mjs} +2 -2
- package/dist/.setup/{binding-connection.runtime-DAXn7iFl.mjs → binding-connection.runtime-CZSz0g4u.mjs} +2 -2
- package/dist/.setup/{bounded-turn-DfIJtRlv.mjs → bounded-turn-BpjZixcd.mjs} +12 -12
- package/dist/.setup/{bounded-turn-isolation-BfDAo-qZ.mjs → bounded-turn-isolation-Brj5qzz6.mjs} +4 -4
- package/dist/.setup/{build-state-Ds14X10-.mjs → build-state-DfrctLQv.mjs} +1 -1
- package/dist/.setup/{client-D93nbdB8.mjs → client-BpSxNz4F.mjs} +8 -8
- package/dist/.setup/{client-catalog-response-CuVLp4I0.mjs → client-catalog-response-DloWE31e.mjs} +1 -1
- package/dist/.setup/{command-dispatch-DxdH5a9-.mjs → command-dispatch-CIdf7ZvD.mjs} +1 -1
- package/dist/.setup/{command-handlers-fiYvYYq0.mjs → command-handlers-C2XNDeHL.mjs} +24 -24
- package/dist/.setup/{command-rpc-HIvsy3wS.mjs → command-rpc-DpmvEmhc.mjs} +11 -11
- package/dist/.setup/{compact-ClZ7Ar7L.mjs → compact-DpCHUqU5.mjs} +13 -13
- package/dist/.setup/{computer-use-DL2v3Kxq.mjs → computer-use-BgGC32hr.mjs} +8 -8
- package/dist/.setup/{config-C1YVVLEA.mjs → config-G4IGX6bK.mjs} +5 -6
- package/dist/.setup/{config-options-DDzeNQ8m.mjs → config-options-nvYwVDyy.mjs} +2 -3
- package/dist/.setup/{config-parsing-DsWSCPHO.mjs → config-parsing-CVK2Q463.mjs} +44 -6
- package/dist/.setup/{config-runtime-DWzK-k0n.mjs → config-runtime-B8agjie6.mjs} +2 -2
- package/dist/.setup/{config-security-clxAZYWX.mjs → config-security-D0hAOQRI.mjs} +1 -2
- package/dist/.setup/{conversation-binding-BieJZRRV.mjs → conversation-binding-BCoWi2Kn.mjs} +19 -19
- package/dist/.setup/{conversation-binding-data-UgLuTSQT.mjs → conversation-binding-data-GRGSgAro.mjs} +1 -1
- package/dist/.setup/{conversation-control-GXM3unE4.mjs → conversation-control--OHH2dHA.mjs} +4 -4
- package/dist/.setup/{cyber-failover-D4dgNfFf.mjs → cyber-failover-B-q6oT01.mjs} +2 -2
- package/dist/.setup/{cyber-failover-notice-ljgGGL0s.mjs → cyber-failover-notice-poL3Advd.mjs} +1 -1
- package/dist/.setup/{doctor-start-options-JjTAl-q_.mjs → doctor-start-options-DedLaoqI.mjs} +5 -5
- package/dist/.setup/{dynamic-tool-build-DcaPmBlE.mjs → dynamic-tool-build-CoMf7IKx.mjs} +5 -5
- package/dist/.setup/{dynamic-tools-CnQFnNKH.mjs → dynamic-tools-CKynHtxM.mjs} +9 -9
- package/dist/.setup/{effective-mcp-catalog-B5HKFZNK.mjs → effective-mcp-catalog-DXGsGC1j.mjs} +7 -7
- package/dist/.setup/{ephemeral-turn-De3qb8EQ.mjs → ephemeral-turn-C6aFeGFS.mjs} +2 -2
- package/dist/.setup/{isolated-completion-BPJdvk5F.mjs → isolated-completion-DVDn5GU5.mjs} +7 -7
- package/dist/.setup/{managed-binary-BtIjV7yN.mjs → managed-binary-DwC9wxch.mjs} +1 -1
- package/dist/.setup/{mcp-app-session-preparation-Dz2GOwyE.mjs → mcp-app-session-preparation-Cnmuh9RT.mjs} +12 -17
- package/dist/.setup/{mcp-tool-metadata-DW41snf3.mjs → mcp-tool-metadata-_sawBkIh.mjs} +1 -1
- package/dist/.setup/{model-catalog-ZNwltCKl.mjs → model-catalog-DRbHoUhG.mjs} +8 -8
- package/dist/.setup/{models-BHpbAuz8.mjs → models-GBLXb27n.mjs} +3 -3
- package/dist/.setup/{native-auth-esN5MdIv.mjs → native-auth-DWrRSl4Z.mjs} +4 -4
- package/dist/.setup/{native-hook-relay-wq7jrNLk.mjs → native-hook-relay-BQ9UkpeG.mjs} +5 -5
- package/dist/.setup/{native-mcp-app-DX3nyTtc.mjs → native-mcp-app-DIheNk35.mjs} +6 -6
- package/dist/.setup/{native-skill-isolation-DSBeF-Yy.mjs → native-skill-isolation-CxZRtiWZ.mjs} +3 -3
- package/dist/.setup/{native-subagent-monitor-DOLEIf9r.mjs → native-subagent-monitor-gqu3TQOv.mjs} +7 -7
- package/dist/.setup/{native-task-assignments-DimsQ9Qa.mjs → native-task-assignments-DYL9uxNe.mjs} +3 -3
- package/dist/.setup/{node-cli-sessions-CzKg2nGq.mjs → node-cli-sessions-BxVYZNuY.mjs} +2 -2
- package/dist/.setup/{node-exec-server.runtime-BWkULhBM.mjs → node-exec-server.runtime-8RehgPdQ.mjs} +2 -2
- package/dist/.setup/{plan-41-YOBMq.mjs → plan-DZWYASAx.mjs} +5 -5
- package/dist/.setup/{plugin-activation-D7WkJMvU.mjs → plugin-activation-CsW09DWl.mjs} +2 -2
- package/dist/.setup/{plugin-approval-roundtrip-CD88q3yx.mjs → plugin-approval-roundtrip-HbFUm9Pp.mjs} +1 -1
- package/dist/.setup/{plugin-inventory-CYgdo14P.mjs → plugin-inventory-kLR7G02h.mjs} +1 -1
- package/dist/.setup/{plugin-marketplace-discovery-BblHM3DU.mjs → plugin-marketplace-discovery-BNyI1zd_.mjs} +1 -1
- package/dist/.setup/{project-doc-thread-config-BVcvnps8.mjs → project-doc-thread-config-B2ZD23A_.mjs} +6 -6
- package/dist/.setup/{provider-LWKll6dV.mjs → provider-BiUzaRth.mjs} +4 -4
- package/dist/.setup/{provider-capabilities-Dn2WwH4P.mjs → provider-capabilities-DOBUBt86.mjs} +1 -1
- package/dist/.setup/{request-Bo0kKABI.mjs → request-DhbisYCc.mjs} +5 -5
- package/dist/.setup/{run-attempt-ClU8MxhZ.mjs → run-attempt-WbitbMr6.mjs} +41 -52
- package/dist/.setup/{run-attempt-lifecycle-KN4oh-7O.mjs → run-attempt-lifecycle-DN-ATDp9.mjs} +1 -1
- package/dist/.setup/{runtime-artifact-connection-jS5DeCok.mjs → runtime-artifact-connection-XSifLLBH.mjs} +3 -3
- package/dist/.setup/{runtime-artifact-C13pR7tD.mjs → runtime-artifact-nFHy1R0x.mjs} +3 -3
- package/dist/.setup/{sandbox-guard-DIImwCy1.mjs → sandbox-guard-Cf9XMRrg.mjs} +2 -2
- package/dist/.setup/{service-tier-normalization-BPgw2Wdt.mjs → service-tier-normalization-C2OVdF6E.mjs} +4 -1
- package/dist/.setup/{session-binding-JEHNMPsr.mjs → session-binding-BDnNz-Co.mjs} +3 -3
- package/dist/.setup/{session-binding-record-DU_0biMD.mjs → session-binding-record-C2kDBZhx.mjs} +2 -2
- package/dist/.setup/{session-binding-record-codec-BpH8u_G9.mjs → session-binding-record-codec-CWQXr9os.mjs} +1 -2
- package/dist/.setup/{session-binding-sidecars-DD-enC8w.mjs → session-binding-sidecars-DijNZb31.mjs} +1 -1
- package/dist/.setup/{session-catalog-adoption-Ca3OYGYM.mjs → session-catalog-adoption-Cl6fHxS5.mjs} +5 -5
- package/dist/.setup/{session-catalog-archive-Bv6gV7x9.mjs → session-catalog-archive-CUU7jEkO.mjs} +5 -5
- package/dist/.setup/{session-catalog-events-kR2Ot6nX.mjs → session-catalog-events-IoszcO7-.mjs} +5 -5
- package/dist/.setup/{session-catalog-index-CrnfVEnT.mjs → session-catalog-index-_4Z5quG3.mjs} +8 -8
- package/dist/.setup/{session-catalog-index-order-CTfoefow.mjs → session-catalog-index-order-B30rjUEJ.mjs} +1 -1
- package/dist/.setup/{session-catalog-limits-BynIoOYm.mjs → session-catalog-limits-Daqt3JLk.mjs} +1 -1
- package/dist/.setup/{session-catalog-list-request-D4MYNgDB.mjs → session-catalog-list-request-SJyGz02j.mjs} +3 -3
- package/dist/.setup/{session-catalog-native-projection-CWqCU1I_.mjs → session-catalog-native-projection-imNPfB3q.mjs} +4 -4
- package/dist/.setup/{session-catalog-node-adoption-BdP9Zjqo.mjs → session-catalog-node-adoption-D11N0CMr.mjs} +2 -2
- package/dist/.setup/{session-catalog-node-continue-CNJibO4_.mjs → session-catalog-node-continue-Ct62GeL1.mjs} +5 -5
- package/dist/.setup/{session-catalog-node-lookup-BH_DBGa9.mjs → session-catalog-node-lookup-DQVe6vhs.mjs} +2 -2
- package/dist/.setup/{session-catalog-parsing-DkeoVn60.mjs → session-catalog-parsing-B4OyhylL.mjs} +1 -1
- package/dist/.setup/{session-catalog-projection-BzHiV818.mjs → session-catalog-projection-BFp1d3bJ.mjs} +4 -4
- package/dist/.setup/{session-catalog-source-DGuRdGvM.mjs → session-catalog-source-CgWkqG43.mjs} +1 -1
- package/dist/.setup/{session-cli-GwU0izn-.mjs → session-cli-BoJSZfGd.mjs} +1 -1
- package/dist/.setup/{session-history-import-CaO8s6ta.mjs → session-history-import-DgwRu2eD.mjs} +4 -4
- package/dist/.setup/{session-initialization-Bi_2DKhc.mjs → session-initialization-BjVtsTzi.mjs} +2 -2
- package/dist/.setup/{session-permission-policy-CD2MAWU8.mjs → session-permission-policy-BYI6mp5u.mjs} +1 -1
- package/dist/.setup/{session-retirement-B3U5hpGJ.mjs → session-retirement-AhaR7MAp.mjs} +6 -6
- package/dist/.setup/{settled-turn-finalizer-CYCVpTv2.mjs → settled-turn-finalizer-Blsc4VLX.mjs} +5 -5
- package/dist/.setup/{shared-client-BCx1wbyA.mjs → shared-client-wb1JBldZ.mjs} +12 -12
- package/dist/.setup/{side-question-Bz2UQW0l.mjs → side-question-DNEeROvz.mjs} +22 -22
- package/dist/.setup/{source-DipMO9hL.mjs → source-BjBw-zoV.mjs} +4 -4
- package/dist/.setup/{thread-lifecycle-run-C_aYiYqk.mjs → thread-lifecycle-run-DdwKMIae.mjs} +24 -24
- package/dist/.setup/{thread-ownership-BoUd0i6L.mjs → thread-ownership-CTUs8Eyu.mjs} +4 -4
- package/dist/.setup/{thread-policy-B3wBRNph.mjs → thread-policy-BMRvlOi-.mjs} +3 -3
- package/dist/.setup/{thread-requests-BgzJwJtS.mjs → thread-requests-BqPhA4Gs.mjs} +11 -32
- package/dist/.setup/{thread-resume-D-3bsr1j.mjs → thread-resume-CD48Vab8.mjs} +4 -4
- package/dist/.setup/{transcript-mirror-Bee2o6jj.mjs → transcript-mirror-DVEzdOs0.mjs} +1 -1
- package/dist/.setup/{transport-stdio-CRWTkKOn.mjs → transport-stdio-lgeKKHyw.mjs} +2 -17
- package/dist/.setup/{transport-websocket-DIyPfkHo.mjs → transport-websocket-DOY0dJXN.mjs} +1 -1
- package/dist/.setup/{turn-router-DBVMToGo.mjs → turn-router-DdlzuFdm.mjs} +1 -1
- package/dist/.setup/{upstream-session-fork-p5fwKi7w.mjs → upstream-session-fork-BF0c69x6.mjs} +19 -19
- package/dist/.setup/{usage-C2Kq7oej.mjs → usage-BsMyAOaB.mjs} +3 -3
- package/dist/.setup/{usage-limit-error-BQX8RHAd.mjs → usage-limit-error-hLIGKewV.mjs} +1 -1
- package/dist/.setup/{web-search-provider.runtime-D89djc7e.mjs → web-search-provider.runtime-BJK0lNpc.mjs} +2 -2
- package/dist/.setup/{workspace-write-sandbox-probe-BDWO2Qkh.mjs → workspace-write-sandbox-probe-Cyn6cBsp.mjs} +2 -2
- package/dist/api.js +3 -3
- package/dist/catalog-page.worker.js +1 -1
- package/dist/cli-metadata.js +1 -1
- package/dist/doctor-contract-api.js +5 -5
- package/dist/harness.js +22 -22
- package/dist/index.js +54 -54
- package/dist/media-understanding-provider.js +2 -2
- package/dist/migration-provider-api.js +1 -2
- package/dist/native-session-binding-api.js +1 -2
- package/dist/provider-discovery.js +1 -1
- package/dist/session-history.worker.js +1 -2
- package/package.json +4 -4
- package/dist/.setup/attempt-terminal-jO5IMj9K.mjs +0 -2
- package/dist/.setup/config-contracts.shared-D85SGEuq.mjs +0 -4
- package/dist/.setup/config-utils-DN_YT7dE.mjs +0 -47
package/dist/.setup/{account-usage-runtime-CoVpNIlD.mjs → account-usage-runtime-Dqpnnkst.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { n as isCodexAppServerProxyLaunch } from "./launch-args-DbFCehO7.mjs";
|
|
2
2
|
import { t as buildCodexAppServerUsageSnapshot } from "./rate-limits-CI8pTPqL.mjs";
|
|
3
|
-
import { t as readCodexAppServerUsage } from "./request-
|
|
4
|
-
import "./config-
|
|
5
|
-
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-
|
|
3
|
+
import { t as readCodexAppServerUsage } from "./request-DhbisYCc.mjs";
|
|
4
|
+
import "./config-G4IGX6bK.mjs";
|
|
5
|
+
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-B8agjie6.mjs";
|
|
6
6
|
import { a as resolveCodexAppServerAuthProfileStore } from "./auth-profile-CgHQ8Vot.mjs";
|
|
7
7
|
import { isDeepStrictEqual } from "node:util";
|
|
8
8
|
import { listAgentIds, resolveAgentDir } from "openclaw/plugin-sdk/agent-scope-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as canUseCodexModelBackedApprovalsReviewerForModel } from "./config-
|
|
1
|
+
import { n as canUseCodexModelBackedApprovalsReviewerForModel } from "./config-G4IGX6bK.mjs";
|
|
2
2
|
//#region extensions/codex/src/app-server/app-server-policy.ts
|
|
3
3
|
function resolveCodexAppServerForModelProvider(params) {
|
|
4
4
|
return params.appServer.approvalsReviewer === "user" || canUseCodexModelBackedApprovalsReviewerForModel({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { s as resolveCodexAppServerFallbackApiKeyCacheKey } from "./auth-cache-key-
|
|
1
|
+
import { s as resolveCodexAppServerFallbackApiKeyCacheKey } from "./auth-cache-key-DvDLHVJe.mjs";
|
|
2
2
|
import { a as defaultCodexAppInventoryCache, r as buildCodexPluginAppCacheKey } from "./plugin-app-cache-key-Bg9DbDI6.mjs";
|
|
3
|
-
import { r as requestCodexAppServerJson } from "./request-
|
|
4
|
-
import { r as isOpenAiCuratedMarketplaceName, u as CODEX_PLUGINS_MARKETPLACE_NAME } from "./plugin-inventory-
|
|
5
|
-
import "./config-
|
|
6
|
-
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-
|
|
3
|
+
import { r as requestCodexAppServerJson } from "./request-DhbisYCc.mjs";
|
|
4
|
+
import { r as isOpenAiCuratedMarketplaceName, u as CODEX_PLUGINS_MARKETPLACE_NAME } from "./plugin-inventory-kLR7G02h.mjs";
|
|
5
|
+
import "./config-G4IGX6bK.mjs";
|
|
6
|
+
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-B8agjie6.mjs";
|
|
7
7
|
import { i as resolveCodexAppServerAuthProfileIdForAgent } from "./auth-profile-CgHQ8Vot.mjs";
|
|
8
|
-
import { c as getLeasedSharedCodexAppServerClient, h as releaseLeasedSharedCodexAppServerClient, o as clearSharedCodexAppServerClientIfCurrentAndWait, tt as resolveCodexAppServerAuthAccountCacheKey } from "./shared-client-
|
|
9
|
-
import { t as ensureCodexPluginActivation } from "./plugin-activation-
|
|
10
|
-
import { CODEX_PLUGIN_CONFIG_PATH, buildCodexMigrationPlan, buildCodexPluginsConfigValue, hasCodexPluginConfigConflict, n as resolveCodexConfigPatchMode, readCodexPluginMigrationConfigEntry, t as createCodexAuthItemApplier } from "./plan-
|
|
8
|
+
import { c as getLeasedSharedCodexAppServerClient, h as releaseLeasedSharedCodexAppServerClient, o as clearSharedCodexAppServerClientIfCurrentAndWait, tt as resolveCodexAppServerAuthAccountCacheKey } from "./shared-client-wb1JBldZ.mjs";
|
|
9
|
+
import { t as ensureCodexPluginActivation } from "./plugin-activation-CsW09DWl.mjs";
|
|
10
|
+
import { CODEX_PLUGIN_CONFIG_PATH, buildCodexMigrationPlan, buildCodexPluginsConfigValue, hasCodexPluginConfigConflict, n as resolveCodexConfigPatchMode, readCodexPluginMigrationConfigEntry, t as createCodexAuthItemApplier } from "./plan-DZWYASAx.mjs";
|
|
11
11
|
import { uniqueStrings } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
12
12
|
import { parseStrictNonNegativeInteger } from "openclaw/plugin-sdk/number-runtime";
|
|
13
13
|
import path from "node:path";
|
package/dist/.setup/{attempt-client-cleanup-zNuNTKVr.mjs → attempt-client-cleanup-TScCVTsk.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { w as retireSharedCodexAppServerClientIfCurrent } from "./auth-cache-key-
|
|
1
|
+
import { w as retireSharedCodexAppServerClientIfCurrent } from "./auth-cache-key-DvDLHVJe.mjs";
|
|
2
2
|
import { a as codexPrewriteRejectionCause, o as isCodexAppServerOverloadError, r as CodexAppServerRpcError } from "./rpc-error-C98SHchT.mjs";
|
|
3
|
-
import { Y as unsubscribeCodexAppServerLiveThread, pt as isCodexAppServerStartupError, u as isCodexAppServerStartSelectionChangedError } from "./shared-client-
|
|
4
|
-
import { I as isCodexAppServerBrokenPipeError, c as isCodexAppServerRequestTimeoutError } from "./client-
|
|
5
|
-
import { n as getCodexAppServerTurnRouter } from "./turn-router-
|
|
6
|
-
import { t as __exportAll } from "./session-binding-sidecars-
|
|
3
|
+
import { Y as unsubscribeCodexAppServerLiveThread, pt as isCodexAppServerStartupError, u as isCodexAppServerStartSelectionChangedError } from "./shared-client-wb1JBldZ.mjs";
|
|
4
|
+
import { I as isCodexAppServerBrokenPipeError, c as isCodexAppServerRequestTimeoutError } from "./client-BpSxNz4F.mjs";
|
|
5
|
+
import { n as getCodexAppServerTurnRouter } from "./turn-router-DdlzuFdm.mjs";
|
|
6
|
+
import { t as __exportAll } from "./session-binding-sidecars-DijNZb31.mjs";
|
|
7
7
|
import { createDeferred } from "openclaw/plugin-sdk/extension-shared";
|
|
8
8
|
import { AgentHarnessPreflightError, embeddedAgentLog } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
9
9
|
//#region extensions/codex/src/app-server/attempt-client-cleanup.ts
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { agentHarnessAttemptTerminal as t } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as flattenCodexDynamicToolFunctions } from "./protocol-CANUwXJ3.mjs";
|
|
2
|
-
import { I as isMessageOnlyCodexSourceReply } from "./thread-requests-
|
|
2
|
+
import { I as isMessageOnlyCodexSourceReply } from "./thread-requests-BqPhA4Gs.mjs";
|
|
3
3
|
import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { buildAgentWorkspaceInstructionSnapshot, buildBootstrapContextForFiles, embeddedAgentLog, prepareAgentWorkspaceContext } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as isCodexResponsesOAuthCredential, o as resolveCodexResponsesOAuthProfileFingerprint } from "./responses-oauth-twnuTaAa.mjs";
|
|
2
|
-
import { t as __exportAll } from "./session-binding-sidecars-
|
|
2
|
+
import { t as __exportAll } from "./session-binding-sidecars-DijNZb31.mjs";
|
|
3
3
|
import { resolveApiKeyForProfile } from "openclaw/plugin-sdk/agent-runtime";
|
|
4
4
|
import { fingerprintResolvedAuthProfileCredential } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
5
5
|
import { resolveOpenAICodexAuthIdentity } from "openclaw/plugin-sdk/provider-auth";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as defineCodexBuildState } from "./build-state-
|
|
2
|
-
import { u as resolveMacOSDesktopCodexAppPathCandidates } from "./managed-binary-
|
|
3
|
-
import { n as resolveCodexAppServerSpawnEnv } from "./transport-stdio-
|
|
1
|
+
import { n as defineCodexBuildState } from "./build-state-DfrctLQv.mjs";
|
|
2
|
+
import { u as resolveMacOSDesktopCodexAppPathCandidates } from "./managed-binary-DwC9wxch.mjs";
|
|
3
|
+
import { n as resolveCodexAppServerSpawnEnv } from "./transport-stdio-lgeKKHyw.mjs";
|
|
4
4
|
import { isRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
6
6
|
import fs, { constants, existsSync, watch } from "node:fs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __exportAll } from "./session-binding-sidecars-
|
|
1
|
+
import { t as __exportAll } from "./session-binding-sidecars-DijNZb31.mjs";
|
|
2
2
|
import { AgentHarnessPreflightError } from "openclaw/plugin-sdk/agent-harness-registration";
|
|
3
3
|
import { createPluginRuntimeStore } from "openclaw/plugin-sdk/runtime-store";
|
|
4
4
|
//#region extensions/codex/src/app-server/binding-connection.ts
|
|
@@ -44,7 +44,7 @@ function requireCodexSupervisionModelSelection(binding) {
|
|
|
44
44
|
}
|
|
45
45
|
/** Registration publishes the resolver; connection policy loads only for an actual request. */
|
|
46
46
|
async function resolveCodexBindingAppServerConnection(params) {
|
|
47
|
-
return (await import("./binding-connection.runtime-
|
|
47
|
+
return (await import("./binding-connection.runtime-CZSz0g4u.mjs")).resolveCodexBindingAppServerConnection(params, catalogHomes.tryGetRuntime());
|
|
48
48
|
}
|
|
49
49
|
//#endregion
|
|
50
50
|
export { setCodexCatalogConnectionHomeResolver as a, resolveCodexBindingAppServerConnection as i, binding_connection_exports as n, requireCodexSupervisionModelSelection as r, assertCodexSessionRuntimeOwnership as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as readCodexPluginConfig } from "./config-parsing-
|
|
1
|
+
import { d as readCodexPluginConfig } from "./config-parsing-CVK2Q463.mjs";
|
|
2
2
|
import { n as resolveCodexAppServerLocalHomeDir } from "./auth-start-options-BPIPeEX8.mjs";
|
|
3
3
|
import { t as buildCodexAppServerConnectionFingerprint } from "./plugin-app-cache-key-Bg9DbDI6.mjs";
|
|
4
|
-
import { n as resolveCodexAppServerRuntimeOptions, r as resolveCodexSupervisionAppServerRuntimeOptions } from "./config-runtime-
|
|
4
|
+
import { n as resolveCodexAppServerRuntimeOptions, r as resolveCodexSupervisionAppServerRuntimeOptions } from "./config-runtime-B8agjie6.mjs";
|
|
5
5
|
//#region extensions/codex/src/app-server/binding-connection.runtime.ts
|
|
6
6
|
/** Resolves connection and auth ownership exclusively from the private thread binding. */
|
|
7
7
|
async function resolveCodexBindingAppServerConnection(params, discoverHomes) {
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { i as isJsonObject } from "./protocol-CANUwXJ3.mjs";
|
|
2
2
|
import { a as resolveCodexPrivateLauncher, i as readCodexAppServerConfigOptions } from "./launch-args-DbFCehO7.mjs";
|
|
3
|
-
import { d as readCodexEffectiveConfig } from "./config-options-
|
|
3
|
+
import { d as readCodexEffectiveConfig } from "./config-options-nvYwVDyy.mjs";
|
|
4
4
|
import { a as codexPrewriteRejectionCause } from "./rpc-error-C98SHchT.mjs";
|
|
5
|
-
import "./config-
|
|
6
|
-
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-
|
|
7
|
-
import { u as isCodexAppServerStartSelectionChangedError } from "./shared-client-
|
|
8
|
-
import { _ as assertCodexTurnStartResponse, b as readCodexErrorNotification, g as assertCodexThreadStartResponse, w as createCodexElicitationResponse } from "./client-
|
|
9
|
-
import { o as closeCodexStartupClientBestEffort, s as interruptCodexTurnAndWaitBestEffort, t as CODEX_APP_SERVER_INTERRUPT_TIMEOUT_MS } from "./attempt-client-cleanup-
|
|
10
|
-
import { t as CodexEphemeralTurn } from "./ephemeral-turn-
|
|
11
|
-
import { i as readModelListResult } from "./models-
|
|
12
|
-
import { d as mergeCodexThreadConfigs } from "./project-doc-thread-config-
|
|
5
|
+
import "./config-G4IGX6bK.mjs";
|
|
6
|
+
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-B8agjie6.mjs";
|
|
7
|
+
import { u as isCodexAppServerStartSelectionChangedError } from "./shared-client-wb1JBldZ.mjs";
|
|
8
|
+
import { _ as assertCodexTurnStartResponse, b as readCodexErrorNotification, g as assertCodexThreadStartResponse, w as createCodexElicitationResponse } from "./client-BpSxNz4F.mjs";
|
|
9
|
+
import { o as closeCodexStartupClientBestEffort, s as interruptCodexTurnAndWaitBestEffort, t as CODEX_APP_SERVER_INTERRUPT_TIMEOUT_MS } from "./attempt-client-cleanup-TScCVTsk.mjs";
|
|
10
|
+
import { t as CodexEphemeralTurn } from "./ephemeral-turn-C6aFeGFS.mjs";
|
|
11
|
+
import { i as readModelListResult } from "./models-GBLXb27n.mjs";
|
|
12
|
+
import { d as mergeCodexThreadConfigs } from "./project-doc-thread-config-B2ZD23A_.mjs";
|
|
13
13
|
import { n as resolveCodexAppServerReasoningEffort } from "./reasoning-effort-CS9kKWB9.mjs";
|
|
14
|
-
import { n as buildCodexRingZeroThreadConfigPatch, p as attestCodexRestrictedToolSurfaceMcpServersDisabled, r as buildCodexRuntimeThreadConfig, t as assertCodexManagedRequirementsDoNotOverrideToolPolicy, u as readCodexInheritedMcpServerNames } from "./thread-requests-
|
|
15
|
-
import { a as resolveCodexPromptError } from "./usage-limit-error-
|
|
14
|
+
import { n as buildCodexRingZeroThreadConfigPatch, p as attestCodexRestrictedToolSurfaceMcpServersDisabled, r as buildCodexRuntimeThreadConfig, t as assertCodexManagedRequirementsDoNotOverrideToolPolicy, u as readCodexInheritedMcpServerNames } from "./thread-requests-BqPhA4Gs.mjs";
|
|
15
|
+
import { a as resolveCodexPromptError } from "./usage-limit-error-hLIGKewV.mjs";
|
|
16
16
|
import { resolveTimerTimeoutMs } from "openclaw/plugin-sdk/number-runtime";
|
|
17
17
|
import { parse } from "smol-toml";
|
|
18
18
|
import path from "node:path";
|
|
@@ -146,7 +146,7 @@ async function runBoundedCodexAppServerTurnInWorkspace(params, appServer, worksp
|
|
|
146
146
|
assertCurrent: params.assertCurrent,
|
|
147
147
|
...params.signal ? { abandonSignal: params.signal } : {}
|
|
148
148
|
};
|
|
149
|
-
const client = params.options.clientFactory ? await params.options.clientFactory(clientOptions) : await import("./shared-client-
|
|
149
|
+
const client = params.options.clientFactory ? await params.options.clientFactory(clientOptions) : await import("./shared-client-wb1JBldZ.mjs").then((n) => n.v).then(({ createIsolatedCodexAppServerClient }) => createIsolatedCodexAppServerClient({
|
|
150
150
|
...clientOptions,
|
|
151
151
|
authProfileStore: params.authProfileStore
|
|
152
152
|
}));
|
package/dist/.setup/{bounded-turn-isolation-BfDAo-qZ.mjs → bounded-turn-isolation-Brj5qzz6.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as readCodexPluginConfig } from "./config-parsing-
|
|
1
|
+
import { d as readCodexPluginConfig } from "./config-parsing-CVK2Q463.mjs";
|
|
2
2
|
import { n as isCodexAppServerProxyLaunch } from "./launch-args-DbFCehO7.mjs";
|
|
3
|
-
import { i as resolveCodexAppServerHomeScope } from "./config-options-
|
|
4
|
-
import "./config-
|
|
5
|
-
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-
|
|
3
|
+
import { i as resolveCodexAppServerHomeScope } from "./config-options-nvYwVDyy.mjs";
|
|
4
|
+
import "./config-G4IGX6bK.mjs";
|
|
5
|
+
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-B8agjie6.mjs";
|
|
6
6
|
//#region extensions/codex/src/app-server/bounded-turn-isolation.ts
|
|
7
7
|
function resolveCodexBoundedTurnIsolation(options) {
|
|
8
8
|
const pluginConfig = readCodexPluginConfig(options.pluginConfig);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { a as readCodexCatalogDecodeRoute, c as isRpcResponse, i as listenCodexAppServerLines, n as projectCodexCatalogMessage, o as CodexAppServerMessageDecoder, r as createCodexAppServerMessageWriter, s as redactCodexAppServerLinePreview } from "./client-catalog-response-
|
|
1
|
+
import { a as readCodexCatalogDecodeRoute, c as isRpcResponse, i as listenCodexAppServerLines, n as projectCodexCatalogMessage, o as CodexAppServerMessageDecoder, r as createCodexAppServerMessageWriter, s as redactCodexAppServerLinePreview } from "./client-catalog-response-DloWE31e.mjs";
|
|
2
2
|
import { i as isJsonObject } from "./protocol-CANUwXJ3.mjs";
|
|
3
|
-
import { c as MIN_SUPPORTED_CODEX_APP_SERVER_VERSION, s as CODEX_APP_SERVER_VERSION } from "./managed-binary-
|
|
4
|
-
import { a as
|
|
3
|
+
import { c as MIN_SUPPORTED_CODEX_APP_SERVER_VERSION, s as CODEX_APP_SERVER_VERSION } from "./managed-binary-DwC9wxch.mjs";
|
|
4
|
+
import { a as closeCodexAppServerTransportAndWait, c as getCodexAppServerRegisteredTransportIdentity, i as closeCodexAppServerTransport, o as hasCodexAppServerNaturalExit, t as createStdioTransport } from "./transport-stdio-lgeKKHyw.mjs";
|
|
5
5
|
import { i as CodexAppServerScopedRequestRejectedError, n as CodexAppServerLocalRequestCancellationError, o as isCodexAppServerOverloadError, r as CodexAppServerRpcError, t as CODEX_APP_SERVER_OVERLOADED_ERROR_CODE } from "./rpc-error-C98SHchT.mjs";
|
|
6
|
-
import { n as codexCatalogSourceForClient, s as recordCodexCatalogResponseSource, t as closeCodexCatalogClientSource } from "./session-catalog-source-
|
|
7
|
-
import { i as reuseCodexCatalogPreview } from "./session-catalog-native-projection-
|
|
8
|
-
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-
|
|
6
|
+
import { n as codexCatalogSourceForClient, s as recordCodexCatalogResponseSource, t as closeCodexCatalogClientSource } from "./session-catalog-source-CgWkqG43.mjs";
|
|
7
|
+
import { i as reuseCodexCatalogPreview } from "./session-catalog-native-projection-imNPfB3q.mjs";
|
|
8
|
+
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-B8agjie6.mjs";
|
|
9
9
|
import { codexCatalogPageWorkerEntrypoint } from "../catalog-page-worker-entrypoint.js";
|
|
10
|
-
import { t as createWebSocketTransport } from "./transport-websocket-
|
|
11
|
-
import { t as __exportAll } from "./session-binding-sidecars-
|
|
10
|
+
import { t as createWebSocketTransport } from "./transport-websocket-DOY0dJXN.mjs";
|
|
11
|
+
import { t as __exportAll } from "./session-binding-sidecars-DijNZb31.mjs";
|
|
12
12
|
import { isRecord, normalizeOptionalString, readStringField } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
13
13
|
import { randomUUID } from "node:crypto";
|
|
14
14
|
import { normalizeJsonSchemaForTypeBox } from "openclaw/plugin-sdk/json-schema-runtime";
|
package/dist/.setup/{client-catalog-response-CuVLp4I0.mjs → client-catalog-response-DloWE31e.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-imNPfB3q.mjs";
|
|
3
3
|
import { embeddedAgentLog } from "openclaw/plugin-sdk/agent-harness-registration";
|
|
4
4
|
import { truncateUtf16Safe } from "openclaw/plugin-sdk/text-utility-runtime";
|
|
5
5
|
import { sanitizeTerminalText } from "openclaw/plugin-sdk/text-chunking";
|
|
@@ -8,7 +8,7 @@ async function handleCodexCommand(ctx, options) {
|
|
|
8
8
|
};
|
|
9
9
|
const { resolvePluginConfig, ...subcommandOptions } = options;
|
|
10
10
|
try {
|
|
11
|
-
const { handleCodexSubcommand } = await import("./command-handlers-
|
|
11
|
+
const { handleCodexSubcommand } = await import("./command-handlers-C2XNDeHL.mjs");
|
|
12
12
|
return await handleCodexSubcommand(commandContext, {
|
|
13
13
|
...subcommandOptions,
|
|
14
14
|
pluginConfig: resolvePluginConfig?.() ?? subcommandOptions.pluginConfig
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { i as isJsonObject } from "./protocol-CANUwXJ3.mjs";
|
|
2
|
-
import { m as sessionBindingIdentity, n as assertCodexBindingMayBeReplaced, r as bindingStoreKey } from "./session-binding-record-
|
|
3
|
-
import {
|
|
4
|
-
import { c as resolveCodexAppServerPreparedApiKeyCacheKey, s as resolveCodexAppServerFallbackApiKeyCacheKey } from "./auth-cache-key-
|
|
2
|
+
import { m as sessionBindingIdentity, n as assertCodexBindingMayBeReplaced, r as bindingStoreKey } from "./session-binding-record-C2kDBZhx.mjs";
|
|
3
|
+
import { m as isCodexFastServiceTier } from "./config-parsing-CVK2Q463.mjs";
|
|
4
|
+
import { c as resolveCodexAppServerPreparedApiKeyCacheKey, s as resolveCodexAppServerFallbackApiKeyCacheKey } from "./auth-cache-key-DvDLHVJe.mjs";
|
|
5
5
|
import { n as withCodexConversationThreadActivity } from "./thread-ownership-queue-CeyYScUC.mjs";
|
|
6
6
|
import { a as canMutateCodexHost, i as assertCodexHostOwnerCurrent, n as CODEX_HOST_INSPECTION_AUTH_ERROR, o as hasCodexAdminScope, r as CODEX_NATIVE_EXECUTION_AUTH_ERROR, t as CODEX_FULL_PERMISSIONS_AUTH_ERROR } from "./command-authorization-AikPDtcc.mjs";
|
|
7
7
|
import { l as formatRelativeDuration, s as summarizeCodexAccountUsage } from "./rate-limits-CI8pTPqL.mjs";
|
|
8
8
|
import { a as formatCodexAccountLine, c as formatCodexTextForDisplay, d as formatModels, f as formatSkills, i as formatAccount, l as formatComputerUseStatus, m as isLikelyEmailAddress, n as buildHelp, o as formatCodexDisplayText, p as formatThreads, r as escapeCodexChatText, s as formatCodexStatus, t as CODEX_RESUME_SAFE_THREAD_ID_PATTERN, u as formatList } from "./command-formatters-xW9KpoSZ.mjs";
|
|
9
|
-
import { i as readCodexConversationBindingData, n as createCodexCliNodeConversationBindingData, o as resolveCodexDefaultWorkspaceDir, r as createCodexConversationBindingData } from "./conversation-binding-data-
|
|
9
|
+
import { i as readCodexConversationBindingData, n as createCodexCliNodeConversationBindingData, o as resolveCodexDefaultWorkspaceDir, r as createCodexConversationBindingData } from "./conversation-binding-data-GRGSgAro.mjs";
|
|
10
10
|
import { r as CodexAppServerRpcError } from "./rpc-error-C98SHchT.mjs";
|
|
11
11
|
import { t as CODEX_CONTROL_METHODS } from "./capabilities-DbOzOglY.mjs";
|
|
12
|
-
import { n as filterCodexMarketplacePlugins, r as parseCodexPluginMarketplaceId, t as discoverCodexMarketplacePlugins } from "./plugin-marketplace-discovery-
|
|
13
|
-
import { o as formatCodexCliSessions } from "./node-cli-sessions-
|
|
12
|
+
import { n as filterCodexMarketplacePlugins, r as parseCodexPluginMarketplaceId, t as discoverCodexMarketplacePlugins } from "./plugin-marketplace-discovery-BNyI1zd_.mjs";
|
|
13
|
+
import { o as formatCodexCliSessions } from "./node-cli-sessions-BxVYZNuY.mjs";
|
|
14
14
|
import { a as defaultCodexAppInventoryCache, r as buildCodexPluginAppCacheKey } from "./plugin-app-cache-key-Bg9DbDI6.mjs";
|
|
15
|
-
import { i as resolveCodexBindingAppServerConnection } from "./binding-connection-
|
|
16
|
-
import { a as withCodexAppServerJsonClient } from "./request-
|
|
17
|
-
import { n as findCodexMarketplacePluginSummary, o as pluginReadParams, r as isOpenAiCuratedMarketplaceName, u as CODEX_PLUGINS_MARKETPLACE_NAME } from "./plugin-inventory-
|
|
18
|
-
import "./config-
|
|
19
|
-
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-
|
|
15
|
+
import { i as resolveCodexBindingAppServerConnection } from "./binding-connection-X1ZeEDz8.mjs";
|
|
16
|
+
import { a as withCodexAppServerJsonClient } from "./request-DhbisYCc.mjs";
|
|
17
|
+
import { n as findCodexMarketplacePluginSummary, o as pluginReadParams, r as isOpenAiCuratedMarketplaceName, u as CODEX_PLUGINS_MARKETPLACE_NAME } from "./plugin-inventory-kLR7G02h.mjs";
|
|
18
|
+
import "./config-G4IGX6bK.mjs";
|
|
19
|
+
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-B8agjie6.mjs";
|
|
20
20
|
import { a as resolveCodexAppServerAuthProfileStore, i as resolveCodexAppServerAuthProfileIdForAgent, n as normalizeCodexAppServerBindingModelProvider } from "./auth-profile-CgHQ8Vot.mjs";
|
|
21
|
-
import { F as consumeCodexAppServerLiveThread, R as hasCodexAppServerLiveThread, c as getLeasedSharedCodexAppServerClient, h as releaseLeasedSharedCodexAppServerClient, tt as resolveCodexAppServerAuthAccountCacheKey } from "./shared-client-
|
|
22
|
-
import { a as isCodexAppServerIndeterminateRequestCancellationError, h as assertCodexThreadResumeResponse, p as assertCodexThreadAcceptsDirectInput, s as isCodexAppServerPrewriteRequestCancellationError } from "./client-
|
|
23
|
-
import { o as closeCodexStartupClientBestEffort } from "./attempt-client-cleanup-
|
|
24
|
-
import { n as fingerprintCodexAppServerAuthBinding } from "./auth-binding-
|
|
25
|
-
import { n as listAllCodexAppServerModels } from "./models-
|
|
26
|
-
import { n as refreshCodexAppRuntimeState, r as refreshCodexPluginRuntimeState } from "./plugin-activation-
|
|
27
|
-
import { i as resolveCodexSessionBinding, n as createCodexSessionGenerationSupersededError } from "./session-binding-
|
|
28
|
-
import { a as rollbackCodexAppServerBindingSubscription, c as withExclusiveCodexAppServerThread, i as retireCodexConversationThreadBinding, n as releaseCodexAppServerBindingSubscription, r as retainCodexAppServerBindingSubscription, t as isSameCodexAppServerThreadOwner } from "./thread-ownership-
|
|
29
|
-
import { n as resolveCodexNativeSandboxBlock, t as resolveCodexNativeExecutionBlock } from "./sandbox-guard-
|
|
30
|
-
import { i as assertCodexSupervisionThreadLineage } from "./thread-policy-
|
|
21
|
+
import { F as consumeCodexAppServerLiveThread, R as hasCodexAppServerLiveThread, c as getLeasedSharedCodexAppServerClient, h as releaseLeasedSharedCodexAppServerClient, tt as resolveCodexAppServerAuthAccountCacheKey } from "./shared-client-wb1JBldZ.mjs";
|
|
22
|
+
import { a as isCodexAppServerIndeterminateRequestCancellationError, h as assertCodexThreadResumeResponse, p as assertCodexThreadAcceptsDirectInput, s as isCodexAppServerPrewriteRequestCancellationError } from "./client-BpSxNz4F.mjs";
|
|
23
|
+
import { o as closeCodexStartupClientBestEffort } from "./attempt-client-cleanup-TScCVTsk.mjs";
|
|
24
|
+
import { n as fingerprintCodexAppServerAuthBinding } from "./auth-binding-BFTkrP_b.mjs";
|
|
25
|
+
import { n as listAllCodexAppServerModels } from "./models-GBLXb27n.mjs";
|
|
26
|
+
import { n as refreshCodexAppRuntimeState, r as refreshCodexPluginRuntimeState } from "./plugin-activation-CsW09DWl.mjs";
|
|
27
|
+
import { i as resolveCodexSessionBinding, n as createCodexSessionGenerationSupersededError } from "./session-binding-BDnNz-Co.mjs";
|
|
28
|
+
import { a as rollbackCodexAppServerBindingSubscription, c as withExclusiveCodexAppServerThread, i as retireCodexConversationThreadBinding, n as releaseCodexAppServerBindingSubscription, r as retainCodexAppServerBindingSubscription, t as isSameCodexAppServerThreadOwner } from "./thread-ownership-CTUs8Eyu.mjs";
|
|
29
|
+
import { n as resolveCodexNativeSandboxBlock, t as resolveCodexNativeExecutionBlock } from "./sandbox-guard-Cf9XMRrg.mjs";
|
|
30
|
+
import { i as assertCodexSupervisionThreadLineage } from "./thread-policy-BMRvlOi-.mjs";
|
|
31
31
|
import { t as defaultCodexPluginMetadataCache } from "./plugin-metadata-cache-Bi8TAPwX.mjs";
|
|
32
|
-
import { n as installCodexComputerUse, r as readCodexComputerUseStatus } from "./computer-use-
|
|
33
|
-
import { a as requestOptions, i as readCodexStatusProbes, o as safeCodexControlRequest, r as prepareCodexControlSessionAuth, t as codexControlRequest } from "./command-rpc-
|
|
34
|
-
import { a as readCodexConversationActiveTurn, c as setCodexConversationModel, d as stopCodexConversationTurn, i as parseCodexPermissionsModeArg, l as setCodexConversationPermissions, n as formatPermissionsMode, r as parseCodexFastModeArg, s as setCodexConversationFastMode, u as steerCodexConversationTurn } from "./conversation-control
|
|
32
|
+
import { n as installCodexComputerUse, r as readCodexComputerUseStatus } from "./computer-use-BgGC32hr.mjs";
|
|
33
|
+
import { a as requestOptions, i as readCodexStatusProbes, o as safeCodexControlRequest, r as prepareCodexControlSessionAuth, t as codexControlRequest } from "./command-rpc-DpmvEmhc.mjs";
|
|
34
|
+
import { a as readCodexConversationActiveTurn, c as setCodexConversationModel, d as stopCodexConversationTurn, i as parseCodexPermissionsModeArg, l as setCodexConversationPermissions, n as formatPermissionsMode, r as parseCodexFastModeArg, s as setCodexConversationFastMode, u as steerCodexConversationTurn } from "./conversation-control--OHH2dHA.mjs";
|
|
35
35
|
import { normalizeOptionalString, normalizeUniqueStringEntries } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
36
36
|
import crypto from "node:crypto";
|
|
37
37
|
import { isDeepStrictEqual } from "node:util";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { i as isJsonObject } from "./protocol-CANUwXJ3.mjs";
|
|
2
2
|
import { o as isCodexAppServerOverloadError, r as CodexAppServerRpcError } from "./rpc-error-C98SHchT.mjs";
|
|
3
3
|
import { n as describeControlFailure, t as CODEX_CONTROL_METHODS } from "./capabilities-DbOzOglY.mjs";
|
|
4
|
-
import { a as withCodexAppServerJsonClient, r as requestCodexAppServerJson } from "./request-
|
|
5
|
-
import "./config-
|
|
6
|
-
import { n as resolveCodexAppServerRuntimeOptions, r as resolveCodexSupervisionAppServerRuntimeOptions } from "./config-runtime-
|
|
4
|
+
import { a as withCodexAppServerJsonClient, r as requestCodexAppServerJson } from "./request-DhbisYCc.mjs";
|
|
5
|
+
import "./config-G4IGX6bK.mjs";
|
|
6
|
+
import { n as resolveCodexAppServerRuntimeOptions, r as resolveCodexSupervisionAppServerRuntimeOptions } from "./config-runtime-B8agjie6.mjs";
|
|
7
7
|
import { a as resolveCodexAppServerAuthProfileStore, r as resolveCodexAppServerAuthProfileId } from "./auth-profile-CgHQ8Vot.mjs";
|
|
8
|
-
import { nt as resolveCodexAppServerPreparedAuthHandoff } from "./shared-client-
|
|
9
|
-
import { a as isCodexAppServerIndeterminateRequestCancellationError, o as isCodexAppServerIndeterminateTransportError } from "./client-
|
|
10
|
-
import { o as closeCodexStartupClientBestEffort } from "./attempt-client-cleanup-
|
|
11
|
-
import { r as prepareCodexAppServerAuthBinding } from "./auth-binding-
|
|
12
|
-
import { r as listCodexAppServerModels } from "./models-
|
|
13
|
-
import { n as createCodexSessionGenerationSupersededError } from "./session-binding-
|
|
14
|
-
import { t as resumeCodexAppServerThread } from "./thread-resume-
|
|
15
|
-
import { t as __exportAll } from "./session-binding-sidecars-
|
|
8
|
+
import { nt as resolveCodexAppServerPreparedAuthHandoff } from "./shared-client-wb1JBldZ.mjs";
|
|
9
|
+
import { a as isCodexAppServerIndeterminateRequestCancellationError, o as isCodexAppServerIndeterminateTransportError } from "./client-BpSxNz4F.mjs";
|
|
10
|
+
import { o as closeCodexStartupClientBestEffort } from "./attempt-client-cleanup-TScCVTsk.mjs";
|
|
11
|
+
import { r as prepareCodexAppServerAuthBinding } from "./auth-binding-BFTkrP_b.mjs";
|
|
12
|
+
import { r as listCodexAppServerModels } from "./models-GBLXb27n.mjs";
|
|
13
|
+
import { n as createCodexSessionGenerationSupersededError } from "./session-binding-BDnNz-Co.mjs";
|
|
14
|
+
import { t as resumeCodexAppServerThread } from "./thread-resume-CD48Vab8.mjs";
|
|
15
|
+
import { t as __exportAll } from "./session-binding-sidecars-DijNZb31.mjs";
|
|
16
16
|
import { resolveAgentDir, resolveSessionAgentIdsStrict } from "openclaw/plugin-sdk/agent-scope-runtime";
|
|
17
17
|
import { resolveAgentWorkspaceDir } from "openclaw/plugin-sdk/agent-runtime";
|
|
18
18
|
import { prepareAgentRuntimeAuth } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { n as readCodexRuntimeModelId } from "./model-runtime-BdqzOMkU.mjs";
|
|
2
2
|
import { i as isJsonObject } from "./protocol-CANUwXJ3.mjs";
|
|
3
|
-
import { m as sessionBindingIdentity } from "./session-binding-record-
|
|
4
|
-
import { E as waitForCodexAppServerClientExit, S as retainSharedCodexAppServerClientByInstanceId } from "./auth-cache-key-
|
|
3
|
+
import { m as sessionBindingIdentity } from "./session-binding-record-C2kDBZhx.mjs";
|
|
4
|
+
import { E as waitForCodexAppServerClientExit, S as retainSharedCodexAppServerClientByInstanceId } from "./auth-cache-key-DvDLHVJe.mjs";
|
|
5
5
|
import { t as CODEX_APP_SERVER_BINDING_GUARDED_REQUEST_TIMEOUT_MS } from "./session-binding-meta-Lkm5Lpf4.mjs";
|
|
6
6
|
import { i as CodexAppServerScopedRequestRejectedError, r as CodexAppServerRpcError } from "./rpc-error-C98SHchT.mjs";
|
|
7
|
-
import { i as resolveCodexBindingAppServerConnection } from "./binding-connection-
|
|
8
|
-
import { F as consumeCodexAppServerLiveThread, J as revertCodexAppServerLiveThreadInstructions, M as getCodexInferenceThreadQualification, W as protectCodexAppServerLiveThread, _ as retainSharedCodexAppServerClientIfCurrent, q as retainCodexAppServerLiveThread, s as createIsolatedCodexAppServerClient } from "./shared-client-
|
|
7
|
+
import { i as resolveCodexBindingAppServerConnection } from "./binding-connection-X1ZeEDz8.mjs";
|
|
8
|
+
import { F as consumeCodexAppServerLiveThread, J as revertCodexAppServerLiveThreadInstructions, M as getCodexInferenceThreadQualification, W as protectCodexAppServerLiveThread, _ as retainSharedCodexAppServerClientIfCurrent, q as retainCodexAppServerLiveThread, s as createIsolatedCodexAppServerClient } from "./shared-client-wb1JBldZ.mjs";
|
|
9
9
|
import "./responses-oauth-twnuTaAa.mjs";
|
|
10
|
-
import { a as isCodexAppServerIndeterminateRequestCancellationError, s as isCodexAppServerPrewriteRequestCancellationError } from "./client-
|
|
11
|
-
import { c as readCodexNotificationTurnId, s as readCodexNotificationThreadId } from "./turn-router-
|
|
12
|
-
import { c as isCodexNoActiveTurnInterruptError, f as unsubscribeCodexThreadBestEffort, o as closeCodexStartupClientBestEffort, r as CodexAppServerUnsafeSubscriptionError } from "./attempt-client-cleanup-
|
|
10
|
+
import { a as isCodexAppServerIndeterminateRequestCancellationError, s as isCodexAppServerPrewriteRequestCancellationError } from "./client-BpSxNz4F.mjs";
|
|
11
|
+
import { c as readCodexNotificationTurnId, s as readCodexNotificationThreadId } from "./turn-router-DdlzuFdm.mjs";
|
|
12
|
+
import { c as isCodexNoActiveTurnInterruptError, f as unsubscribeCodexThreadBestEffort, o as closeCodexStartupClientBestEffort, r as CodexAppServerUnsafeSubscriptionError } from "./attempt-client-cleanup-TScCVTsk.mjs";
|
|
13
13
|
import { n as readCodexThreadContextSnapshot, s as readCodexNotificationItem } from "./event-projector-usage-BpKfdoTm.mjs";
|
|
14
|
-
import { i as resolveCodexSessionBinding } from "./session-binding-
|
|
15
|
-
import { s as withCodexAppServerThreadMutationHold, t as isSameCodexAppServerThreadOwner } from "./thread-ownership-
|
|
14
|
+
import { i as resolveCodexSessionBinding } from "./session-binding-BDnNz-Co.mjs";
|
|
15
|
+
import { s as withCodexAppServerThreadMutationHold, t as isSameCodexAppServerThreadOwner } from "./thread-ownership-CTUs8Eyu.mjs";
|
|
16
16
|
import { t as persistCodexContextCompactionActivity } from "./context-compaction-activity-CMla5FPJ.mjs";
|
|
17
|
-
import { t as codexNativeSubagentMonitorRuntime } from "./native-subagent-monitor-
|
|
18
|
-
import { t as resolveCodexNativeExecutionBlock } from "./sandbox-guard-
|
|
19
|
-
import { i as assertCodexSupervisionThreadLineage } from "./thread-policy-
|
|
20
|
-
import { t as resumeCodexAppServerThread } from "./thread-resume-
|
|
17
|
+
import { t as codexNativeSubagentMonitorRuntime } from "./native-subagent-monitor-gqu3TQOv.mjs";
|
|
18
|
+
import { t as resolveCodexNativeExecutionBlock } from "./sandbox-guard-Cf9XMRrg.mjs";
|
|
19
|
+
import { i as assertCodexSupervisionThreadLineage } from "./thread-policy-BMRvlOi-.mjs";
|
|
20
|
+
import { t as resumeCodexAppServerThread } from "./thread-resume-CD48Vab8.mjs";
|
|
21
21
|
import { asOptionalRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
22
22
|
import { coerceErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
23
23
|
import { isIncognitoSessionKey } from "openclaw/plugin-sdk/session-key-runtime";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as resolveCodexAppServerHomeDir } from "./auth-start-options-BPIPeEX8.mjs";
|
|
2
|
-
import { o as resolveCodexComputerUseConfig } from "./config-options-
|
|
3
|
-
import { d as resolveMacOSDesktopCodexBundledMarketplaceCandidates, t as isManagedCodexDesktopCommand } from "./managed-binary-
|
|
2
|
+
import { o as resolveCodexComputerUseConfig } from "./config-options-nvYwVDyy.mjs";
|
|
3
|
+
import { d as resolveMacOSDesktopCodexBundledMarketplaceCandidates, t as isManagedCodexDesktopCommand } from "./managed-binary-DwC9wxch.mjs";
|
|
4
4
|
import { n as describeControlFailure } from "./capabilities-DbOzOglY.mjs";
|
|
5
|
-
import { n as requestCodexAppServerClientJson } from "./request-
|
|
6
|
-
import "./config-
|
|
7
|
-
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-
|
|
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-
|
|
9
|
-
import { a as isCodexAppServerIndeterminateRequestCancellationError, i as isCodexAppServerConnectionClosedError, o as isCodexAppServerIndeterminateTransportError } from "./client-
|
|
10
|
-
import { l as retireUnsafeCodexTurnClientBestEffort, r as CodexAppServerUnsafeSubscriptionError } from "./attempt-client-cleanup-
|
|
5
|
+
import { n as requestCodexAppServerClientJson } from "./request-DhbisYCc.mjs";
|
|
6
|
+
import "./config-G4IGX6bK.mjs";
|
|
7
|
+
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-B8agjie6.mjs";
|
|
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-wb1JBldZ.mjs";
|
|
9
|
+
import { a as isCodexAppServerIndeterminateRequestCancellationError, i as isCodexAppServerConnectionClosedError, o as isCodexAppServerIndeterminateTransportError } from "./client-BpSxNz4F.mjs";
|
|
10
|
+
import { l as retireUnsafeCodexTurnClientBestEffort, r as CodexAppServerUnsafeSubscriptionError } from "./attempt-client-cleanup-TScCVTsk.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";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import "./config-security-
|
|
2
|
-
import {
|
|
3
|
-
import "./config-parsing-DsWSCPHO.mjs";
|
|
1
|
+
import "./config-security-D0hAOQRI.mjs";
|
|
2
|
+
import { _ as readExecSecurity, b as readRecord, g as readExecAsk } from "./config-parsing-CVK2Q463.mjs";
|
|
4
3
|
import "./auth-start-options-BPIPeEX8.mjs";
|
|
5
|
-
import { c as canUseCodexModelBackedApprovalsReviewerForModel$1 } from "./config-options-
|
|
6
|
-
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-
|
|
7
|
-
import { t as __exportAll } from "./session-binding-sidecars-
|
|
4
|
+
import { c as canUseCodexModelBackedApprovalsReviewerForModel$1 } from "./config-options-nvYwVDyy.mjs";
|
|
5
|
+
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-B8agjie6.mjs";
|
|
6
|
+
import { t as __exportAll } from "./session-binding-sidecars-DijNZb31.mjs";
|
|
8
7
|
import { resolveAgentConfig } from "openclaw/plugin-sdk/agent-scope-runtime";
|
|
9
8
|
import { execPolicy } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
10
9
|
import { resolveExecApprovalsFromFile } from "openclaw/plugin-sdk/exec-approvals-runtime";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { i as isJsonObject } from "./protocol-CANUwXJ3.mjs";
|
|
2
|
-
import { _ as resolveCodexPolicyModeForOpenClawExecMode, a as resolveDefaultCodexAppServerPolicy, b as selectForcedDangerFullAccessSandbox, d as readCodexRequirementsToml, g as resolveApprovalPolicy, h as assertCodexAppServerAllowedForOpenClawExecMode, i as resolveCodexAppServerNetworkProxy, o as resolvePolicyMode, r as inferCodexAppServerConnectionClass, t as assertCodexAppServerConnectionSecurity, u as parseCodexRequirementsPolicy, v as resolveEffectiveOpenClawExecModeForCodexAppServer, x as selectForcedPromptingSandbox, y as resolveSandbox } from "./config-security-
|
|
3
|
-
import {
|
|
4
|
-
import { a as DEFAULT_CODEX_COMPUTER_USE_PLUGIN_NAME, d as readCodexPluginConfig, n as DEFAULT_CODEX_COMPUTER_USE_LIVE_TEST_TIMEOUT_MS, o as DEFAULT_CODEX_COMPUTER_USE_TOOL_CALL_TIMEOUT_MS, r as DEFAULT_CODEX_COMPUTER_USE_MARKETPLACE_DISCOVERY_TIMEOUT_MS, s as assertCodexAppServerCommandHasNoInlineArgs } from "./config-parsing-DsWSCPHO.mjs";
|
|
2
|
+
import { _ as resolveCodexPolicyModeForOpenClawExecMode, a as resolveDefaultCodexAppServerPolicy, b as selectForcedDangerFullAccessSandbox, d as readCodexRequirementsToml, g as resolveApprovalPolicy, h as assertCodexAppServerAllowedForOpenClawExecMode, i as resolveCodexAppServerNetworkProxy, o as resolvePolicyMode, r as inferCodexAppServerConnectionClass, t as assertCodexAppServerConnectionSecurity, u as parseCodexRequirementsPolicy, v as resolveEffectiveOpenClawExecModeForCodexAppServer, x as selectForcedPromptingSandbox, y as resolveSandbox } from "./config-security-D0hAOQRI.mjs";
|
|
3
|
+
import { a as DEFAULT_CODEX_COMPUTER_USE_PLUGIN_NAME, b as readRecord, d as readCodexPluginConfig, h as normalizeHeaders, n as DEFAULT_CODEX_COMPUTER_USE_LIVE_TEST_TIMEOUT_MS, o as DEFAULT_CODEX_COMPUTER_USE_TOOL_CALL_TIMEOUT_MS, p as hashSecretForKey, r as DEFAULT_CODEX_COMPUTER_USE_MARKETPLACE_DISCOVERY_TIMEOUT_MS, s as assertCodexAppServerCommandHasNoInlineArgs, v as readNonEmptyString, x as resolveArgs, y as readNumberEnv } from "./config-parsing-CVK2Q463.mjs";
|
|
5
4
|
import { i as readCodexAppServerConfigOptions } from "./launch-args-DbFCehO7.mjs";
|
|
6
5
|
import { r as resolveCodexAppServerUserHomeDir, t as resolveCodexAppServerHomeDir } from "./auth-start-options-BPIPeEX8.mjs";
|
|
7
6
|
import { normalizeTrimmedStringList, parseBooleanValue } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -1,10 +1,48 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
4
|
-
import { asNullableRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
1
|
+
import { n as CODEX_PLUGIN_MARKETPLACE_NAME_PATTERN, t as normalizeCodexServiceTier } from "./service-tier-normalization-C2OVdF6E.mjs";
|
|
2
|
+
import { asNullableRecord, asOptionalRecord as readRecord, normalizeOptionalString as readNonEmptyString, normalizeTrimmedStringList } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
|
+
import { createHmac, randomBytes } from "node:crypto";
|
|
5
4
|
import { z } from "zod";
|
|
6
|
-
import { buildSecretInputSchema } from "openclaw/plugin-sdk/secret-input";
|
|
5
|
+
import { buildSecretInputSchema, normalizeResolvedSecretInputString } from "openclaw/plugin-sdk/secret-input";
|
|
7
6
|
import { detectWindowsSpawnCommandInlineArgs } from "openclaw/plugin-sdk/windows-spawn";
|
|
7
|
+
import { resolveGlobalSingleton } from "openclaw/plugin-sdk/global-singleton";
|
|
8
|
+
import { splitCommandArgs } from "openclaw/plugin-sdk/process-runtime";
|
|
9
|
+
//#region extensions/codex/src/app-server/config-utils.ts
|
|
10
|
+
const START_OPTIONS_KEY_SECRET = resolveGlobalSingleton(Symbol.for("openclaw.codexAppServerStartOptionsKeySecret"), () => randomBytes(32));
|
|
11
|
+
const PLAIN_DECIMAL_NUMBER_RE = /^[+-]?(?:(?:\d+\.?\d*)|(?:\.\d+))$/;
|
|
12
|
+
function isCodexFastServiceTier(value) {
|
|
13
|
+
return normalizeCodexServiceTier(value) === "priority";
|
|
14
|
+
}
|
|
15
|
+
function normalizeHeaders(value) {
|
|
16
|
+
return Object.fromEntries(Object.entries(value ?? {}).flatMap(([key, child]) => {
|
|
17
|
+
const name = key.trim();
|
|
18
|
+
const header = normalizeResolvedSecretInputString({
|
|
19
|
+
value: child,
|
|
20
|
+
path: `plugins.entries.codex.config.appServer.headers.${key}`
|
|
21
|
+
});
|
|
22
|
+
return name && header ? [[name, header]] : [];
|
|
23
|
+
}));
|
|
24
|
+
}
|
|
25
|
+
function readExecSecurity(value) {
|
|
26
|
+
return value === "deny" || value === "allowlist" || value === "full" ? value : void 0;
|
|
27
|
+
}
|
|
28
|
+
function readExecAsk(value) {
|
|
29
|
+
return value === "off" || value === "on-miss" || value === "always" ? value : void 0;
|
|
30
|
+
}
|
|
31
|
+
function readNumberEnv(value) {
|
|
32
|
+
const trimmed = value?.trim();
|
|
33
|
+
if (!trimmed || !PLAIN_DECIMAL_NUMBER_RE.test(trimmed)) return;
|
|
34
|
+
const parsed = Number(trimmed);
|
|
35
|
+
return Number.isFinite(parsed) ? parsed : void 0;
|
|
36
|
+
}
|
|
37
|
+
function resolveArgs(configArgs, envArgs) {
|
|
38
|
+
if (Array.isArray(configArgs)) return normalizeTrimmedStringList(configArgs);
|
|
39
|
+
return splitCommandArgs(configArgs ?? envArgs ?? "", { allowUnclosedQuotes: true });
|
|
40
|
+
}
|
|
41
|
+
function hashSecretForKey(value, label) {
|
|
42
|
+
if (!value) return null;
|
|
43
|
+
return createHmac("sha256", START_OPTIONS_KEY_SECRET).update(label).update("\0").update(value).digest("hex");
|
|
44
|
+
}
|
|
45
|
+
//#endregion
|
|
8
46
|
//#region extensions/codex/src/app-server/session-discovery-config.ts
|
|
9
47
|
const codexSessionCatalogHomeSchema = z.union([z.string().trim().min(1), z.object({
|
|
10
48
|
path: z.string().trim().min(1),
|
|
@@ -228,4 +266,4 @@ function resolveCodexPluginDestructivePolicy(policy) {
|
|
|
228
266
|
};
|
|
229
267
|
}
|
|
230
268
|
//#endregion
|
|
231
|
-
export { DEFAULT_CODEX_COMPUTER_USE_PLUGIN_NAME as a, isCodexPairedNodeRemoteExecPlacementSandbox as c, readCodexPluginConfig as d, resolveCodexPluginsPolicy as f, DEFAULT_CODEX_COMPUTER_USE_MCP_SERVER_NAME as i, isCodexRemoteExecPlacementSandbox as l, DEFAULT_CODEX_COMPUTER_USE_LIVE_TEST_TIMEOUT_MS as n, DEFAULT_CODEX_COMPUTER_USE_TOOL_CALL_TIMEOUT_MS as o, DEFAULT_CODEX_COMPUTER_USE_MARKETPLACE_DISCOVERY_TIMEOUT_MS as r, assertCodexAppServerCommandHasNoInlineArgs as s, DEFAULT_CODEX_APP_SERVER_NETWORK_PROXY_PROFILE_PREFIX as t, isCodexSandboxExecServerEnabled as u };
|
|
269
|
+
export { readExecSecurity as _, DEFAULT_CODEX_COMPUTER_USE_PLUGIN_NAME as a, readRecord as b, isCodexPairedNodeRemoteExecPlacementSandbox as c, readCodexPluginConfig as d, resolveCodexPluginsPolicy as f, readExecAsk as g, normalizeHeaders as h, DEFAULT_CODEX_COMPUTER_USE_MCP_SERVER_NAME as i, isCodexRemoteExecPlacementSandbox as l, isCodexFastServiceTier as m, DEFAULT_CODEX_COMPUTER_USE_LIVE_TEST_TIMEOUT_MS as n, DEFAULT_CODEX_COMPUTER_USE_TOOL_CALL_TIMEOUT_MS as o, hashSecretForKey as p, DEFAULT_CODEX_COMPUTER_USE_MARKETPLACE_DISCOVERY_TIMEOUT_MS as r, assertCodexAppServerCommandHasNoInlineArgs as s, DEFAULT_CODEX_APP_SERVER_NETWORK_PROXY_PROFILE_PREFIX as t, isCodexSandboxExecServerEnabled as u, readNonEmptyString as v, resolveArgs as x, readNumberEnv as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as createCodexAppServerConfig } from "./config-options-
|
|
2
|
-
import { t as __exportAll } from "./session-binding-sidecars-
|
|
1
|
+
import { r as createCodexAppServerConfig } from "./config-options-nvYwVDyy.mjs";
|
|
2
|
+
import { t as __exportAll } from "./session-binding-sidecars-DijNZb31.mjs";
|
|
3
3
|
import { resolveProviderIdForAuth } from "openclaw/plugin-sdk/provider-auth-aliases";
|
|
4
4
|
//#region extensions/codex/src/app-server/config-runtime.ts
|
|
5
5
|
var config_runtime_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "./config-parsing-DsWSCPHO.mjs";
|
|
1
|
+
import { b as readRecord, v as readNonEmptyString } from "./config-parsing-CVK2Q463.mjs";
|
|
3
2
|
import { createHash } from "node:crypto";
|
|
4
3
|
import { AgentHarnessPreflightError } from "openclaw/plugin-sdk/agent-harness-registration";
|
|
5
4
|
import { parse } from "smol-toml";
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { i as isJsonObject } from "./protocol-CANUwXJ3.mjs";
|
|
2
|
-
import { m as sessionBindingIdentity, n as assertCodexBindingMayBeReplaced } from "./session-binding-record-
|
|
3
|
-
import { d as readCodexRequirementsToml } from "./config-security-
|
|
4
|
-
import { d as readCodexPluginConfig } from "./config-parsing-
|
|
5
|
-
import { d as readCodexEffectiveConfig, n as codexSandboxPolicyForTurn } from "./config-options-
|
|
6
|
-
import { S as retainSharedCodexAppServerClientByInstanceId } from "./auth-cache-key-
|
|
7
|
-
import { o as resolveCodexDefaultWorkspaceDir } from "./conversation-binding-data-
|
|
2
|
+
import { m as sessionBindingIdentity, n as assertCodexBindingMayBeReplaced } from "./session-binding-record-C2kDBZhx.mjs";
|
|
3
|
+
import { d as readCodexRequirementsToml } from "./config-security-D0hAOQRI.mjs";
|
|
4
|
+
import { d as readCodexPluginConfig } from "./config-parsing-CVK2Q463.mjs";
|
|
5
|
+
import { d as readCodexEffectiveConfig, n as codexSandboxPolicyForTurn } from "./config-options-nvYwVDyy.mjs";
|
|
6
|
+
import { S as retainSharedCodexAppServerClientByInstanceId } from "./auth-cache-key-DvDLHVJe.mjs";
|
|
7
|
+
import { o as resolveCodexDefaultWorkspaceDir } from "./conversation-binding-data-GRGSgAro.mjs";
|
|
8
8
|
import { o as isCodexAppServerOverloadError } from "./rpc-error-C98SHchT.mjs";
|
|
9
9
|
import { n as projectBoundedCodexVisibleSessionHistory } from "./transcript-history-projection-DfKcoZCB.mjs";
|
|
10
|
-
import { n as canUseCodexModelBackedApprovalsReviewerForModel, r as resolveOpenClawExecPolicyForCodexAppServer } from "./config-
|
|
11
|
-
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-
|
|
10
|
+
import { n as canUseCodexModelBackedApprovalsReviewerForModel, r as resolveOpenClawExecPolicyForCodexAppServer } from "./config-G4IGX6bK.mjs";
|
|
11
|
+
import { n as resolveCodexAppServerRuntimeOptions } from "./config-runtime-B8agjie6.mjs";
|
|
12
12
|
import { n as normalizeCodexAppServerBindingModelProvider, t as isCodexAppServerNativeAuthProfile } from "./auth-profile-CgHQ8Vot.mjs";
|
|
13
|
-
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-
|
|
14
|
-
import { a as isCodexAppServerIndeterminateRequestCancellationError, g as assertCodexThreadStartResponse, p as assertCodexThreadAcceptsDirectInput, u as CodexThreadDirectInputError } from "./client-
|
|
15
|
-
import { a as isCodexNotificationForTurn, n as getCodexAppServerTurnRouter } from "./turn-router-
|
|
16
|
-
import { f as unsubscribeCodexThreadBestEffort, l as retireUnsafeCodexTurnClientBestEffort, o as closeCodexStartupClientBestEffort, r as CodexAppServerUnsafeSubscriptionError, s as interruptCodexTurnAndWaitBestEffort } from "./attempt-client-cleanup-
|
|
17
|
-
import { d as mergeCodexThreadConfigs, s as buildDisabledAppsConfigPatch, t as buildCodexProjectDocThreadConfig } from "./project-doc-thread-config-
|
|
18
|
-
import "./session-binding-
|
|
13
|
+
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-wb1JBldZ.mjs";
|
|
14
|
+
import { a as isCodexAppServerIndeterminateRequestCancellationError, g as assertCodexThreadStartResponse, p as assertCodexThreadAcceptsDirectInput, u as CodexThreadDirectInputError } from "./client-BpSxNz4F.mjs";
|
|
15
|
+
import { a as isCodexNotificationForTurn, n as getCodexAppServerTurnRouter } from "./turn-router-DdlzuFdm.mjs";
|
|
16
|
+
import { f as unsubscribeCodexThreadBestEffort, l as retireUnsafeCodexTurnClientBestEffort, o as closeCodexStartupClientBestEffort, r as CodexAppServerUnsafeSubscriptionError, s as interruptCodexTurnAndWaitBestEffort } from "./attempt-client-cleanup-TScCVTsk.mjs";
|
|
17
|
+
import { d as mergeCodexThreadConfigs, s as buildDisabledAppsConfigPatch, t as buildCodexProjectDocThreadConfig } from "./project-doc-thread-config-B2ZD23A_.mjs";
|
|
18
|
+
import "./session-binding-BDnNz-Co.mjs";
|
|
19
19
|
import { r as resolveCodexAppServerRequestModelSelection, t as CODEX_NATIVE_PERSONALITY_NONE } from "./thread-model-selection-DcVebr8N.mjs";
|
|
20
|
-
import { a as rollbackCodexAppServerBindingSubscription, c as withExclusiveCodexAppServerThread, n as releaseCodexAppServerBindingSubscription, r as retainCodexAppServerBindingSubscription, t as isSameCodexAppServerThreadOwner } from "./thread-ownership-
|
|
21
|
-
import { t as resumeCodexAppServerThread } from "./thread-resume-
|
|
22
|
-
import { i as resolveCodexSessionPermissionCwd, n as applyCodexSessionPermissionPolicy, t as CODEX_SESSION_PERMISSION_EXEC_MODES } from "./session-permission-policy-
|
|
23
|
-
import { t as resolveCodexAppServerForModelProvider } from "./app-server-policy-
|
|
24
|
-
import { f as trackCodexConversationActiveTurn, o as resolveThreadRequestModelProvider, t as buildCodexConversationAgentLookup } from "./conversation-control
|
|
20
|
+
import { a as rollbackCodexAppServerBindingSubscription, c as withExclusiveCodexAppServerThread, n as releaseCodexAppServerBindingSubscription, r as retainCodexAppServerBindingSubscription, t as isSameCodexAppServerThreadOwner } from "./thread-ownership-CTUs8Eyu.mjs";
|
|
21
|
+
import { t as resumeCodexAppServerThread } from "./thread-resume-CD48Vab8.mjs";
|
|
22
|
+
import { i as resolveCodexSessionPermissionCwd, n as applyCodexSessionPermissionPolicy, t as CODEX_SESSION_PERMISSION_EXEC_MODES } from "./session-permission-policy-BYI6mp5u.mjs";
|
|
23
|
+
import { t as resolveCodexAppServerForModelProvider } from "./app-server-policy-XTIa6h5k.mjs";
|
|
24
|
+
import { f as trackCodexConversationActiveTurn, o as resolveThreadRequestModelProvider, t as buildCodexConversationAgentLookup } from "./conversation-control--OHH2dHA.mjs";
|
|
25
25
|
import { asOptionalRecord, normalizeOptionalString, readNonEmptyStringPreservingWhitespace } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
26
26
|
import { resolveSessionAgentIdsStrict } from "openclaw/plugin-sdk/agent-scope-runtime";
|
|
27
27
|
import { resolveTimerTimeoutMs } from "openclaw/plugin-sdk/number-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __exportAll } from "./session-binding-sidecars-
|
|
1
|
+
import { t as __exportAll } from "./session-binding-sidecars-DijNZb31.mjs";
|
|
2
2
|
import { asOptionalRecord, normalizeOptionalString, readNonBlankString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
3
|
import { createHash, randomUUID } from "node:crypto";
|
|
4
4
|
import process from "node:process";
|