@openclaw/codex 2026.7.2-beta.4 → 2026.7.2-beta.7
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-BO3jYBkv.js → app-server-policy-BSaO2JIT.js} +1 -1
- package/dist/{attempt-notifications-DdmnBMUp.js → attempt-notifications-AP-a-Q5k.js} +1 -1
- package/dist/{bounded-turn-CaQL96kg.js → bounded-turn-D2ZAgZVz.js} +54 -24
- package/dist/{capabilities-CLICvTxf.js → capabilities-BFDTVYr4.js} +1 -1
- package/dist/cli-metadata.js +1 -1
- package/dist/{command-formatters-DgADqnHa.js → command-formatters-C336eRVS.js} +2 -2
- package/dist/{command-handlers-l_lVPNlB.js → command-handlers-DAHUSry9.js} +1233 -1222
- package/dist/{compact-CC5KhBzX.js → compact-D_uvHurS.js} +8 -8
- package/dist/{computer-use-Ip1-QGa-.js → computer-use-CYEc8U3w.js} +123 -115
- package/dist/{conversation-control-sNPsbTCP.js → conversation-control-xsIeXbo4.js} +6 -6
- package/dist/doctor-contract-api.js +24 -86
- package/dist/{dynamic-tools-CQI3UwqY.js → dynamic-tools-D2gYkSBO.js} +482 -91
- package/dist/effective-mcp-catalog-Bbd98Inw.js +114 -0
- package/dist/{event-projector-usage-D6tE7_qD.js → event-projector-usage-Xp4AlR2k.js} +20 -3
- package/dist/harness.js +19 -14
- package/dist/index.js +292 -328
- package/dist/media-understanding-provider.js +6 -1
- package/dist/{models-BNeMlHgg.js → models-BBMKU4jA.js} +2 -2
- package/dist/{notification-correlation-BGLixv5_.js → notification-correlation-CU6_AnOb.js} +3 -3
- package/dist/{plugin-app-cache-key-CvzvmBRz.js → plugin-app-cache-key-DztPafOA.js} +135 -42
- package/dist/{rate-limits-D0IJT-a6.js → rate-limits-CU-gVCCS.js} +1 -1
- package/dist/{request-BTccUTD3.js → request-qKh331yu.js} +3 -3
- package/dist/{run-attempt--858NXDl.js → run-attempt-CY9WlDLc.js} +1060 -402
- package/dist/{runtime-artifact-C2ITXdhM.js → runtime-artifact-CmtG_t1L.js} +90 -24
- package/dist/{sandbox-guard-D1Wky__S.js → sandbox-guard-NuhpXmPB.js} +4 -0
- package/dist/{session-binding-ZSMX1omP.js → session-binding-BXpo9ymA.js} +1006 -891
- package/dist/{session-catalog-DsKaezgR.js → session-catalog-DyOgR4WH.js} +289 -56
- package/dist/{session-cli-CYJTfRLG.js → session-cli-2PZaFLRh.js} +2 -2
- package/dist/{session-upstream-marker-D7XlI9us.js → session-upstream-marker-B6U7tLw5.js} +1 -1
- package/dist/{settled-turn-finalizer-DHltNgtF.js → settled-turn-finalizer-CXY2Z9dT.js} +19 -6
- package/dist/{shared-client-wmgNFNYp.js → shared-client-DTbvH-XV.js} +1993 -1720
- package/dist/{side-question-BfFZCsJ-.js → side-question-_ulBk1AL.js} +12 -10
- package/dist/{thread-lifecycle-cqrOlJkq.js → thread-lifecycle-DF53ogiA.js} +980 -346
- package/dist/{transcript-mirror-2p7kl6e4.js → transcript-mirror-DzsdNCf5.js} +80 -41
- package/dist/{upstream-session-fork-vPjwkT1i.js → upstream-session-fork-Dy4Xvuoj.js} +3 -3
- package/dist/{usage-DM_I3mPT.js → usage-CQ6GhD5-.js} +3 -3
- package/dist/{web-search-provider.runtime-Bx6HAc_k.js → web-search-provider.runtime-CCFhg2z5.js} +3 -3
- package/package.json +6 -8
- package/npm-shrinkwrap.json +0 -202
- package/dist/{auth-binding-C1czuHPA.js → auth-binding-B4FfbcCg.js} +1 -1
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { embeddedAgentLog, formatErrorMessage, projectAgentHarnessTranscriptMessageForDisplay, runAgentHarnessBeforeMessageWriteHook } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
1
2
|
import { createHash } from "node:crypto";
|
|
2
3
|
import { isRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
3
|
-
import { embeddedAgentLog, formatErrorMessage, projectAgentHarnessTranscriptMessageForDisplay, runAgentHarnessBeforeMessageWriteHook } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
4
4
|
import { Compile } from "typebox/compile";
|
|
5
5
|
import { Buffer } from "node:buffer";
|
|
6
|
-
import {
|
|
6
|
+
import { withCodexSessionTranscriptMirrorWriteLock } from "openclaw/plugin-sdk/codex-session-transcript-runtime";
|
|
7
|
+
import { publishSessionTranscriptUpdateByIdentity } from "openclaw/plugin-sdk/session-transcript-runtime";
|
|
7
8
|
//#region extensions/codex/src/app-server/protocol-generated/json/DynamicToolCallParams.json
|
|
8
9
|
var DynamicToolCallParams_default = {
|
|
9
10
|
$schema: "http://json-schema.org/draft-07/schema#",
|
|
@@ -1047,6 +1048,11 @@ var ThreadResumeResponse_default = {
|
|
|
1047
1048
|
"description": "Identifier for this thread. Codex-generated thread IDs are UUIDv7.",
|
|
1048
1049
|
"type": "string"
|
|
1049
1050
|
},
|
|
1051
|
+
"isPinned": {
|
|
1052
|
+
"default": false,
|
|
1053
|
+
"description": "Whether the thread has been pinned by the user.",
|
|
1054
|
+
"type": "boolean"
|
|
1055
|
+
},
|
|
1050
1056
|
"modelProvider": {
|
|
1051
1057
|
"description": "Model provider used for this thread (for example, 'openai').",
|
|
1052
1058
|
"type": "string"
|
|
@@ -1270,10 +1276,20 @@ var ThreadResumeResponse_default = {
|
|
|
1270
1276
|
"type": ["integer", "null"]
|
|
1271
1277
|
},
|
|
1272
1278
|
"id": { "type": "string" },
|
|
1279
|
+
"pluginId": {
|
|
1280
|
+
"default": null,
|
|
1281
|
+
"description": "Trusted first-party plugin id when this command resolves to one plugin script.",
|
|
1282
|
+
"type": ["string", "null"]
|
|
1283
|
+
},
|
|
1273
1284
|
"processId": {
|
|
1274
1285
|
"description": "Identifier for the underlying PTY process (when available).",
|
|
1275
1286
|
"type": ["string", "null"]
|
|
1276
1287
|
},
|
|
1288
|
+
"scriptPath": {
|
|
1289
|
+
"default": null,
|
|
1290
|
+
"description": "Safe plugin-relative path when this command resolves to one plugin script.",
|
|
1291
|
+
"type": ["string", "null"]
|
|
1292
|
+
},
|
|
1277
1293
|
"source": {
|
|
1278
1294
|
"allOf": [{ "$ref": "#/definitions/CommandExecutionSource" }],
|
|
1279
1295
|
"default": "agent"
|
|
@@ -2748,6 +2764,11 @@ var ThreadStartResponse_default = {
|
|
|
2748
2764
|
"description": "Identifier for this thread. Codex-generated thread IDs are UUIDv7.",
|
|
2749
2765
|
"type": "string"
|
|
2750
2766
|
},
|
|
2767
|
+
"isPinned": {
|
|
2768
|
+
"default": false,
|
|
2769
|
+
"description": "Whether the thread has been pinned by the user.",
|
|
2770
|
+
"type": "boolean"
|
|
2771
|
+
},
|
|
2751
2772
|
"modelProvider": {
|
|
2752
2773
|
"description": "Model provider used for this thread (for example, 'openai').",
|
|
2753
2774
|
"type": "string"
|
|
@@ -2971,10 +2992,20 @@ var ThreadStartResponse_default = {
|
|
|
2971
2992
|
"type": ["integer", "null"]
|
|
2972
2993
|
},
|
|
2973
2994
|
"id": { "type": "string" },
|
|
2995
|
+
"pluginId": {
|
|
2996
|
+
"default": null,
|
|
2997
|
+
"description": "Trusted first-party plugin id when this command resolves to one plugin script.",
|
|
2998
|
+
"type": ["string", "null"]
|
|
2999
|
+
},
|
|
2974
3000
|
"processId": {
|
|
2975
3001
|
"description": "Identifier for the underlying PTY process (when available).",
|
|
2976
3002
|
"type": ["string", "null"]
|
|
2977
3003
|
},
|
|
3004
|
+
"scriptPath": {
|
|
3005
|
+
"default": null,
|
|
3006
|
+
"description": "Safe plugin-relative path when this command resolves to one plugin script.",
|
|
3007
|
+
"type": ["string", "null"]
|
|
3008
|
+
},
|
|
2978
3009
|
"source": {
|
|
2979
3010
|
"allOf": [{ "$ref": "#/definitions/CommandExecutionSource" }],
|
|
2980
3011
|
"default": "agent"
|
|
@@ -4283,10 +4314,20 @@ var TurnCompletedNotification_default = {
|
|
|
4283
4314
|
"type": ["integer", "null"]
|
|
4284
4315
|
},
|
|
4285
4316
|
"id": { "type": "string" },
|
|
4317
|
+
"pluginId": {
|
|
4318
|
+
"default": null,
|
|
4319
|
+
"description": "Trusted first-party plugin id when this command resolves to one plugin script.",
|
|
4320
|
+
"type": ["string", "null"]
|
|
4321
|
+
},
|
|
4286
4322
|
"processId": {
|
|
4287
4323
|
"description": "Identifier for the underlying PTY process (when available).",
|
|
4288
4324
|
"type": ["string", "null"]
|
|
4289
4325
|
},
|
|
4326
|
+
"scriptPath": {
|
|
4327
|
+
"default": null,
|
|
4328
|
+
"description": "Safe plugin-relative path when this command resolves to one plugin script.",
|
|
4329
|
+
"type": ["string", "null"]
|
|
4330
|
+
},
|
|
4290
4331
|
"source": {
|
|
4291
4332
|
"allOf": [{ "$ref": "#/definitions/CommandExecutionSource" }],
|
|
4292
4333
|
"default": "agent"
|
|
@@ -5503,10 +5544,20 @@ var TurnStartResponse_default = {
|
|
|
5503
5544
|
"type": ["integer", "null"]
|
|
5504
5545
|
},
|
|
5505
5546
|
"id": { "type": "string" },
|
|
5547
|
+
"pluginId": {
|
|
5548
|
+
"default": null,
|
|
5549
|
+
"description": "Trusted first-party plugin id when this command resolves to one plugin script.",
|
|
5550
|
+
"type": ["string", "null"]
|
|
5551
|
+
},
|
|
5506
5552
|
"processId": {
|
|
5507
5553
|
"description": "Identifier for the underlying PTY process (when available).",
|
|
5508
5554
|
"type": ["string", "null"]
|
|
5509
5555
|
},
|
|
5556
|
+
"scriptPath": {
|
|
5557
|
+
"default": null,
|
|
5558
|
+
"description": "Safe plugin-relative path when this command resolves to one plugin script.",
|
|
5559
|
+
"type": ["string", "null"]
|
|
5560
|
+
},
|
|
5510
5561
|
"source": {
|
|
5511
5562
|
"allOf": [{ "$ref": "#/definitions/CommandExecutionSource" }],
|
|
5512
5563
|
"default": "agent"
|
|
@@ -6753,8 +6804,19 @@ async function mirror(params) {
|
|
|
6753
6804
|
messagesPresent: [],
|
|
6754
6805
|
userMessagesPresent: []
|
|
6755
6806
|
};
|
|
6807
|
+
const candidates = messages.map((message) => {
|
|
6808
|
+
const dedupeIdentity = buildMirrorDedupeIdentity(message);
|
|
6809
|
+
const sourceFingerprint = fingerprintCodexMirrorSourceMessage(message);
|
|
6810
|
+
return {
|
|
6811
|
+
dedupeIdentity,
|
|
6812
|
+
idempotencyKey: (message.role === "user" ? normalizeOptionalString(message.idempotencyKey) : void 0) ?? (params.idempotencyScope ? `${params.idempotencyScope}:${dedupeIdentity}` : void 0),
|
|
6813
|
+
message,
|
|
6814
|
+
sourceFingerprint
|
|
6815
|
+
};
|
|
6816
|
+
});
|
|
6817
|
+
const candidateIdempotencyKeys = candidates.flatMap(({ idempotencyKey }) => idempotencyKey ? [idempotencyKey] : []);
|
|
6756
6818
|
const transcriptTarget = resolveCodexMirrorTranscriptTarget(params);
|
|
6757
|
-
const { appendedUpdates, assistantMirrorIdentitiesOwned, messagesPresent, userMessagesPresent } = await
|
|
6819
|
+
const { appendedUpdates, assistantMirrorIdentitiesOwned, messagesPresent, userMessagesPresent } = await withCodexSessionTranscriptMirrorWriteLock({
|
|
6758
6820
|
...transcriptTarget,
|
|
6759
6821
|
config: params.config
|
|
6760
6822
|
}, async (transcript) => {
|
|
@@ -6762,21 +6824,18 @@ async function mirror(params) {
|
|
|
6762
6824
|
const nextAssistantMirrorIdentitiesOwned = /* @__PURE__ */ new Set();
|
|
6763
6825
|
const nextMessagesPresent = [];
|
|
6764
6826
|
const nextUserMessagesPresent = [];
|
|
6765
|
-
const
|
|
6766
|
-
|
|
6767
|
-
for (const message of messages) {
|
|
6768
|
-
const dedupeIdentity = buildMirrorDedupeIdentity(message);
|
|
6769
|
-
const sourceFingerprint = fingerprintCodexMirrorSourceMessage(message);
|
|
6770
|
-
const idempotencyKey = (message.role === "user" ? normalizeOptionalString(message.idempotencyKey) : void 0) ?? (params.idempotencyScope ? `${params.idempotencyScope}:${dedupeIdentity}` : void 0);
|
|
6827
|
+
const mirrorFacts = await transcript.readMessageFacts({ idempotencyKeys: candidateIdempotencyKeys });
|
|
6828
|
+
for (const { dedupeIdentity, idempotencyKey, message, sourceFingerprint } of candidates) {
|
|
6771
6829
|
const transcriptMessage = {
|
|
6772
6830
|
...attachCodexMirrorAttestation(message, sourceFingerprint),
|
|
6773
6831
|
...idempotencyKey ? { idempotencyKey } : {}
|
|
6774
6832
|
};
|
|
6775
|
-
if (idempotencyKey &&
|
|
6776
|
-
const persistedMessage =
|
|
6777
|
-
if (persistedMessage
|
|
6778
|
-
|
|
6779
|
-
|
|
6833
|
+
if (idempotencyKey && mirrorFacts.existingIdempotencyKeys.has(idempotencyKey)) {
|
|
6834
|
+
const persistedMessage = mirrorFacts.messagesByIdempotencyKey.get(idempotencyKey);
|
|
6835
|
+
if (persistedMessage && isMirroredAgentMessage(persistedMessage)) {
|
|
6836
|
+
nextMessagesPresent.push(persistedMessage);
|
|
6837
|
+
if (persistedMessage.role === "user") nextUserMessagesPresent.push(persistedMessage);
|
|
6838
|
+
}
|
|
6780
6839
|
if (message.role === "assistant") nextAssistantMirrorIdentitiesOwned.add(dedupeIdentity);
|
|
6781
6840
|
continue;
|
|
6782
6841
|
}
|
|
@@ -6799,26 +6858,25 @@ async function mirror(params) {
|
|
|
6799
6858
|
hidden: message.display === false,
|
|
6800
6859
|
message: messageToAppend
|
|
6801
6860
|
});
|
|
6802
|
-
const appended = await transcript.
|
|
6861
|
+
const { messageSeq, result: appended } = await transcript.appendMessageWithMessageSequence({
|
|
6803
6862
|
message: messageToAppend,
|
|
6804
|
-
idempotencyLookup:
|
|
6863
|
+
idempotencyLookup: "scan",
|
|
6805
6864
|
cwd: params.cwd
|
|
6806
6865
|
});
|
|
6807
6866
|
if (!appended) continue;
|
|
6808
6867
|
const { messageId, message: appendedMessage } = appended;
|
|
6809
6868
|
if (isMirroredAgentMessage(appendedMessage)) {
|
|
6810
6869
|
nextMessagesPresent.push(appendedMessage);
|
|
6811
|
-
if (idempotencyKey)
|
|
6870
|
+
if (idempotencyKey) mirrorFacts.messagesByIdempotencyKey.set(idempotencyKey, appendedMessage);
|
|
6812
6871
|
}
|
|
6813
6872
|
if (message.role === "assistant") nextAssistantMirrorIdentitiesOwned.add(dedupeIdentity);
|
|
6814
6873
|
if (appendedMessage.role === "user") nextUserMessagesPresent.push(appendedMessage);
|
|
6815
|
-
|
|
6816
|
-
nextAppendedUpdates.push({
|
|
6874
|
+
if (appended.appended) nextAppendedUpdates.push({
|
|
6817
6875
|
messageId,
|
|
6818
6876
|
message: appendedMessage,
|
|
6819
|
-
messageSeq:
|
|
6877
|
+
...messageSeq !== void 0 ? { messageSeq } : {}
|
|
6820
6878
|
});
|
|
6821
|
-
if (idempotencyKey)
|
|
6879
|
+
if (idempotencyKey) mirrorFacts.existingIdempotencyKeys.add(idempotencyKey);
|
|
6822
6880
|
}
|
|
6823
6881
|
return {
|
|
6824
6882
|
appendedUpdates: nextAppendedUpdates,
|
|
@@ -6834,7 +6892,7 @@ async function mirror(params) {
|
|
|
6834
6892
|
...params.agentId ? { agentId: params.agentId } : {},
|
|
6835
6893
|
message: update.message,
|
|
6836
6894
|
messageId: update.messageId,
|
|
6837
|
-
messageSeq: update.messageSeq,
|
|
6895
|
+
...update.messageSeq !== void 0 ? { messageSeq: update.messageSeq } : {},
|
|
6838
6896
|
sessionKey: transcriptTarget.sessionKey
|
|
6839
6897
|
}
|
|
6840
6898
|
});
|
|
@@ -6862,24 +6920,5 @@ function resolveCodexMirrorTranscriptTarget(params) {
|
|
|
6862
6920
|
storePath
|
|
6863
6921
|
};
|
|
6864
6922
|
}
|
|
6865
|
-
function readTranscriptMirrorState(events) {
|
|
6866
|
-
const idempotencyKeys = /* @__PURE__ */ new Set();
|
|
6867
|
-
const messagesByIdempotencyKey = /* @__PURE__ */ new Map();
|
|
6868
|
-
let messageCount = 0;
|
|
6869
|
-
for (const event of events) {
|
|
6870
|
-
if (!event || typeof event !== "object" || Array.isArray(event)) continue;
|
|
6871
|
-
const parsed = event;
|
|
6872
|
-
if (parsed.type === "message") messageCount += 1;
|
|
6873
|
-
if (typeof parsed.message?.idempotencyKey === "string") {
|
|
6874
|
-
idempotencyKeys.add(parsed.message.idempotencyKey);
|
|
6875
|
-
if (isMirroredAgentMessage(parsed.message)) messagesByIdempotencyKey.set(parsed.message.idempotencyKey, parsed.message);
|
|
6876
|
-
}
|
|
6877
|
-
}
|
|
6878
|
-
return {
|
|
6879
|
-
idempotencyKeys,
|
|
6880
|
-
messagesByIdempotencyKey,
|
|
6881
|
-
messageCount
|
|
6882
|
-
};
|
|
6883
|
-
}
|
|
6884
6923
|
//#endregion
|
|
6885
6924
|
export { readCodexTurnCompletedNotification as C, readCodexTurn as S, assertCodexThreadStartResponse as _, projectBoundedCodexThreadHistory as a, readCodexErrorNotification as b, fingerprintCodexMirrorSourceMessage as c, attachCodexMirrorIdentity as d, readMirrorIdentity as f, assertCodexThreadResumeResponse as g, assertCodexThreadForkResponse as h, mirrorPromptAtTurnStartBestEffort as i, readCodexMirrorSourceFingerprint as l, assertCodexThreadForkParams as m, createCodexAppServerUserMessagePersistenceNotifier as n, buildCodexUserPromptMessage as o, readUpstreamUserText as p, importCodexThreadHistoryToTranscript as r, promptSnapshot as s, codexTranscriptMirrorRuntime as t, serializeCodexMirrorSourceEvidence as u, assertCodexTurnStartResponse as v, readCodexModelListResponse as x, readCodexDynamicToolCallParams as y };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { h as assertCodexThreadForkResponse } from "./transcript-mirror-
|
|
1
|
+
import { d as sessionBindingIdentity } from "./session-binding-BXpo9ymA.js";
|
|
2
|
+
import { h as assertCodexThreadForkResponse } from "./transcript-mirror-DzsdNCf5.js";
|
|
3
3
|
import { t as isIncognitoSessionKey } from "./incognito-session-ET_ufDH-.js";
|
|
4
|
-
import { i as createImportedCodexSession, n as codexUpstreamBaseline, t as codexLastTerminalTurnId } from "./session-upstream-marker-
|
|
4
|
+
import { i as createImportedCodexSession, n as codexUpstreamBaseline, t as codexLastTerminalTurnId } from "./session-upstream-marker-B6U7tLw5.js";
|
|
5
5
|
import { isRecord } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
import { readVisibleSessionTranscriptMessageEntries } from "openclaw/plugin-sdk/session-transcript-runtime";
|
|
7
7
|
import { deleteSessionUpstreamLink, upsertSessionUpstreamLink } from "openclaw/plugin-sdk/session-catalog";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as buildCodexAppServerUsageSnapshot } from "./rate-limits-
|
|
3
|
-
import { t as readCodexAppServerUsage } from "./request-
|
|
1
|
+
import { g as resolveCodexAppServerRuntimeOptions } from "./session-binding-BXpo9ymA.js";
|
|
2
|
+
import { t as buildCodexAppServerUsageSnapshot } from "./rate-limits-CU-gVCCS.js";
|
|
3
|
+
import { t as readCodexAppServerUsage } from "./request-qKh331yu.js";
|
|
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. */
|
package/dist/{web-search-provider.runtime-Bx6HAc_k.js → web-search-provider.runtime-CCFhg2z5.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { t as runBoundedCodexAppServerTurn } from "./bounded-turn-
|
|
1
|
+
import { W as isJsonObject } from "./shared-client-DTbvH-XV.js";
|
|
2
|
+
import { h as buildCodexNativeWebSearchThreadConfig } from "./thread-lifecycle-DF53ogiA.js";
|
|
3
|
+
import { t as runBoundedCodexAppServerTurn } from "./bounded-turn-D2ZAgZVz.js";
|
|
4
4
|
import { readStringParam, resolveSearchTimeoutSeconds, wrapWebContent } from "openclaw/plugin-sdk/provider-web-search";
|
|
5
5
|
//#region extensions/codex/src/web-search-provider.runtime.ts
|
|
6
6
|
async function executeCodexWebSearchProviderTool(ctx, args, executionContext, options) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/codex",
|
|
3
|
-
"version": "2026.7.2-beta.
|
|
3
|
+
"version": "2026.7.2-beta.7",
|
|
4
4
|
"description": "OpenClaw Codex app-server harness and native session supervision plugin.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -8,9 +8,8 @@
|
|
|
8
8
|
},
|
|
9
9
|
"type": "module",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@openai/codex": "0.
|
|
12
|
-
"
|
|
13
|
-
"smol-toml": "1.7.0",
|
|
11
|
+
"@openai/codex": "0.146.0",
|
|
12
|
+
"smol-toml": "1.7.1",
|
|
14
13
|
"typebox": "1.3.6",
|
|
15
14
|
"ws": "8.21.1",
|
|
16
15
|
"zod": "4.4.3"
|
|
@@ -36,10 +35,10 @@
|
|
|
36
35
|
]
|
|
37
36
|
},
|
|
38
37
|
"compat": {
|
|
39
|
-
"pluginApi": ">=2026.7.2-beta.
|
|
38
|
+
"pluginApi": ">=2026.7.2-beta.7"
|
|
40
39
|
},
|
|
41
40
|
"build": {
|
|
42
|
-
"openclawVersion": "2026.7.2-beta.
|
|
41
|
+
"openclawVersion": "2026.7.2-beta.7"
|
|
43
42
|
},
|
|
44
43
|
"release": {
|
|
45
44
|
"publishToClawHub": true,
|
|
@@ -56,11 +55,10 @@
|
|
|
56
55
|
"files": [
|
|
57
56
|
"dist/**",
|
|
58
57
|
"openclaw.plugin.json",
|
|
59
|
-
"npm-shrinkwrap.json",
|
|
60
58
|
"README.md"
|
|
61
59
|
],
|
|
62
60
|
"peerDependencies": {
|
|
63
|
-
"openclaw": ">=2026.7.2-beta.
|
|
61
|
+
"openclaw": ">=2026.7.2-beta.7"
|
|
64
62
|
},
|
|
65
63
|
"peerDependenciesMeta": {
|
|
66
64
|
"openclaw": {
|
package/npm-shrinkwrap.json
DELETED
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@openclaw/codex",
|
|
3
|
-
"version": "2026.7.2-beta.4",
|
|
4
|
-
"lockfileVersion": 3,
|
|
5
|
-
"requires": true,
|
|
6
|
-
"packages": {
|
|
7
|
-
"": {
|
|
8
|
-
"name": "@openclaw/codex",
|
|
9
|
-
"version": "2026.7.2-beta.4",
|
|
10
|
-
"dependencies": {
|
|
11
|
-
"@openai/codex": "0.145.0",
|
|
12
|
-
"semver": "7.8.5",
|
|
13
|
-
"smol-toml": "1.7.0",
|
|
14
|
-
"typebox": "1.3.6",
|
|
15
|
-
"ws": "8.21.1",
|
|
16
|
-
"zod": "4.4.3"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
"node_modules/@openai/codex": {
|
|
20
|
-
"version": "0.145.0",
|
|
21
|
-
"resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.145.0.tgz",
|
|
22
|
-
"integrity": "sha512-/PSPSFujjjmiyVFvG2yu/grOFhsWdokTH8t2KGWhXSo/M5n/dIDsnbsnO82/7bLtIoDuzQf7ATBUMWqPWQINlQ==",
|
|
23
|
-
"license": "Apache-2.0",
|
|
24
|
-
"bin": {
|
|
25
|
-
"codex": "bin/codex.js"
|
|
26
|
-
},
|
|
27
|
-
"engines": {
|
|
28
|
-
"node": ">=16"
|
|
29
|
-
},
|
|
30
|
-
"optionalDependencies": {
|
|
31
|
-
"@openai/codex-darwin-arm64": "npm:@openai/codex@0.145.0-darwin-arm64",
|
|
32
|
-
"@openai/codex-darwin-x64": "npm:@openai/codex@0.145.0-darwin-x64",
|
|
33
|
-
"@openai/codex-linux-arm64": "npm:@openai/codex@0.145.0-linux-arm64",
|
|
34
|
-
"@openai/codex-linux-x64": "npm:@openai/codex@0.145.0-linux-x64",
|
|
35
|
-
"@openai/codex-win32-arm64": "npm:@openai/codex@0.145.0-win32-arm64",
|
|
36
|
-
"@openai/codex-win32-x64": "npm:@openai/codex@0.145.0-win32-x64"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
"node_modules/@openai/codex-darwin-arm64": {
|
|
40
|
-
"name": "@openai/codex",
|
|
41
|
-
"version": "0.145.0-darwin-arm64",
|
|
42
|
-
"resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.145.0-darwin-arm64.tgz",
|
|
43
|
-
"integrity": "sha512-h6aQ0UxnaP8mIM/9/qPAH9MNkRliJo88toq1T36IxNM2L5JSU0TFamu+MZn7YkFgDsrp0RfiI+97Tm8AVVxqtA==",
|
|
44
|
-
"cpu": [
|
|
45
|
-
"arm64"
|
|
46
|
-
],
|
|
47
|
-
"license": "Apache-2.0",
|
|
48
|
-
"optional": true,
|
|
49
|
-
"os": [
|
|
50
|
-
"darwin"
|
|
51
|
-
],
|
|
52
|
-
"engines": {
|
|
53
|
-
"node": ">=16"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"node_modules/@openai/codex-darwin-x64": {
|
|
57
|
-
"name": "@openai/codex",
|
|
58
|
-
"version": "0.145.0-darwin-x64",
|
|
59
|
-
"resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.145.0-darwin-x64.tgz",
|
|
60
|
-
"integrity": "sha512-FCYzVKCa9VoLtg9gVyzKpqylonfgZrfcWZN6HsXAZPeuo8CukdMqdgTUOhDn2V6h3MbqS0z6VqQVKUllN/yKhA==",
|
|
61
|
-
"cpu": [
|
|
62
|
-
"x64"
|
|
63
|
-
],
|
|
64
|
-
"license": "Apache-2.0",
|
|
65
|
-
"optional": true,
|
|
66
|
-
"os": [
|
|
67
|
-
"darwin"
|
|
68
|
-
],
|
|
69
|
-
"engines": {
|
|
70
|
-
"node": ">=16"
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
"node_modules/@openai/codex-linux-arm64": {
|
|
74
|
-
"name": "@openai/codex",
|
|
75
|
-
"version": "0.145.0-linux-arm64",
|
|
76
|
-
"resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.145.0-linux-arm64.tgz",
|
|
77
|
-
"integrity": "sha512-8OLcPXaAol/FOrRoDxWhIiHIFa73KRsM41EKocjRZOwiT4TcelzJWn3dHyiuSb7teWF25rrslvSPyvhULYRRCQ==",
|
|
78
|
-
"cpu": [
|
|
79
|
-
"arm64"
|
|
80
|
-
],
|
|
81
|
-
"license": "Apache-2.0",
|
|
82
|
-
"optional": true,
|
|
83
|
-
"os": [
|
|
84
|
-
"linux"
|
|
85
|
-
],
|
|
86
|
-
"engines": {
|
|
87
|
-
"node": ">=16"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"node_modules/@openai/codex-linux-x64": {
|
|
91
|
-
"name": "@openai/codex",
|
|
92
|
-
"version": "0.145.0-linux-x64",
|
|
93
|
-
"resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.145.0-linux-x64.tgz",
|
|
94
|
-
"integrity": "sha512-u8w8LLv3DvsfrDCoswLIemZ0SoNEXyi511WsfFsSiYUazk9qMsB/NtU8N9vhAfN7mZAxLFoMex4v66JjHuZWwA==",
|
|
95
|
-
"cpu": [
|
|
96
|
-
"x64"
|
|
97
|
-
],
|
|
98
|
-
"license": "Apache-2.0",
|
|
99
|
-
"optional": true,
|
|
100
|
-
"os": [
|
|
101
|
-
"linux"
|
|
102
|
-
],
|
|
103
|
-
"engines": {
|
|
104
|
-
"node": ">=16"
|
|
105
|
-
}
|
|
106
|
-
},
|
|
107
|
-
"node_modules/@openai/codex-win32-arm64": {
|
|
108
|
-
"name": "@openai/codex",
|
|
109
|
-
"version": "0.145.0-win32-arm64",
|
|
110
|
-
"resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.145.0-win32-arm64.tgz",
|
|
111
|
-
"integrity": "sha512-sub61rjEFevi1i3Zx7nAd4JM5XxoNFqMqFc5LfTo2xSI8ixHjFvEYDFDXwXOftT04n3Ht1Wh271ioUZpDiEjEg==",
|
|
112
|
-
"cpu": [
|
|
113
|
-
"arm64"
|
|
114
|
-
],
|
|
115
|
-
"license": "Apache-2.0",
|
|
116
|
-
"optional": true,
|
|
117
|
-
"os": [
|
|
118
|
-
"win32"
|
|
119
|
-
],
|
|
120
|
-
"engines": {
|
|
121
|
-
"node": ">=16"
|
|
122
|
-
}
|
|
123
|
-
},
|
|
124
|
-
"node_modules/@openai/codex-win32-x64": {
|
|
125
|
-
"name": "@openai/codex",
|
|
126
|
-
"version": "0.145.0-win32-x64",
|
|
127
|
-
"resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.145.0-win32-x64.tgz",
|
|
128
|
-
"integrity": "sha512-u0h9lk094CaXRSqE34SBW2dRaQTPa6fASXqehczWH9QdsU62mBsiAgAdp6tCG4i+YzPmmhjD8FdXNnYGNmwuMg==",
|
|
129
|
-
"cpu": [
|
|
130
|
-
"x64"
|
|
131
|
-
],
|
|
132
|
-
"license": "Apache-2.0",
|
|
133
|
-
"optional": true,
|
|
134
|
-
"os": [
|
|
135
|
-
"win32"
|
|
136
|
-
],
|
|
137
|
-
"engines": {
|
|
138
|
-
"node": ">=16"
|
|
139
|
-
}
|
|
140
|
-
},
|
|
141
|
-
"node_modules/semver": {
|
|
142
|
-
"version": "7.8.5",
|
|
143
|
-
"resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",
|
|
144
|
-
"integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",
|
|
145
|
-
"license": "ISC",
|
|
146
|
-
"bin": {
|
|
147
|
-
"semver": "bin/semver.js"
|
|
148
|
-
},
|
|
149
|
-
"engines": {
|
|
150
|
-
"node": ">=10"
|
|
151
|
-
}
|
|
152
|
-
},
|
|
153
|
-
"node_modules/smol-toml": {
|
|
154
|
-
"version": "1.7.0",
|
|
155
|
-
"resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.7.0.tgz",
|
|
156
|
-
"integrity": "sha512-aqVvWoyO21L23mb+drl4RmMXbf6N7FdHjAhTRA9ZBL7apWBgfWC16KjrASI+1p9GAroljyMHj6fK67i0UiTNvQ==",
|
|
157
|
-
"license": "BSD-3-Clause",
|
|
158
|
-
"engines": {
|
|
159
|
-
"node": ">= 18"
|
|
160
|
-
},
|
|
161
|
-
"funding": {
|
|
162
|
-
"url": "https://github.com/sponsors/cyyynthia"
|
|
163
|
-
}
|
|
164
|
-
},
|
|
165
|
-
"node_modules/typebox": {
|
|
166
|
-
"version": "1.3.6",
|
|
167
|
-
"resolved": "https://registry.npmjs.org/typebox/-/typebox-1.3.6.tgz",
|
|
168
|
-
"integrity": "sha512-Sc8RA0NCMEFmApHNU9ZMzqcpQj46She44J8ffpLM/bdhLNUZKq7DJumcLcsFx1gRmDfQPgCgOmFFJ7rcnfWNyA==",
|
|
169
|
-
"license": "MIT"
|
|
170
|
-
},
|
|
171
|
-
"node_modules/ws": {
|
|
172
|
-
"version": "8.21.1",
|
|
173
|
-
"resolved": "https://registry.npmjs.org/ws/-/ws-8.21.1.tgz",
|
|
174
|
-
"integrity": "sha512-+0NTnW77fFN/DjQi6k/Sq/Yvk4Sgajw7urW8V+asjXnRgDs9gyGkdb7EzgfhA4goXsRIZKE28fzIXBHEzhuiWw==",
|
|
175
|
-
"license": "MIT",
|
|
176
|
-
"engines": {
|
|
177
|
-
"node": ">=10.0.0"
|
|
178
|
-
},
|
|
179
|
-
"peerDependencies": {
|
|
180
|
-
"bufferutil": "^4.0.1",
|
|
181
|
-
"utf-8-validate": ">=5.0.2"
|
|
182
|
-
},
|
|
183
|
-
"peerDependenciesMeta": {
|
|
184
|
-
"bufferutil": {
|
|
185
|
-
"optional": true
|
|
186
|
-
},
|
|
187
|
-
"utf-8-validate": {
|
|
188
|
-
"optional": true
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
},
|
|
192
|
-
"node_modules/zod": {
|
|
193
|
-
"version": "4.4.3",
|
|
194
|
-
"resolved": "https://registry.npmjs.org/zod/-/zod-4.4.3.tgz",
|
|
195
|
-
"integrity": "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ==",
|
|
196
|
-
"license": "MIT",
|
|
197
|
-
"funding": {
|
|
198
|
-
"url": "https://github.com/sponsors/colinhacks"
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.js";
|
|
2
|
-
import { resolveApiKeyForProfile } from "openclaw/plugin-sdk/agent-runtime";
|
|
3
2
|
import { fingerprintResolvedAuthProfileCredential } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
3
|
+
import { resolveApiKeyForProfile } from "openclaw/plugin-sdk/agent-runtime";
|
|
4
4
|
//#region extensions/codex/src/app-server/auth-binding.ts
|
|
5
5
|
var auth_binding_exports = /* @__PURE__ */ __exportAll({
|
|
6
6
|
fingerprintCodexAppServerAuthBinding: () => fingerprintCodexAppServerAuthBinding,
|