@openclaw/codex 2026.10.1-beta.2 → 2026.10.5-beta.1
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-DGqFpAud.mjs → account-usage-runtime-QBZsvZS8.mjs} +8 -7
- package/dist/.setup/{app-server-policy-Bg4FZw1f.mjs → app-server-policy-D_zv8J7V.mjs} +3 -4
- package/dist/.setup/{apply-CXTudl9p.mjs → apply-CBMV8LN0.mjs} +40 -51
- package/dist/.setup/{attempt-client-cleanup-BH0hW2xU.mjs → attempt-client-cleanup-t-kd_1ys.mjs} +6 -6
- package/dist/.setup/attempt-terminal-jO5IMj9K.mjs +2 -0
- package/dist/.setup/{attempt-workspace-context-BY0jprWJ.mjs → attempt-workspace-context-CcwP3DA3.mjs} +21 -18
- package/dist/.setup/{auth-binding-BoMwpuPN.mjs → auth-binding-BaxlhaNx.mjs} +2 -2
- package/dist/.setup/{auth-cache-key-CGm0UJOr.mjs → auth-cache-key-DyfUvsSa.mjs} +30 -41
- package/dist/.setup/{binding-connection-C-08ez1w.mjs → binding-connection-B7HAAZSI.mjs} +2 -2
- package/dist/.setup/{binding-connection.runtime-Dn2p-fdy.mjs → binding-connection.runtime-DAXn7iFl.mjs} +6 -5
- package/dist/.setup/{bounded-turn-pGsfXcmH.mjs → bounded-turn-CyQVQwGe.mjs} +21 -17
- package/dist/.setup/{bounded-turn-isolation-DklXNk3k.mjs → bounded-turn-isolation-BfDAo-qZ.mjs} +4 -4
- package/dist/.setup/{build-state-CqQnsg7T.mjs → build-state-CzLMy1S9.mjs} +1 -1
- package/dist/.setup/{capabilities-kQntafj_.mjs → capabilities-DbOzOglY.mjs} +1 -1
- package/dist/.setup/{client-catalog-response-Bqp7WG51.mjs → client-catalog-response-DsbEAtpd.mjs} +25 -32
- package/dist/.setup/{client-C8lgBOoO.mjs → client-y7nO6X9c.mjs} +198 -247
- package/dist/.setup/{command-dispatch-DhBbFIQ5.mjs → command-dispatch-uA9lz2Kf.mjs} +3 -4
- package/dist/.setup/{command-formatters-DV3DHhdr.mjs → command-formatters-xW9KpoSZ.mjs} +16 -26
- package/dist/.setup/{command-handlers-ztOOzm6O.mjs → command-handlers-VBaJnpZo.mjs} +270 -360
- package/dist/.setup/{command-rpc-CuC5fPom.mjs → command-rpc-C9VxOLuG.mjs} +19 -18
- package/dist/.setup/{compact-tUb9AYfH.mjs → compact-CD8xJxXS.mjs} +41 -61
- package/dist/.setup/{computer-use-BBN9y326.mjs → computer-use-CiToXF5C.mjs} +109 -147
- package/dist/.setup/{config-0Gxk3_eq.mjs → config-C1YVVLEA.mjs} +32 -59
- package/dist/.setup/config-contracts.shared-D85SGEuq.mjs +4 -0
- package/dist/.setup/{config-options-HG_Rr3W_.mjs → config-options-DDzeNQ8m.mjs} +52 -90
- package/dist/.setup/{config-parsing-BQq-CHTF.mjs → config-parsing-DsWSCPHO.mjs} +19 -55
- package/dist/.setup/{config-runtime-cUYrqu_a.mjs → config-runtime-DWzK-k0n.mjs} +2 -2
- package/dist/.setup/{config-security-KAPScztc.mjs → config-security-clxAZYWX.mjs} +35 -39
- package/dist/.setup/config-utils-DN_YT7dE.mjs +47 -0
- package/dist/.setup/{context-engine-projection-CsgYSQhW.mjs → context-engine-projection-ps-yn_ci.mjs} +10 -22
- package/dist/.setup/{conversation-binding-B3MNMVzb.mjs → conversation-binding-CTSLDM9S.mjs} +85 -119
- package/dist/.setup/{conversation-binding-data-DJ4ix-W5.mjs → conversation-binding-data-UgLuTSQT.mjs} +9 -8
- package/dist/.setup/{conversation-control-CYsMlCuE.mjs → conversation-control-GXM3unE4.mjs} +7 -10
- package/dist/.setup/{cyber-failover-Bb1J6hS1.mjs → cyber-failover-D4dgNfFf.mjs} +2 -5
- package/dist/.setup/{cyber-failover-notice-XR03ef31.mjs → cyber-failover-notice-ljgGGL0s.mjs} +1 -1
- package/dist/.setup/{doctor-start-options-DPW9JxIE.mjs → doctor-start-options-JjTAl-q_.mjs} +5 -5
- package/dist/.setup/{dynamic-tool-build-C8xGEXmR.mjs → dynamic-tool-build-D731PCdv.mjs} +57 -69
- package/dist/.setup/{dynamic-tools-DyERJnR6.mjs → dynamic-tools-D0pYbxHH.mjs} +689 -710
- package/dist/.setup/{effective-mcp-catalog-C26Mio5l.mjs → effective-mcp-catalog-1hWFKghy.mjs} +11 -20
- package/dist/.setup/{elicitation-input-r9axtppm.mjs → elicitation-input-DXG_qaXr.mjs} +14 -20
- package/dist/.setup/{ephemeral-turn-D8VcDTNo.mjs → ephemeral-turn-Cphy5Qr_.mjs} +3 -3
- package/dist/.setup/{event-projector-assistant-message-BN7CNUB5.mjs → event-projector-assistant-message-CLMKN4x-.mjs} +2 -2
- package/dist/.setup/{event-projector-usage-03R0I2dM.mjs → event-projector-usage-BpKfdoTm.mjs} +20 -33
- package/dist/.setup/{event-projector-values-DTqZHizf.mjs → event-projector-values-CLvG1Hil.mjs} +4 -5
- package/dist/.setup/history-rejection-B4nOXNXF.mjs +13 -0
- package/dist/.setup/{inference-context-D-9gWlTR.mjs → inference-context-DNlGwzwy.mjs} +10 -11
- package/dist/.setup/{inference-dispatch-B5UKEUyC.mjs → inference-dispatch-CO6tTs4q.mjs} +5 -4
- package/dist/.setup/{inference-metadata-CgIf7sOx.mjs → inference-metadata-DCvcG_N_.mjs} +36 -41
- package/dist/.setup/{inference-proxy-DUO5E2QQ.mjs → inference-proxy-BDWV0djM.mjs} +10 -14
- package/dist/.setup/{isolated-completion-C0jrcplS.mjs → isolated-completion-Bhqd2yBq.mjs} +8 -8
- package/dist/.setup/local-runtime-attribution-CZz2DJ4q.mjs +15 -0
- package/dist/.setup/{managed-binary-C1VFoVPf.mjs → managed-binary-BtIjV7yN.mjs} +16 -36
- package/dist/.setup/{mcp-app-session-preparation-BxN0_CYe.mjs → mcp-app-session-preparation-DqSvxFqc.mjs} +24 -25
- package/dist/.setup/{mcp-tool-metadata-j10HhfTC.mjs → mcp-tool-metadata-DW41snf3.mjs} +1 -1
- package/dist/.setup/{model-catalog-DZyNeDKG.mjs → model-catalog-B227ST3D.mjs} +6 -6
- package/dist/.setup/{models-DSseKSMg.mjs → models-DdRyi93L.mjs} +6 -10
- package/dist/.setup/{native-auth-Cjb9y7IZ.mjs → native-auth-esN5MdIv.mjs} +5 -5
- package/dist/.setup/{native-execution-policy-ClzpdG3D.mjs → native-execution-policy-MXEe7PB3.mjs} +11 -28
- package/dist/.setup/native-hook-relay-BUWIOrSr.mjs +561 -0
- package/dist/.setup/{native-mcp-app-CqcPVmhH.mjs → native-mcp-app-CjxJQ4F7.mjs} +6 -6
- package/dist/.setup/native-skill-isolation-UMVoNjZz.mjs +391 -0
- package/dist/.setup/{native-subagent-monitor-BUYOUp9X.mjs → native-subagent-monitor-iHc8oLg5.mjs} +505 -639
- package/dist/.setup/{native-subagent-pending-assignments-BDqhOdJp.mjs → native-subagent-pending-assignments-DmVhedNs.mjs} +11 -23
- package/dist/.setup/{native-task-assignments-C6KVqiN1.mjs → native-task-assignments-DimsQ9Qa.mjs} +73 -27
- package/dist/.setup/{node-cli-sessions-B5oNDkUS.mjs → node-cli-sessions-CzKg2nGq.mjs} +18 -26
- package/dist/.setup/{node-exec-server.runtime-0xSEjKYt.mjs → node-exec-server.runtime-BWkULhBM.mjs} +5 -8
- package/dist/.setup/{plan-BJ37d2Og.mjs → plan-C_F3aio0.mjs} +40 -50
- package/dist/.setup/{plugin-activation-BcyBv8PG.mjs → plugin-activation-D7WkJMvU.mjs} +4 -5
- package/dist/.setup/{plugin-app-cache-key-BW8rd98k.mjs → plugin-app-cache-key-Bg9DbDI6.mjs} +18 -23
- package/dist/.setup/{plugin-approval-roundtrip-CuahdPLC.mjs → plugin-approval-roundtrip-BSV-51ig.mjs} +4 -6
- package/dist/.setup/{plugin-inventory-Bf0_piTw.mjs → plugin-inventory-CYgdo14P.mjs} +28 -43
- package/dist/.setup/{plugin-marketplace-discovery-SQPhSuic.mjs → plugin-marketplace-discovery-BblHM3DU.mjs} +7 -10
- package/dist/.setup/{plugin-metadata-cache-DWnB7VMj.mjs → plugin-metadata-cache-Bi8TAPwX.mjs} +5 -10
- package/dist/.setup/project-doc-thread-config-BVcvnps8.mjs +490 -0
- package/dist/.setup/{provider-BnwHVD_z.mjs → provider-BJ4xhaGX.mjs} +4 -4
- package/dist/.setup/{provider-capabilities-D68Whix6.mjs → provider-capabilities-CjRaV3bx.mjs} +1 -1
- package/dist/.setup/{rate-limits-CMPy24F5.mjs → rate-limits-CI8pTPqL.mjs} +15 -32
- package/dist/.setup/reasoning-effort-CS9kKWB9.mjs +37 -0
- package/dist/.setup/{request-jSbhc1sg.mjs → request-Y8dmbqZ3.mjs} +28 -48
- package/dist/.setup/{rpc-error-hmWM21RB.mjs → rpc-error-C98SHchT.mjs} +3 -6
- package/dist/.setup/{run-attempt-BLDZeYLD.mjs → run-attempt-Dx7a4Mfm.mjs} +927 -849
- package/dist/.setup/{run-attempt-lifecycle-BuZgVbDA.mjs → run-attempt-lifecycle-KN4oh-7O.mjs} +13 -4
- package/dist/.setup/{runtime-artifact-CUTOOnKw.mjs → runtime-artifact-C13pR7tD.mjs} +18 -22
- package/dist/.setup/{runtime-artifact-connection-CADz3_BY.mjs → runtime-artifact-connection-jS5DeCok.mjs} +3 -3
- package/dist/.setup/{sandbox-guard-WqE8yPge.mjs → sandbox-guard-DIImwCy1.mjs} +4 -6
- package/dist/.setup/service-tier-normalization-BPgw2Wdt.mjs +9 -0
- package/dist/.setup/{session-binding-Ce7BqiPN.mjs → session-binding-JEHNMPsr.mjs} +13 -40
- package/dist/.setup/{session-binding-record-BZB8RgcF.mjs → session-binding-record-DU_0biMD.mjs} +4 -4
- package/dist/.setup/{session-binding-record-codec-z4ZpDn6E.mjs → session-binding-record-codec-BpH8u_G9.mjs} +16 -39
- package/dist/.setup/{session-binding-sidecars-BrdV95Fg.mjs → session-binding-sidecars-DD-enC8w.mjs} +49 -54
- package/dist/.setup/{session-catalog-adoption-CPIP4S_y.mjs → session-catalog-adoption-Ca3OYGYM.mjs} +23 -27
- package/dist/.setup/{session-catalog-archive-DcgwvSbF.mjs → session-catalog-archive-Bv6gV7x9.mjs} +6 -6
- package/dist/.setup/{session-catalog-events-Bdjw9HEn.mjs → session-catalog-events-DzFlXNUe.mjs} +6 -5
- package/dist/.setup/{session-catalog-index-DufISKJ6.mjs → session-catalog-index-DozvkUPd.mjs} +111 -105
- package/dist/.setup/{session-catalog-index-order-nhyO0wdW.mjs → session-catalog-index-order-CTfoefow.mjs} +28 -5
- package/dist/.setup/{session-catalog-limits-DEU36Qlo.mjs → session-catalog-limits-BynIoOYm.mjs} +1 -1
- package/dist/.setup/{session-catalog-list-request-tXephOB4.mjs → session-catalog-list-request-D4MYNgDB.mjs} +11 -8
- package/dist/.setup/{session-catalog-native-projection-D6IiLtMb.mjs → session-catalog-native-projection-rCKnZud1.mjs} +5 -61
- package/dist/.setup/{session-catalog-node-adoption-7-WEQTB1.mjs → session-catalog-node-adoption-BdP9Zjqo.mjs} +2 -2
- package/dist/.setup/{session-catalog-node-continue-DLWBwAAO.mjs → session-catalog-node-continue-CNJibO4_.mjs} +27 -49
- package/dist/.setup/{session-catalog-node-lookup-Uufckwcm.mjs → session-catalog-node-lookup-BH_DBGa9.mjs} +3 -3
- package/dist/.setup/{session-catalog-parsing-B-qWJh2x.mjs → session-catalog-parsing-DkeoVn60.mjs} +9 -19
- package/dist/.setup/{session-catalog-projection-8aHNwzWD.mjs → session-catalog-projection-DDVmALHj.mjs} +8 -22
- package/dist/.setup/session-catalog-source-CygTGmrb.mjs +58 -0
- package/dist/.setup/{session-cli-kH4vuGod.mjs → session-cli-GwU0izn-.mjs} +20 -41
- package/dist/.setup/{session-history-BogBHKLk.mjs → session-history-BO6i_pfk.mjs} +1 -1
- package/dist/.setup/{session-history-import-NWKPa4ZO.mjs → session-history-import-CaO8s6ta.mjs} +4 -4
- package/dist/.setup/{session-history-read-CNN8zwbD.mjs → session-history-read-BI_2jRED.mjs} +4 -15
- package/dist/.setup/{session-history.worker-Cq_4DYgN.mjs → session-history.worker-DJQfek5p.mjs} +147 -159
- package/dist/.setup/{session-initialization-D6dtFQkE.mjs → session-initialization-Bi_2DKhc.mjs} +3 -5
- package/dist/.setup/{session-permission-policy-BxIUJ0Zd.mjs → session-permission-policy-CD2MAWU8.mjs} +12 -20
- package/dist/.setup/{session-retirement-Czbchv_O.mjs → session-retirement-IoS3zr17.mjs} +7 -7
- package/dist/.setup/{settled-turn-context-BZsMjkIO.mjs → settled-turn-context-BPL6D3RO.mjs} +1 -1
- package/dist/.setup/{settled-turn-finalizer-DjZsIwbZ.mjs → settled-turn-finalizer-X-Fylp-u.mjs} +12 -11
- package/dist/.setup/{shared-client-qhyYWbew.mjs → shared-client-ByIwuAC-.mjs} +172 -229
- package/dist/.setup/{side-question-D3NJlgbl.mjs → side-question-BDUdozFy.mjs} +116 -137
- package/dist/.setup/{source-BYu0T780.mjs → source-Bxbqf3S1.mjs} +37 -56
- package/dist/.setup/thread-archive-guard-LKdwQKyr.mjs +56 -0
- package/dist/.setup/{thread-lifecycle-Cbz_7ySv.mjs → thread-lifecycle-run-CfP4PnEf.mjs} +348 -484
- package/dist/.setup/thread-model-selection-DcVebr8N.mjs +61 -0
- package/dist/.setup/{thread-ownership-DwuSrt3s.mjs → thread-ownership-Be53aiaG.mjs} +5 -5
- package/dist/.setup/{thread-ownership-queue-Dp24d7-F.mjs → thread-ownership-queue-CeyYScUC.mjs} +5 -6
- package/dist/.setup/{thread-policy-DoNxbhqt.mjs → thread-policy-CHgY-KNl.mjs} +4 -4
- package/dist/.setup/thread-requests-BgzJwJtS.mjs +745 -0
- package/dist/.setup/{thread-resume-BT6NHMkM.mjs → thread-resume-B2EmMcgE.mjs} +5 -5
- package/dist/.setup/{timeout-CXOfNoaX.mjs → timeout-D0mEWSGG.mjs} +6 -12
- package/dist/.setup/{transcript-history-projection-B9a7HwUV.mjs → transcript-history-projection-DfKcoZCB.mjs} +3 -4
- package/dist/.setup/{transcript-mirror-BfLRARNL.mjs → transcript-mirror-Bee2o6jj.mjs} +68 -68
- package/dist/.setup/{transcript-mirror-attestation-YSegaktH.mjs → transcript-mirror-attestation-BzUXnrvv.mjs} +5 -2
- package/dist/.setup/{transport-stdio-a0HDa2Mj.mjs → transport-stdio-CRWTkKOn.mjs} +67 -77
- package/dist/.setup/{transport-websocket-zqJ0Cmtn.mjs → transport-websocket-DIyPfkHo.mjs} +8 -16
- package/dist/.setup/{turn-router-sS69wYnI.mjs → turn-router-DKDAziUW.mjs} +30 -31
- package/dist/.setup/upstream-prompt-provenance-Ccd9MFRJ.mjs +44 -0
- package/dist/.setup/{upstream-session-fork-ChSld66u.mjs → upstream-session-fork-Djp_yssT.mjs} +50 -43
- package/dist/.setup/{usage-D8e8Xiqf.mjs → usage-DQA-peQC.mjs} +4 -4
- package/dist/.setup/{usage-limit-error-GbT-5NcW.mjs → usage-limit-error-2t3KBqiX.mjs} +12 -21
- package/dist/.setup/web-search-item-CvokaZOo.mjs +20 -0
- package/dist/.setup/{web-search-provider.runtime-dL2GD1Kl.mjs → web-search-provider.runtime-BsuCMNix.mjs} +3 -3
- package/dist/.setup/{workspace-write-sandbox-probe-DmUHLrrl.mjs → workspace-write-sandbox-probe-BDWO2Qkh.mjs} +4 -4
- package/dist/api.js +15 -15
- package/dist/catalog-page.worker.js +1 -1
- package/dist/cli-metadata.js +1 -1
- package/dist/doctor-contract-api.js +5 -6
- package/dist/harness.js +32 -61
- package/dist/index.js +302 -416
- package/dist/media-understanding-provider.js +32 -43
- package/dist/migration-provider-api.js +1 -1
- package/dist/native-session-binding-api.js +1 -1
- package/dist/native-tool-policy.js +23 -1
- package/dist/provider-discovery.js +1 -1
- package/dist/session-history-worker-runtime.js +52 -31
- package/dist/session-history.worker.js +1 -1
- package/openclaw.plugin.json +20 -3
- package/package.json +7 -7
- package/dist/.setup/attempt-terminal-gZrxQ35N.mjs +0 -5
- package/dist/.setup/plugin-thread-config-deadline-B8LGaZNW.mjs +0 -124
- package/dist/.setup/service-tier-normalization-Cei89SW6.mjs +0 -15
- package/dist/.setup/shell-dynamic-tools-D3Brj3g9.mjs +0 -85
- package/dist/.setup/thread-archive-guard-C9frICzX.mjs +0 -60
- package/dist/.setup/thread-requests-CL1e8Wmx.mjs +0 -2111
- package/dist/.setup/upstream-prompt-provenance-fXkKbPVC.mjs +0 -37
package/dist/harness.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CODEX_NATIVE_TOOL_REQUIREMENTS } from "./native-tool-policy.js";
|
|
1
|
+
import { CODEX_NATIVE_TOOL_REQUIREMENTS, CODEX_TOOL_POLICY_SAFE_DENY_NAMES } from "./native-tool-policy.js";
|
|
2
2
|
import { n as readCodexRuntimeModelId } from "./.setup/model-runtime-BdqzOMkU.mjs";
|
|
3
|
-
import { m as sessionBindingIdentity } from "./.setup/session-binding-record-
|
|
4
|
-
import { t as codexBuildSymbol } from "./.setup/build-state-
|
|
3
|
+
import { m as sessionBindingIdentity } from "./.setup/session-binding-record-DU_0biMD.mjs";
|
|
4
|
+
import { t as codexBuildSymbol } from "./.setup/build-state-CzLMy1S9.mjs";
|
|
5
5
|
import { resolvePluginConfigObject } from "openclaw/plugin-sdk/plugin-config-runtime";
|
|
6
6
|
import { asOptionalRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
7
7
|
//#region extensions/codex/harness.ts
|
|
@@ -17,24 +17,6 @@ function requireCodexCompactionCapabilities(params) {
|
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
const SHARED_CODEX_APP_SERVER_CLIENT_DISPOSER = codexBuildSymbol("openclaw.codexAppServerClientDisposer");
|
|
20
|
-
const CODEX_TOOL_POLICY_SAFE_DENY_NAMES = [
|
|
21
|
-
"web_fetch",
|
|
22
|
-
"x_search",
|
|
23
|
-
"memory_search",
|
|
24
|
-
"memory_get",
|
|
25
|
-
"dashboard",
|
|
26
|
-
"canvas",
|
|
27
|
-
"show_widget",
|
|
28
|
-
"message",
|
|
29
|
-
"heartbeat_respond",
|
|
30
|
-
"automations",
|
|
31
|
-
"gateway",
|
|
32
|
-
"skill_workshop",
|
|
33
|
-
"image_generate",
|
|
34
|
-
"music_generate",
|
|
35
|
-
"video_generate",
|
|
36
|
-
"tts"
|
|
37
|
-
];
|
|
38
20
|
const CODEX_APP_SERVER_CONTEXT_ENGINE_HOST_CAPABILITIES = [
|
|
39
21
|
"bootstrap",
|
|
40
22
|
"assemble-before-prompt",
|
|
@@ -111,7 +93,7 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
111
93
|
executionEnvironment: "host-only",
|
|
112
94
|
upstreamKinds: ["codex-app-server"],
|
|
113
95
|
fork: async (params) => {
|
|
114
|
-
const { forkCodexUpstreamSession } = await import("./.setup/upstream-session-fork-
|
|
96
|
+
const { forkCodexUpstreamSession } = await import("./.setup/upstream-session-fork-Djp_yssT.mjs");
|
|
115
97
|
return await forkCodexUpstreamSession(params, {
|
|
116
98
|
bindingStore: options.bindingStore,
|
|
117
99
|
controlFactory: sessionCatalogControlFactory,
|
|
@@ -122,22 +104,22 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
122
104
|
}
|
|
123
105
|
} } : {},
|
|
124
106
|
authBinding: { fingerprint: async (params) => {
|
|
125
|
-
const { fingerprintCodexAppServerAuthBinding } = await import("./.setup/auth-binding-
|
|
107
|
+
const { fingerprintCodexAppServerAuthBinding } = await import("./.setup/auth-binding-BaxlhaNx.mjs").then((n) => n.t);
|
|
126
108
|
return fingerprintCodexAppServerAuthBinding(params);
|
|
127
109
|
} },
|
|
128
110
|
runtimeArtifact: { validate: async (binding) => {
|
|
129
|
-
const { validateCodexAppServerRuntimeArtifact } = await import("./.setup/runtime-artifact-
|
|
130
|
-
const { isCodexConfiguredConnectionArtifact } = await import("./.setup/runtime-artifact-connection-
|
|
111
|
+
const { validateCodexAppServerRuntimeArtifact } = await import("./.setup/runtime-artifact-C13pR7tD.mjs");
|
|
112
|
+
const { isCodexConfiguredConnectionArtifact } = await import("./.setup/runtime-artifact-connection-jS5DeCok.mjs");
|
|
131
113
|
if (!isCodexConfiguredConnectionArtifact(binding.id)) return validateCodexAppServerRuntimeArtifact(binding);
|
|
132
|
-
const { resolveCodexAppServerRuntimeOptions } = await import("./.setup/config-
|
|
114
|
+
const { resolveCodexAppServerRuntimeOptions } = await import("./.setup/config-C1YVVLEA.mjs").then((n) => n.t);
|
|
133
115
|
return validateCodexAppServerRuntimeArtifact(binding, void 0, resolveCodexAppServerRuntimeOptions({ pluginConfig: resolveAttemptPluginConfig(options.resolveConfig?.()) }).start);
|
|
134
116
|
} },
|
|
135
117
|
fetchUsageSnapshot: async (ctx) => {
|
|
136
|
-
const { fetchCodexAppServerUsageSnapshot } = await import("./.setup/usage-
|
|
118
|
+
const { fetchCodexAppServerUsageSnapshot } = await import("./.setup/usage-DQA-peQC.mjs");
|
|
137
119
|
return await fetchCodexAppServerUsageSnapshot(ctx, { pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig });
|
|
138
120
|
},
|
|
139
121
|
loadModelCatalog: async (params) => {
|
|
140
|
-
const { createCodexAppServerModelCatalog } = await import("./.setup/model-catalog-
|
|
122
|
+
const { createCodexAppServerModelCatalog } = await import("./.setup/model-catalog-B227ST3D.mjs");
|
|
141
123
|
if (disposed) return { entries: [] };
|
|
142
124
|
modelCatalog ??= createCodexAppServerModelCatalog(harnessRuntimeId);
|
|
143
125
|
return { entries: await modelCatalog.load(params, resolveAttemptPluginConfig(params.config)) };
|
|
@@ -147,7 +129,7 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
147
129
|
return asOptionalRecord(asOptionalRecord(resolveAttemptPluginConfig(config))?.appServer)?.enableUltrafast === false ? serviceTiers.filter((tier) => tier !== "ultrafast") : serviceTiers;
|
|
148
130
|
},
|
|
149
131
|
acquireMcpAppRuntime: async (params) => {
|
|
150
|
-
const { acquireCodexMcpAppRuntime } = await import("./.setup/effective-mcp-catalog-
|
|
132
|
+
const { acquireCodexMcpAppRuntime } = await import("./.setup/effective-mcp-catalog-1hWFKghy.mjs");
|
|
151
133
|
if (disposed) return;
|
|
152
134
|
params.assertCurrent();
|
|
153
135
|
return await acquireCodexMcpAppRuntime(params, {
|
|
@@ -156,15 +138,16 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
156
138
|
});
|
|
157
139
|
},
|
|
158
140
|
loadMcpToolCatalog: async (params) => {
|
|
159
|
-
const { loadCodexEffectiveMcpCatalog } = await import("./.setup/effective-mcp-catalog-
|
|
141
|
+
const { loadCodexEffectiveMcpCatalog } = await import("./.setup/effective-mcp-catalog-1hWFKghy.mjs");
|
|
160
142
|
return await loadCodexEffectiveMcpCatalog(params, { bindingStore: options.bindingStore });
|
|
161
143
|
},
|
|
162
144
|
supports: (ctx) => {
|
|
163
|
-
const
|
|
164
|
-
if (!providerIds.has(provider)) return {
|
|
145
|
+
const unsupported = (reason) => ({
|
|
165
146
|
supported: false,
|
|
166
|
-
reason
|
|
167
|
-
};
|
|
147
|
+
reason
|
|
148
|
+
});
|
|
149
|
+
const provider = ctx.provider.trim().toLowerCase();
|
|
150
|
+
if (!providerIds.has(provider)) return unsupported(`provider is not one of: ${[...providerIds].toSorted().join(", ")}`);
|
|
168
151
|
if (ctx.modelProvider?.requestTransportOverrides === "present") return {
|
|
169
152
|
supported: false,
|
|
170
153
|
reason: "Codex cannot reproduce authored request transport overrides",
|
|
@@ -174,24 +157,12 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
174
157
|
const runtimePolicy = ctx.modelProvider?.runtimePolicy;
|
|
175
158
|
const nativeAccountOwnsUnobservedModel = provider === "openai" && ctx.requestedRuntime === "codex" && Boolean(ctx.modelId?.trim()) && (preparedAuth === void 0 || preparedAuth.source === "harness") && preparedAuth?.mode === void 0 && preparedAuth?.requirement === void 0 && ctx.modelProvider?.api === void 0 && ctx.modelProvider?.baseUrl === void 0 && ctx.modelProvider?.azureApiVersion === void 0 && ctx.modelProvider?.request === void 0;
|
|
176
159
|
if (runtimePolicy) {
|
|
177
|
-
if (!runtimePolicy.compatibleIds.some((id) => id.trim().toLowerCase() === normalizedHarnessRuntimeId)) return
|
|
178
|
-
|
|
179
|
-
reason: "Codex cannot reproduce the prepared provider route"
|
|
180
|
-
};
|
|
181
|
-
} else if (ctx.modelProvider && provider !== "codex" && !nativeAccountOwnsUnobservedModel) return {
|
|
182
|
-
supported: false,
|
|
183
|
-
reason: "provider route compatibility with Codex is not declared"
|
|
184
|
-
};
|
|
160
|
+
if (!runtimePolicy.compatibleIds.some((id) => id.trim().toLowerCase() === normalizedHarnessRuntimeId)) return unsupported("Codex cannot reproduce the prepared provider route");
|
|
161
|
+
} else if (ctx.modelProvider && provider !== "codex" && !nativeAccountOwnsUnobservedModel) return unsupported("provider route compatibility with Codex is not declared");
|
|
185
162
|
if (preparedAuth?.requirement === "subscription") {
|
|
186
|
-
if (!(preparedAuth.source === "profile" && (preparedAuth.mode === "oauth" || preparedAuth.mode === "token"))) return
|
|
187
|
-
supported: false,
|
|
188
|
-
reason: "Codex subscription auth requires a prepared OAuth or token profile"
|
|
189
|
-
};
|
|
163
|
+
if (!(preparedAuth.source === "profile" && (preparedAuth.mode === "oauth" || preparedAuth.mode === "token"))) return unsupported("Codex subscription auth requires a prepared OAuth or token profile");
|
|
190
164
|
} else if (preparedAuth?.requirement === "api-key") {
|
|
191
|
-
if (!(preparedAuth.source !== "none" && preparedAuth.source !== "harness" && (preparedAuth.mode === "api-key" || preparedAuth.mode === "api_key"))) return
|
|
192
|
-
supported: false,
|
|
193
|
-
reason: "Codex Platform auth requires a prepared API key"
|
|
194
|
-
};
|
|
165
|
+
if (!(preparedAuth.source !== "none" && preparedAuth.source !== "harness" && (preparedAuth.mode === "api-key" || preparedAuth.mode === "api_key"))) return unsupported("Codex Platform auth requires a prepared API key");
|
|
195
166
|
}
|
|
196
167
|
return {
|
|
197
168
|
supported: true,
|
|
@@ -199,9 +170,9 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
199
170
|
};
|
|
200
171
|
},
|
|
201
172
|
runAttempt: async (params) => {
|
|
202
|
-
const { runCodexAppServerAttempt } = await import("./.setup/run-attempt-
|
|
203
|
-
const { planCodexCyberEscalation, readCodexCyberAttemptVerdict, recordCodexCyberTargetUnavailable, reserveCodexCyberProbe, resolveCodexCyberFailoverConfig } = await import("./.setup/cyber-failover-
|
|
204
|
-
const { emitCodexCyberNotice } = await import("./.setup/cyber-failover-notice-
|
|
173
|
+
const { runCodexAppServerAttempt } = await import("./.setup/run-attempt-Dx7a4Mfm.mjs");
|
|
174
|
+
const { planCodexCyberEscalation, readCodexCyberAttemptVerdict, recordCodexCyberTargetUnavailable, reserveCodexCyberProbe, resolveCodexCyberFailoverConfig } = await import("./.setup/cyber-failover-D4dgNfFf.mjs");
|
|
175
|
+
const { emitCodexCyberNotice } = await import("./.setup/cyber-failover-notice-ljgGGL0s.mjs");
|
|
205
176
|
const pluginConfig = resolveAttemptPluginConfig(params.config);
|
|
206
177
|
const attemptModel = readCodexRuntimeModelId(params.model, params.modelId);
|
|
207
178
|
const runAttemptOnModel = (model, isRetry = false) => runCodexAppServerAttempt(isRetry ? {
|
|
@@ -265,7 +236,7 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
265
236
|
const { runHostPreparedIsolatedCompletion } = await import("openclaw/plugin-sdk/simple-completion-runtime");
|
|
266
237
|
return runHostPreparedIsolatedCompletion(params);
|
|
267
238
|
}
|
|
268
|
-
const { runCodexIsolatedCompletion } = await import("./.setup/isolated-completion-
|
|
239
|
+
const { runCodexIsolatedCompletion } = await import("./.setup/isolated-completion-Bhqd2yBq.mjs");
|
|
269
240
|
return runCodexIsolatedCompletion(params, { pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig });
|
|
270
241
|
},
|
|
271
242
|
runIsolatedCompletion: async (params) => {
|
|
@@ -281,11 +252,11 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
281
252
|
});
|
|
282
253
|
},
|
|
283
254
|
finalizeSettledTurn: async (params) => {
|
|
284
|
-
const { runCodexSettledTurnFinalization } = await import("./.setup/settled-turn-finalizer-
|
|
255
|
+
const { runCodexSettledTurnFinalization } = await import("./.setup/settled-turn-finalizer-X-Fylp-u.mjs");
|
|
285
256
|
return runCodexSettledTurnFinalization(params, { pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig });
|
|
286
257
|
},
|
|
287
258
|
runSideQuestion: async (params) => {
|
|
288
|
-
const { runCodexAppServerSideQuestion } = await import("./.setup/side-question-
|
|
259
|
+
const { runCodexAppServerSideQuestion } = await import("./.setup/side-question-BDUdozFy.mjs");
|
|
289
260
|
return runCodexAppServerSideQuestion(params, {
|
|
290
261
|
bindingStore: options.bindingStore,
|
|
291
262
|
pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig,
|
|
@@ -296,25 +267,25 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
296
267
|
},
|
|
297
268
|
compact: async (params) => {
|
|
298
269
|
const admittedParams = requireCodexCompactionCapabilities(params);
|
|
299
|
-
const { maybeCompactCodexAppServerSession } = await import("./.setup/compact-
|
|
270
|
+
const { maybeCompactCodexAppServerSession } = await import("./.setup/compact-CD8xJxXS.mjs");
|
|
300
271
|
return maybeCompactCodexAppServerSession(admittedParams, {
|
|
301
272
|
bindingStore: options.bindingStore,
|
|
302
273
|
pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig
|
|
303
274
|
});
|
|
304
275
|
},
|
|
305
276
|
withSessionDeletion: async (params, run) => {
|
|
306
|
-
const { withCodexAppServerSessionDeletion } = await import("./.setup/session-retirement-
|
|
277
|
+
const { withCodexAppServerSessionDeletion } = await import("./.setup/session-retirement-IoS3zr17.mjs");
|
|
307
278
|
params.assertCurrent();
|
|
308
279
|
return withCodexAppServerSessionDeletion(options.bindingStore, params, run);
|
|
309
280
|
},
|
|
310
281
|
withSessionContextReset: async (params, run) => {
|
|
311
|
-
const { withCodexAppServerSessionContextReset } = await import("./.setup/session-retirement-
|
|
282
|
+
const { withCodexAppServerSessionContextReset } = await import("./.setup/session-retirement-IoS3zr17.mjs");
|
|
312
283
|
params.assertCurrent();
|
|
313
284
|
return withCodexAppServerSessionContextReset(options.bindingStore, params, run);
|
|
314
285
|
},
|
|
315
286
|
reset: async (params) => {
|
|
316
287
|
if (params.sessionId && params.reason !== "deleted") {
|
|
317
|
-
const [{ reclaimCurrentCodexSessionGeneration }, { retireCodexAppServerSessionGeneration }] = await Promise.all([import("./.setup/session-binding-
|
|
288
|
+
const [{ reclaimCurrentCodexSessionGeneration }, { retireCodexAppServerSessionGeneration }] = await Promise.all([import("./.setup/session-binding-JEHNMPsr.mjs").then((n) => n.a), import("./.setup/session-retirement-IoS3zr17.mjs")]);
|
|
318
289
|
const identity = sessionBindingIdentity({
|
|
319
290
|
agentId: params.agentId,
|
|
320
291
|
sessionId: params.sessionId,
|
|
@@ -347,7 +318,7 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
347
318
|
function createCodexAppServerNativeCompaction(options) {
|
|
348
319
|
return async (params) => {
|
|
349
320
|
const admittedParams = requireCodexCompactionCapabilities(params);
|
|
350
|
-
const { maybeCompactCodexAppServerSession } = await import("./.setup/compact-
|
|
321
|
+
const { maybeCompactCodexAppServerSession } = await import("./.setup/compact-CD8xJxXS.mjs");
|
|
351
322
|
return maybeCompactCodexAppServerSession(admittedParams, {
|
|
352
323
|
bindingStore: options.bindingStore,
|
|
353
324
|
pluginConfig: options.resolvePluginConfig?.() ?? options.pluginConfig,
|