@openclaw/codex 2026.7.1-beta.1 → 2026.7.1-beta.4
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/{app-server-policy-xi0ZmBGO.js → app-server-policy-BUk0GLMy.js} +5 -5
- package/dist/{attempt-notifications-l9LElGOU.js → attempt-notifications-BGsEIIDI.js} +5 -40
- package/dist/{command-handlers-vZy8xX5X.js → command-handlers-UVniG5Hl.js} +267 -232
- package/dist/command-rpc-BjgEPh19.js +784 -0
- package/dist/compact-CZzbcygx.js +603 -0
- package/dist/{computer-use-FPGG-mtX.js → computer-use-DDeySrnb.js} +3 -3
- package/dist/{config-C_whBx3M.js → config-CYEDnLJ2.js} +36 -15
- package/dist/conversation-binding-data-BHRpYbX3.js +121 -0
- package/dist/doctor-contract-api.js +439 -22
- package/dist/harness.js +29 -10
- package/dist/index.js +1119 -28
- package/dist/{media-understanding-provider-C5yYzx_6.js → media-understanding-provider-DgqRvU2_.js} +13 -8
- package/dist/media-understanding-provider.js +1 -1
- package/dist/{models-Ccy1_7nN.js → models-DDmO1zwd.js} +2 -2
- package/dist/notification-correlation-Bo7KB3ks.js +35 -0
- package/dist/{plugin-app-cache-key-CDioyur-.js → plugin-app-cache-key-o-AHbdaf.js} +8 -4
- package/dist/{protocol-dh-ETiNd.js → protocol-2POPqAY4.js} +2 -1
- package/dist/{protocol-validators-CB4mtyrs.js → protocol-validators-dZQ-UTOa.js} +117 -62
- package/dist/{provider-capabilities-CE5k8cmO.js → provider-capabilities-gTCwjfmh.js} +2920 -114
- package/dist/{provider-DosqwRb6.js → provider-cc_62eQE.js} +19 -10
- package/dist/provider.js +2 -2
- package/dist/{request-BQuSQF29.js → request-BcJyl8KL.js} +2 -2
- package/dist/{run-attempt-O3Zs32KI.js → run-attempt-8SPLiDlT.js} +1016 -2877
- package/dist/{sandbox-guard-pTY2COoC.js → sandbox-guard-DA2TQfZW.js} +3 -3
- package/dist/session-binding-Dc03iwRF.js +595 -0
- package/dist/session-binding-meta-B7aEMU7g.js +6 -0
- package/dist/{shared-client-rR6TDJA3.js → shared-client-4ICy3U6d.js} +892 -103
- package/dist/{side-question-DDVgFmpv.js → side-question-DkjXvYv7.js} +132 -140
- package/dist/{thread-lifecycle-DeSMZSXr.js → thread-lifecycle-BskXnNP-.js} +609 -444
- package/dist/{web-search-provider.runtime-Q89rQhsL.js → web-search-provider.runtime-B5F42P7x.js} +3 -3
- package/npm-shrinkwrap.json +34 -34
- package/openclaw.plugin.json +20 -0
- package/package.json +9 -6
- package/dist/client-IcTBKEqA.js +0 -732
- package/dist/client-factory-CwjdQQ4j.js +0 -18
- package/dist/compact-BzB9AqN1.js +0 -278
- package/dist/conversation-binding-CEE2UyYb.js +0 -1570
- package/dist/rate-limit-cache-C7qmZ0Jh.js +0 -26
- package/dist/session-binding-Cm0Gg7Z1.js +0 -339
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CODEX_APP_SERVER_AUTH_MARKER, CODEX_BASE_URL, CODEX_PROVIDER_ID, FALLBACK_CODEX_MODELS, buildCodexModelDefinition, buildCodexProviderConfig } from "./provider-catalog.js";
|
|
2
|
-
import {
|
|
3
|
-
import { d as resolveCodexAppServerRuntimeOptions, u as readCodexPluginConfig } from "./config-
|
|
2
|
+
import { r as isJsonObject } from "./protocol-2POPqAY4.js";
|
|
3
|
+
import { d as resolveCodexAppServerRuntimeOptions, u as readCodexPluginConfig } from "./config-CYEDnLJ2.js";
|
|
4
4
|
import { resolveCodexSystemPromptContribution } from "./prompt-overlay.js";
|
|
5
5
|
import { resolvePluginConfigObject } from "openclaw/plugin-sdk/plugin-config-runtime";
|
|
6
6
|
import { MAX_DATE_TIMESTAMP_MS, resolveExpiresAtMsFromEpochSeconds } from "openclaw/plugin-sdk/number-runtime";
|
|
@@ -418,6 +418,11 @@ const CODEX_REASONING_EFFORTS = [
|
|
|
418
418
|
"xhigh",
|
|
419
419
|
"max"
|
|
420
420
|
];
|
|
421
|
+
const GPT_5_PRO_REASONING_EFFORTS = [
|
|
422
|
+
"medium",
|
|
423
|
+
"high",
|
|
424
|
+
"xhigh"
|
|
425
|
+
];
|
|
421
426
|
/**
|
|
422
427
|
* Builds the Codex provider plugin, including setup metadata, catalog discovery,
|
|
423
428
|
* dynamic model resolution, and prompt/thinking hooks.
|
|
@@ -545,11 +550,11 @@ async function listModelsBestEffort(params) {
|
|
|
545
550
|
}
|
|
546
551
|
}
|
|
547
552
|
async function listCodexAppServerModelsLazy(options) {
|
|
548
|
-
const { listCodexAppServerModels } = await import("./models-
|
|
553
|
+
const { listCodexAppServerModels } = await import("./models-DDmO1zwd.js").then((n) => n.r);
|
|
549
554
|
return listCodexAppServerModels(options);
|
|
550
555
|
}
|
|
551
556
|
async function requestCodexAppServerRateLimitsLazy(options) {
|
|
552
|
-
const { requestCodexAppServerJson } = await import("./request-
|
|
557
|
+
const { requestCodexAppServerJson } = await import("./request-BcJyl8KL.js").then((n) => n.n);
|
|
553
558
|
return await requestCodexAppServerJson({
|
|
554
559
|
method: "account/rateLimits/read",
|
|
555
560
|
timeoutMs: options.timeoutMs,
|
|
@@ -586,6 +591,8 @@ function readCodexSupportedReasoningEfforts(compat) {
|
|
|
586
591
|
}
|
|
587
592
|
function resolveCodexThinkingEfforts(params) {
|
|
588
593
|
if (params.supportedReasoningEfforts) return normalizeCodexReasoningEfforts(params.supportedReasoningEfforts);
|
|
594
|
+
const fallbackEfforts = resolveCodexFallbackReasoningEfforts(params.modelId);
|
|
595
|
+
if (fallbackEfforts) return [...fallbackEfforts];
|
|
589
596
|
return [
|
|
590
597
|
"minimal",
|
|
591
598
|
"low",
|
|
@@ -602,13 +609,15 @@ function resolveCodexSupportedReasoningEffort(params) {
|
|
|
602
609
|
const requestedRank = CODEX_REASONING_EFFORTS.indexOf(params.requested);
|
|
603
610
|
return supported.find((effort) => CODEX_REASONING_EFFORTS.indexOf(effort) >= requestedRank) ?? supported.at(-1);
|
|
604
611
|
}
|
|
605
|
-
/**
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
612
|
+
/** Return the known effort contract when app-server model metadata is unavailable. */
|
|
613
|
+
function resolveCodexFallbackReasoningEfforts(modelId) {
|
|
614
|
+
const normalized = modelId.trim().toLowerCase();
|
|
615
|
+
return normalized === "gpt-5.5-pro" || normalized === "gpt-5.4-pro" ? GPT_5_PRO_REASONING_EFFORTS : void 0;
|
|
616
|
+
}
|
|
617
|
+
/** Return whether the model uses the modern Codex reasoning profile. */
|
|
609
618
|
function isModernCodexModel(modelId) {
|
|
610
619
|
const lower = modelId.trim().toLowerCase();
|
|
611
|
-
return lower === "gpt-5.6" || lower.startsWith("gpt-5.6-") || lower === "gpt-5.5" || lower === "gpt-5.4" || lower === "gpt-5.4-mini" || lower === "gpt-5.3-codex-spark";
|
|
620
|
+
return lower === "gpt-5.6" || lower.startsWith("gpt-5.6-") || lower === "gpt-5.5" || lower === "gpt-5.5-pro" || lower === "gpt-5.4" || lower === "gpt-5.4-pro" || lower === "gpt-5.4-mini" || lower === "gpt-5.3-codex-spark";
|
|
612
621
|
}
|
|
613
622
|
/** Return whether Codex accepts the preview GPT-5.6 `max` reasoning effort. */
|
|
614
623
|
function isMaxReasoningCodexModel(modelId) {
|
|
@@ -616,4 +625,4 @@ function isMaxReasoningCodexModel(modelId) {
|
|
|
616
625
|
return lower === "gpt-5.6" || lower.startsWith("gpt-5.6-");
|
|
617
626
|
}
|
|
618
627
|
//#endregion
|
|
619
|
-
export { readCodexSupportedReasoningEfforts as a,
|
|
628
|
+
export { readCodexSupportedReasoningEfforts as a, formatCodexUsageLimitErrorMessage as c, shouldRefreshCodexRateLimitsForUsageLimitMessage as d, summarizeCodexAccountRateLimits as f, isModernCodexModel as i, hasCodexRateLimitSnapshots as l, summarizeCodexRateLimits as m, buildCodexProviderCatalog as n, resolveCodexFallbackReasoningEfforts as o, summarizeCodexAccountUsage as p, isMaxReasoningCodexModel as r, resolveCodexSupportedReasoningEffort as s, buildCodexProvider as t, resolveCodexUsageLimitResetAtMs as u };
|
package/dist/provider.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as readCodexSupportedReasoningEfforts, i as isModernCodexModel, n as buildCodexProviderCatalog, o as
|
|
2
|
-
export { buildCodexProvider, buildCodexProviderCatalog, isMaxReasoningCodexModel, isModernCodexModel, readCodexSupportedReasoningEfforts, resolveCodexSupportedReasoningEffort };
|
|
1
|
+
import { a as readCodexSupportedReasoningEfforts, i as isModernCodexModel, n as buildCodexProviderCatalog, o as resolveCodexFallbackReasoningEfforts, r as isMaxReasoningCodexModel, s as resolveCodexSupportedReasoningEffort, t as buildCodexProvider } from "./provider-cc_62eQE.js";
|
|
2
|
+
export { buildCodexProvider, buildCodexProviderCatalog, isMaxReasoningCodexModel, isModernCodexModel, readCodexSupportedReasoningEfforts, resolveCodexFallbackReasoningEfforts, resolveCodexSupportedReasoningEffort };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
|
|
2
|
-
import { a as getLeasedSharedCodexAppServerClient, i as createIsolatedCodexAppServerClient, l as withTimeout, o as releaseLeasedSharedCodexAppServerClient } from "./shared-client-
|
|
3
|
-
import { t as resolveCodexAppServerDirectSandboxBypassBlock } from "./sandbox-guard-
|
|
2
|
+
import { a as getLeasedSharedCodexAppServerClient, i as createIsolatedCodexAppServerClient, l as withTimeout, o as releaseLeasedSharedCodexAppServerClient } from "./shared-client-4ICy3U6d.js";
|
|
3
|
+
import { t as resolveCodexAppServerDirectSandboxBypassBlock } from "./sandbox-guard-DA2TQfZW.js";
|
|
4
4
|
//#region extensions/codex/src/app-server/request.ts
|
|
5
5
|
var request_exports = /* @__PURE__ */ __exportAll({ requestCodexAppServerJson: () => requestCodexAppServerJson });
|
|
6
6
|
async function requestCodexAppServerJson(params) {
|