You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e5798e5
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(codex): raise app-server floor to 0.142, drop range compat, fix deferred spawn_agent steering (#101221)
* refactor(codex): raise app-server floor to 0.142 and drop range-compat protocol paths
* refactor(codex): model subagent mirror state as one map
* style(codex): format event-projector
* test(codex): drop unused shared-client test import
* refactor(codex): drop v1-era notification field aliases
* fix(codex): teach models to load deferred native spawn_agent via tool_search
* docs(codex): realign harness config tables
* docs(changelog): note Codex app-server protocol update
- **Codex app-server protocol:** require app-server 0.142 or newer, remove pre-0.142 wire-shape compatibility, and teach Codex to retrieve deferred native `spawn_agent` through `tool_search` so native subagent task mirroring works on search-capable models. (#101221)
26
27
- **Android hardware keyboard chat:** send with unmodified Enter on physical keyboards while preserving Shift+Enter and other modified Enter combinations for multiline input. (#101239) Thanks @3ninyt3nin-creator.
27
28
- **CJK Markdown emphasis:** render adjacent Chinese, Japanese, and Korean emphasis punctuation through the shared Markdown pipeline instead of leaking literal markers across channels. (#101230, #101120) Thanks @nicknmorty.
28
29
- **Codex yielded native subagents:** keep the parent app-server subscription and shared client alive until yielded native subagent completion delivery settles, preventing lost wakeups and leaked one-shot cleanup.
Copy file name to clipboardExpand all lines: docs/plugins/codex-harness-reference.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@ For an already-running app-server, use WebSocket transport:
105
105
|`defaultWorkspaceDir`| current process directory | Workspace used by `/codex bind` when `--cwd` is omitted. |
106
106
|`serviceTier`| unset | Optional Codex app-server service tier. `"priority"` enables fast-mode routing, `"flex"` requests flex processing, and `null` clears the override. Legacy `"fast"` is accepted as `"priority"`. |
107
107
|`networkProxy`| disabled | Opt into Codex permissions-profile networking for app-server commands. OpenClaw defines the selected `permissions.<profile>.network` config and selects it with `default_permissions` instead of sending `sandbox`. |
108
-
|`experimental.sandboxExecServer`|`false`| Preview opt-in that registers an OpenClaw sandbox-backed Codex environment with Codex app-server 0.132.0 or newer so native Codex execution can run inside the active OpenClaw sandbox. |
108
+
|`experimental.sandboxExecServer`|`false`| Preview opt-in that registers an OpenClaw sandbox-backed Codex environment with the supported Codex app-server so native Codex execution can run inside the active OpenClaw sandbox.|
109
109
110
110
`appServer.networkProxy` is explicit because it changes the Codex sandbox
111
111
contract. When enabled, OpenClaw also sets `features.network_proxy.enabled` and
Copy file name to clipboardExpand all lines: docs/plugins/codex-harness-runtime.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ Supported in Codex runtime v1:
125
125
| Dynamic tool hooks | Supported |`before_tool_call`, `after_tool_call`, and tool-result middleware run around OpenClaw-owned dynamic tools. |
126
126
| Lifecycle hooks | Supported as adapter observations |`llm_input`, `llm_output`, `agent_end`, `before_compaction`, and `after_compaction` fire with honest Codex-mode payloads. |
127
127
| Final-answer revision gate | Supported through native hook relay | Codex `Stop` is relayed to `before_agent_finalize`; `revise` asks Codex for one more model pass before finalization. |
128
-
| Native shell, patch, and MCP block or observe | Supported through native hook relay | Codex `PreToolUse` and `PostToolUse` are relayed for committed native tool surfaces, including MCP payloads on Codex app-server `0.125.0` or newer. Blocking is supported; argument rewriting is not. |
128
+
| Native shell, patch, and MCP block or observe | Supported through native hook relay | Codex `PreToolUse` and `PostToolUse` are relayed for committed native tool surfaces, including MCP payloads on Codex app-server `0.142.0` or newer. Blocking is supported; argument rewriting is not. |
129
129
| Native permission policy | Supported through Codex app-server approvals and compatibility native hook relay | Codex app-server approval requests route through OpenClaw after Codex review. The `PermissionRequest` native hook relay is opt-in for native approval modes because Codex emits it before guardian review. |
130
130
| App-server trajectory capture | Supported | OpenClaw records the request it sent to app-server and the app-server notifications it receives. |
Copy file name to clipboardExpand all lines: docs/plugins/codex-harness.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ channel is the communication surface.
38
38
39
39
- OpenClaw with the bundled `codex` plugin available. Include `codex` in
40
40
`plugins.allow` if your config uses an allowlist.
41
-
- Codex app-server `0.125.0` or newer. The plugin manages a compatible
41
+
- Codex app-server `0.142.0` or newer. The plugin manages a compatible
42
42
binary by default, so a `codex` command on `PATH` does not affect normal
43
43
startup.
44
44
- Codex auth through `openclaw models auth login --provider openai`, an
@@ -638,7 +638,7 @@ Supported `appServer` fields:
638
638
|`approvalsReviewer`|`"user"` or an allowed guardian reviewer | Use `"auto_review"` to let Codex review native approval prompts when allowed, otherwise `guardian_subagent` or `user`. `guardian_subagent` remains a legacy alias. |
639
639
|`serviceTier`| unset | Optional Codex app-server service tier. `"priority"` enables fast-mode routing, `"flex"` requests flex processing, `null` clears the override, and legacy `"fast"` is accepted as `"priority"`. |
640
640
|`networkProxy`| disabled | Opt into Codex permissions-profile networking for app-server commands. OpenClaw defines the selected `permissions.<profile>.network` config and selects it with `default_permissions` instead of sending `sandbox`. |
641
-
|`experimental.sandboxExecServer`|`false`| Preview opt-in that registers an OpenClaw sandbox-backed Codex environment with Codex app-server 0.132.0 or newer so native Codex execution can run inside the active OpenClaw sandbox. |
641
+
|`experimental.sandboxExecServer`|`false`| Preview opt-in that registers an OpenClaw sandbox-backed Codex environment with the supported Codex app-server so native Codex execution can run inside the active OpenClaw sandbox.|
642
642
643
643
`appServer.networkProxy` is explicit because it changes the Codex sandbox
644
644
contract. When enabled, OpenClaw also sets `features.network_proxy.enabled`
@@ -900,10 +900,10 @@ instead of a plain OpenAI API-key failure.
900
900
Doctor rewrites legacy model refs to `openai/*`, removes stale session and
901
901
whole-agent runtime pins, and preserves existing auth-profile overrides.
902
902
903
-
**The app-server is rejected:** use Codex app-server `0.125.0` or newer.
903
+
**The app-server is rejected:** use Codex app-server `0.142.0` or newer.
904
904
Same-version prereleases or build-suffixed versions such as
905
-
`0.125.0-alpha.2` or `0.125.0+custom` are rejected because OpenClaw tests
906
-
the stable `0.125.0` protocol floor.
905
+
`0.142.0-alpha.2` or `0.142.0+custom` are rejected because OpenClaw tests
906
+
the stable `0.142.0` protocol floor.
907
907
908
908
**`/codex status` cannot connect:** check that the bundled `codex` plugin
909
909
is enabled, that `plugins.allow` includes it when an allowlist is
0 commit comments