@openclaw/codex 2026.6.5-beta.6 → 2026.6.6-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/{client-kMCtlApt.js → client-DovmVtbr.js} +3 -10
- package/dist/{client-factory-Bt49r45B.js → client-factory-XajDuvQ1.js} +1 -1
- package/dist/{command-handlers-DMn2M7W7.js → command-handlers-DIUFKqaF.js} +11 -9
- package/dist/{compact-CwnPeYnM.js → compact-BWiNkDSs.js} +96 -9
- package/dist/{computer-use-ClweWaMz.js → computer-use-D3pi5csE.js} +3 -2
- package/dist/{config-BT6SLiE6.js → config-DJXpBkGf.js} +214 -13
- package/dist/{conversation-binding-CzpvaBs1.js → conversation-binding-CMwrZrt7.js} +190 -65
- package/dist/harness.js +12 -5
- package/dist/index.js +11 -10
- package/dist/media-understanding-provider.js +6 -6
- package/dist/{models-DXorTaja.js → models-CQGfP7nG.js} +2 -2
- package/dist/{native-hook-relay-DHwz_ICg.js → native-hook-relay-CmUUO3Eu.js} +160 -4
- package/dist/notification-correlation-D-MYfJwV.js +382 -0
- package/dist/{request-D64BfplD.js → plugin-app-cache-key-NpzxEcSR.js} +4 -36
- package/dist/protocol-oeJQu4rs.js +9 -0
- package/dist/{protocol-validators-CIpP8IJ2.js → protocol-validators-B48C6S9O.js} +2296 -2273
- package/dist/provider-Cs6kWhDQ.js +584 -0
- package/dist/provider.js +1 -164
- package/dist/request-Dq0LUOqZ.js +36 -0
- package/dist/{run-attempt-BWdNnok4.js → run-attempt-DG9p9ReO.js} +374 -65
- package/dist/{session-binding-BgTv_YGm.js → session-binding-ElbcSq2o.js} +107 -44
- package/dist/{shared-client-xytpSKD0.js → shared-client-CflavQ_i.js} +3 -3
- package/dist/{side-question-BnvBQPqW.js → side-question-Ctu2VXAG.js} +82 -26
- package/dist/{thread-lifecycle-BJsazZ8j.js → thread-lifecycle-Cq1-IfZB.js} +115 -34
- package/npm-shrinkwrap.json +30 -30
- package/package.json +5 -5
- package/dist/notification-correlation-o8quHmTK.js +0 -656
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as assertCodexThreadResumeResponse, r as assertCodexThreadStartResponse } from "./protocol-validators-
|
|
3
|
-
import {
|
|
1
|
+
import { i as codexSandboxPolicyForTurn, m as resolveCodexPluginsPolicy, t as CODEX_PLUGINS_MARKETPLACE_NAME } from "./config-DJXpBkGf.js";
|
|
2
|
+
import { n as assertCodexThreadResumeResponse, r as assertCodexThreadStartResponse } from "./protocol-validators-B48C6S9O.js";
|
|
3
|
+
import { t as isJsonObject } from "./protocol-oeJQu4rs.js";
|
|
4
4
|
import { CODEX_GPT5_HEARTBEAT_PROMPT_OVERLAY } from "./prompt-overlay.js";
|
|
5
|
-
import { isModernCodexModel } from "./provider.js";
|
|
6
|
-
import { a as
|
|
5
|
+
import { r as isModernCodexModel } from "./provider-Cs6kWhDQ.js";
|
|
6
|
+
import { a as isCodexAppServerConnectionClosedError, n as CodexAppServerRpcError } from "./client-DovmVtbr.js";
|
|
7
|
+
import { i as isCodexAppServerNativeAuthProfile, l as writeCodexAppServerBinding, n as clearCodexAppServerBinding, o as readCodexAppServerBinding } from "./session-binding-ElbcSq2o.js";
|
|
7
8
|
import { isFutureDateTimestampMs, resolveDateTimestampMs, resolveExpiresAtMsFromDurationMs } from "openclaw/plugin-sdk/number-runtime";
|
|
8
9
|
import crypto from "node:crypto";
|
|
10
|
+
import "node:path";
|
|
9
11
|
import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
10
12
|
import { SKILL_WORKSHOP_TOOL_NAME, buildSkillWorkshopPromptSection, embeddedAgentLog, formatErrorMessage, isActiveHarnessContextEngine } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
11
13
|
import { buildCodexUserMcpServersThreadConfigPatch } from "openclaw/plugin-sdk/codex-mcp-projection";
|
|
@@ -13,7 +15,6 @@ import { listRegisteredPluginAgentPromptGuidance } from "openclaw/plugin-sdk/plu
|
|
|
13
15
|
import { redactSensitiveFieldValue, redactToolPayloadText } from "openclaw/plugin-sdk/logging-core";
|
|
14
16
|
import { INLINE_IMAGE_DATA_URL_PREFIX, sanitizeInlineImageDataUrl } from "openclaw/plugin-sdk/inline-image-data-url-runtime";
|
|
15
17
|
import "node:fs/promises";
|
|
16
|
-
import "node:path";
|
|
17
18
|
import { isDiagnosticFlagEnabled } from "openclaw/plugin-sdk/diagnostic-runtime";
|
|
18
19
|
//#region extensions/codex/src/app-server/context-engine-projection.ts
|
|
19
20
|
const CONTEXT_HEADER = "OpenClaw assembled context for this turn:";
|
|
@@ -1227,6 +1228,22 @@ async function startOrResumeThread(params) {
|
|
|
1227
1228
|
agentDir: params.params.agentDir,
|
|
1228
1229
|
config: params.params.config
|
|
1229
1230
|
}));
|
|
1231
|
+
let startModelProvider;
|
|
1232
|
+
if (binding?.threadId) {
|
|
1233
|
+
const authProfileId = params.params.authProfileId ?? binding.authProfileId;
|
|
1234
|
+
startModelProvider = resolveCodexAppServerModelProvider({
|
|
1235
|
+
provider: params.params.provider,
|
|
1236
|
+
authProfileId,
|
|
1237
|
+
authProfileStore: params.params.authProfileStore,
|
|
1238
|
+
agentDir: params.params.agentDir,
|
|
1239
|
+
config: params.params.config
|
|
1240
|
+
}) ?? resolveCodexBindingModelProviderFallback({
|
|
1241
|
+
provider: params.params.provider,
|
|
1242
|
+
currentModel: params.params.modelId,
|
|
1243
|
+
bindingModel: binding.model,
|
|
1244
|
+
bindingModelProvider: binding.modelProvider
|
|
1245
|
+
});
|
|
1246
|
+
}
|
|
1230
1247
|
let preserveExistingBinding = false;
|
|
1231
1248
|
let rotatedContextEngineBinding = false;
|
|
1232
1249
|
let prebuiltPluginThreadConfig;
|
|
@@ -1337,6 +1354,7 @@ async function startOrResumeThread(params) {
|
|
|
1337
1354
|
const resumeParams = lifecycleTiming.measureSync("thread-resume-params", () => buildThreadResumeParams(params.params, {
|
|
1338
1355
|
threadId: binding.threadId,
|
|
1339
1356
|
authProfileId,
|
|
1357
|
+
modelProvider: startModelProvider,
|
|
1340
1358
|
appServer: params.appServer,
|
|
1341
1359
|
dynamicTools: params.dynamicTools,
|
|
1342
1360
|
developerInstructions: params.developerInstructions,
|
|
@@ -1344,23 +1362,17 @@ async function startOrResumeThread(params) {
|
|
|
1344
1362
|
nativeCodeModeEnabled: params.nativeCodeModeEnabled,
|
|
1345
1363
|
nativeCodeModeOnlyEnabled: params.nativeCodeModeOnlyEnabled
|
|
1346
1364
|
}));
|
|
1365
|
+
const requestModelProvider = typeof resumeParams.modelProvider === "string" && resumeParams.modelProvider.trim() ? resumeParams.modelProvider : void 0;
|
|
1347
1366
|
const response = assertCodexThreadResumeResponse(await lifecycleTiming.measure("thread-resume-request", () => params.client.request("thread/resume", resumeParams, { signal: params.signal })));
|
|
1348
1367
|
throwIfAborted();
|
|
1349
1368
|
const boundAuthProfileId = authProfileId;
|
|
1350
|
-
const fallbackModelProvider = resolveCodexAppServerModelProvider({
|
|
1351
|
-
provider: params.params.provider,
|
|
1352
|
-
authProfileId: boundAuthProfileId,
|
|
1353
|
-
authProfileStore: params.params.authProfileStore,
|
|
1354
|
-
agentDir: params.params.agentDir,
|
|
1355
|
-
config: params.params.config
|
|
1356
|
-
});
|
|
1357
1369
|
const nextMcpServersFingerprint = params.mcpServersFingerprintEvaluated === true ? params.mcpServersFingerprint : binding.mcpServersFingerprint;
|
|
1358
1370
|
await lifecycleTiming.measure("thread-resume-write-binding", () => writeCodexAppServerBinding(params.params.sessionFile, {
|
|
1359
1371
|
threadId: response.thread.id,
|
|
1360
1372
|
cwd: params.cwd,
|
|
1361
1373
|
authProfileId: boundAuthProfileId,
|
|
1362
|
-
model: params.params.modelId,
|
|
1363
|
-
modelProvider: response.modelProvider ??
|
|
1374
|
+
model: response.model ?? resumeParams.model ?? params.params.modelId,
|
|
1375
|
+
modelProvider: response.modelProvider ?? requestModelProvider ?? startModelProvider,
|
|
1364
1376
|
dynamicToolsFingerprint,
|
|
1365
1377
|
dynamicToolsContainDeferred,
|
|
1366
1378
|
userMcpServersFingerprint,
|
|
@@ -1394,13 +1406,14 @@ async function startOrResumeThread(params) {
|
|
|
1394
1406
|
threadId: response.thread.id,
|
|
1395
1407
|
action: "resumed"
|
|
1396
1408
|
});
|
|
1409
|
+
const activeTurnIds = readActiveCodexTurnIds(response.thread);
|
|
1397
1410
|
return {
|
|
1398
1411
|
...binding,
|
|
1399
1412
|
threadId: response.thread.id,
|
|
1400
1413
|
cwd: params.cwd,
|
|
1401
1414
|
authProfileId: boundAuthProfileId,
|
|
1402
|
-
model: params.params.modelId,
|
|
1403
|
-
modelProvider: response.modelProvider ??
|
|
1415
|
+
model: response.model ?? resumeParams.model ?? params.params.modelId,
|
|
1416
|
+
modelProvider: response.modelProvider ?? requestModelProvider ?? startModelProvider,
|
|
1404
1417
|
dynamicToolsFingerprint,
|
|
1405
1418
|
dynamicToolsContainDeferred,
|
|
1406
1419
|
userMcpServersFingerprint,
|
|
@@ -1411,7 +1424,10 @@ async function startOrResumeThread(params) {
|
|
|
1411
1424
|
pluginAppPolicyContext: binding.pluginAppPolicyContext,
|
|
1412
1425
|
contextEngine: contextEngineBinding,
|
|
1413
1426
|
environmentSelectionFingerprint,
|
|
1414
|
-
lifecycle: {
|
|
1427
|
+
lifecycle: {
|
|
1428
|
+
action: "resumed",
|
|
1429
|
+
...activeTurnIds.length ? { activeTurnIds } : {}
|
|
1430
|
+
}
|
|
1415
1431
|
};
|
|
1416
1432
|
} catch (error) {
|
|
1417
1433
|
if (isCodexAppServerConnectionClosedError(error)) throw error;
|
|
@@ -1432,8 +1448,10 @@ async function startOrResumeThread(params) {
|
|
|
1432
1448
|
config,
|
|
1433
1449
|
nativeCodeModeEnabled: params.nativeCodeModeEnabled,
|
|
1434
1450
|
nativeCodeModeOnlyEnabled: params.nativeCodeModeOnlyEnabled,
|
|
1435
|
-
environmentSelection: params.environmentSelection
|
|
1451
|
+
environmentSelection: params.environmentSelection,
|
|
1452
|
+
modelProvider: startModelProvider
|
|
1436
1453
|
}));
|
|
1454
|
+
const requestModelProvider = typeof startParams.modelProvider === "string" && startParams.modelProvider.trim() ? startParams.modelProvider : void 0;
|
|
1437
1455
|
const response = assertCodexThreadStartResponse(await lifecycleTiming.measure("thread-start-request", async () => {
|
|
1438
1456
|
try {
|
|
1439
1457
|
return await params.client.request("thread/start", startParams, { signal: params.signal });
|
|
@@ -1457,8 +1475,8 @@ async function startOrResumeThread(params) {
|
|
|
1457
1475
|
threadId: response.thread.id,
|
|
1458
1476
|
cwd: params.cwd,
|
|
1459
1477
|
authProfileId: params.params.authProfileId,
|
|
1460
|
-
model: response.model ?? params.params.modelId,
|
|
1461
|
-
modelProvider: response.modelProvider ?? modelProvider,
|
|
1478
|
+
model: response.model ?? startParams.model ?? params.params.modelId,
|
|
1479
|
+
modelProvider: response.modelProvider ?? requestModelProvider ?? startModelProvider ?? modelProvider,
|
|
1462
1480
|
dynamicToolsFingerprint,
|
|
1463
1481
|
dynamicToolsContainDeferred,
|
|
1464
1482
|
userMcpServersFingerprint,
|
|
@@ -1499,8 +1517,8 @@ async function startOrResumeThread(params) {
|
|
|
1499
1517
|
sessionFile: params.params.sessionFile,
|
|
1500
1518
|
cwd: params.cwd,
|
|
1501
1519
|
authProfileId: params.params.authProfileId,
|
|
1502
|
-
model: response.model ?? params.params.modelId,
|
|
1503
|
-
modelProvider: response.modelProvider ?? modelProvider,
|
|
1520
|
+
model: response.model ?? startParams.model ?? params.params.modelId,
|
|
1521
|
+
modelProvider: response.modelProvider ?? requestModelProvider ?? startModelProvider ?? modelProvider,
|
|
1504
1522
|
dynamicToolsFingerprint,
|
|
1505
1523
|
dynamicToolsContainDeferred,
|
|
1506
1524
|
userMcpServersFingerprint,
|
|
@@ -1580,16 +1598,24 @@ function shouldRecheckRecoverablePluginBinding(params) {
|
|
|
1580
1598
|
return Object.keys(policyContext.apps).length === 0 || expectedPluginConfigKeys.length > 0;
|
|
1581
1599
|
}
|
|
1582
1600
|
function buildThreadStartParams(params, options) {
|
|
1583
|
-
const
|
|
1601
|
+
const resolvedModelProvider = resolveCodexAppServerModelProvider({
|
|
1584
1602
|
provider: params.provider,
|
|
1585
1603
|
authProfileId: params.authProfileId,
|
|
1586
1604
|
authProfileStore: params.authProfileStore,
|
|
1587
1605
|
agentDir: params.agentDir,
|
|
1588
1606
|
config: params.config
|
|
1589
1607
|
});
|
|
1590
|
-
|
|
1608
|
+
const modelSelection = resolveCodexAppServerRequestModelSelection({
|
|
1591
1609
|
model: params.modelId,
|
|
1592
|
-
|
|
1610
|
+
modelProvider: options.modelProvider ?? resolvedModelProvider,
|
|
1611
|
+
authProfileId: params.authProfileId,
|
|
1612
|
+
authProfileStore: params.authProfileStore,
|
|
1613
|
+
agentDir: params.agentDir,
|
|
1614
|
+
config: params.config
|
|
1615
|
+
});
|
|
1616
|
+
return {
|
|
1617
|
+
model: modelSelection.model,
|
|
1618
|
+
...modelSelection.modelProvider ? { modelProvider: modelSelection.modelProvider } : {},
|
|
1593
1619
|
cwd: options.cwd,
|
|
1594
1620
|
approvalPolicy: options.appServer.approvalPolicy,
|
|
1595
1621
|
approvalsReviewer: options.appServer.approvalsReviewer,
|
|
@@ -1609,17 +1635,25 @@ function buildThreadStartParams(params, options) {
|
|
|
1609
1635
|
};
|
|
1610
1636
|
}
|
|
1611
1637
|
function buildThreadResumeParams(params, options) {
|
|
1612
|
-
const
|
|
1638
|
+
const resolvedModelProvider = resolveCodexAppServerModelProvider({
|
|
1613
1639
|
provider: params.provider,
|
|
1614
1640
|
authProfileId: options.authProfileId ?? params.authProfileId,
|
|
1615
1641
|
authProfileStore: params.authProfileStore,
|
|
1616
1642
|
agentDir: params.agentDir,
|
|
1617
1643
|
config: params.config
|
|
1618
1644
|
});
|
|
1645
|
+
const modelSelection = resolveCodexAppServerRequestModelSelection({
|
|
1646
|
+
model: params.modelId,
|
|
1647
|
+
modelProvider: options.modelProvider ?? resolvedModelProvider,
|
|
1648
|
+
authProfileId: options.authProfileId ?? params.authProfileId,
|
|
1649
|
+
authProfileStore: params.authProfileStore,
|
|
1650
|
+
agentDir: params.agentDir,
|
|
1651
|
+
config: params.config
|
|
1652
|
+
});
|
|
1619
1653
|
return {
|
|
1620
1654
|
threadId: options.threadId,
|
|
1621
|
-
model:
|
|
1622
|
-
...modelProvider ? { modelProvider } : {},
|
|
1655
|
+
model: modelSelection.model,
|
|
1656
|
+
...modelSelection.modelProvider ? { modelProvider: modelSelection.modelProvider } : {},
|
|
1623
1657
|
approvalPolicy: options.appServer.approvalPolicy,
|
|
1624
1658
|
approvalsReviewer: options.appServer.approvalsReviewer,
|
|
1625
1659
|
sandbox: options.appServer.sandbox,
|
|
@@ -1633,6 +1667,40 @@ function buildThreadResumeParams(params, options) {
|
|
|
1633
1667
|
persistExtendedHistory: true
|
|
1634
1668
|
};
|
|
1635
1669
|
}
|
|
1670
|
+
function resolveCodexBindingModelProviderFallback(params) {
|
|
1671
|
+
const provider = params.provider?.trim().toLowerCase();
|
|
1672
|
+
if (provider && provider !== "codex") return;
|
|
1673
|
+
const currentModel = params.currentModel?.trim();
|
|
1674
|
+
const bindingModel = params.bindingModel?.trim();
|
|
1675
|
+
if (currentModel && bindingModel && currentModel === bindingModel && params.bindingModelProvider) return params.bindingModelProvider;
|
|
1676
|
+
return hasProviderQualifiedModelRef(currentModel) ? void 0 : params.bindingModelProvider;
|
|
1677
|
+
}
|
|
1678
|
+
function resolveCodexAppServerRequestModelSelection(params) {
|
|
1679
|
+
const model = params.model.trim();
|
|
1680
|
+
const modelProvider = params.modelProvider?.trim();
|
|
1681
|
+
if (modelProvider) return {
|
|
1682
|
+
model,
|
|
1683
|
+
modelProvider
|
|
1684
|
+
};
|
|
1685
|
+
const slashIndex = model.indexOf("/");
|
|
1686
|
+
if (slashIndex <= 0 || slashIndex >= model.length - 1) return { model };
|
|
1687
|
+
const inferredModelProvider = resolveCodexAppServerModelProvider({
|
|
1688
|
+
provider: model.slice(0, slashIndex),
|
|
1689
|
+
authProfileId: params.authProfileId,
|
|
1690
|
+
authProfileStore: params.authProfileStore,
|
|
1691
|
+
agentDir: params.agentDir,
|
|
1692
|
+
config: params.config
|
|
1693
|
+
});
|
|
1694
|
+
return {
|
|
1695
|
+
model: model.slice(slashIndex + 1).trim(),
|
|
1696
|
+
...inferredModelProvider ? { modelProvider: inferredModelProvider } : {}
|
|
1697
|
+
};
|
|
1698
|
+
}
|
|
1699
|
+
function hasProviderQualifiedModelRef(model) {
|
|
1700
|
+
const trimmed = model?.trim();
|
|
1701
|
+
const slashIndex = trimmed?.indexOf("/") ?? -1;
|
|
1702
|
+
return slashIndex > 0 && slashIndex < (trimmed?.length ?? 0) - 1;
|
|
1703
|
+
}
|
|
1636
1704
|
function buildCodexRuntimeThreadConfig(config, options = {}) {
|
|
1637
1705
|
const codeModeConfig = {
|
|
1638
1706
|
...CODEX_CODE_MODE_THREAD_CONFIG,
|
|
@@ -1659,6 +1727,14 @@ function buildCodexRuntimeThreadConfigForRun(params, config, options = {}) {
|
|
|
1659
1727
|
};
|
|
1660
1728
|
}
|
|
1661
1729
|
function buildTurnStartParams(params, options) {
|
|
1730
|
+
const modelSelection = resolveCodexAppServerRequestModelSelection({
|
|
1731
|
+
model: options.model ?? params.modelId,
|
|
1732
|
+
modelProvider: options.modelProvider,
|
|
1733
|
+
authProfileId: params.authProfileId,
|
|
1734
|
+
authProfileStore: params.authProfileStore,
|
|
1735
|
+
agentDir: params.agentDir,
|
|
1736
|
+
config: params.config
|
|
1737
|
+
});
|
|
1662
1738
|
return {
|
|
1663
1739
|
threadId: options.threadId,
|
|
1664
1740
|
input: buildUserInput(params, options.promptText),
|
|
@@ -1666,12 +1742,13 @@ function buildTurnStartParams(params, options) {
|
|
|
1666
1742
|
approvalPolicy: options.appServer.approvalPolicy,
|
|
1667
1743
|
approvalsReviewer: options.appServer.approvalsReviewer,
|
|
1668
1744
|
sandboxPolicy: options.sandboxPolicy ?? codexSandboxPolicyForTurn(options.appServer.sandbox, options.cwd),
|
|
1669
|
-
model:
|
|
1745
|
+
model: modelSelection.model,
|
|
1670
1746
|
personality: CODEX_NATIVE_PERSONALITY_NONE,
|
|
1671
1747
|
...options.appServer.serviceTier ? { serviceTier: options.appServer.serviceTier } : {},
|
|
1672
|
-
effort: resolveReasoningEffort(params.thinkLevel,
|
|
1748
|
+
effort: resolveReasoningEffort(params.thinkLevel, modelSelection.model),
|
|
1673
1749
|
...options.environmentSelection ? { environments: options.environmentSelection } : {},
|
|
1674
1750
|
collaborationMode: buildTurnCollaborationMode(params, {
|
|
1751
|
+
model: modelSelection.model,
|
|
1675
1752
|
turnScopedDeveloperInstructions: options.turnScopedDeveloperInstructions,
|
|
1676
1753
|
skillsCollaborationInstructions: options.skillsCollaborationInstructions,
|
|
1677
1754
|
memoryCollaborationInstructions: options.memoryCollaborationInstructions,
|
|
@@ -1685,11 +1762,12 @@ function resolveCodexThreadEnvironmentSelection(options) {
|
|
|
1685
1762
|
return {};
|
|
1686
1763
|
}
|
|
1687
1764
|
function buildTurnCollaborationMode(params, options = {}) {
|
|
1765
|
+
const model = options.model ?? params.modelId;
|
|
1688
1766
|
return {
|
|
1689
1767
|
mode: "default",
|
|
1690
1768
|
settings: {
|
|
1691
|
-
model
|
|
1692
|
-
reasoning_effort: resolveReasoningEffort(params.thinkLevel,
|
|
1769
|
+
model,
|
|
1770
|
+
reasoning_effort: resolveReasoningEffort(params.thinkLevel, model),
|
|
1693
1771
|
developer_instructions: buildTurnScopedCollaborationInstructions(params, options)
|
|
1694
1772
|
}
|
|
1695
1773
|
};
|
|
@@ -1765,6 +1843,9 @@ function stabilizeJsonValue(value) {
|
|
|
1765
1843
|
for (const [key, child] of Object.entries(value).toSorted(([left], [right]) => left.localeCompare(right))) stable[key] = stabilizeJsonValue(child);
|
|
1766
1844
|
return stable;
|
|
1767
1845
|
}
|
|
1846
|
+
function readActiveCodexTurnIds(thread) {
|
|
1847
|
+
return (thread.turns ?? []).filter((turn) => turn.status === "inProgress").map((turn) => typeof turn.id === "string" ? turn.id : "").filter((turnId) => turnId.trim().length > 0);
|
|
1848
|
+
}
|
|
1768
1849
|
const EMPTY_DYNAMIC_TOOLS_FINGERPRINT = JSON.stringify([]);
|
|
1769
1850
|
function areDynamicToolFingerprintsCompatible(previous, next) {
|
|
1770
1851
|
return !previous || previous === next;
|
|
@@ -1836,4 +1917,4 @@ function resolveReasoningEffort(thinkLevel, modelId) {
|
|
|
1836
1917
|
return null;
|
|
1837
1918
|
}
|
|
1838
1919
|
//#endregion
|
|
1839
|
-
export {
|
|
1920
|
+
export { resolveCodexDynamicToolsLoading as A, defaultCodexAppInventoryCache as C, filterCodexDynamicTools as D, sanitizeInlineImageDataUrl$1 as E, projectContextEngineAssemblyForCodex as M, resolveCodexContextEngineProjectionMaxChars as N, isForcedPrivateQaCodexRuntime as O, resolveCodexContextEngineProjectionReserveTokens as P, buildCodexAppInventoryCacheKey as S, sanitizeCodexHistoryImagePayloads as T, buildCodexPluginThreadConfigInputFingerprint as _, buildDeveloperInstructions as a, ensureCodexPluginActivation as b, codexDynamicToolsFingerprint as c, resolveCodexAppServerRequestModelSelection as d, resolveCodexBindingModelProviderFallback as f, buildCodexPluginThreadConfig as g, isCodexAppServerProfilerEnabled as h, buildContextEngineBinding as i, resolveCodexDynamicToolsLoadingForModel as j, normalizeCodexDynamicToolName as k, isContextEngineBindingCompatible as l, startOrResumeThread as m, areCodexDynamicToolFingerprintsCompatible as n, buildTurnCollaborationMode as o, resolveReasoningEffort as p, buildCodexRuntimeThreadConfig as r, buildTurnStartParams as s, CODEX_NATIVE_PERSONALITY_NONE as t, resolveCodexAppServerModelProvider as u, mergeCodexThreadConfigs as v, invalidInlineImageText as w, pluginReadParams as x, shouldBuildCodexPluginThreadConfig as y };
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/codex",
|
|
3
|
-
"version": "2026.6.
|
|
3
|
+
"version": "2026.6.6-beta.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@openclaw/codex",
|
|
9
|
-
"version": "2026.6.
|
|
9
|
+
"version": "2026.6.6-beta.1",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@openai/codex": "0.
|
|
11
|
+
"@openai/codex": "0.139.0",
|
|
12
12
|
"typebox": "1.1.39",
|
|
13
13
|
"ws": "8.21.0",
|
|
14
14
|
"zod": "4.4.3"
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
17
|
"node_modules/@openai/codex": {
|
|
18
|
-
"version": "0.
|
|
19
|
-
"resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.
|
|
20
|
-
"integrity": "sha512-
|
|
18
|
+
"version": "0.139.0",
|
|
19
|
+
"resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.139.0.tgz",
|
|
20
|
+
"integrity": "sha512-wr2fRE+fzW0CjEbfFsLh1ftarVEcw0CMLWS7QyA0nyOz5qacQPVq3cq2+/U7oEbwm1TOqoi0Fm1nxniB5FkpmA==",
|
|
21
21
|
"license": "Apache-2.0",
|
|
22
22
|
"bin": {
|
|
23
23
|
"codex": "bin/codex.js"
|
|
@@ -26,19 +26,19 @@
|
|
|
26
26
|
"node": ">=16"
|
|
27
27
|
},
|
|
28
28
|
"optionalDependencies": {
|
|
29
|
-
"@openai/codex-darwin-arm64": "npm:@openai/codex@0.
|
|
30
|
-
"@openai/codex-darwin-x64": "npm:@openai/codex@0.
|
|
31
|
-
"@openai/codex-linux-arm64": "npm:@openai/codex@0.
|
|
32
|
-
"@openai/codex-linux-x64": "npm:@openai/codex@0.
|
|
33
|
-
"@openai/codex-win32-arm64": "npm:@openai/codex@0.
|
|
34
|
-
"@openai/codex-win32-x64": "npm:@openai/codex@0.
|
|
29
|
+
"@openai/codex-darwin-arm64": "npm:@openai/codex@0.139.0-darwin-arm64",
|
|
30
|
+
"@openai/codex-darwin-x64": "npm:@openai/codex@0.139.0-darwin-x64",
|
|
31
|
+
"@openai/codex-linux-arm64": "npm:@openai/codex@0.139.0-linux-arm64",
|
|
32
|
+
"@openai/codex-linux-x64": "npm:@openai/codex@0.139.0-linux-x64",
|
|
33
|
+
"@openai/codex-win32-arm64": "npm:@openai/codex@0.139.0-win32-arm64",
|
|
34
|
+
"@openai/codex-win32-x64": "npm:@openai/codex@0.139.0-win32-x64"
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
"node_modules/@openai/codex-darwin-arm64": {
|
|
38
38
|
"name": "@openai/codex",
|
|
39
|
-
"version": "0.
|
|
40
|
-
"resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.
|
|
41
|
-
"integrity": "sha512-
|
|
39
|
+
"version": "0.139.0-darwin-arm64",
|
|
40
|
+
"resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.139.0-darwin-arm64.tgz",
|
|
41
|
+
"integrity": "sha512-o+0ZKWwgDFMMLO7rwinzO0PQsgK+Vme1pMN2GeAxsX29ZgGZcyPICfpJbeGSUO1mb2a36Skjx6nfdRnxMY0r7w==",
|
|
42
42
|
"cpu": [
|
|
43
43
|
"arm64"
|
|
44
44
|
],
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
},
|
|
54
54
|
"node_modules/@openai/codex-darwin-x64": {
|
|
55
55
|
"name": "@openai/codex",
|
|
56
|
-
"version": "0.
|
|
57
|
-
"resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.
|
|
58
|
-
"integrity": "sha512-
|
|
56
|
+
"version": "0.139.0-darwin-x64",
|
|
57
|
+
"resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.139.0-darwin-x64.tgz",
|
|
58
|
+
"integrity": "sha512-9gkBWzu6DB2rqU4DbpxD3DE5bofGpsK46Lp0h0I+bKWc2IIcxvSi8K2utKmBLoJCbKrn4JQu7dFNGRqEfENung==",
|
|
59
59
|
"cpu": [
|
|
60
60
|
"x64"
|
|
61
61
|
],
|
|
@@ -70,9 +70,9 @@
|
|
|
70
70
|
},
|
|
71
71
|
"node_modules/@openai/codex-linux-arm64": {
|
|
72
72
|
"name": "@openai/codex",
|
|
73
|
-
"version": "0.
|
|
74
|
-
"resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.
|
|
75
|
-
"integrity": "sha512-
|
|
73
|
+
"version": "0.139.0-linux-arm64",
|
|
74
|
+
"resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.139.0-linux-arm64.tgz",
|
|
75
|
+
"integrity": "sha512-tBQE5lZciRHeWZGuURgjP9S717MvTIpQMc593+DNxY2LQxozkngOkzFSQd1+/UmQKGrCqdFLu5irIwPXpSZyEw==",
|
|
76
76
|
"cpu": [
|
|
77
77
|
"arm64"
|
|
78
78
|
],
|
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
},
|
|
88
88
|
"node_modules/@openai/codex-linux-x64": {
|
|
89
89
|
"name": "@openai/codex",
|
|
90
|
-
"version": "0.
|
|
91
|
-
"resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.
|
|
92
|
-
"integrity": "sha512-
|
|
90
|
+
"version": "0.139.0-linux-x64",
|
|
91
|
+
"resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.139.0-linux-x64.tgz",
|
|
92
|
+
"integrity": "sha512-14UgzDS+X4crkvdt6S02A/ZZOrS8ZyWiuTRpguCtnhNamb7unSuDxy86BWgpAl3sqiTaN2CP8VLyp2ohQ8Nbzw==",
|
|
93
93
|
"cpu": [
|
|
94
94
|
"x64"
|
|
95
95
|
],
|
|
@@ -104,9 +104,9 @@
|
|
|
104
104
|
},
|
|
105
105
|
"node_modules/@openai/codex-win32-arm64": {
|
|
106
106
|
"name": "@openai/codex",
|
|
107
|
-
"version": "0.
|
|
108
|
-
"resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.
|
|
109
|
-
"integrity": "sha512-
|
|
107
|
+
"version": "0.139.0-win32-arm64",
|
|
108
|
+
"resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.139.0-win32-arm64.tgz",
|
|
109
|
+
"integrity": "sha512-nlwRjsYotH1Rtqu/Q0VwQbIeO2UX1mkHK84Ov9qn/hl29QqqoBtno0tRyqIPbkXFIVQuWiAYXlV3ugLwH5fTrQ==",
|
|
110
110
|
"cpu": [
|
|
111
111
|
"arm64"
|
|
112
112
|
],
|
|
@@ -121,9 +121,9 @@
|
|
|
121
121
|
},
|
|
122
122
|
"node_modules/@openai/codex-win32-x64": {
|
|
123
123
|
"name": "@openai/codex",
|
|
124
|
-
"version": "0.
|
|
125
|
-
"resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.
|
|
126
|
-
"integrity": "sha512-
|
|
124
|
+
"version": "0.139.0-win32-x64",
|
|
125
|
+
"resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.139.0-win32-x64.tgz",
|
|
126
|
+
"integrity": "sha512-lQrVLNz+90wdvWVNFDvCkHQRiAK9ZllmkTka3c8eqSDqdJk35Gpgppfv9Xtw5M2ZBtTq0sBdWBiCMyzGDBSpmQ==",
|
|
127
127
|
"cpu": [
|
|
128
128
|
"x64"
|
|
129
129
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/codex",
|
|
3
|
-
"version": "2026.6.
|
|
3
|
+
"version": "2026.6.6-beta.1",
|
|
4
4
|
"description": "OpenClaw Codex app-server harness and model provider plugin with a Codex-managed GPT catalog.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@openai/codex": "0.
|
|
11
|
+
"@openai/codex": "0.139.0",
|
|
12
12
|
"typebox": "1.1.39",
|
|
13
13
|
"ws": "8.21.0",
|
|
14
14
|
"zod": "4.4.3"
|
|
@@ -26,10 +26,10 @@
|
|
|
26
26
|
"minHostVersion": ">=2026.5.1-beta.1"
|
|
27
27
|
},
|
|
28
28
|
"compat": {
|
|
29
|
-
"pluginApi": ">=2026.6.
|
|
29
|
+
"pluginApi": ">=2026.6.6-beta.1"
|
|
30
30
|
},
|
|
31
31
|
"build": {
|
|
32
|
-
"openclawVersion": "2026.6.
|
|
32
|
+
"openclawVersion": "2026.6.6-beta.1"
|
|
33
33
|
},
|
|
34
34
|
"release": {
|
|
35
35
|
"publishToClawHub": true,
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"README.md"
|
|
48
48
|
],
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"openclaw": ">=2026.6.
|
|
50
|
+
"openclaw": ">=2026.6.6-beta.1"
|
|
51
51
|
},
|
|
52
52
|
"peerDependenciesMeta": {
|
|
53
53
|
"openclaw": {
|