@openclaw/codex 2026.9.8 → 2026.9.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/.setup/{account-usage-runtime-G348lY1q.mjs → account-usage-runtime-dYM1lh1V.mjs} +1 -1
- package/dist/.setup/{apply-Cqb-YoCS.mjs → apply-C82xe8Bk.mjs} +4 -4
- package/dist/.setup/{attempt-client-cleanup-B-S7ngS_.mjs → attempt-client-cleanup-D1aznv7C.mjs} +3 -3
- package/dist/.setup/{attempt-workspace-context-BJ5Z_olH.mjs → attempt-workspace-context-DKAbD-vI.mjs} +1 -1
- package/dist/.setup/{auth-cache-key-Dnps4W4_.mjs → auth-cache-key-CWpIEtTm.mjs} +3 -3
- package/dist/.setup/{bounded-turn-BNunZPtz.mjs → bounded-turn-Ca4urQ25.mjs} +9 -9
- package/dist/.setup/{build-state-DIQ5O_-S.mjs → build-state-E-CRUdgh.mjs} +1 -1
- package/dist/.setup/{client-qyUBJlGZ.mjs → client-6GbdZFc0.mjs} +172 -14
- package/dist/.setup/{client-catalog-response-DRvx_wCC.mjs → client-catalog-response-HvvnCxvX.mjs} +1 -1
- package/dist/.setup/{command-dispatch-Btrs1D6f.mjs → command-dispatch-_PPJobF7.mjs} +1 -1
- package/dist/.setup/{command-handlers-DvlCHJch.mjs → command-handlers-Do_MOc5V.mjs} +11 -11
- package/dist/.setup/{command-rpc-skzRq4wD.mjs → command-rpc-Bc_OIgK0.mjs} +6 -6
- package/dist/.setup/{compact-8ttks5U5.mjs → compact-BVSQoyh-.mjs} +8 -8
- package/dist/.setup/{conversation-binding-74LaGGH-.mjs → conversation-binding-CvjxRWI-.mjs} +9 -9
- package/dist/.setup/{conversation-control-OrN6zuaY.mjs → conversation-control-DoxkQ9nq.mjs} +2 -2
- package/dist/.setup/{dynamic-tools-Db2sY5cZ.mjs → dynamic-tools-CGMXNyuw.mjs} +6 -6
- package/dist/.setup/{effective-mcp-catalog-Bi6-SQ7i.mjs → effective-mcp-catalog-C1zwj-bq.mjs} +2 -2
- package/dist/.setup/{ephemeral-turn-DiCS1ijR.mjs → ephemeral-turn-Cyu_xJDs.mjs} +2 -2
- package/dist/.setup/{event-projector-assistant-message-MV_1dj-3.mjs → event-projector-assistant-message-CAI4foF8.mjs} +1 -1
- package/dist/.setup/{isolated-completion-D80IXfQF.mjs → isolated-completion-DPr7Nsl7.mjs} +4 -4
- package/dist/.setup/{managed-binary-kiWRhNRE.mjs → managed-binary-B6hQ1UKR.mjs} +1 -1
- package/dist/.setup/{model-catalog-DiC0Tkha.mjs → model-catalog-gcv3irT9.mjs} +27 -20
- package/dist/.setup/{models-DfLmPV0k.mjs → models-Bs4aEhpG.mjs} +3 -3
- package/dist/.setup/{native-auth-CuG53tu4.mjs → native-auth-BN-BD2AV.mjs} +2 -2
- package/dist/.setup/{native-subagent-monitor-BwkQXf9e.mjs → native-subagent-monitor-DbNIloTJ.mjs} +2 -2
- package/dist/.setup/{node-exec-server.runtime-BgBfWQqo.mjs → node-exec-server.runtime-BS7jsvK-.mjs} +2 -2
- package/dist/.setup/{plan-DPdMk1Oy.mjs → plan-NTSBQtKx.mjs} +3 -3
- package/dist/.setup/{plugin-metadata-cache-BRwtRct9.mjs → plugin-metadata-cache-Z06WuND0.mjs} +5 -5
- package/dist/.setup/{provider-D6F_7p1I.mjs → provider-BnX84knz.mjs} +4 -4
- package/dist/.setup/{provider-capabilities-DG5qbsUZ.mjs → provider-capabilities-CYK-rMwC.mjs} +2 -2
- package/dist/.setup/{request-BZOfsSXW.mjs → request-DQh7X3fU.mjs} +1 -1
- package/dist/.setup/{run-attempt-dYJhjZrp.mjs → run-attempt-Bp6qFrIQ.mjs} +35 -20
- package/dist/.setup/{runtime-artifact-DDQ-HGXf.mjs → runtime-artifact-D7lCXdhV.mjs} +2 -2
- package/dist/.setup/{session-catalog-BFafIiF6.mjs → session-catalog-DFZmNlhW.mjs} +9 -9
- package/dist/.setup/{session-catalog-events-BMCFMZw-.mjs → session-catalog-events-DVLgp99B.mjs} +2 -2
- package/dist/.setup/{session-catalog-index-DwJjnF5k.mjs → session-catalog-index-v3Yjgaih.mjs} +3 -3
- package/dist/.setup/{session-catalog-native-projection-CuaFZuQE.mjs → session-catalog-native-projection-LshItrMe.mjs} +1 -1
- package/dist/.setup/{session-catalog-projection-CGfzfP93.mjs → session-catalog-projection-CCBFozaQ.mjs} +1 -1
- package/dist/.setup/{session-cli-DlmBHYIe.mjs → session-cli-KhdG-_Aj.mjs} +1 -1
- package/dist/.setup/{session-retirement-LlYWBKTJ.mjs → session-retirement-ERjp2r4a.mjs} +5 -5
- package/dist/.setup/{settled-turn-finalizer-DW9W3gza.mjs → settled-turn-finalizer-DbS1Mwoq.mjs} +5 -5
- package/dist/.setup/{shared-client-lifecycle-7xgtlo15.mjs → shared-client-lifecycle-4LdC3gM4.mjs} +1 -1
- package/dist/.setup/{shared-client-CJCTeFpQ.mjs → shared-client-zsK3DTPh.mjs} +14 -14
- package/dist/.setup/{side-question-BLeGj7TQ.mjs → side-question-DW4W4HY7.mjs} +9 -9
- package/dist/.setup/{source-CJis_1EF.mjs → source-DzsIjGO7.mjs} +1 -1
- package/dist/.setup/{thread-lifecycle-_bAbjedG.mjs → thread-lifecycle-D03WesNn.mjs} +60 -38
- package/dist/.setup/{thread-ownership-B6pPt21M.mjs → thread-ownership-B0xUCXOU.mjs} +3 -3
- package/dist/.setup/{thread-policy-gNPzzpVp.mjs → thread-policy-g1TKKqWj.mjs} +3 -3
- package/dist/.setup/{thread-requests-OWGOiDaV.mjs → thread-requests-15uBuGjw.mjs} +4 -4
- package/dist/.setup/{thread-resume-GOry0AYh.mjs → thread-resume-BZfwM8Jh.mjs} +5 -5
- package/dist/.setup/{transport-stdio-Bdegpn2V.mjs → transport-stdio-CbutOIEh.mjs} +1 -1
- package/dist/.setup/{upstream-session-fork-gkdRj2yH.mjs → upstream-session-fork--vHya1T-.mjs} +8 -8
- package/dist/.setup/{usage-CApUvLOV.mjs → usage-CdWiiqqY.mjs} +1 -1
- package/dist/.setup/{usage-limit-error-wSMQkbpV.mjs → usage-limit-error-BEyQJjD_.mjs} +1 -1
- package/dist/.setup/{web-search-provider.runtime-UKgeiBUG.mjs → web-search-provider.runtime--55TuUQG.mjs} +2 -2
- package/dist/api.js +2 -2
- package/dist/catalog-page.worker.js +1 -1
- package/dist/cli-metadata.js +1 -1
- package/dist/harness.js +15 -15
- package/dist/index.js +21 -21
- package/dist/media-understanding-provider.js +2 -2
- package/dist/migration-provider-api.js +1 -1
- package/dist/provider-discovery.js +1 -1
- package/package.json +5 -5
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("./.setup/session-cli-
|
|
5
|
+
const { registerCodexSessionCli } = await import("./.setup/session-cli-KhdG-_Aj.mjs");
|
|
6
6
|
registerCodexSessionCli(program);
|
|
7
7
|
}, { descriptors: [{
|
|
8
8
|
name: "codex",
|
package/dist/harness.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CODEX_NATIVE_TOOL_REQUIREMENTS } from "./native-tool-policy.js";
|
|
2
2
|
import { n as readCodexRuntimeModelId } from "./.setup/model-runtime-BdqzOMkU.mjs";
|
|
3
3
|
import { v as sessionBindingIdentity } from "./.setup/session-binding-record-Oe9L-CNY.mjs";
|
|
4
|
-
import { t as codexBuildSymbol } from "./.setup/build-state-
|
|
4
|
+
import { t as codexBuildSymbol } from "./.setup/build-state-E-CRUdgh.mjs";
|
|
5
5
|
import { resolvePluginConfigObject } from "openclaw/plugin-sdk/plugin-config-runtime";
|
|
6
6
|
//#region extensions/codex/harness.ts
|
|
7
7
|
const DEFAULT_CODEX_HARNESS_PROVIDER_IDS = /* @__PURE__ */ new Set(["codex", "openai"]);
|
|
@@ -108,7 +108,7 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
108
108
|
executionEnvironment: "host-only",
|
|
109
109
|
upstreamKinds: ["codex-app-server"],
|
|
110
110
|
fork: async (params) => {
|
|
111
|
-
const { forkCodexUpstreamSession } = await import("./.setup/upstream-session-fork
|
|
111
|
+
const { forkCodexUpstreamSession } = await import("./.setup/upstream-session-fork--vHya1T-.mjs");
|
|
112
112
|
return await forkCodexUpstreamSession(params, {
|
|
113
113
|
bindingStore: options.bindingStore,
|
|
114
114
|
controlFactory: sessionCatalogControlFactory,
|
|
@@ -123,25 +123,25 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
123
123
|
return fingerprintCodexAppServerAuthBinding(params);
|
|
124
124
|
} },
|
|
125
125
|
runtimeArtifact: { validate: async (binding) => {
|
|
126
|
-
const { validateCodexAppServerRuntimeArtifact } = await import("./.setup/runtime-artifact-
|
|
126
|
+
const { validateCodexAppServerRuntimeArtifact } = await import("./.setup/runtime-artifact-D7lCXdhV.mjs");
|
|
127
127
|
const { isCodexConfiguredConnectionArtifact } = await import("./.setup/runtime-artifact-connection-D68qQn1m.mjs");
|
|
128
128
|
if (!isCodexConfiguredConnectionArtifact(binding.id)) return validateCodexAppServerRuntimeArtifact(binding);
|
|
129
129
|
const { resolveCodexAppServerRuntimeOptions } = await import("./.setup/config-DKhXquav.mjs").then((n) => n.t);
|
|
130
130
|
return validateCodexAppServerRuntimeArtifact(binding, void 0, resolveCodexAppServerRuntimeOptions({ pluginConfig: resolveAttemptPluginConfig(options.resolveConfig?.()) }).start);
|
|
131
131
|
} },
|
|
132
132
|
fetchUsageSnapshot: async (ctx) => {
|
|
133
|
-
const { fetchCodexAppServerUsageSnapshot } = await import("./.setup/usage-
|
|
133
|
+
const { fetchCodexAppServerUsageSnapshot } = await import("./.setup/usage-CdWiiqqY.mjs");
|
|
134
134
|
return await fetchCodexAppServerUsageSnapshot(ctx, { pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig });
|
|
135
135
|
},
|
|
136
136
|
loadModelCatalog: async (params) => {
|
|
137
|
-
const { createCodexAppServerModelCatalog } = await import("./.setup/model-catalog-
|
|
137
|
+
const { createCodexAppServerModelCatalog } = await import("./.setup/model-catalog-gcv3irT9.mjs");
|
|
138
138
|
if (disposed) return { entries: [] };
|
|
139
139
|
modelCatalog ??= createCodexAppServerModelCatalog(harnessRuntimeId);
|
|
140
140
|
return { entries: await modelCatalog.load(params, resolveAttemptPluginConfig(params.config)) };
|
|
141
141
|
},
|
|
142
142
|
readModelCatalogReadiness: (params) => modelCatalog?.read(params, resolveAttemptPluginConfig(params.config)),
|
|
143
143
|
loadMcpToolCatalog: async (params) => {
|
|
144
|
-
const { loadCodexEffectiveMcpCatalog } = await import("./.setup/effective-mcp-catalog-
|
|
144
|
+
const { loadCodexEffectiveMcpCatalog } = await import("./.setup/effective-mcp-catalog-C1zwj-bq.mjs");
|
|
145
145
|
return await loadCodexEffectiveMcpCatalog(params, { bindingStore: options.bindingStore });
|
|
146
146
|
},
|
|
147
147
|
supports: (ctx) => {
|
|
@@ -184,7 +184,7 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
184
184
|
};
|
|
185
185
|
},
|
|
186
186
|
runAttempt: async (params) => {
|
|
187
|
-
const { runCodexAppServerAttempt } = await import("./.setup/run-attempt-
|
|
187
|
+
const { runCodexAppServerAttempt } = await import("./.setup/run-attempt-Bp6qFrIQ.mjs");
|
|
188
188
|
const { planCodexCyberEscalation, readCodexCyberAttemptVerdict, recordCodexCyberTargetUnavailable, reserveCodexCyberProbe, resolveCodexCyberFailoverConfig } = await import("./.setup/cyber-failover-XV0nNRZu.mjs");
|
|
189
189
|
const { emitCodexCyberNotice } = await import("./.setup/cyber-failover-notice-RNpGpTyP.mjs");
|
|
190
190
|
const pluginConfig = resolveAttemptPluginConfig(params.config);
|
|
@@ -250,7 +250,7 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
250
250
|
const { runHostPreparedIsolatedCompletion } = await import("openclaw/plugin-sdk/simple-completion-runtime");
|
|
251
251
|
return runHostPreparedIsolatedCompletion(params);
|
|
252
252
|
}
|
|
253
|
-
const { runCodexIsolatedCompletion } = await import("./.setup/isolated-completion-
|
|
253
|
+
const { runCodexIsolatedCompletion } = await import("./.setup/isolated-completion-DPr7Nsl7.mjs");
|
|
254
254
|
return runCodexIsolatedCompletion(params, { pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig });
|
|
255
255
|
},
|
|
256
256
|
runIsolatedCompletion: async (params) => {
|
|
@@ -266,11 +266,11 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
266
266
|
});
|
|
267
267
|
},
|
|
268
268
|
finalizeSettledTurn: async (params) => {
|
|
269
|
-
const { runCodexSettledTurnFinalization } = await import("./.setup/settled-turn-finalizer-
|
|
269
|
+
const { runCodexSettledTurnFinalization } = await import("./.setup/settled-turn-finalizer-DbS1Mwoq.mjs");
|
|
270
270
|
return runCodexSettledTurnFinalization(params, { pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig });
|
|
271
271
|
},
|
|
272
272
|
runSideQuestion: async (params) => {
|
|
273
|
-
const { runCodexAppServerSideQuestion } = await import("./.setup/side-question-
|
|
273
|
+
const { runCodexAppServerSideQuestion } = await import("./.setup/side-question-DW4W4HY7.mjs");
|
|
274
274
|
return runCodexAppServerSideQuestion(params, {
|
|
275
275
|
bindingStore: options.bindingStore,
|
|
276
276
|
pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig,
|
|
@@ -281,25 +281,25 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
281
281
|
},
|
|
282
282
|
compact: async (params) => {
|
|
283
283
|
const admittedParams = requireCodexCompactionCapabilities(params);
|
|
284
|
-
const { maybeCompactCodexAppServerSession } = await import("./.setup/compact-
|
|
284
|
+
const { maybeCompactCodexAppServerSession } = await import("./.setup/compact-BVSQoyh-.mjs");
|
|
285
285
|
return maybeCompactCodexAppServerSession(admittedParams, {
|
|
286
286
|
bindingStore: options.bindingStore,
|
|
287
287
|
pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig
|
|
288
288
|
});
|
|
289
289
|
},
|
|
290
290
|
withSessionDeletion: async (params, run) => {
|
|
291
|
-
const { withCodexAppServerSessionDeletion } = await import("./.setup/session-retirement-
|
|
291
|
+
const { withCodexAppServerSessionDeletion } = await import("./.setup/session-retirement-ERjp2r4a.mjs");
|
|
292
292
|
params.assertCurrent();
|
|
293
293
|
return withCodexAppServerSessionDeletion(options.bindingStore, params, run);
|
|
294
294
|
},
|
|
295
295
|
withSessionContextReset: async (params, run) => {
|
|
296
|
-
const { withCodexAppServerSessionContextReset } = await import("./.setup/session-retirement-
|
|
296
|
+
const { withCodexAppServerSessionContextReset } = await import("./.setup/session-retirement-ERjp2r4a.mjs");
|
|
297
297
|
params.assertCurrent();
|
|
298
298
|
return withCodexAppServerSessionContextReset(options.bindingStore, params, run);
|
|
299
299
|
},
|
|
300
300
|
reset: async (params) => {
|
|
301
301
|
if (params.sessionId && params.reason !== "deleted") {
|
|
302
|
-
const [{ reclaimCurrentCodexSessionGeneration }, { retireCodexAppServerSessionGeneration }] = await Promise.all([import("./.setup/session-binding-DGCYAfvD.mjs").then((n) => n.s), import("./.setup/session-retirement-
|
|
302
|
+
const [{ reclaimCurrentCodexSessionGeneration }, { retireCodexAppServerSessionGeneration }] = await Promise.all([import("./.setup/session-binding-DGCYAfvD.mjs").then((n) => n.s), import("./.setup/session-retirement-ERjp2r4a.mjs")]);
|
|
303
303
|
const identity = sessionBindingIdentity({
|
|
304
304
|
agentId: params.agentId,
|
|
305
305
|
sessionId: params.sessionId,
|
|
@@ -332,7 +332,7 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
332
332
|
function createCodexAppServerNativeCompaction(options) {
|
|
333
333
|
return async (params) => {
|
|
334
334
|
const admittedParams = requireCodexCompactionCapabilities(params);
|
|
335
|
-
const { maybeCompactCodexAppServerSession } = await import("./.setup/compact-
|
|
335
|
+
const { maybeCompactCodexAppServerSession } = await import("./.setup/compact-BVSQoyh-.mjs");
|
|
336
336
|
return maybeCompactCodexAppServerSession(admittedParams, {
|
|
337
337
|
bindingStore: options.bindingStore,
|
|
338
338
|
pluginConfig: options.resolvePluginConfig?.() ?? options.pluginConfig,
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { registerCodexCliMetadata } from "./cli-metadata.js";
|
|
|
2
2
|
import { j as CODEX_INTERACTIVE_THREAD_SOURCE_KINDS } from "./.setup/session-catalog-parsing-CPGaPYr-.mjs";
|
|
3
3
|
import { i as isJsonObject } from "./.setup/protocol-CANUwXJ3.mjs";
|
|
4
4
|
import { f as readCurrentCodexAppServerBinding, h as readCurrentNativePendingAssignments, m as readCurrentCodexNativeSubagentSubmissions, n as assertCodexBindingMayBeReplaced, p as readCurrentCodexAppServerBindings, v as sessionBindingIdentity } from "./.setup/session-binding-record-Oe9L-CNY.mjs";
|
|
5
|
-
import { n as defineCodexBuildState } from "./.setup/build-state-
|
|
5
|
+
import { n as defineCodexBuildState } from "./.setup/build-state-E-CRUdgh.mjs";
|
|
6
6
|
import { createCodexAppServerAgentHarness, createCodexAppServerNativeCompaction } from "./harness.js";
|
|
7
7
|
import { buildCodexMediaUnderstandingProvider } from "./media-understanding-provider.js";
|
|
8
8
|
import codexProviderDiscovery from "./provider-discovery.js";
|
|
@@ -10,26 +10,26 @@ import { n as createCodexAuthProfileSelection } from "./.setup/auth-profile-sele
|
|
|
10
10
|
import { t as assertCodexAppServerConnectionSecurity } from "./.setup/config-security-CE-FcGw9.mjs";
|
|
11
11
|
import { d as readCodexPluginConfig } from "./.setup/config-parsing-b088LyhT.mjs";
|
|
12
12
|
import { r as createCodexAppServerConfig, t as codexAppServerStartOptionsKey } from "./.setup/config-options-CzyWLTJt.mjs";
|
|
13
|
-
import { o as setManagedCodexPluginRoot } from "./.setup/managed-binary-
|
|
14
|
-
import { l as createCodexDesktopGenerationService, s as resolveCodexAppServerFallbackApiKeyCacheKey } from "./.setup/auth-cache-key-
|
|
13
|
+
import { o as setManagedCodexPluginRoot } from "./.setup/managed-binary-B6hQ1UKR.mjs";
|
|
14
|
+
import { l as createCodexDesktopGenerationService, s as resolveCodexAppServerFallbackApiKeyCacheKey } from "./.setup/auth-cache-key-CWpIEtTm.mjs";
|
|
15
15
|
import { n as CODEX_MANAGED_THREAD_NAMESPACE, r as createCodexManagedThreadStore, t as CODEX_MANAGED_THREAD_MAX_ENTRIES } from "./.setup/managed-thread-store-BMqgThVL.mjs";
|
|
16
16
|
import { n as CODEX_APP_SERVER_BINDING_NAMESPACE, t as CODEX_APP_SERVER_BINDING_MAX_ENTRIES } from "./.setup/session-binding-meta-B7aEMU7g.mjs";
|
|
17
|
-
import { f as retireSharedCodexAppServerClientsBeforeDesktopGeneration } from "./.setup/shared-client-lifecycle-
|
|
18
|
-
import { s as createCodexAppServerProcessReaperService } from "./.setup/transport-stdio-
|
|
17
|
+
import { f as retireSharedCodexAppServerClientsBeforeDesktopGeneration } from "./.setup/shared-client-lifecycle-4LdC3gM4.mjs";
|
|
18
|
+
import { s as createCodexAppServerProcessReaperService } from "./.setup/transport-stdio-CbutOIEh.mjs";
|
|
19
19
|
import { n as codexNativeProfileRecoveryService } from "./.setup/auth-profile-health-oHizqgye.mjs";
|
|
20
20
|
import { n as withCodexConversationThreadActivity } from "./.setup/thread-ownership-queue-Dp24d7-F.mjs";
|
|
21
21
|
import { c as canMutateCodexHost, n as filterCodexMarketplacePlugins, o as CODEX_NATIVE_EXECUTION_AUTH_ERROR, t as discoverCodexMarketplacePlugins } from "./.setup/plugin-marketplace-discovery-D_dV9FXa.mjs";
|
|
22
22
|
import { o as formatCodexDisplayText } from "./.setup/command-formatters-R3ckE3Co.mjs";
|
|
23
23
|
import { a as readCodexConversationBindingDataRecord, i as readCodexConversationBindingData, o as resolveCodexDefaultWorkspaceDir } from "./.setup/conversation-binding-data-C746z5Pn.mjs";
|
|
24
24
|
import { t as isIncognitoSessionKey } from "./.setup/incognito-session-DWYapfwf.mjs";
|
|
25
|
-
import { t as buildCodexMigrationProvider } from "./.setup/provider-
|
|
25
|
+
import { t as buildCodexMigrationProvider } from "./.setup/provider-BnX84knz.mjs";
|
|
26
26
|
import { t as CODEX_CONTROL_METHODS } from "./.setup/capabilities-B3WEZl4e.mjs";
|
|
27
27
|
import { t as assertCodexArchiveDescendantsUnowned } from "./.setup/thread-archive-guard-C9frICzX.mjs";
|
|
28
28
|
import { a as createCodexCliSessionNodeInvokePolicies, c as resolveCodexCliSessionForBindingOnNode, i as createCodexCliSessionNodeHostCommands, l as resumeCodexCliSessionOnNode, s as listCodexCliSessionsOnNode } from "./.setup/node-cli-sessions-HC4W6FLI.mjs";
|
|
29
29
|
import { t as CODEX_CATALOG_MAX_ROWS } from "./.setup/session-catalog-limits-DDxOsQeC.mjs";
|
|
30
30
|
import { t as CODEX_CATALOG_STATE_NAMESPACE } from "./.setup/session-catalog-index-state-TeO7EyO-.mjs";
|
|
31
|
-
import { i as createCodexSessionCatalogNodeHostCommands, n as createCodexSessionCatalogNodeInvokePolicies, r as createCodexSessionCatalogControl, t as codexSessionCatalogRuntime } from "./.setup/session-catalog-
|
|
32
|
-
import { i as requestCodexAppServerJson } from "./.setup/request-
|
|
31
|
+
import { i as createCodexSessionCatalogNodeHostCommands, n as createCodexSessionCatalogNodeInvokePolicies, r as createCodexSessionCatalogControl, t as codexSessionCatalogRuntime } from "./.setup/session-catalog-DFZmNlhW.mjs";
|
|
32
|
+
import { i as requestCodexAppServerJson } from "./.setup/request-DQh7X3fU.mjs";
|
|
33
33
|
import { t as createCodexWebSearchProviderBase } from "./.setup/web-search-provider.shared-BrZmlqyR.mjs";
|
|
34
34
|
import { normalizePluginsConfig, resolveEffectiveEnableState, resolveLivePluginConfigObject, resolvePluginConfigObject } from "openclaw/plugin-sdk/plugin-config-runtime";
|
|
35
35
|
import { definePluginEntry } from "openclaw/plugin-sdk/plugin-entry";
|
|
@@ -46,7 +46,7 @@ import { createLazyRuntimeModule } from "openclaw/plugin-sdk/lazy-runtime";
|
|
|
46
46
|
//#region extensions/codex/src/account-usage.ts
|
|
47
47
|
function registerCodexAccountUsage(api) {
|
|
48
48
|
api.registerGatewayMethod("codex.accountUsage", async (options) => {
|
|
49
|
-
const { handleCodexAccountUsage } = await import("./.setup/account-usage-runtime-
|
|
49
|
+
const { handleCodexAccountUsage } = await import("./.setup/account-usage-runtime-dYM1lh1V.mjs");
|
|
50
50
|
await handleCodexAccountUsage(options);
|
|
51
51
|
}, { scope: "operator.admin" });
|
|
52
52
|
}
|
|
@@ -74,8 +74,8 @@ function createCodexAppServerConnectionHealthService(options) {
|
|
|
74
74
|
return;
|
|
75
75
|
}
|
|
76
76
|
if (runtime.start.transport !== "websocket") return;
|
|
77
|
-
const { getLeasedSharedCodexAppServerClient, releaseLeasedSharedCodexAppServerClient } = await import("./.setup/shared-client-
|
|
78
|
-
const { isUnsupportedCodexAppServerVersionError } = await import("./.setup/client-
|
|
77
|
+
const { getLeasedSharedCodexAppServerClient, releaseLeasedSharedCodexAppServerClient } = await import("./.setup/shared-client-zsK3DTPh.mjs").then((n) => n.v);
|
|
78
|
+
const { isUnsupportedCodexAppServerVersionError } = await import("./.setup/client-6GbdZFc0.mjs").then((n) => n.n);
|
|
79
79
|
if (signal.aborted) return;
|
|
80
80
|
let leasedClient;
|
|
81
81
|
try {
|
|
@@ -226,7 +226,7 @@ function createCodexCommand(options) {
|
|
|
226
226
|
...ctx,
|
|
227
227
|
gatewayClientScopes: ctx.gatewayClientScopes?.slice()
|
|
228
228
|
};
|
|
229
|
-
const { handleCodexCommand } = await import("./.setup/command-dispatch-
|
|
229
|
+
const { handleCodexCommand } = await import("./.setup/command-dispatch-_PPJobF7.mjs");
|
|
230
230
|
return handleCodexCommand(commandContext, options);
|
|
231
231
|
}
|
|
232
232
|
};
|
|
@@ -304,7 +304,7 @@ async function handleCodexConversationInboundClaim(event, ctx, options) {
|
|
|
304
304
|
});
|
|
305
305
|
if (nativeExecutionBlock) return { reply: { text: nativeExecutionBlock } };
|
|
306
306
|
const { getSessionBindingService } = await import("openclaw/plugin-sdk/conversation-binding-runtime");
|
|
307
|
-
const { runBoundTurnWithMissingThreadRecovery } = await import("./.setup/conversation-binding-
|
|
307
|
+
const { runBoundTurnWithMissingThreadRecovery } = await import("./.setup/conversation-binding-CvjxRWI-.mjs");
|
|
308
308
|
const current = options.bindingStore.read(identity);
|
|
309
309
|
if (!isCurrentPublicBinding(publicBinding, getSessionBindingService()) || expected && (!current || current.threadId !== expected.threadId || current.conversationStartId !== expected.conversationStartId) || !expected && current && data.start?.id && current.conversationStartId !== data.start.id) return { reply: { text: "This Codex conversation was detached or changed before its message could run." } };
|
|
310
310
|
return await runBoundTurnWithMissingThreadRecovery({
|
|
@@ -338,7 +338,7 @@ async function handleCodexConversationBindingResolved(event, options) {
|
|
|
338
338
|
const binding = options.bindingStore.read(identity);
|
|
339
339
|
assertCodexBindingMayBeReplaced(binding, "clearing a denied conversation binding");
|
|
340
340
|
if (binding && (!data.start?.id || binding.conversationStartId === data.start.id)) await withCodexConversationThreadActivity(identity.bindingId, async () => {
|
|
341
|
-
const { retireCodexConversationThreadBinding } = await import("./.setup/thread-ownership-
|
|
341
|
+
const { retireCodexConversationThreadBinding } = await import("./.setup/thread-ownership-B0xUCXOU.mjs").then((n) => n.o);
|
|
342
342
|
return retireCodexConversationThreadBinding({
|
|
343
343
|
bindingStore: options.bindingStore,
|
|
344
344
|
identity,
|
|
@@ -390,7 +390,7 @@ function createCodexPluginsTool(options) {
|
|
|
390
390
|
if (runtimeConfig() !== config || !isDeepStrictEqual(options.getPluginConfig(), pluginConfig) || !isDeepStrictEqual(codexBindingConnectionSelection(readBinding()), selection)) throw new Error("Codex plugin discovery ownership changed; retry the request.");
|
|
391
391
|
};
|
|
392
392
|
const workspaceDir = binding?.cwd?.trim() || options.context.workspaceDir?.trim() || resolveCodexDefaultWorkspaceDir(pluginConfig);
|
|
393
|
-
const request = options.request ?? (await import("./.setup/command-rpc-
|
|
393
|
+
const request = options.request ?? (await import("./.setup/command-rpc-Bc_OIgK0.mjs").then((n) => n.n)).codexControlRequest;
|
|
394
394
|
const connection = await resolveCodexBindingAppServerConnection({
|
|
395
395
|
binding,
|
|
396
396
|
pluginConfig,
|
|
@@ -567,7 +567,7 @@ function createCodexThreadsTool(options) {
|
|
|
567
567
|
const mayReadRawTranscripts = supervision?.enabled !== true || supervision.allowRawTranscripts === true;
|
|
568
568
|
if ((action === "fork" || action === "rename" || action === "archive" || action === "unarchive") && supervision?.enabled === true && supervision.allowWriteControls !== true) throw new Error("Codex native thread mutations are disabled for this codex plugin supervision config.");
|
|
569
569
|
const run = async (archiveAdmission) => {
|
|
570
|
-
const request = options.request ?? (await import("./.setup/command-rpc-
|
|
570
|
+
const request = options.request ?? (await import("./.setup/command-rpc-Bc_OIgK0.mjs").then((n) => n.n)).codexControlRequest;
|
|
571
571
|
const { isModelSelectionLocked, ModelSelectionLockedError } = await import("openclaw/plugin-sdk/model-session-runtime");
|
|
572
572
|
const { codexBindingConnectionSelection, resolveCodexBindingAppServerConnection } = await import("./.setup/binding-connection-DTtN1KrX.mjs").then((n) => n.n);
|
|
573
573
|
const { resolveCodexSupervisionAppServerRuntimeOptions } = await import("./.setup/config-runtime-C0NbLms1.mjs").then((n) => n.t);
|
|
@@ -699,8 +699,8 @@ function createCodexThreadsTool(options) {
|
|
|
699
699
|
const usesSupervisionConnection = binding?.connectionScope === "supervision" || admissionPlugin.appServer?.homeScope !== "user" && supervision?.enabled === true;
|
|
700
700
|
if (attach && usesSupervisionConnection) throw new Error("Supervised Codex forks must stay detached; set attach=false.");
|
|
701
701
|
const forkOptions = await requestOptions();
|
|
702
|
-
const { retainCodexAppServerBindingSubscription, rollbackCodexAppServerBindingSubscription } = await import("./.setup/thread-ownership-
|
|
703
|
-
const { closeCodexStartupClientBestEffort } = await import("./.setup/attempt-client-cleanup-
|
|
702
|
+
const { retainCodexAppServerBindingSubscription, rollbackCodexAppServerBindingSubscription } = await import("./.setup/thread-ownership-B0xUCXOU.mjs").then((n) => n.o);
|
|
703
|
+
const { closeCodexStartupClientBestEffort } = await import("./.setup/attempt-client-cleanup-D1aznv7C.mjs").then((n) => n.a);
|
|
704
704
|
if (attach) {
|
|
705
705
|
assertCodexBindingMayBeReplaced(binding, "attaching a different native fork");
|
|
706
706
|
assertThreadIdle(await request(admissionConfig, CODEX_CONTROL_METHODS.readThread, {
|
|
@@ -824,7 +824,7 @@ function createCodexNodeExecServerCommand() {
|
|
|
824
824
|
signal: AbortSignal.any([io.signal, context.signal])
|
|
825
825
|
} : io;
|
|
826
826
|
const assertExecAuthorized = context.prepareExecAuthorization(request.authorization);
|
|
827
|
-
const { runCodexNodeExecServer } = await import("./.setup/node-exec-server.runtime-
|
|
827
|
+
const { runCodexNodeExecServer } = await import("./.setup/node-exec-server.runtime-BS7jsvK-.mjs");
|
|
828
828
|
runtimeIo.signal.throwIfAborted();
|
|
829
829
|
const workspace = await context.acquireManagedWorkspaceAsync({
|
|
830
830
|
workspaceDir: placement.cwd,
|
|
@@ -1660,7 +1660,7 @@ function createCodexSupervisionTools(options) {
|
|
|
1660
1660
|
}
|
|
1661
1661
|
//#endregion
|
|
1662
1662
|
//#region extensions/codex/src/web-search-provider.ts
|
|
1663
|
-
const loadCodexWebSearchRuntime = createLazyRuntimeModule(() => import("./.setup/web-search-provider.runtime
|
|
1663
|
+
const loadCodexWebSearchRuntime = createLazyRuntimeModule(() => import("./.setup/web-search-provider.runtime--55TuUQG.mjs"));
|
|
1664
1664
|
const CodexWebSearchSchema = {
|
|
1665
1665
|
type: "object",
|
|
1666
1666
|
properties: { query: {
|
|
@@ -1925,7 +1925,7 @@ var codex_default = definePluginEntry({
|
|
|
1925
1925
|
if (endedSessionKey && nextSessionKey && nextSessionKey !== endedSessionKey) return;
|
|
1926
1926
|
if (event.nextSessionId?.trim() === event.sessionId.trim()) return;
|
|
1927
1927
|
const config = resolveCurrentConfig();
|
|
1928
|
-
const [{ sessionBindingIdentity }, { retireCodexAppServerSessionGeneration }] = await Promise.all([import("./.setup/session-binding-DGCYAfvD.mjs").then((n) => n.s), import("./.setup/session-retirement-
|
|
1928
|
+
const [{ sessionBindingIdentity }, { retireCodexAppServerSessionGeneration }] = await Promise.all([import("./.setup/session-binding-DGCYAfvD.mjs").then((n) => n.s), import("./.setup/session-retirement-ERjp2r4a.mjs")]);
|
|
1929
1929
|
await retireCodexAppServerSessionGeneration({
|
|
1930
1930
|
bindingStore,
|
|
1931
1931
|
identity: sessionBindingIdentity({
|
|
@@ -33,7 +33,7 @@ async function describeCodexImages(req, options) {
|
|
|
33
33
|
const model = req.model.trim();
|
|
34
34
|
if (!model) throw new Error("Codex image understanding requires model id.");
|
|
35
35
|
req.signal?.throwIfAborted();
|
|
36
|
-
const { runBoundedCodexAppServerTurn } = await import("./.setup/bounded-turn-
|
|
36
|
+
const { runBoundedCodexAppServerTurn } = await import("./.setup/bounded-turn-Ca4urQ25.mjs");
|
|
37
37
|
req.signal?.throwIfAborted();
|
|
38
38
|
const { text } = await runBoundedCodexAppServerTurn({
|
|
39
39
|
config: req.cfg,
|
|
@@ -73,7 +73,7 @@ async function extractCodexStructured(req, options) {
|
|
|
73
73
|
if (req.input.length === 0) throw new Error("Codex structured extraction requires at least one input.");
|
|
74
74
|
if (!req.input.some((entry) => entry.type === "image")) throw new Error("Codex structured extraction requires at least one image input.");
|
|
75
75
|
req.signal?.throwIfAborted();
|
|
76
|
-
const { runBoundedCodexAppServerTurn } = await import("./.setup/bounded-turn-
|
|
76
|
+
const { runBoundedCodexAppServerTurn } = await import("./.setup/bounded-turn-Ca4urQ25.mjs");
|
|
77
77
|
req.signal?.throwIfAborted();
|
|
78
78
|
const { text } = await runBoundedCodexAppServerTurn({
|
|
79
79
|
config: req.cfg,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as buildCodexMigrationProvider } from "./.setup/provider-
|
|
1
|
+
import { t as buildCodexMigrationProvider } from "./.setup/provider-BnX84knz.mjs";
|
|
2
2
|
export { buildCodexMigrationProvider as buildMigrationProvider };
|
|
@@ -5,7 +5,7 @@ const codexProviderDiscovery = {
|
|
|
5
5
|
auth: [],
|
|
6
6
|
prepareSyntheticAuth: async ({ config, provider, env, signal, pluginRoot }) => {
|
|
7
7
|
if (provider !== "codex") return;
|
|
8
|
-
const { probeCodexNativeAuth } = await import("./.setup/native-auth-
|
|
8
|
+
const { probeCodexNativeAuth } = await import("./.setup/native-auth-BN-BD2AV.mjs");
|
|
9
9
|
return await probeCodexNativeAuth({
|
|
10
10
|
config,
|
|
11
11
|
env,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/codex",
|
|
3
|
-
"version": "2026.9.
|
|
3
|
+
"version": "2026.9.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.160.0",
|
|
12
12
|
"@openclaw/fs-safe": "0.21.1",
|
|
13
13
|
"semver": "7.8.5",
|
|
14
14
|
"smol-toml": "1.8.0",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
]
|
|
39
39
|
},
|
|
40
40
|
"compat": {
|
|
41
|
-
"pluginApi": ">=2026.9.
|
|
41
|
+
"pluginApi": ">=2026.9.33"
|
|
42
42
|
},
|
|
43
43
|
"build": {
|
|
44
|
-
"openclawVersion": "2026.9.
|
|
44
|
+
"openclawVersion": "2026.9.33",
|
|
45
45
|
"workerEntries": [
|
|
46
46
|
"./catalog-page.worker.ts"
|
|
47
47
|
]
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"assets/activity.svg"
|
|
67
67
|
],
|
|
68
68
|
"peerDependencies": {
|
|
69
|
-
"openclaw": ">=2026.9.
|
|
69
|
+
"openclaw": ">=2026.9.33"
|
|
70
70
|
},
|
|
71
71
|
"peerDependenciesMeta": {
|
|
72
72
|
"openclaw": {
|