@openclaw/codex 2026.8.2 → 2026.8.33
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/{attempt-client-cleanup-CpVfwctT.js → .setup/attempt-client-cleanup-FBnDjmtX.mjs} +1 -1
- package/dist/{auth-binding-Ds_QVm-X.js → .setup/auth-binding-oyIUSaFi.mjs} +1 -1
- package/dist/{binding-connection-CF7BmrDk.js → .setup/binding-connection-BgiXAp29.mjs} +2 -2
- package/dist/{bounded-turn-DRC3hcjm.js → .setup/bounded-turn-kWYLbaDH.mjs} +9 -9
- package/dist/{capabilities-D6m_TdVy.js → .setup/capabilities-oLHKpYRj.mjs} +1 -1
- package/dist/{command-formatters--UToCokS.js → .setup/command-formatters-DylXEqck.mjs} +2 -2
- package/dist/{command-handlers-CLFx2Ypa.js → .setup/command-handlers-PRe4WEmx.mjs} +18 -18
- package/dist/{compact-5xqW1oCh.js → .setup/compact-K2iOmzQp.mjs} +9 -9
- package/dist/{config-CcYL77O6.js → .setup/config-ClwHKKTN.mjs} +1 -1
- package/dist/{conversation-binding-data-BiodpIzq.js → .setup/conversation-binding-data-CrcyZk6O.mjs} +1 -1
- package/dist/{dynamic-tools-BmeXjwNZ.js → .setup/dynamic-tools-XNStyzzb.mjs} +9 -9
- package/dist/{effective-mcp-catalog-XXQKgK1U.js → .setup/effective-mcp-catalog-BHpifbgx.mjs} +2 -2
- package/dist/{event-projector-assistant-message-C5-Ds8mA.js → .setup/event-projector-assistant-message-BCnzlajn.mjs} +1 -1
- package/dist/{event-projector-usage-B2r5vhWH.js → .setup/event-projector-usage-h7P0Raok.mjs} +1 -1
- package/dist/{harness-BgeB7LnD.js → .setup/harness-CawBdltH.mjs} +14 -14
- package/dist/{isolated-completion-CxTus3vZ.js → .setup/isolated-completion-rL3zrcAe.mjs} +4 -4
- package/dist/{managed-binary-ZkGodW19.js → .setup/managed-binary-DlGr2kYu.mjs} +1 -1
- package/dist/{model-catalog-DULBcniB.js → .setup/model-catalog--miA1cod.mjs} +5 -5
- package/dist/{models-DaWfETQk.js → .setup/models-BNPc8Vr2.mjs} +3 -3
- package/dist/{native-subagent-monitor-vXYUZH37.js → .setup/native-subagent-monitor-mhFvLcPG.mjs} +6 -6
- package/dist/{node-exec-server.runtime-DirKVZ5h.js → .setup/node-exec-server.runtime-BmAZPmrd.mjs} +2 -2
- package/dist/{plugin-approval-roundtrip-CCWQGlAI.js → .setup/plugin-approval-roundtrip-Dlq4n0n8.mjs} +1 -1
- package/dist/{plugin-marketplace-discovery-BXjIFEiw.js → .setup/plugin-marketplace-discovery-KyJdBtCC.mjs} +6 -6
- package/dist/{plugin-metadata-cache-DQQm4gWT.js → .setup/plugin-metadata-cache-RRQ_VJrs.mjs} +5 -5
- package/dist/{rate-limits-BqHEHXQJ.js → .setup/rate-limits-CQUmEcUk.mjs} +1 -1
- package/dist/{request-BWxweEdK.js → .setup/request-fEUi95EK.mjs} +3 -3
- package/dist/{run-attempt-BVLE4Gbi.js → .setup/run-attempt-BJ6tOQeE.mjs} +26 -26
- package/dist/{runtime-artifact-D9pYp4zL.js → .setup/runtime-artifact-D0ssVSlz.mjs} +1 -1
- package/dist/{session-binding-D0zinCP1.js → .setup/session-binding-Bd9dh1Er.mjs} +3 -3
- package/dist/{session-catalog-eMhVm0Ql.js → .setup/session-catalog-eQhJDU41.mjs} +15 -15
- package/dist/{session-catalog-home-id-Dt2GiG5o.js → .setup/session-catalog-home-id-CjyBDShn.mjs} +1 -1
- package/dist/{session-cli-B2lyjJA0.js → .setup/session-cli-mJePHTAs.mjs} +1 -1
- package/dist/{session-history-C5J1AKzG.js → .setup/session-history-Cg8PzgeU.mjs} +1 -1
- package/dist/{session-permission-policy-ScnAyG90.js → .setup/session-permission-policy-C0bdhR_I.mjs} +1 -1
- package/dist/{session-retirement-CtUtUTr9.js → .setup/session-retirement-osjW6zy5.mjs} +4 -4
- package/dist/{session-upstream-marker-gqrYIRHk.js → .setup/session-upstream-marker-CIgMzZku.mjs} +1 -1
- package/dist/{settled-turn-context-Bk3IUwod.js → .setup/settled-turn-context-OxoGQWJK.mjs} +3 -3
- package/dist/{settled-turn-finalizer-BXLN9PfJ.js → .setup/settled-turn-finalizer-D9SoKTb-.mjs} +6 -6
- package/dist/{shared-client-B1tT5U6r.js → .setup/shared-client-DG1kAfGq.mjs} +8 -8
- package/dist/{side-question-CZ-mCw-t.js → .setup/side-question-Bi9chAvD.mjs} +17 -12
- package/dist/{thread-lifecycle-CGGKP720.js → .setup/thread-lifecycle-Cc6I-gbl.mjs} +75 -77
- package/dist/{thread-ownership-RkaoZCmQ.js → .setup/thread-ownership-B3vjUi0P.mjs} +2 -2
- package/dist/{thread-resume-BFt1-ZDa.js → .setup/thread-resume-OMjvue9F.mjs} +5 -5
- package/dist/{transcript-mirror-1ep4XjzF.js → .setup/transcript-mirror-DN-ed7Kf.mjs} +1 -1
- package/dist/{transport-stdio-NT_Dpd9V.js → .setup/transport-stdio-Cu0xKDRo.mjs} +1 -1
- package/dist/{upstream-session-fork-Dc8BFExw.js → .setup/upstream-session-fork-DL7QQ1e_.mjs} +5 -5
- package/dist/{usage-DUhd58gI.js → .setup/usage-dsPLHd8O.mjs} +3 -3
- package/dist/{web-search-provider.runtime-BEmlE7ov.js → .setup/web-search-provider.runtime-BRH3ahFN.mjs} +3 -3
- package/dist/api.js +3 -3
- package/dist/cli-metadata.js +1 -1
- package/dist/doctor-contract-api.js +2 -2
- package/dist/harness.js +1 -1
- package/dist/index.js +29 -29
- package/dist/media-understanding-provider.js +1 -1
- package/dist/web-search-contract-api.js +1 -1
- package/package.json +5 -5
- /package/dist/{context-compaction-activity-BOeJf7yo.js → .setup/context-compaction-activity-BOeJf7yo.mjs} +0 -0
- /package/dist/{elicitation-input-DMkeki8d.js → .setup/elicitation-input-DMkeki8d.mjs} +0 -0
- /package/dist/{image-payload-sanitizer-CnfoUPCE.js → .setup/image-payload-sanitizer-CnfoUPCE.mjs} +0 -0
- /package/dist/{launch-args-sXOAg0SX.js → .setup/launch-args-sXOAg0SX.mjs} +0 -0
- /package/dist/{local-runtime-attribution-B_2mnqhb.js → .setup/local-runtime-attribution-B_2mnqhb.mjs} +0 -0
- /package/dist/{protocol-validators-Bg5rpNxk.js → .setup/protocol-validators-Bg5rpNxk.mjs} +0 -0
- /package/dist/{rolldown-runtime-8H4AJuhK.js → .setup/rolldown-runtime-8H4AJuhK.mjs} +0 -0
- /package/dist/{session-binding-meta-B7aEMU7g.js → .setup/session-binding-meta-B7aEMU7g.mjs} +0 -0
- /package/dist/{upstream-prompt-provenance-LphB8slG.js → .setup/upstream-prompt-provenance-LphB8slG.mjs} +0 -0
- /package/dist/{web-search-provider.shared-BrZmlqyR.js → .setup/web-search-provider.shared-BrZmlqyR.mjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as readUpstreamUserText, n as attachUpstreamUserText, r as readMirrorIdentity, t as attachCodexMirrorIdentity } from "./upstream-prompt-provenance-LphB8slG.
|
|
1
|
+
import { i as readUpstreamUserText, n as attachUpstreamUserText, r as readMirrorIdentity, t as attachCodexMirrorIdentity } from "./upstream-prompt-provenance-LphB8slG.mjs";
|
|
2
2
|
import { asOptionalRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
3
|
import { deliverAgentHarnessUserInputPrompt, embeddedAgentLog, formatErrorMessage, projectAgentHarnessTranscriptMessageForDisplay, runAgentHarnessBeforeMessageWriteHook } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
4
4
|
import { createHash } from "node:crypto";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as normalizeCodexAppServerArgs } from "./launch-args-sXOAg0SX.
|
|
1
|
+
import { t as normalizeCodexAppServerArgs } from "./launch-args-sXOAg0SX.mjs";
|
|
2
2
|
import { readFile, readdir } from "node:fs/promises";
|
|
3
3
|
import { createHash, randomUUID } from "node:crypto";
|
|
4
4
|
import { materializeWindowsSpawnProgram, resolveWindowsSpawnProgram } from "openclaw/plugin-sdk/windows-spawn";
|
package/dist/{upstream-session-fork-Dc8BFExw.js → .setup/upstream-session-fork-DL7QQ1e_.mjs}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as sessionBindingIdentity } from "./session-binding-
|
|
2
|
-
import { a as assertCodexThreadForkResponse } from "./protocol-validators-Bg5rpNxk.
|
|
3
|
-
import { i as readUpstreamUserText, r as readMirrorIdentity } from "./upstream-prompt-provenance-LphB8slG.
|
|
4
|
-
import { c as fingerprintCodexMirrorSourceMessage, m as projectCodexUserItemText, u as readCodexMirrorSourceFingerprint } from "./transcript-mirror-
|
|
5
|
-
import { i as createImportedCodexSession, n as codexUpstreamBaseline, t as codexLastTerminalTurnId } from "./session-upstream-marker-
|
|
1
|
+
import { d as sessionBindingIdentity } from "./session-binding-Bd9dh1Er.mjs";
|
|
2
|
+
import { a as assertCodexThreadForkResponse } from "./protocol-validators-Bg5rpNxk.mjs";
|
|
3
|
+
import { i as readUpstreamUserText, r as readMirrorIdentity } from "./upstream-prompt-provenance-LphB8slG.mjs";
|
|
4
|
+
import { c as fingerprintCodexMirrorSourceMessage, m as projectCodexUserItemText, u as readCodexMirrorSourceFingerprint } from "./transcript-mirror-DN-ed7Kf.mjs";
|
|
5
|
+
import { i as createImportedCodexSession, n as codexUpstreamBaseline, t as codexLastTerminalTurnId } from "./session-upstream-marker-CIgMzZku.mjs";
|
|
6
6
|
import { isRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
7
7
|
import { readVisibleSessionTranscriptMessageEntries } from "openclaw/plugin-sdk/session-transcript-runtime";
|
|
8
8
|
import { deleteSessionUpstreamLink, upsertSessionUpstreamLink } from "openclaw/plugin-sdk/session-catalog";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { i as resolveCodexAppServerRuntimeOptions } from "./config-
|
|
2
|
-
import { n as readCodexAppServerUsage } from "./request-
|
|
3
|
-
import { t as buildCodexAppServerUsageSnapshot } from "./rate-limits-
|
|
1
|
+
import { i as resolveCodexAppServerRuntimeOptions } from "./config-ClwHKKTN.mjs";
|
|
2
|
+
import { n as readCodexAppServerUsage } from "./request-fEUi95EK.mjs";
|
|
3
|
+
import { t as buildCodexAppServerUsageSnapshot } from "./rate-limits-CQUmEcUk.mjs";
|
|
4
4
|
import { CODEX_APP_SERVER_AUTH_MARKER } from "openclaw/plugin-sdk/agent-runtime";
|
|
5
5
|
//#region extensions/codex/src/app-server/usage.ts
|
|
6
6
|
/** Handles the synthetic usage credential for a Codex-backed OpenAI route. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Ht as isJsonObject } from "./shared-client-
|
|
2
|
-
import {
|
|
3
|
-
import { t as runBoundedCodexAppServerTurn } from "./bounded-turn-
|
|
1
|
+
import { Ht as isJsonObject } from "./shared-client-DG1kAfGq.mjs";
|
|
2
|
+
import { S as buildCodexNativeWebSearchThreadConfig } from "./thread-lifecycle-Cc6I-gbl.mjs";
|
|
3
|
+
import { t as runBoundedCodexAppServerTurn } from "./bounded-turn-kWYLbaDH.mjs";
|
|
4
4
|
import { normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
5
5
|
import { readStringParam, resolveSearchTimeoutSeconds, wrapWebContent } from "openclaw/plugin-sdk/provider-web-search";
|
|
6
6
|
//#region extensions/codex/src/web-search-provider.runtime.ts
|
package/dist/api.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as resolveCodexAppServerStartOptionsForAgent, i as resolveCodexAppServerRuntimeOptions } from "
|
|
2
|
-
import { a as CODEX_APP_SERVER_VERSION, n as resolveManagedCodexAppServerStartOptions, r as resolveManagedCodexNativeCommand, t as isManagedCodexDesktopCommand } from "
|
|
1
|
+
import { a as resolveCodexAppServerStartOptionsForAgent, i as resolveCodexAppServerRuntimeOptions } from "./.setup/config-ClwHKKTN.mjs";
|
|
2
|
+
import { a as CODEX_APP_SERVER_VERSION, n as resolveManagedCodexAppServerStartOptions, r as resolveManagedCodexNativeCommand, t as isManagedCodexDesktopCommand } from "./.setup/managed-binary-DlGr2kYu.mjs";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { resolveDefaultModelForAgent } from "openclaw/plugin-sdk/agent-runtime";
|
|
5
5
|
import { listAgentIds as listAgentIds$1, resolveAgentDir as resolveAgentDir$1 } from "openclaw/plugin-sdk/agent-scope-runtime";
|
|
@@ -116,7 +116,7 @@ function createCodexManagedAppServerHealthCheck(params) {
|
|
|
116
116
|
})];
|
|
117
117
|
}
|
|
118
118
|
const detectedVersion = parseCodexVersion(`${output.stdout}\n${output.stderr}`);
|
|
119
|
-
if (detectedVersion !== "0.
|
|
119
|
+
if (detectedVersion !== "0.156.1") return [managedCodexFinding({
|
|
120
120
|
message: detectedVersion ? `Managed Codex app-server version mismatch: expected ${CODEX_APP_SERVER_VERSION}, detected ${detectedVersion}.` : `Managed Codex app-server did not report a parseable version; expected ${CODEX_APP_SERVER_VERSION}.`,
|
|
121
121
|
path: nativeCommand,
|
|
122
122
|
requirement: `the exact OpenClaw-pinned Codex version ${CODEX_APP_SERVER_VERSION}`,
|
package/dist/cli-metadata.js
CHANGED
|
@@ -2,7 +2,7 @@ import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
|
2
2
|
//#region extensions/codex/cli-metadata.ts
|
|
3
3
|
function registerCodexCliMetadata(api) {
|
|
4
4
|
api.registerCli(async ({ program }) => {
|
|
5
|
-
const { registerCodexSessionCli } = await import("
|
|
5
|
+
const { registerCodexSessionCli } = await import("./.setup/session-cli-mJePHTAs.mjs");
|
|
6
6
|
registerCodexSessionCli(program);
|
|
7
7
|
}, { descriptors: [{
|
|
8
8
|
name: "codex",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as CODEX_APP_SERVER_BINDING_NAMESPACE, t as CODEX_APP_SERVER_BINDING_MAX_ENTRIES } from "
|
|
1
|
+
import { n as CODEX_APP_SERVER_BINDING_NAMESPACE, t as CODEX_APP_SERVER_BINDING_MAX_ENTRIES } from "./.setup/session-binding-meta-B7aEMU7g.mjs";
|
|
2
2
|
import { asNullableRecord, asOptionalRecord, isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
3
|
import fs from "node:fs/promises";
|
|
4
4
|
import path from "node:path";
|
|
@@ -392,7 +392,7 @@ async function migrateSource(source, candidates, params, store) {
|
|
|
392
392
|
return await withFileLock(source.sidecarPath, LEGACY_BINDING_LOCK_OPTIONS, async () => {
|
|
393
393
|
const [contents, stat] = await Promise.all([fs.readFile(source.sidecarPath, "utf8"), fs.stat(source.sidecarPath)]);
|
|
394
394
|
const raw = JSON.parse(contents);
|
|
395
|
-
const [{ bindingStoreKey, createStoredCodexAppServerBinding, normalizeStoredCodexAppServerBindingFingerprints, readStoredCodexAppServerBinding }, { legacyCodexConversationBindingId }] = await Promise.all([import("
|
|
395
|
+
const [{ bindingStoreKey, createStoredCodexAppServerBinding, normalizeStoredCodexAppServerBindingFingerprints, readStoredCodexAppServerBinding }, { legacyCodexConversationBindingId }] = await Promise.all([import("./.setup/session-binding-Bd9dh1Er.mjs").then((n) => n.f), import("./.setup/conversation-binding-data-CrcyZk6O.mjs").then((n) => n.t)]);
|
|
396
396
|
const agentId = owner?.agentId ?? (source.agentIds.size === 1 ? [...source.agentIds][0] : void 0);
|
|
397
397
|
const baseStored = createStoredCodexAppServerBinding(raw, {
|
|
398
398
|
now: stat.mtime.toISOString(),
|
package/dist/harness.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as createCodexAppServerNativeCompaction, t as createCodexAppServerAgentHarness } from "
|
|
1
|
+
import { n as createCodexAppServerNativeCompaction, t as createCodexAppServerAgentHarness } from "./.setup/harness-CawBdltH.mjs";
|
|
2
2
|
export { createCodexAppServerAgentHarness, createCodexAppServerNativeCompaction };
|
package/dist/index.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { registerCodexCliMetadata } from "./cli-metadata.js";
|
|
2
|
-
import { n as createCodexAppServerNativeCompaction, t as createCodexAppServerAgentHarness } from "
|
|
3
|
-
import { D as resolveOpenClawExecPolicyForCodexAppServer, T as readCodexPluginConfig, c as assertCodexAppServerConnectionSecurity, i as resolveCodexAppServerRuntimeOptions, j as CODEX_PLUGINS_MARKETPLACE_NAME, n as codexSandboxPolicyForTurn, p as canUseCodexModelBackedApprovalsReviewerForModel, s as resolveCodexSupervisionAppServerRuntimeOptions, t as codexAppServerStartOptionsKey, v as readCodexRequirementsToml } from "
|
|
4
|
-
import { C as withLeasedCodexAppServerClientStartSelectionRetry, Ft as resolveCodexAppServerFallbackApiKeyCacheKey, Ht as isJsonObject, J as isCodexAppServerOverloadError, K as isCodexAppServerIndeterminateRequestCancellationError, Nt as resolveCodexAppServerAuthProfileIdForAgent, St as releaseCodexAppServerLiveThread, Z as isUnsupportedCodexAppServerVersionError, _ as retainSharedCodexAppServerClientByInstanceId, b as retireSharedCodexAppServerClientsBeforeDesktopGeneration, bt as isCodexAppServerLiveThreadClaimed, c as getLeasedSharedCodexAppServerClient, gt as consumeCodexAppServerLiveThread, h as releaseLeasedSharedCodexAppServerClient, jt as resolveCodexAppServerAuthAccountCacheKey, k as createCodexDesktopGenerationService, m as releaseCodexAppServerClientLease, o as clearSharedCodexAppServerClientIfCurrentAndWait, vt as hasCodexAppServerLiveThread, yt as isCodexAppServerClientRuntimeLive, zt as CODEX_INTERACTIVE_THREAD_SOURCE_KINDS } from "
|
|
5
|
-
import { i as setManagedCodexPluginRoot } from "
|
|
6
|
-
import { n as CODEX_APP_SERVER_BINDING_NAMESPACE, t as CODEX_APP_SERVER_BINDING_MAX_ENTRIES } from "
|
|
7
|
-
import { d as sessionBindingIdentity, n as assertCodexBindingMayBeReplaced, o as isCodexAppServerNativeAuthProfile, s as normalizeCodexAppServerBindingModelProvider } from "
|
|
8
|
-
import { o as createCodexAppServerProcessReaperService } from "
|
|
9
|
-
import { r as assertCodexThreadAcceptsDirectInput, s as assertCodexThreadStartResponse, t as CodexThreadDirectInputError } from "
|
|
10
|
-
import { a as closeCodexStartupClientBestEffort, c as isCodexAppServerUnsafeSubscriptionError, f as unsubscribeCodexThreadBestEffort, g as isCodexNotificationForTurn, m as getCodexAppServerTurnRouter, o as interruptCodexTurnAndWaitBestEffort, u as retireUnsafeCodexTurnClientBestEffort } from "
|
|
11
|
-
import { s as isAssistantCommentaryCompletionNotification } from "
|
|
12
|
-
import { i as buildCodexPluginAppCacheKey, s as defaultCodexAppInventoryCache, t as resumeCodexAppServerThread } from "
|
|
13
|
-
import {
|
|
14
|
-
import { a as rollbackCodexAppServerBindingSubscription, c as withExclusiveCodexAppServerThread, i as retireCodexConversationThreadBinding, l as isIncognitoSessionKey, n as releaseCodexAppServerBindingSubscription, r as retainCodexAppServerBindingSubscription, s as withCodexConversationThreadActivity, t as isSameCodexAppServerThreadOwner } from "
|
|
15
|
-
import { c as resolveCodexNativeSandboxBlock, i as requestCodexAppServerJson, o as withCodexAppServerJsonClient, s as resolveCodexNativeExecutionBlock } from "
|
|
16
|
-
import { p as projectBoundedCodexVisibleSessionHistory } from "
|
|
2
|
+
import { n as createCodexAppServerNativeCompaction, t as createCodexAppServerAgentHarness } from "./.setup/harness-CawBdltH.mjs";
|
|
3
|
+
import { D as resolveOpenClawExecPolicyForCodexAppServer, T as readCodexPluginConfig, c as assertCodexAppServerConnectionSecurity, i as resolveCodexAppServerRuntimeOptions, j as CODEX_PLUGINS_MARKETPLACE_NAME, n as codexSandboxPolicyForTurn, p as canUseCodexModelBackedApprovalsReviewerForModel, s as resolveCodexSupervisionAppServerRuntimeOptions, t as codexAppServerStartOptionsKey, v as readCodexRequirementsToml } from "./.setup/config-ClwHKKTN.mjs";
|
|
4
|
+
import { C as withLeasedCodexAppServerClientStartSelectionRetry, Ft as resolveCodexAppServerFallbackApiKeyCacheKey, Ht as isJsonObject, J as isCodexAppServerOverloadError, K as isCodexAppServerIndeterminateRequestCancellationError, Nt as resolveCodexAppServerAuthProfileIdForAgent, St as releaseCodexAppServerLiveThread, Z as isUnsupportedCodexAppServerVersionError, _ as retainSharedCodexAppServerClientByInstanceId, b as retireSharedCodexAppServerClientsBeforeDesktopGeneration, bt as isCodexAppServerLiveThreadClaimed, c as getLeasedSharedCodexAppServerClient, gt as consumeCodexAppServerLiveThread, h as releaseLeasedSharedCodexAppServerClient, jt as resolveCodexAppServerAuthAccountCacheKey, k as createCodexDesktopGenerationService, m as releaseCodexAppServerClientLease, o as clearSharedCodexAppServerClientIfCurrentAndWait, vt as hasCodexAppServerLiveThread, yt as isCodexAppServerClientRuntimeLive, zt as CODEX_INTERACTIVE_THREAD_SOURCE_KINDS } from "./.setup/shared-client-DG1kAfGq.mjs";
|
|
5
|
+
import { i as setManagedCodexPluginRoot } from "./.setup/managed-binary-DlGr2kYu.mjs";
|
|
6
|
+
import { n as CODEX_APP_SERVER_BINDING_NAMESPACE, t as CODEX_APP_SERVER_BINDING_MAX_ENTRIES } from "./.setup/session-binding-meta-B7aEMU7g.mjs";
|
|
7
|
+
import { d as sessionBindingIdentity, n as assertCodexBindingMayBeReplaced, o as isCodexAppServerNativeAuthProfile, s as normalizeCodexAppServerBindingModelProvider } from "./.setup/session-binding-Bd9dh1Er.mjs";
|
|
8
|
+
import { o as createCodexAppServerProcessReaperService } from "./.setup/transport-stdio-Cu0xKDRo.mjs";
|
|
9
|
+
import { r as assertCodexThreadAcceptsDirectInput, s as assertCodexThreadStartResponse, t as CodexThreadDirectInputError } from "./.setup/protocol-validators-Bg5rpNxk.mjs";
|
|
10
|
+
import { a as closeCodexStartupClientBestEffort, c as isCodexAppServerUnsafeSubscriptionError, f as unsubscribeCodexThreadBestEffort, g as isCodexNotificationForTurn, m as getCodexAppServerTurnRouter, o as interruptCodexTurnAndWaitBestEffort, u as retireUnsafeCodexTurnClientBestEffort } from "./.setup/attempt-client-cleanup-FBnDjmtX.mjs";
|
|
11
|
+
import { s as isAssistantCommentaryCompletionNotification } from "./.setup/event-projector-usage-h7P0Raok.mjs";
|
|
12
|
+
import { i as buildCodexPluginAppCacheKey, s as defaultCodexAppInventoryCache, t as resumeCodexAppServerThread } from "./.setup/thread-resume-OMjvue9F.mjs";
|
|
13
|
+
import { E as CODEX_NATIVE_PERSONALITY_NONE, M as CODEX_MANAGED_THREAD_NAMESPACE, N as createCodexManagedThreadStore, O as resolveCodexAppServerRequestModelSelection, T as buildCodexProjectDocThreadConfig, ct as ensureCodexPluginActivation, ft as pluginReadParams, it as buildDisabledAppsConfigPatch, j as CODEX_MANAGED_THREAD_MAX_ENTRIES, ot as mergeCodexThreadConfigs, ut as isOpenAiCuratedMarketplace } from "./.setup/thread-lifecycle-Cc6I-gbl.mjs";
|
|
14
|
+
import { a as rollbackCodexAppServerBindingSubscription, c as withExclusiveCodexAppServerThread, i as retireCodexConversationThreadBinding, l as isIncognitoSessionKey, n as releaseCodexAppServerBindingSubscription, r as retainCodexAppServerBindingSubscription, s as withCodexConversationThreadActivity, t as isSameCodexAppServerThreadOwner } from "./.setup/thread-ownership-B3vjUi0P.mjs";
|
|
15
|
+
import { c as resolveCodexNativeSandboxBlock, i as requestCodexAppServerJson, o as withCodexAppServerJsonClient, s as resolveCodexNativeExecutionBlock } from "./.setup/request-fEUi95EK.mjs";
|
|
16
|
+
import { p as projectBoundedCodexVisibleSessionHistory } from "./.setup/transcript-mirror-DN-ed7Kf.mjs";
|
|
17
17
|
import { buildCodexMediaUnderstandingProvider } from "./media-understanding-provider.js";
|
|
18
|
-
import { n as describeControlFailure, t as CODEX_CONTROL_METHODS } from "
|
|
19
|
-
import { r as formatCodexDisplayText } from "
|
|
20
|
-
import { a as resolveCodexAppServerForModelProvider, i as resolveCodexSessionPermissionCwd, n as applyCodexSessionPermissionPolicy, t as CODEX_SESSION_PERMISSION_EXEC_MODES } from "
|
|
21
|
-
import { f as trackCodexConversationActiveTurn, g as canMutateCodexHost, h as CODEX_NATIVE_EXECUTION_AUTH_ERROR, t as discoverCodexMarketplacePlugins } from "
|
|
22
|
-
import { a as readCodexConversationBindingDataRecord, i as readCodexConversationBindingData, o as resolveCodexDefaultWorkspaceDir, r as createCodexConversationBindingData } from "
|
|
23
|
-
import { n as resolveCodexBindingAppServerConnection } from "
|
|
24
|
-
import { d as createCodexCliSessionNodeHostCommands, f as createCodexCliSessionNodeInvokePolicies, g as resumeCodexCliSessionOnNode, h as resolveCodexCliSessionForBindingOnNode, i as createCodexSessionCatalogNodeHostCommands, m as listCodexCliSessionsOnNode, n as createCodexSessionCatalogNodeInvokePolicies, o as assertCodexArchiveDescendantsUnowned, r as createCodexSessionCatalogControl, s as codexControlRequest, t as codexSessionCatalogRuntime } from "
|
|
25
|
-
import { t as createCodexWebSearchProviderBase } from "
|
|
18
|
+
import { n as describeControlFailure, t as CODEX_CONTROL_METHODS } from "./.setup/capabilities-oLHKpYRj.mjs";
|
|
19
|
+
import { r as formatCodexDisplayText } from "./.setup/command-formatters-DylXEqck.mjs";
|
|
20
|
+
import { a as resolveCodexAppServerForModelProvider, i as resolveCodexSessionPermissionCwd, n as applyCodexSessionPermissionPolicy, t as CODEX_SESSION_PERMISSION_EXEC_MODES } from "./.setup/session-permission-policy-C0bdhR_I.mjs";
|
|
21
|
+
import { f as trackCodexConversationActiveTurn, g as canMutateCodexHost, h as CODEX_NATIVE_EXECUTION_AUTH_ERROR, t as discoverCodexMarketplacePlugins } from "./.setup/plugin-marketplace-discovery-KyJdBtCC.mjs";
|
|
22
|
+
import { a as readCodexConversationBindingDataRecord, i as readCodexConversationBindingData, o as resolveCodexDefaultWorkspaceDir, r as createCodexConversationBindingData } from "./.setup/conversation-binding-data-CrcyZk6O.mjs";
|
|
23
|
+
import { n as resolveCodexBindingAppServerConnection } from "./.setup/binding-connection-BgiXAp29.mjs";
|
|
24
|
+
import { d as createCodexCliSessionNodeHostCommands, f as createCodexCliSessionNodeInvokePolicies, g as resumeCodexCliSessionOnNode, h as resolveCodexCliSessionForBindingOnNode, i as createCodexSessionCatalogNodeHostCommands, m as listCodexCliSessionsOnNode, n as createCodexSessionCatalogNodeInvokePolicies, o as assertCodexArchiveDescendantsUnowned, r as createCodexSessionCatalogControl, s as codexControlRequest, t as codexSessionCatalogRuntime } from "./.setup/session-catalog-eQhJDU41.mjs";
|
|
25
|
+
import { t as createCodexWebSearchProviderBase } from "./.setup/web-search-provider.shared-BrZmlqyR.mjs";
|
|
26
26
|
import { mutateConfigFile } from "openclaw/plugin-sdk/config-mutation";
|
|
27
27
|
import { normalizePluginsConfig, resolveEffectiveEnableState, resolveLivePluginConfigObject, resolvePluginConfigObject } from "openclaw/plugin-sdk/plugin-config-runtime";
|
|
28
28
|
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
@@ -181,7 +181,7 @@ function waitForReconnect(delayMs, signal) {
|
|
|
181
181
|
/** Defers schema compilation and auth loading until the first binding operation. */
|
|
182
182
|
function createLazyCodexAppServerBindingStore(state, managedThreadState) {
|
|
183
183
|
let resolved;
|
|
184
|
-
const store = () => resolved ??= import("
|
|
184
|
+
const store = () => resolved ??= import("./.setup/session-binding-Bd9dh1Er.mjs").then((n) => n.f).then(({ createCodexAppServerBindingStore }) => createCodexAppServerBindingStore(state));
|
|
185
185
|
const managedThreads = managedThreadState ? createCodexManagedThreadStore(managedThreadState) : void 0;
|
|
186
186
|
return {
|
|
187
187
|
...managedThreads ? { managedThreads } : {},
|
|
@@ -212,7 +212,7 @@ async function handleCodexCommand(ctx, options) {
|
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
214
|
async function loadDefaultCodexSubcommandHandler() {
|
|
215
|
-
const { handleCodexSubcommand } = await import("
|
|
215
|
+
const { handleCodexSubcommand } = await import("./.setup/command-handlers-PRe4WEmx.mjs");
|
|
216
216
|
return handleCodexSubcommand;
|
|
217
217
|
}
|
|
218
218
|
//#endregion
|
|
@@ -3267,7 +3267,7 @@ function createCodexNodeExecServerCommand() {
|
|
|
3267
3267
|
try {
|
|
3268
3268
|
if (!context.prepareExecAuthorization) throw new Error("Codex node execution requires node-local exec policy support; update the node.");
|
|
3269
3269
|
const assertExecAuthorized = context.prepareExecAuthorization(request.authorization);
|
|
3270
|
-
const { runCodexNodeExecServer } = await import("
|
|
3270
|
+
const { runCodexNodeExecServer } = await import("./.setup/node-exec-server.runtime-BmAZPmrd.mjs");
|
|
3271
3271
|
return await runCodexNodeExecServer({
|
|
3272
3272
|
workspaceDir: workspace.workspaceDir,
|
|
3273
3273
|
io,
|
|
@@ -4148,7 +4148,7 @@ function createCodexSupervisionTools(options) {
|
|
|
4148
4148
|
}
|
|
4149
4149
|
//#endregion
|
|
4150
4150
|
//#region extensions/codex/src/web-search-provider.ts
|
|
4151
|
-
const loadCodexWebSearchRuntime = createLazyRuntimeModule(() => import("
|
|
4151
|
+
const loadCodexWebSearchRuntime = createLazyRuntimeModule(() => import("./.setup/web-search-provider.runtime-BRH3ahFN.mjs"));
|
|
4152
4152
|
const CodexWebSearchSchema = {
|
|
4153
4153
|
type: "object",
|
|
4154
4154
|
properties: { query: {
|
|
@@ -4383,7 +4383,7 @@ var codex_default = definePluginEntry({
|
|
|
4383
4383
|
if (!previousSessionId || !sessionId || previousSessionId === sessionId) return;
|
|
4384
4384
|
const config = resolveCurrentConfig();
|
|
4385
4385
|
const sessionKey = ctx.sessionKey?.trim();
|
|
4386
|
-
const { sessionBindingIdentity } = await import("
|
|
4386
|
+
const { sessionBindingIdentity } = await import("./.setup/session-binding-Bd9dh1Er.mjs").then((n) => n.f);
|
|
4387
4387
|
const identity = sessionBindingIdentity({
|
|
4388
4388
|
sessionId,
|
|
4389
4389
|
...sessionKey ? { sessionKey } : {},
|
|
@@ -4401,7 +4401,7 @@ var codex_default = definePluginEntry({
|
|
|
4401
4401
|
if (endedSessionKey && nextSessionKey && nextSessionKey !== endedSessionKey) return;
|
|
4402
4402
|
if (event.nextSessionId?.trim() === event.sessionId.trim()) return;
|
|
4403
4403
|
const config = resolveCurrentConfig();
|
|
4404
|
-
const [{ sessionBindingIdentity }, { retireCodexAppServerSessionGeneration }] = await Promise.all([import("
|
|
4404
|
+
const [{ sessionBindingIdentity }, { retireCodexAppServerSessionGeneration }] = await Promise.all([import("./.setup/session-binding-Bd9dh1Er.mjs").then((n) => n.f), import("./.setup/session-retirement-osjW6zy5.mjs")]);
|
|
4405
4405
|
await retireCodexAppServerSessionGeneration({
|
|
4406
4406
|
bindingStore,
|
|
4407
4407
|
identity: sessionBindingIdentity({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as runBoundedCodexAppServerTurn } from "
|
|
1
|
+
import { t as runBoundedCodexAppServerTurn } from "./.setup/bounded-turn-kWYLbaDH.mjs";
|
|
2
2
|
import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
3
|
import { validateJsonSchemaValue } from "openclaw/plugin-sdk/json-schema-runtime";
|
|
4
4
|
//#region extensions/codex/media-understanding-provider.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as createCodexWebSearchProviderBase } from "
|
|
1
|
+
import { t as createCodexWebSearchProviderBase } from "./.setup/web-search-provider.shared-BrZmlqyR.mjs";
|
|
2
2
|
//#region extensions/codex/web-search-contract-api.ts
|
|
3
3
|
function createCodexWebSearchProvider() {
|
|
4
4
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/codex",
|
|
3
|
-
"version": "2026.8.
|
|
3
|
+
"version": "2026.8.33",
|
|
4
4
|
"description": "OpenClaw Codex app-server harness and native session supervision plugin.",
|
|
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.156.1",
|
|
12
12
|
"semver": "7.8.5",
|
|
13
13
|
"smol-toml": "1.8.0",
|
|
14
14
|
"typebox": "1.3.17",
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
]
|
|
37
37
|
},
|
|
38
38
|
"compat": {
|
|
39
|
-
"pluginApi": ">=2026.8.
|
|
39
|
+
"pluginApi": ">=2026.8.33"
|
|
40
40
|
},
|
|
41
41
|
"build": {
|
|
42
|
-
"openclawVersion": "2026.8.
|
|
42
|
+
"openclawVersion": "2026.8.33"
|
|
43
43
|
},
|
|
44
44
|
"release": {
|
|
45
45
|
"publishToClawHub": true,
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"README.md"
|
|
60
60
|
],
|
|
61
61
|
"peerDependencies": {
|
|
62
|
-
"openclaw": ">=2026.8.
|
|
62
|
+
"openclaw": ">=2026.8.33"
|
|
63
63
|
},
|
|
64
64
|
"peerDependenciesMeta": {
|
|
65
65
|
"openclaw": {
|
|
File without changes
|
|
File without changes
|
/package/dist/{image-payload-sanitizer-CnfoUPCE.js → .setup/image-payload-sanitizer-CnfoUPCE.mjs}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|