@openclaw/codex 2026.5.12-beta.2 → 2026.5.12-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{command-handlers-D9CzemFF.js → command-handlers-DGTxF3Ph.js} +3 -3
- package/dist/{computer-use-Br-1hHIR.js → computer-use-CxZtHe2d.js} +1 -1
- package/dist/{conversation-binding-Dn66MHqg.js → conversation-binding-gYFBs_iE.js} +1 -1
- package/dist/harness.js +1 -1
- package/dist/index.js +5 -4
- package/dist/{request-DSOsuqmX.js → request-BbINGs00.js} +4 -1
- package/dist/{run-attempt-y4QDhBHf.js → run-attempt-v84eRX2_.js} +2 -2
- package/package.json +4 -4
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { i as isCodexFastServiceTier, s as resolveCodexAppServerRuntimeOptions } from "./config-0rd3LnKg.js";
|
|
2
2
|
import { n as listCodexAppServerModels, t as listAllCodexAppServerModels } from "./models-DqfYggBz.js";
|
|
3
3
|
import { t as isJsonObject } from "./protocol-C9UWI98H.js";
|
|
4
|
-
import { n as CODEX_CONTROL_METHODS, r as describeControlFailure, t as requestCodexAppServerJson } from "./request-
|
|
4
|
+
import { n as CODEX_CONTROL_METHODS, r as describeControlFailure, t as requestCodexAppServerJson } from "./request-BbINGs00.js";
|
|
5
5
|
import { a as formatComputerUseStatus, c as formatThreads, i as formatCodexStatus, l as readString$1, n as formatAccount, o as formatList, p as summarizeCodexAccountUsage, r as formatCodexDisplayText, s as formatModels, t as buildHelp } from "./command-formatters-Ttwc_kgX.js";
|
|
6
6
|
import { i as readCodexAppServerBinding, o as writeCodexAppServerBinding, t as clearCodexAppServerBinding } from "./session-binding-CDN-Pf8K.js";
|
|
7
|
-
import { a as parseCodexFastModeArg, c as setCodexConversationFastMode, d as steerCodexConversationTurn, f as stopCodexConversationTurn, i as formatPermissionsMode, l as setCodexConversationModel, m as resolveCodexDefaultWorkspaceDir, o as parseCodexPermissionsModeArg, p as readCodexConversationBindingData, r as startCodexConversationThread, s as readCodexConversationActiveTurn, u as setCodexConversationPermissions } from "./conversation-binding-
|
|
8
|
-
import { n as installCodexComputerUse, r as readCodexComputerUseStatus } from "./computer-use-
|
|
7
|
+
import { a as parseCodexFastModeArg, c as setCodexConversationFastMode, d as steerCodexConversationTurn, f as stopCodexConversationTurn, i as formatPermissionsMode, l as setCodexConversationModel, m as resolveCodexDefaultWorkspaceDir, o as parseCodexPermissionsModeArg, p as readCodexConversationBindingData, r as startCodexConversationThread, s as readCodexConversationActiveTurn, u as setCodexConversationPermissions } from "./conversation-binding-gYFBs_iE.js";
|
|
8
|
+
import { n as installCodexComputerUse, r as readCodexComputerUseStatus } from "./computer-use-CxZtHe2d.js";
|
|
9
9
|
import { n as rememberCodexRateLimits } from "./rate-limit-cache-BFi-50LG.js";
|
|
10
10
|
import crypto from "node:crypto";
|
|
11
11
|
import { ensureAuthProfileStore, findNormalizedProviderValue, resolveAuthProfileEligibility, resolveAuthProfileOrder, resolveDefaultAgentDir, resolveProfileUnusableUntilForDisplay } from "openclaw/plugin-sdk/agent-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as resolveCodexComputerUseConfig, s as resolveCodexAppServerRuntimeOptions } from "./config-0rd3LnKg.js";
|
|
2
|
-
import { r as describeControlFailure, t as requestCodexAppServerJson } from "./request-
|
|
2
|
+
import { r as describeControlFailure, t as requestCodexAppServerJson } from "./request-BbINGs00.js";
|
|
3
3
|
import { existsSync } from "node:fs";
|
|
4
4
|
//#region extensions/codex/src/app-server/computer-use.ts
|
|
5
5
|
var CodexComputerUseSetupError = class extends Error {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as isCodexFastServiceTier, r as codexSandboxPolicyForTurn, s as resolveCodexAppServerRuntimeOptions } from "./config-0rd3LnKg.js";
|
|
2
2
|
import { t as isJsonObject } from "./protocol-C9UWI98H.js";
|
|
3
|
-
import { n as CODEX_CONTROL_METHODS } from "./request-
|
|
3
|
+
import { n as CODEX_CONTROL_METHODS } from "./request-BbINGs00.js";
|
|
4
4
|
import { r as formatCodexDisplayText } from "./command-formatters-Ttwc_kgX.js";
|
|
5
5
|
import { l as resolveCodexAppServerAuthProfileIdForAgent, r as getSharedCodexAppServerClient } from "./shared-client-DSSqFqHM.js";
|
|
6
6
|
import { i as readCodexAppServerBinding, n as isCodexAppServerNativeAuthProfile, o as writeCodexAppServerBinding, r as normalizeCodexAppServerBindingModelProvider, t as clearCodexAppServerBinding } from "./session-binding-CDN-Pf8K.js";
|
package/dist/harness.js
CHANGED
|
@@ -18,7 +18,7 @@ function createCodexAppServerAgentHarness(options) {
|
|
|
18
18
|
};
|
|
19
19
|
},
|
|
20
20
|
runAttempt: async (params) => {
|
|
21
|
-
const { runCodexAppServerAttempt } = await import("./run-attempt-
|
|
21
|
+
const { runCodexAppServerAttempt } = await import("./run-attempt-v84eRX2_.js");
|
|
22
22
|
return runCodexAppServerAttempt(params, { pluginConfig: options?.pluginConfig });
|
|
23
23
|
},
|
|
24
24
|
runSideQuestion: async (params) => {
|
package/dist/index.js
CHANGED
|
@@ -2,10 +2,10 @@ import { createCodexAppServerAgentHarness } from "./harness.js";
|
|
|
2
2
|
import { o as readCodexPluginConfig, s as resolveCodexAppServerRuntimeOptions, t as CODEX_PLUGINS_MARKETPLACE_NAME } from "./config-0rd3LnKg.js";
|
|
3
3
|
import { buildCodexMediaUnderstandingProvider } from "./media-understanding-provider.js";
|
|
4
4
|
import { buildCodexProvider } from "./provider.js";
|
|
5
|
-
import { r as describeControlFailure, t as requestCodexAppServerJson } from "./request-
|
|
5
|
+
import { r as describeControlFailure, t as requestCodexAppServerJson } from "./request-BbINGs00.js";
|
|
6
6
|
import { r as formatCodexDisplayText } from "./command-formatters-Ttwc_kgX.js";
|
|
7
7
|
import { l as resolveCodexAppServerAuthProfileIdForAgent, s as resolveCodexAppServerAuthAccountCacheKey, u as resolveCodexAppServerEnvApiKeyCacheKey } from "./shared-client-DSSqFqHM.js";
|
|
8
|
-
import { n as handleCodexConversationInboundClaim, t as handleCodexConversationBindingResolved } from "./conversation-binding-
|
|
8
|
+
import { n as handleCodexConversationInboundClaim, t as handleCodexConversationBindingResolved } from "./conversation-binding-gYFBs_iE.js";
|
|
9
9
|
import { a as defaultCodexAppInventoryCache, n as pluginReadParams, t as ensureCodexPluginActivation } from "./plugin-activation-PXGqUjwY.js";
|
|
10
10
|
import { t as buildCodexPluginAppCacheKey } from "./plugin-app-cache-key-DjrZp49q.js";
|
|
11
11
|
import { resolveLivePluginConfigObject } from "openclaw/plugin-sdk/plugin-config-runtime";
|
|
@@ -39,7 +39,7 @@ async function handleCodexCommand(ctx, options = {}) {
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
async function loadDefaultCodexSubcommandHandler() {
|
|
42
|
-
const { handleCodexSubcommand } = await import("./command-handlers-
|
|
42
|
+
const { handleCodexSubcommand } = await import("./command-handlers-DGTxF3Ph.js");
|
|
43
43
|
return handleCodexSubcommand;
|
|
44
44
|
}
|
|
45
45
|
//#endregion
|
|
@@ -810,7 +810,8 @@ async function applyCodexPluginInstallItem(ctx, item) {
|
|
|
810
810
|
timeoutMs: 6e4,
|
|
811
811
|
startOptions: appServer.start,
|
|
812
812
|
agentDir: resolveCodexMigrationTargets(ctx).agentDir,
|
|
813
|
-
config: ctx.config
|
|
813
|
+
config: ctx.config,
|
|
814
|
+
isolated: true
|
|
814
815
|
}),
|
|
815
816
|
appCache: defaultCodexAppInventoryCache,
|
|
816
817
|
appCacheKey
|
|
@@ -34,7 +34,10 @@ async function requestCodexAppServerJson(params) {
|
|
|
34
34
|
try {
|
|
35
35
|
return await client.request(params.method, params.requestParams, { timeoutMs });
|
|
36
36
|
} finally {
|
|
37
|
-
if (params.isolated) client.
|
|
37
|
+
if (params.isolated) await client.closeAndWait({
|
|
38
|
+
exitTimeoutMs: 2e3,
|
|
39
|
+
forceKillDelayMs: 250
|
|
40
|
+
});
|
|
38
41
|
}
|
|
39
42
|
})(), timeoutMs, `codex app-server ${params.method} timed out`);
|
|
40
43
|
}
|
|
@@ -2,7 +2,7 @@ import { l as resolveCodexPluginsPolicy, o as readCodexPluginConfig, s as resolv
|
|
|
2
2
|
import { a as readCodexDynamicToolCallParams, c as readCodexTurn, i as assertCodexTurnStartResponse } from "./protocol-validators-CSY0BFBo.js";
|
|
3
3
|
import { t as isJsonObject } from "./protocol-C9UWI98H.js";
|
|
4
4
|
import { i as isCodexAppServerConnectionClosedError, r as isCodexAppServerApprovalRequest } from "./client-kySkmL1r.js";
|
|
5
|
-
import { n as CODEX_CONTROL_METHODS } from "./request-
|
|
5
|
+
import { n as CODEX_CONTROL_METHODS } from "./request-BbINGs00.js";
|
|
6
6
|
import { d as resolveCodexUsageLimitResetAtMs, f as shouldRefreshCodexRateLimitsForUsageLimitMessage, r as formatCodexDisplayText, u as formatCodexUsageLimitErrorMessage } from "./command-formatters-Ttwc_kgX.js";
|
|
7
7
|
import { c as resolveCodexAppServerAuthProfileId, l as resolveCodexAppServerAuthProfileIdForAgent, o as refreshCodexAppServerAuthTokens, s as resolveCodexAppServerAuthAccountCacheKey, t as clearSharedCodexAppServerClientIfCurrent, u as resolveCodexAppServerEnvApiKeyCacheKey } from "./shared-client-DSSqFqHM.js";
|
|
8
8
|
import { i as readCodexAppServerBinding } from "./session-binding-CDN-Pf8K.js";
|
|
@@ -11,7 +11,7 @@ import { t as buildCodexPluginAppCacheKey } from "./plugin-app-cache-key-DjrZp49
|
|
|
11
11
|
import { d as buildCodexPluginThreadConfig, f as buildCodexPluginThreadConfigInputFingerprint, g as normalizeCodexDynamicToolName, h as filterCodexDynamicTools, m as createCodexDynamicToolBridge, o as buildTurnStartParams, p as shouldBuildCodexPluginThreadConfig, r as buildDeveloperInstructions, s as codexDynamicToolsFingerprint, t as areCodexDynamicToolFingerprintsCompatible, u as startOrResumeThread } from "./thread-lifecycle-DW0z5zYm.js";
|
|
12
12
|
import { n as defaultCodexAppServerClientFactory } from "./client-factory-Bw7M3rdW.js";
|
|
13
13
|
import { n as handleCodexAppServerElicitationRequest, r as handleCodexAppServerApprovalRequest, t as filterToolsForVisionInputs } from "./vision-tools-DHyuabWn.js";
|
|
14
|
-
import { t as ensureCodexComputerUse } from "./computer-use-
|
|
14
|
+
import { t as ensureCodexComputerUse } from "./computer-use-CxZtHe2d.js";
|
|
15
15
|
import { n as rememberCodexRateLimits, t as readRecentCodexRateLimits } from "./rate-limit-cache-BFi-50LG.js";
|
|
16
16
|
import { createHash } from "node:crypto";
|
|
17
17
|
import nodeFs from "node:fs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/codex",
|
|
3
|
-
"version": "2026.5.12-beta.
|
|
3
|
+
"version": "2026.5.12-beta.4",
|
|
4
4
|
"description": "OpenClaw Codex harness and model provider plugin",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"minHostVersion": ">=2026.5.1-beta.1"
|
|
28
28
|
},
|
|
29
29
|
"compat": {
|
|
30
|
-
"pluginApi": ">=2026.5.12-beta.
|
|
30
|
+
"pluginApi": ">=2026.5.12-beta.4"
|
|
31
31
|
},
|
|
32
32
|
"build": {
|
|
33
|
-
"openclawVersion": "2026.5.12-beta.
|
|
33
|
+
"openclawVersion": "2026.5.12-beta.4"
|
|
34
34
|
},
|
|
35
35
|
"release": {
|
|
36
36
|
"publishToClawHub": true,
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"openclaw.plugin.json"
|
|
46
46
|
],
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"openclaw": ">=2026.5.12-beta.
|
|
48
|
+
"openclaw": ">=2026.5.12-beta.4"
|
|
49
49
|
},
|
|
50
50
|
"peerDependenciesMeta": {
|
|
51
51
|
"openclaw": {
|