diff --git a/docs/plugins/codex-harness-reference.md b/docs/plugins/codex-harness-reference.md index d1d5657db969..259bb0857b4c 100644 --- a/docs/plugins/codex-harness-reference.md +++ b/docs/plugins/codex-harness-reference.md @@ -373,7 +373,7 @@ If discovery fails or times out, OpenClaw uses a bundled fallback catalog for: - GPT-5.4 mini - GPT-5.2 -The current bundled harness is `@openai/codex` `0.137.0`. A `model/list` probe +The current bundled harness is `@openai/codex` `0.139.0`. A `model/list` probe against that bundled app-server returned: | Model id | Default | Hidden | Input modalities | Reasoning efforts | diff --git a/extensions/codex/npm-shrinkwrap.json b/extensions/codex/npm-shrinkwrap.json index b8b113949561..26a3b14cd7ff 100644 --- a/extensions/codex/npm-shrinkwrap.json +++ b/extensions/codex/npm-shrinkwrap.json @@ -8,16 +8,16 @@ "name": "@openclaw/codex", "version": "2026.6.2", "dependencies": { - "@openai/codex": "0.137.0", + "@openai/codex": "0.139.0", "typebox": "1.1.39", "ws": "8.21.0", "zod": "4.4.3" } }, "node_modules/@openai/codex": { - "version": "0.137.0", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.137.0.tgz", - "integrity": "sha512-1jUsCnzDBwv7Z4VFZajIlsz41fC18qg6d5qK4PEZhiUk0zJHS90/uGBA70aQPUJLTUZShvyKVAANjw6J/D9eYQ==", + "version": "0.139.0", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.139.0.tgz", + "integrity": "sha512-wr2fRE+fzW0CjEbfFsLh1ftarVEcw0CMLWS7QyA0nyOz5qacQPVq3cq2+/U7oEbwm1TOqoi0Fm1nxniB5FkpmA==", "license": "Apache-2.0", "bin": { "codex": "bin/codex.js" @@ -26,19 +26,19 @@ "node": ">=16" }, "optionalDependencies": { - "@openai/codex-darwin-arm64": "npm:@openai/codex@0.137.0-darwin-arm64", - "@openai/codex-darwin-x64": "npm:@openai/codex@0.137.0-darwin-x64", - "@openai/codex-linux-arm64": "npm:@openai/codex@0.137.0-linux-arm64", - "@openai/codex-linux-x64": "npm:@openai/codex@0.137.0-linux-x64", - "@openai/codex-win32-arm64": "npm:@openai/codex@0.137.0-win32-arm64", - "@openai/codex-win32-x64": "npm:@openai/codex@0.137.0-win32-x64" + "@openai/codex-darwin-arm64": "npm:@openai/codex@0.139.0-darwin-arm64", + "@openai/codex-darwin-x64": "npm:@openai/codex@0.139.0-darwin-x64", + "@openai/codex-linux-arm64": "npm:@openai/codex@0.139.0-linux-arm64", + "@openai/codex-linux-x64": "npm:@openai/codex@0.139.0-linux-x64", + "@openai/codex-win32-arm64": "npm:@openai/codex@0.139.0-win32-arm64", + "@openai/codex-win32-x64": "npm:@openai/codex@0.139.0-win32-x64" } }, "node_modules/@openai/codex-darwin-arm64": { "name": "@openai/codex", - "version": "0.137.0-darwin-arm64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.137.0-darwin-arm64.tgz", - "integrity": "sha512-YjKmre7DlKslQVhSfocHscgxntZKaZc1LQySKh7q+hNL8jdK+c8nSWSePi583yKFNIxZ8Z/zCkewtjFNvOpQiQ==", + "version": "0.139.0-darwin-arm64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.139.0-darwin-arm64.tgz", + "integrity": "sha512-o+0ZKWwgDFMMLO7rwinzO0PQsgK+Vme1pMN2GeAxsX29ZgGZcyPICfpJbeGSUO1mb2a36Skjx6nfdRnxMY0r7w==", "cpu": [ "arm64" ], @@ -53,9 +53,9 @@ }, "node_modules/@openai/codex-darwin-x64": { "name": "@openai/codex", - "version": "0.137.0-darwin-x64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.137.0-darwin-x64.tgz", - "integrity": "sha512-zjzrFV80LZby9et44dan82e3cwUd46U7u1LSVXTIz5AUcY4y1KZpAeN6cSLVKMZuOHXTDpi15MUQdRwzdeqIOg==", + "version": "0.139.0-darwin-x64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.139.0-darwin-x64.tgz", + "integrity": "sha512-9gkBWzu6DB2rqU4DbpxD3DE5bofGpsK46Lp0h0I+bKWc2IIcxvSi8K2utKmBLoJCbKrn4JQu7dFNGRqEfENung==", "cpu": [ "x64" ], @@ -70,9 +70,9 @@ }, "node_modules/@openai/codex-linux-arm64": { "name": "@openai/codex", - "version": "0.137.0-linux-arm64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.137.0-linux-arm64.tgz", - "integrity": "sha512-R3ZZymQQA1qpp6OpowN49XJ4scHwSckq7CjVvgmLv3bIs3X+F0XXK3xPFkC9vs2mX3wPekPi3ONpxx+yPAsJ6Q==", + "version": "0.139.0-linux-arm64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.139.0-linux-arm64.tgz", + "integrity": "sha512-tBQE5lZciRHeWZGuURgjP9S717MvTIpQMc593+DNxY2LQxozkngOkzFSQd1+/UmQKGrCqdFLu5irIwPXpSZyEw==", "cpu": [ "arm64" ], @@ -87,9 +87,9 @@ }, "node_modules/@openai/codex-linux-x64": { "name": "@openai/codex", - "version": "0.137.0-linux-x64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.137.0-linux-x64.tgz", - "integrity": "sha512-n+26MUj8rekbEDUeYTGoD6HXuGS0MmLHn2LOn0i5qTNYIJvXV82B7cCLSTzVKF/RJxRMRl22se9Q0Z035JIVng==", + "version": "0.139.0-linux-x64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.139.0-linux-x64.tgz", + "integrity": "sha512-14UgzDS+X4crkvdt6S02A/ZZOrS8ZyWiuTRpguCtnhNamb7unSuDxy86BWgpAl3sqiTaN2CP8VLyp2ohQ8Nbzw==", "cpu": [ "x64" ], @@ -104,9 +104,9 @@ }, "node_modules/@openai/codex-win32-arm64": { "name": "@openai/codex", - "version": "0.137.0-win32-arm64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.137.0-win32-arm64.tgz", - "integrity": "sha512-Cofktt213TycdQ/v+nAUuwXUBzjMWfA/ZkXyqefyXxDgw0TMtaiM3cgDna3I8YdXnR0PM9AMbx4t7VloJ3ZZYQ==", + "version": "0.139.0-win32-arm64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.139.0-win32-arm64.tgz", + "integrity": "sha512-nlwRjsYotH1Rtqu/Q0VwQbIeO2UX1mkHK84Ov9qn/hl29QqqoBtno0tRyqIPbkXFIVQuWiAYXlV3ugLwH5fTrQ==", "cpu": [ "arm64" ], @@ -121,9 +121,9 @@ }, "node_modules/@openai/codex-win32-x64": { "name": "@openai/codex", - "version": "0.137.0-win32-x64", - "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.137.0-win32-x64.tgz", - "integrity": "sha512-g9qZ9ERrm5OWXMWJOgojYv1kOc5jajTKq37PBMSe56aJfAr9Jk/qBvIOy7LKq3rABdXuz8k+W65PIt2E1hXilw==", + "version": "0.139.0-win32-x64", + "resolved": "https://registry.npmjs.org/@openai/codex/-/codex-0.139.0-win32-x64.tgz", + "integrity": "sha512-lQrVLNz+90wdvWVNFDvCkHQRiAK9ZllmkTka3c8eqSDqdJk35Gpgppfv9Xtw5M2ZBtTq0sBdWBiCMyzGDBSpmQ==", "cpu": [ "x64" ], diff --git a/extensions/codex/package.json b/extensions/codex/package.json index 335b952daa7f..9ac747f19e76 100644 --- a/extensions/codex/package.json +++ b/extensions/codex/package.json @@ -8,7 +8,7 @@ }, "type": "module", "dependencies": { - "@openai/codex": "0.137.0", + "@openai/codex": "0.139.0", "typebox": "1.1.39", "ws": "8.21.0", "zod": "4.4.3" diff --git a/extensions/codex/src/app-server/protocol-generated/json/v2/ModelListResponse.json b/extensions/codex/src/app-server/protocol-generated/json/v2/ModelListResponse.json index 8b036e2f00c7..b6527154ae3d 100644 --- a/extensions/codex/src/app-server/protocol-generated/json/v2/ModelListResponse.json +++ b/extensions/codex/src/app-server/protocol-generated/json/v2/ModelListResponse.json @@ -185,15 +185,8 @@ "type": "object" }, "ReasoningEffort": { - "description": "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", - "enum": [ - "none", - "minimal", - "low", - "medium", - "high", - "xhigh" - ], + "description": "A non-empty reasoning effort value advertised by the model.", + "minLength": 1, "type": "string" }, "ReasoningEffortOption": { diff --git a/extensions/codex/src/app-server/protocol-generated/json/v2/ThreadResumeResponse.json b/extensions/codex/src/app-server/protocol-generated/json/v2/ThreadResumeResponse.json index 9a4881c87c5c..acccb22e785a 100644 --- a/extensions/codex/src/app-server/protocol-generated/json/v2/ThreadResumeResponse.json +++ b/extensions/codex/src/app-server/protocol-generated/json/v2/ThreadResumeResponse.json @@ -718,15 +718,8 @@ ] }, "ReasoningEffort": { - "description": "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", - "enum": [ - "none", - "minimal", - "low", - "medium", - "high", - "xhigh" - ], + "description": "A non-empty reasoning effort value advertised by the model.", + "minLength": 1, "type": "string" }, "SandboxPolicy": { diff --git a/extensions/codex/src/app-server/protocol-generated/json/v2/ThreadStartResponse.json b/extensions/codex/src/app-server/protocol-generated/json/v2/ThreadStartResponse.json index 0cc1438f39a2..9b88689fb729 100644 --- a/extensions/codex/src/app-server/protocol-generated/json/v2/ThreadStartResponse.json +++ b/extensions/codex/src/app-server/protocol-generated/json/v2/ThreadStartResponse.json @@ -718,15 +718,8 @@ ] }, "ReasoningEffort": { - "description": "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", - "enum": [ - "none", - "minimal", - "low", - "medium", - "high", - "xhigh" - ], + "description": "A non-empty reasoning effort value advertised by the model.", + "minLength": 1, "type": "string" }, "SandboxPolicy": { diff --git a/extensions/codex/src/app-server/protocol-generated/json/v2/TurnCompletedNotification.json b/extensions/codex/src/app-server/protocol-generated/json/v2/TurnCompletedNotification.json index 08f8a08dbc84..968e4c6b489d 100644 --- a/extensions/codex/src/app-server/protocol-generated/json/v2/TurnCompletedNotification.json +++ b/extensions/codex/src/app-server/protocol-generated/json/v2/TurnCompletedNotification.json @@ -606,15 +606,8 @@ ] }, "ReasoningEffort": { - "description": "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", - "enum": [ - "none", - "minimal", - "low", - "medium", - "high", - "xhigh" - ], + "description": "A non-empty reasoning effort value advertised by the model.", + "minLength": 1, "type": "string" }, "TextElement": { diff --git a/extensions/codex/src/app-server/protocol-generated/json/v2/TurnStartResponse.json b/extensions/codex/src/app-server/protocol-generated/json/v2/TurnStartResponse.json index 768fde278dda..4518da5a89d0 100644 --- a/extensions/codex/src/app-server/protocol-generated/json/v2/TurnStartResponse.json +++ b/extensions/codex/src/app-server/protocol-generated/json/v2/TurnStartResponse.json @@ -606,15 +606,8 @@ ] }, "ReasoningEffort": { - "description": "See https://platform.openai.com/docs/guides/reasoning?api-mode=responses#get-started-with-reasoning", - "enum": [ - "none", - "minimal", - "low", - "medium", - "high", - "xhigh" - ], + "description": "A non-empty reasoning effort value advertised by the model.", + "minLength": 1, "type": "string" }, "TextElement": { diff --git a/extensions/codex/src/app-server/version.ts b/extensions/codex/src/app-server/version.ts index 50b2a9f2e098..118bd313958a 100644 --- a/extensions/codex/src/app-server/version.ts +++ b/extensions/codex/src/app-server/version.ts @@ -9,4 +9,4 @@ export const MIN_CODEX_SANDBOX_EXEC_SERVER_APP_SERVER_VERSION = "0.132.0"; export const MANAGED_CODEX_APP_SERVER_PACKAGE = "@openai/codex"; // Keep this in sync with the Codex CLI live-test package pin. /** Managed Codex app-server package version installed by OpenClaw. */ -export const MANAGED_CODEX_APP_SERVER_PACKAGE_VERSION = "0.137.0"; +export const MANAGED_CODEX_APP_SERVER_PACKAGE_VERSION = "0.139.0"; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d9ad64920279..8c8536445f3f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -515,8 +515,8 @@ importers: extensions/codex: dependencies: '@openai/codex': - specifier: 0.137.0 - version: 0.137.0 + specifier: 0.139.0 + version: 0.139.0 typebox: specifier: 1.1.39 version: 1.1.39 @@ -3103,43 +3103,43 @@ packages: resolution: {integrity: sha512-tlc/FcYIv5i8RYsl2iDil4A0gOihaas1R5jPcIC4Zw3GhjKsVilw90aHcVlhZPTBLGBzd379S+VcnsDjd9ChiA==} engines: {node: '>=12.4.0'} - '@openai/codex@0.137.0': - resolution: {integrity: sha512-1jUsCnzDBwv7Z4VFZajIlsz41fC18qg6d5qK4PEZhiUk0zJHS90/uGBA70aQPUJLTUZShvyKVAANjw6J/D9eYQ==} + '@openai/codex@0.139.0': + resolution: {integrity: sha512-wr2fRE+fzW0CjEbfFsLh1ftarVEcw0CMLWS7QyA0nyOz5qacQPVq3cq2+/U7oEbwm1TOqoi0Fm1nxniB5FkpmA==} engines: {node: '>=16'} hasBin: true - '@openai/codex@0.137.0-darwin-arm64': - resolution: {integrity: sha512-YjKmre7DlKslQVhSfocHscgxntZKaZc1LQySKh7q+hNL8jdK+c8nSWSePi583yKFNIxZ8Z/zCkewtjFNvOpQiQ==} + '@openai/codex@0.139.0-darwin-arm64': + resolution: {integrity: sha512-o+0ZKWwgDFMMLO7rwinzO0PQsgK+Vme1pMN2GeAxsX29ZgGZcyPICfpJbeGSUO1mb2a36Skjx6nfdRnxMY0r7w==} engines: {node: '>=16'} cpu: [arm64] os: [darwin] - '@openai/codex@0.137.0-darwin-x64': - resolution: {integrity: sha512-zjzrFV80LZby9et44dan82e3cwUd46U7u1LSVXTIz5AUcY4y1KZpAeN6cSLVKMZuOHXTDpi15MUQdRwzdeqIOg==} + '@openai/codex@0.139.0-darwin-x64': + resolution: {integrity: sha512-9gkBWzu6DB2rqU4DbpxD3DE5bofGpsK46Lp0h0I+bKWc2IIcxvSi8K2utKmBLoJCbKrn4JQu7dFNGRqEfENung==} engines: {node: '>=16'} cpu: [x64] os: [darwin] - '@openai/codex@0.137.0-linux-arm64': - resolution: {integrity: sha512-R3ZZymQQA1qpp6OpowN49XJ4scHwSckq7CjVvgmLv3bIs3X+F0XXK3xPFkC9vs2mX3wPekPi3ONpxx+yPAsJ6Q==} + '@openai/codex@0.139.0-linux-arm64': + resolution: {integrity: sha512-tBQE5lZciRHeWZGuURgjP9S717MvTIpQMc593+DNxY2LQxozkngOkzFSQd1+/UmQKGrCqdFLu5irIwPXpSZyEw==} engines: {node: '>=16'} cpu: [arm64] os: [linux] - '@openai/codex@0.137.0-linux-x64': - resolution: {integrity: sha512-n+26MUj8rekbEDUeYTGoD6HXuGS0MmLHn2LOn0i5qTNYIJvXV82B7cCLSTzVKF/RJxRMRl22se9Q0Z035JIVng==} + '@openai/codex@0.139.0-linux-x64': + resolution: {integrity: sha512-14UgzDS+X4crkvdt6S02A/ZZOrS8ZyWiuTRpguCtnhNamb7unSuDxy86BWgpAl3sqiTaN2CP8VLyp2ohQ8Nbzw==} engines: {node: '>=16'} cpu: [x64] os: [linux] - '@openai/codex@0.137.0-win32-arm64': - resolution: {integrity: sha512-Cofktt213TycdQ/v+nAUuwXUBzjMWfA/ZkXyqefyXxDgw0TMtaiM3cgDna3I8YdXnR0PM9AMbx4t7VloJ3ZZYQ==} + '@openai/codex@0.139.0-win32-arm64': + resolution: {integrity: sha512-nlwRjsYotH1Rtqu/Q0VwQbIeO2UX1mkHK84Ov9qn/hl29QqqoBtno0tRyqIPbkXFIVQuWiAYXlV3ugLwH5fTrQ==} engines: {node: '>=16'} cpu: [arm64] os: [win32] - '@openai/codex@0.137.0-win32-x64': - resolution: {integrity: sha512-g9qZ9ERrm5OWXMWJOgojYv1kOc5jajTKq37PBMSe56aJfAr9Jk/qBvIOy7LKq3rABdXuz8k+W65PIt2E1hXilw==} + '@openai/codex@0.139.0-win32-x64': + resolution: {integrity: sha512-lQrVLNz+90wdvWVNFDvCkHQRiAK9ZllmkTka3c8eqSDqdJk35Gpgppfv9Xtw5M2ZBtTq0sBdWBiCMyzGDBSpmQ==} engines: {node: '>=16'} cpu: [x64] os: [win32] @@ -9040,31 +9040,31 @@ snapshots: '@nolyfill/domexception@1.0.28': {} - '@openai/codex@0.137.0': + '@openai/codex@0.139.0': optionalDependencies: - '@openai/codex-darwin-arm64': '@openai/codex@0.137.0-darwin-arm64' - '@openai/codex-darwin-x64': '@openai/codex@0.137.0-darwin-x64' - '@openai/codex-linux-arm64': '@openai/codex@0.137.0-linux-arm64' - '@openai/codex-linux-x64': '@openai/codex@0.137.0-linux-x64' - '@openai/codex-win32-arm64': '@openai/codex@0.137.0-win32-arm64' - '@openai/codex-win32-x64': '@openai/codex@0.137.0-win32-x64' + '@openai/codex-darwin-arm64': '@openai/codex@0.139.0-darwin-arm64' + '@openai/codex-darwin-x64': '@openai/codex@0.139.0-darwin-x64' + '@openai/codex-linux-arm64': '@openai/codex@0.139.0-linux-arm64' + '@openai/codex-linux-x64': '@openai/codex@0.139.0-linux-x64' + '@openai/codex-win32-arm64': '@openai/codex@0.139.0-win32-arm64' + '@openai/codex-win32-x64': '@openai/codex@0.139.0-win32-x64' - '@openai/codex@0.137.0-darwin-arm64': + '@openai/codex@0.139.0-darwin-arm64': optional: true - '@openai/codex@0.137.0-darwin-x64': + '@openai/codex@0.139.0-darwin-x64': optional: true - '@openai/codex@0.137.0-linux-arm64': + '@openai/codex@0.139.0-linux-arm64': optional: true - '@openai/codex@0.137.0-linux-x64': + '@openai/codex@0.139.0-linux-x64': optional: true - '@openai/codex@0.137.0-win32-arm64': + '@openai/codex@0.139.0-win32-arm64': optional: true - '@openai/codex@0.137.0-win32-x64': + '@openai/codex@0.139.0-win32-x64': optional: true '@openclaw/fs-safe@0.3.0':