Skip to content

Commit c45cc17

Browse files
authored
fix(codex): update managed runtime to 0.150.1 (#130685)
* fix(codex): update managed runtime to 0.150.1 * test(codex): refresh newer runtime fixtures
1 parent f8d4e45 commit c45cc17

15 files changed

Lines changed: 65 additions & 61 deletions

‎docs/plugins/codex-computer-use.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ reconciliation so OpenClaw does not override that selection.
277277
## Remote marketplaces
278278

279279
Remote marketplace support was introduced in Codex 0.146.1 and remains
280-
available in OpenClaw's pinned Codex 0.149.1. OpenClaw passes the opaque remote
280+
available in OpenClaw's pinned Codex 0.150.1. OpenClaw passes the opaque remote
281281
plugin ID returned by Codex to `plugin/read` and `plugin/install`; a
282282
human-readable plugin name is not a valid substitute.
283283

‎docs/plugins/codex-harness-reference.md‎

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ flags, and plugin allow/deny references into this block. Explicit canonical
172172
## App-server transport
173173

174174
For ordinary harness turns, OpenClaw starts the managed Codex binary shipped
175-
with the official plugin (currently `@openai/codex` `0.149.1`):
175+
with the official plugin (currently `@openai/codex` `0.150.1`):
176176

177177
```bash
178178
codex app-server --listen stdio://
@@ -317,7 +317,7 @@ If the normal app-server runtime would be `danger-full-access`, enabling
317317
permission profile instead. Codex-managed network enforcement is sandboxed
318318
networking, so a full-access profile would not protect outbound traffic.
319319

320-
The plugin manages stable Codex app-server `0.149.1`. Explicit custom
320+
The plugin manages stable Codex app-server `0.150.1`. Explicit custom
321321
executables, remote app-servers, and macOS desktop binaries must report a
322322
parseable semantic version of `0.149.0` or newer. Older, malformed, and
323323
unversioned handshakes are rejected. Newer versions log a compatibility warning
@@ -446,7 +446,7 @@ The stable default is fail-closed: active OpenClaw sandboxing disables native
446446
Codex execution surfaces that would otherwise run from the Codex app-server
447447
host. Use `appServer.experimental.sandboxExecServer: true` only when you want
448448
to try Codex's remote environment support with OpenClaw's sandbox backend.
449-
This preview path uses the pinned Codex `0.149.1` app-server.
449+
This preview path uses the pinned Codex `0.150.1` app-server.
450450

451451
```json5
452452
{
@@ -771,17 +771,21 @@ response remains authoritative even if it contains no visible models; HTTP
771771
`401` and `403` return an empty catalog rather than exposing fallback models.
772772

773773
<Note>
774-
The current bundled harness is `@openai/codex` `0.149.1`. A live `model/list`
775-
probe against the official `0.149.0` app-server returned these public picker
774+
The current bundled harness is `@openai/codex` `0.150.1`. A live `model/list`
775+
probe against the official `0.150.1` app-server returned these public picker
776776
rows:
777777

778-
| Model id | Input modalities | Reasoning efforts |
779-
| --------------- | ---------------- | ------------------------------------ |
780-
| `gpt-5.6-sol` | text, image | low, medium, high, xhigh, max, ultra |
781-
| `gpt-5.6-terra` | text, image | low, medium, high, xhigh, max, ultra |
782-
| `gpt-5.6-luna` | text, image | low, medium, high, xhigh, max |
783-
| `gpt-5.5` | text, image | low, medium, high, xhigh |
784-
| `gpt-5.2` | text, image | low, medium, high, xhigh |
778+
| Model id | Input modalities | Reasoning efforts |
779+
| --------------- | ---------------- | ------------------------------- |
780+
| `gpt-5.5` | text, image | low, medium, high, xhigh |
781+
| `gpt-5.6` | text, image | low, medium, high, xhigh, ultra |
782+
| `gpt-5.6-luna` | text, image | low, medium, high, xhigh, ultra |
783+
| `gpt-5.6-terra` | text, image | low, medium, high, xhigh, ultra |
784+
| `gpt-5.6-sol` | text, image | low, medium, high, xhigh, ultra |
785+
| `gpt-5.4` | text, image | low, medium, high, xhigh |
786+
| `gpt-5.4-mini` | text, image | low, medium, high, xhigh |
787+
| `gpt-5.3-codex` | text, image | low, medium, high, xhigh |
788+
| `gpt-5.2` | text, image | low, medium, high, xhigh |
785789

786790
Available model IDs, input modalities, and reasoning efforts remain
787791
account-scoped. Run `/codex models` after starting or upgrading the gateway to

‎docs/plugins/codex-harness.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ channel is the communication surface.
9191

9292
- The official `@openclaw/codex` plugin installed. Include `codex` in
9393
`plugins.allow` if your config uses an allowlist.
94-
- Managed Codex app-server `0.149.1`. The plugin ships and manages
95-
`@openai/codex` `0.149.1` by default, so a `codex` command on `PATH` does not
94+
- Managed Codex app-server `0.150.1`. The plugin ships and manages
95+
`@openai/codex` `0.150.1` by default, so a `codex` command on `PATH` does not
9696
affect normal startup. Explicit custom, remote, and macOS desktop-owned
9797
app-servers must report a parseable semantic version of `0.149.0` or newer.
9898
Newer versions continue with a compatibility warning and normal runtime

‎docs/plugins/codex-native-plugins.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ working.
2323
- `plugins.entries.codex.enabled` is `true`.
2424
- `plugins.entries.codex.config.codexPlugins.enabled` is `true`.
2525
- Codex app-server reports `0.149.0` or newer. The official plugin ships
26-
`@openai/codex` `0.149.1`; newer custom, remote, and macOS desktop-owned
26+
`@openai/codex` `0.150.1`; newer custom, remote, and macOS desktop-owned
2727
binaries continue with a compatibility warning and normal runtime validation.
2828
- The target Codex app-server can see the expected marketplace, plugin, and
2929
app inventory.

‎extensions/codex/harness.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import type { CodexSessionCatalogControlFactory } from "./src/session-catalog-ty
1818
// New runtime identity uses the `openai` provider.
1919
const DEFAULT_CODEX_HARNESS_PROVIDER_IDS = new Set(["codex", "openai"]);
2020
const SHARED_CODEX_APP_SERVER_CLIENT_DISPOSER = Symbol.for("openclaw.codexAppServerClientDisposer");
21-
// Audited against @openai/codex 0.149.1 (rust-v0.149.1). These exact denies
21+
// Audited against @openai/codex 0.150.1 (rust-v0.150.1). These exact denies
2222
// either have no Codex-native equivalent or are enforced by the harness. Keep
2323
// the list positive and conservative: an omitted tool isolates the native surface.
2424
const CODEX_TOOL_POLICY_SAFE_DENY_NAMES = [

‎extensions/codex/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
},
99
"type": "module",
1010
"dependencies": {
11-
"@openai/codex": "0.149.1",
11+
"@openai/codex": "0.150.1",
1212
"semver": "7.8.5",
1313
"smol-toml": "1.8.0",
1414
"typebox": "1.3.16",

‎extensions/codex/src/app-server/client.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,8 +463,8 @@ describe("CodexAppServerClient", () => {
463463

464464
it.each([
465465
["0.149.0", 0],
466-
["0.150.0-alpha.1", 1],
467-
["0.150.0", 1],
466+
["0.151.0-alpha.4", 1],
467+
["0.151.0", 1],
468468
["1.0.0", 1],
469469
])("accepts app-server version %s for normal startup validation", async (version, warnings) => {
470470
const warn = vi.spyOn(embeddedAgentLog, "warn").mockImplementation(() => undefined);

‎extensions/codex/src/app-server/protocol-generated/json/v2/CodexAppServerProtocolDefinitions.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"CodexErrorInfo": {"description":"This translation layer make sure that we expose codex error code in camel case.\n\nWhen an upstream HTTP status is available (for example, from the Responses API or a provider), it is forwarded in `httpStatusCode` on the relevant `codexErrorInfo` variant.","oneOf":[{"additionalProperties":false,"properties":{"httpConnectionFailed":{"properties":{"httpStatusCode":{"format":"uint16","minimum":0,"type":["integer","null"]}},"type":"object"}},"required":["httpConnectionFailed"],"title":"HttpConnectionFailedCodexErrorInfo","type":"object"},{"additionalProperties":false,"description":"Failed to connect to the response SSE stream.","properties":{"responseStreamConnectionFailed":{"properties":{"httpStatusCode":{"format":"uint16","minimum":0,"type":["integer","null"]}},"type":"object"}},"required":["responseStreamConnectionFailed"],"title":"ResponseStreamConnectionFailedCodexErrorInfo","type":"object"},{"additionalProperties":false,"description":"The response SSE stream disconnected in the middle of a turn before completion.","properties":{"responseStreamDisconnected":{"properties":{"httpStatusCode":{"format":"uint16","minimum":0,"type":["integer","null"]}},"type":"object"}},"required":["responseStreamDisconnected"],"title":"ResponseStreamDisconnectedCodexErrorInfo","type":"object"},{"additionalProperties":false,"description":"Reached the retry limit for responses.","properties":{"responseTooManyFailedAttempts":{"properties":{"httpStatusCode":{"format":"uint16","minimum":0,"type":["integer","null"]}},"type":"object"}},"required":["responseTooManyFailedAttempts"],"title":"ResponseTooManyFailedAttemptsCodexErrorInfo","type":"object"},{"additionalProperties":false,"description":"Returned when `turn/start` or `turn/steer` is submitted while the current active turn cannot accept same-turn steering, for example `/review` or manual `/compact`.","properties":{"activeTurnNotSteerable":{"properties":{"turnKind":{"$ref":"#/definitions/NonSteerableTurnKind"}},"required":["turnKind"],"type":"object"}},"required":["activeTurnNotSteerable"],"title":"ActiveTurnNotSteerableCodexErrorInfo","type":"object"},{"enum":["contextWindowExceeded","sessionBudgetExceeded","usageLimitExceeded","serverOverloaded","cyberPolicy","misalignmentPolicyViolation","internalServerError","unauthorized","badRequest","threadRollbackFailed","sandboxError","other"],"type":"string"}]},
1313
"CollabAgentState": {"properties":{"message":{"type":["string","null"]},"status":{"$ref":"#/definitions/CollabAgentStatus"}},"required":["status"],"type":"object"},
1414
"CollabAgentStatus": {"enum":["pendingInit","running","interrupted","completed","errored","shutdown","notFound"],"type":"string"},
15-
"CollabAgentTool": {"enum":["spawnAgent","sendInput","resumeAgent","wait","closeAgent"],"type":"string"},
16-
"CollabAgentToolCallStatus": {"enum":["inProgress","completed","failed"],"type":"string"},
15+
"CollabAgentTool": {"enum":["spawnAgent","sendInput","resumeAgent","wait","closeAgent","sendMessage","followupTask","interruptAgent","listAgents"],"type":"string"},
16+
"CollabAgentToolCallStatus": {"enum":["inProgress","completed","failed","interrupted"],"type":"string"},
1717
"CommandAction": {"oneOf":[{"properties":{"command":{"type":"string"},"name":{"type":"string"},"path":{"$ref":"#/definitions/LegacyAppPathString"},"type":{"enum":["read"],"title":"ReadCommandActionType","type":"string"}},"required":["command","name","path","type"],"title":"ReadCommandAction","type":"object"},{"properties":{"command":{"type":"string"},"path":{"type":["string","null"]},"type":{"enum":["listFiles"],"title":"ListFilesCommandActionType","type":"string"}},"required":["command","type"],"title":"ListFilesCommandAction","type":"object"},{"properties":{"command":{"type":"string"},"path":{"type":["string","null"]},"query":{"type":["string","null"]},"type":{"enum":["search"],"title":"SearchCommandActionType","type":"string"}},"required":["command","type"],"title":"SearchCommandAction","type":"object"},{"properties":{"command":{"type":"string"},"type":{"enum":["unknown"],"title":"UnknownCommandActionType","type":"string"}},"required":["command","type"],"title":"UnknownCommandAction","type":"object"}]},
1818
"CommandExecutionSource": {"enum":["agent","userShell","unifiedExecStartup","unifiedExecInteraction"],"type":"string"},
1919
"CommandExecutionStatus": {"enum":["inProgress","completed","failed","declined"],"type":"string"},
@@ -48,7 +48,7 @@
4848
"ReasoningEffortOption": {"properties":{"description":{"type":"string"},"reasoningEffort":{"$ref":"#/definitions/ReasoningEffort"}},"required":["description","reasoningEffort"],"type":"object"},
4949
"SandboxPolicy": {"oneOf":[{"properties":{"type":{"enum":["dangerFullAccess"],"title":"DangerFullAccessSandboxPolicyType","type":"string"}},"required":["type"],"title":"DangerFullAccessSandboxPolicy","type":"object"},{"properties":{"networkAccess":{"default":false,"type":"boolean"},"type":{"enum":["readOnly"],"title":"ReadOnlySandboxPolicyType","type":"string"}},"required":["type"],"title":"ReadOnlySandboxPolicy","type":"object"},{"properties":{"networkAccess":{"allOf":[{"$ref":"#/definitions/NetworkAccess"}],"default":"restricted"},"type":{"enum":["externalSandbox"],"title":"ExternalSandboxSandboxPolicyType","type":"string"}},"required":["type"],"title":"ExternalSandboxSandboxPolicy","type":"object"},{"properties":{"excludeSlashTmp":{"default":false,"type":"boolean"},"excludeTmpdirEnvVar":{"default":false,"type":"boolean"},"networkAccess":{"default":false,"type":"boolean"},"type":{"enum":["workspaceWrite"],"title":"WorkspaceWriteSandboxPolicyType","type":"string"},"writableRoots":{"default":[],"items":{"$ref":"#/definitions/AbsolutePathBuf"},"type":"array"}},"required":["type"],"title":"WorkspaceWriteSandboxPolicy","type":"object"}]},
5050
"SessionSource": {"oneOf":[{"additionalProperties":false,"properties":{"custom":{"type":"string"}},"required":["custom"],"title":"CustomSessionSource","type":"object"},{"additionalProperties":false,"properties":{"subAgent":{"$ref":"#/definitions/SubAgentSource"}},"required":["subAgent"],"title":"SubAgentSessionSource","type":"object"},{"enum":["cli","vscode","exec","appServer","unknown"],"type":"string"}]},
51-
"SubAgentActivityKind": {"enum":["started","interacted","interrupted"],"type":"string"},
51+
"SubAgentActivityKind": {"enum":["started","interacted","interrupted","completed"],"type":"string"},
5252
"SubAgentSource": {"oneOf":[{"additionalProperties":false,"properties":{"thread_spawn":{"properties":{"agent_nickname":{"default":null,"type":["string","null"]},"agent_path":{"anyOf":[{"$ref":"#/definitions/AgentPath"},{"type":"null"}],"default":null},"agent_role":{"default":null,"type":["string","null"]},"depth":{"format":"int32","type":"integer"},"parent_thread_id":{"$ref":"#/definitions/ThreadId"}},"required":["depth","parent_thread_id"],"type":"object"}},"required":["thread_spawn"],"title":"ThreadSpawnSubAgentSource","type":"object"},{"additionalProperties":false,"properties":{"other":{"type":"string"}},"required":["other"],"title":"OtherSubAgentSource","type":"object"},{"enum":["review","compact","memory_consolidation"],"type":"string"}]},
5353
"TextElement": {"properties":{"byteRange":{"allOf":[{"$ref":"#/definitions/ByteRange"}],"description":"Byte range in the parent `text` buffer that this element occupies."},"placeholder":{"description":"Optional human-readable placeholder for the element, displayed in the UI.","type":["string","null"]}},"required":["byteRange"],"type":"object"},
5454
"Thread": {"properties":{"agentNickname":{"description":"Optional random unique nickname assigned to an AgentControl-spawned sub-agent.","type":["string","null"]},"agentRole":{"description":"Optional role (agent_role) assigned to an AgentControl-spawned sub-agent.","type":["string","null"]},"canAcceptDirectInput":{"description":"Whether the app server accepts direct turn input for this loaded thread. `None` means the capability is unavailable, such as for an unloaded stored thread.","type":["boolean","null"]},"cliVersion":{"description":"Version of the CLI that created the thread.","type":"string"},"createdAt":{"description":"Unix timestamp (in seconds) when the thread was created.","format":"int64","type":"integer"},"cwd":{"allOf":[{"$ref":"#/definitions/AbsolutePathBuf"}],"description":"Working directory captured for the thread."},"ephemeral":{"description":"Whether the thread is ephemeral and should not be materialized on disk.","type":"boolean"},"extra":{"anyOf":[{"$ref":"#/definitions/ThreadExtra"},{"type":"null"}],"description":"Optional implementation-specific thread data."},"forkedFromId":{"description":"Source thread id when this thread was created by forking another thread.","type":["string","null"]},"gitInfo":{"anyOf":[{"$ref":"#/definitions/GitInfo"},{"type":"null"}],"description":"Optional Git metadata captured when the thread was created."},"historyMode":{"allOf":[{"$ref":"#/definitions/ThreadHistoryMode"}],"default":"legacy","description":"Persisted thread history contract selected when this thread was created."},"id":{"description":"Identifier for this thread. Codex-generated thread IDs are UUIDv7.","type":"string"},"modelProvider":{"description":"Model provider used for this thread (for example, 'openai').","type":"string"},"name":{"description":"Optional user-facing thread title.","type":["string","null"]},"parentThreadId":{"description":"The ID of the parent thread. This will only be set if this thread is a subagent.","type":["string","null"]},"path":{"description":"[UNSTABLE] Path to the thread on disk.","type":["string","null"]},"preview":{"description":"Usually the first user message in the thread, if available.","type":"string"},"projectId":{"description":"Canonical project assignment owned by app-server, if any.","type":["string","null"]},"recencyAt":{"description":"Unix timestamp (in seconds) used for thread recency ordering.","format":"int64","type":["integer","null"]},"section":{"anyOf":[{"$ref":"#/definitions/ThreadSection"},{"type":"null"}],"default":null,"description":"The independently persisted section selected for this thread, if any."},"sectionEnteredAt":{"default":null,"description":"Unix timestamp in seconds when the thread entered its current section.","format":"int64","type":["integer","null"]},"sessionId":{"description":"Session id shared by threads that belong to the same session tree.","type":"string"},"source":{"allOf":[{"$ref":"#/definitions/SessionSource"}],"description":"Origin of the thread (CLI, VSCode, codex exec, codex app-server, etc.)."},"status":{"allOf":[{"$ref":"#/definitions/ThreadStatus"}],"description":"Current runtime status for the thread."},"threadSource":{"anyOf":[{"$ref":"#/definitions/ThreadSource"},{"type":"null"}],"description":"Optional analytics source classification for this thread."},"turns":{"description":"Only populated on `thread/resume`, `thread/rollback`, `thread/fork`, and `thread/read` (when `includeTurns` is true) responses. For all other responses and notifications returning a Thread, the turns field will be an empty list.","items":{"$ref":"#/definitions/Turn"},"type":"array"},"updatedAt":{"description":"Unix timestamp (in seconds) when the thread was last updated.","format":"int64","type":"integer"}},"required":["cliVersion","createdAt","cwd","ephemeral","id","modelProvider","preview","projectId","sessionId","source","status","turns","updatedAt"],"type":"object"},

‎extensions/codex/src/app-server/shared-client.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ describe("shared Codex app-server client", () => {
714714
const startOptions = configureManagedDesktopFallback();
715715

716716
const acquire = getSharedCodexAppServerClient({ startOptions, timeoutMs: 1_000 });
717-
await sendInitializeResult(desktop, "openclaw/0.150.0-alpha.23 (macOS; test)");
717+
await sendInitializeResult(desktop, "openclaw/0.151.0-alpha.4 (macOS; test)");
718718
const client = await acquire;
719719

720720
expect(client).toBe(desktop.client);
@@ -728,7 +728,7 @@ describe("shared Codex app-server client", () => {
728728
expect(mocks.embeddedAgentLog.warn).toHaveBeenCalledWith(
729729
"codex app-server is newer than OpenClaw's managed runtime; continuing with normal startup validation",
730730
{
731-
detectedVersion: "0.150.0-alpha.23",
731+
detectedVersion: "0.151.0-alpha.4",
732732
validatedVersion: CODEX_APP_SERVER_VERSION,
733733
},
734734
);

‎extensions/codex/src/app-server/version.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Version and package pins for the managed Codex app-server runtime.
33
*/
44
/** Exact Codex app-server version shipped by the OpenClaw Codex bridge. */
5-
export const CODEX_APP_SERVER_VERSION = "0.149.1";
5+
export const CODEX_APP_SERVER_VERSION = "0.150.1";
66
/** Inclusive runtime compatibility floor for external app-server binaries. */
77
export const MIN_SUPPORTED_CODEX_APP_SERVER_VERSION = "0.149.0";
88
/** npm package name for the managed Codex app-server binary. */

0 commit comments

Comments
 (0)