@openclaw/codex 2026.5.27 → 2026.5.28-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{client-BVK_jmHW.js → client-TfDda-h3.js} +1 -1
- package/dist/{client-factory-fW4Hh9q_.js → client-factory-BPBvbguy.js} +2 -2
- package/dist/{command-handlers-YXjMla3v.js → command-handlers-B8MXR7fh.js} +11 -11
- package/dist/{compact-DIXx9K0Q.js → compact-Dyz0rQLl.js} +10 -8
- package/dist/{computer-use-CakwWGCR.js → computer-use-BRIifWhE.js} +2 -2
- package/dist/{config-0-UN67Qg.js → config-BW7NPdAQ.js} +10 -3
- package/dist/{conversation-binding-CWaG0k5A.js → conversation-binding-D8OO0S9R.js} +7 -7
- package/dist/harness.js +5 -5
- package/dist/index.js +13 -12
- package/dist/media-understanding-provider.js +6 -6
- package/dist/{models-_XwpqjR8.js → models-Dnasi6LR.js} +1 -1
- package/dist/{vision-tools-DqpLmF5H.js → native-hook-relay-DYOYE3qb.js} +691 -14
- package/dist/{notification-correlation-YINts3PA.js → notification-correlation-BVB6XFQM.js} +44 -3
- package/dist/provider.js +2 -2
- package/dist/{request-Dtg0vQrE.js → request-Cj95iOk6.js} +3 -3
- package/dist/{run-attempt-BIbGYJog.js → run-attempt-Jyxv6IjU.js} +7276 -7058
- package/dist/{session-binding-4fRldGaa.js → session-binding-DuJisBZB.js} +1 -1
- package/dist/{shared-client-8kIrP817.js → shared-client-DICbgRn5.js} +21 -3
- package/dist/{side-question-v4nixmAs.js → side-question-280VWjeH.js} +7 -8
- package/dist/{thread-lifecycle-DZAfY4d6.js → thread-lifecycle-1u5ogKG_.js} +4 -4
- package/npm-shrinkwrap.json +96 -1771
- package/package.json +4 -5
- package/dist/dynamic-tools-BSZIYzfP.js +0 -560
- package/dist/test-api.js +0 -51
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
|
|
2
|
-
import { s as normalizeCodexServiceTier } from "./config-
|
|
2
|
+
import { s as normalizeCodexServiceTier } from "./config-BW7NPdAQ.js";
|
|
3
3
|
import { embeddedAgentLog } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
4
4
|
import fs from "node:fs/promises";
|
|
5
5
|
import { ensureAuthProfileStore, resolveDefaultAgentDir, resolveProviderIdForAuth } from "openclaw/plugin-sdk/agent-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
|
|
2
|
-
import { l as resolveCodexAppServerRuntimeOptions, n as codexAppServerStartOptionsKey } from "./config-
|
|
3
|
-
import { c as resolveCodexAppServerSpawnEnv, o as MANAGED_CODEX_APP_SERVER_PACKAGE, t as CodexAppServerClient } from "./client-
|
|
2
|
+
import { l as resolveCodexAppServerRuntimeOptions, n as codexAppServerStartOptionsKey } from "./config-BW7NPdAQ.js";
|
|
3
|
+
import { c as resolveCodexAppServerSpawnEnv, o as MANAGED_CODEX_APP_SERVER_PACKAGE, t as CodexAppServerClient } from "./client-TfDda-h3.js";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
6
6
|
import fsSync, { constants, readFileSync } from "node:fs";
|
|
@@ -465,12 +465,30 @@ function resolveDefaultCodexPluginRoot(moduleDir) {
|
|
|
465
465
|
}
|
|
466
466
|
function resolveManagedCodexAppServerCandidateRoots(pluginRoot, platform) {
|
|
467
467
|
const pathApi = pathForPlatform(platform);
|
|
468
|
-
|
|
468
|
+
const directRoots = [
|
|
469
469
|
pluginRoot,
|
|
470
470
|
pathApi.dirname(pluginRoot),
|
|
471
471
|
pathApi.dirname(pathApi.dirname(pluginRoot)),
|
|
472
472
|
isDistExtensionRoot(pluginRoot, platform) ? pathApi.dirname(pathApi.dirname(pathApi.dirname(pluginRoot))) : null
|
|
473
473
|
].filter((root) => Boolean(root));
|
|
474
|
+
return [...new Set([...directRoots, ...resolveNearestNodeModulesProjectRoots(directRoots, platform)])];
|
|
475
|
+
}
|
|
476
|
+
function resolveNearestNodeModulesProjectRoots(roots, platform) {
|
|
477
|
+
const pathApi = pathForPlatform(platform);
|
|
478
|
+
const projectRoots = [];
|
|
479
|
+
for (const root of roots) {
|
|
480
|
+
let current = pathApi.resolve(root);
|
|
481
|
+
while (true) {
|
|
482
|
+
if (pathApi.basename(current) === "node_modules") {
|
|
483
|
+
projectRoots.push(pathApi.dirname(current));
|
|
484
|
+
break;
|
|
485
|
+
}
|
|
486
|
+
const parent = pathApi.dirname(current);
|
|
487
|
+
if (parent === current) break;
|
|
488
|
+
current = parent;
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
return projectRoots;
|
|
474
492
|
}
|
|
475
493
|
function resolveManagedCodexPackageBinCandidates(roots, platform) {
|
|
476
494
|
if (platform === "win32") return [];
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { c as readCodexPluginConfig, f as shouldAutoApproveCodexAppServerApprovals, l as resolveCodexAppServerRuntimeOptions } from "./config-
|
|
1
|
+
import { c as readCodexPluginConfig, f as shouldAutoApproveCodexAppServerApprovals, l as resolveCodexAppServerRuntimeOptions } from "./config-BW7NPdAQ.js";
|
|
2
2
|
import { a as readCodexDynamicToolCallParams, c as readCodexTurn, i as assertCodexTurnStartResponse, t as assertCodexThreadForkResponse } from "./protocol-validators-DtjYmUw_.js";
|
|
3
|
-
import { i as isCodexAppServerApprovalRequest, l as isJsonObject } from "./client-
|
|
4
|
-
import {
|
|
5
|
-
import { i as readCodexAppServerBinding } from "./session-binding-
|
|
6
|
-
import {
|
|
7
|
-
import { a as releaseLeasedSharedCodexAppServerClient, i as getLeasedSharedCodexAppServerClient, l as refreshCodexAppServerAuthTokens } from "./shared-client-
|
|
3
|
+
import { i as isCodexAppServerApprovalRequest, l as isJsonObject } from "./client-TfDda-h3.js";
|
|
4
|
+
import { d as resolveReasoningEffort, g as mergeCodexThreadConfigs, r as buildCodexRuntimeThreadConfig, t as CODEX_NATIVE_PERSONALITY_NONE, u as resolveCodexAppServerModelProvider } from "./thread-lifecycle-1u5ogKG_.js";
|
|
5
|
+
import { i as readCodexAppServerBinding } from "./session-binding-DuJisBZB.js";
|
|
6
|
+
import { h as formatCodexUsageLimitErrorMessage, i as readCodexNotificationTurnId, r as readCodexNotificationThreadId } from "./notification-correlation-BVB6XFQM.js";
|
|
7
|
+
import { a as releaseLeasedSharedCodexAppServerClient, i as getLeasedSharedCodexAppServerClient, l as refreshCodexAppServerAuthTokens } from "./shared-client-DICbgRn5.js";
|
|
8
8
|
import { n as resolveCodexNativeExecutionBlock } from "./sandbox-guard-CTnEWuor.js";
|
|
9
|
-
import {
|
|
10
|
-
import { a as handleCodexAppServerElicitationRequest, c as emitDynamicToolTerminalDiagnostic, i as buildCodexNativeHookRelayDisabledConfig, l as handleCodexAppServerApprovalRequest, n as CODEX_NATIVE_HOOK_RELAY_EVENTS, o as emitDynamicToolErrorDiagnostic, r as buildCodexNativeHookRelayConfig, s as emitDynamicToolStartedDiagnostic, t as filterToolsForVisionInputs } from "./vision-tools-DqpLmF5H.js";
|
|
9
|
+
import { d as emitDynamicToolErrorDiagnostic, f as emitDynamicToolStartedDiagnostic, h as filterCodexDynamicTools, i as buildCodexNativeHookRelayDisabledConfig, l as handleCodexAppServerElicitationRequest, m as filterToolsForVisionInputs, p as emitDynamicToolTerminalDiagnostic, r as buildCodexNativeHookRelayConfig, t as CODEX_NATIVE_HOOK_RELAY_EVENTS, u as createCodexDynamicToolBridge, v as resolveCodexDynamicToolsLoading, y as handleCodexAppServerApprovalRequest } from "./native-hook-relay-DYOYE3qb.js";
|
|
11
10
|
import { n as rememberCodexRateLimits, t as readRecentCodexRateLimits } from "./rate-limit-cache-N66I-Rd7.js";
|
|
12
11
|
import { buildAgentHookContextChannelFields, embeddedAgentLog, formatErrorMessage, registerNativeHookRelay, resolveAgentDir, resolveAttemptSpawnWorkspaceDir, resolveModelAuthMode, resolveSandboxContext, resolveSessionAgentIds, supportsModelTools } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
13
12
|
//#region extensions/codex/src/app-server/side-question.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { d as resolveCodexPluginsPolicy, r as codexSandboxPolicyForTurn, t as CODEX_PLUGINS_MARKETPLACE_NAME } from "./config-
|
|
1
|
+
import { d as resolveCodexPluginsPolicy, r as codexSandboxPolicyForTurn, t as CODEX_PLUGINS_MARKETPLACE_NAME } from "./config-BW7NPdAQ.js";
|
|
2
2
|
import { n as assertCodexThreadResumeResponse, r as assertCodexThreadStartResponse } from "./protocol-validators-DtjYmUw_.js";
|
|
3
|
-
import { a as isCodexAppServerConnectionClosedError, l as isJsonObject, n as CodexAppServerRpcError } from "./client-
|
|
3
|
+
import { a as isCodexAppServerConnectionClosedError, l as isJsonObject, n as CodexAppServerRpcError } from "./client-TfDda-h3.js";
|
|
4
4
|
import { CODEX_GPT5_HEARTBEAT_PROMPT_OVERLAY } from "./prompt-overlay.js";
|
|
5
5
|
import { isModernCodexModel } from "./provider.js";
|
|
6
|
-
import { i as readCodexAppServerBinding, n as isCodexAppServerNativeAuthProfile, o as writeCodexAppServerBinding, t as clearCodexAppServerBinding } from "./session-binding-
|
|
6
|
+
import { i as readCodexAppServerBinding, n as isCodexAppServerNativeAuthProfile, o as writeCodexAppServerBinding, t as clearCodexAppServerBinding } from "./session-binding-DuJisBZB.js";
|
|
7
7
|
import crypto from "node:crypto";
|
|
8
8
|
import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
9
9
|
import { embeddedAgentLog, formatErrorMessage, isActiveHarnessContextEngine } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
@@ -1739,4 +1739,4 @@ function resolveReasoningEffort(thinkLevel, modelId) {
|
|
|
1739
1739
|
return null;
|
|
1740
1740
|
}
|
|
1741
1741
|
//#endregion
|
|
1742
|
-
export {
|
|
1742
|
+
export { sanitizeCodexHistoryImagePayloads as C, resolveCodexContextEngineProjectionReserveTokens as D, resolveCodexContextEngineProjectionMaxChars as E, invalidInlineImageText as S, projectContextEngineAssemblyForCodex as T, shouldBuildCodexPluginThreadConfig as _, buildDeveloperInstructions as a, buildCodexAppInventoryCacheKey as b, codexDynamicToolsFingerprint as c, resolveReasoningEffort as d, startOrResumeThread as f, mergeCodexThreadConfigs as g, buildCodexPluginThreadConfigInputFingerprint as h, buildContextEngineBinding as i, isContextEngineBindingCompatible as l, buildCodexPluginThreadConfig as m, areCodexDynamicToolFingerprintsCompatible as n, buildTurnCollaborationMode as o, isCodexAppServerProfilerEnabled as p, buildCodexRuntimeThreadConfig as r, buildTurnStartParams as s, CODEX_NATIVE_PERSONALITY_NONE as t, resolveCodexAppServerModelProvider as u, ensureCodexPluginActivation as v, sanitizeInlineImageDataUrl as w, defaultCodexAppInventoryCache as x, pluginReadParams as y };
|