



























@@ -85,24 +85,25 @@ For an already-running app-server, use WebSocket transport:
85858686Supported `appServer` fields:
878788-| Field | Default | Meaning |
89-| -------------------------------- | ------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
90-| `transport` | `"stdio"` | `"stdio"` spawns Codex; `"websocket"` connects to `url`. |
91-| `command` | managed Codex binary | Executable for stdio transport. Leave unset to use the managed binary. |
92-| `args` | `["app-server", "--listen", "stdio://"]` | Arguments for stdio transport. |
93-| `url` | unset | WebSocket app-server URL. |
94-| `authToken` | unset | Bearer token for WebSocket transport. |
95-| `headers` | `{}` | Extra WebSocket headers. |
96-| `clearEnv` | `[]` | Extra environment variable names removed from the spawned stdio app-server process after OpenClaw builds its inherited environment. |
97-| `requestTimeoutMs` | `60000` | Timeout for app-server control-plane calls. |
98-| `turnCompletionIdleTimeoutMs` | `60000` | Quiet window after Codex accepts a turn or after a turn-scoped app-server request while OpenClaw waits for `turn/completed`. |
99-| `mode` | `"yolo"` unless local Codex requirements disallow YOLO | Preset for YOLO or guardian-reviewed execution. |
100-| `approvalPolicy` | `"never"` or an allowed guardian approval policy | Native Codex approval policy sent to thread start, resume, and turn. |
101-| `sandbox` | `"danger-full-access"` or an allowed guardian sandbox | Native Codex sandbox mode sent to thread start and resume when OpenClaw sandboxing is inactive. Active OpenClaw sandboxes disable native Code Mode instead of relying on Codex host-side sandboxing. |
102-| `approvalsReviewer` | `"user"` or an allowed guardian reviewer | Use `"auto_review"` to let Codex review native approval prompts when allowed. |
103-| `defaultWorkspaceDir` | current process directory | Workspace used by `/codex bind` when `--cwd` is omitted. |
104-| `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"`. |
105-| `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. |
88+| Field | Default | Meaning |
89+| --------------------------------------------- | ------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
90+| `transport` | `"stdio"` | `"stdio"` spawns Codex; `"websocket"` connects to `url`. |
91+| `command` | managed Codex binary | Executable for stdio transport. Leave unset to use the managed binary. |
92+| `args` | `["app-server", "--listen", "stdio://"]` | Arguments for stdio transport. |
93+| `url` | unset | WebSocket app-server URL. |
94+| `authToken` | unset | Bearer token for WebSocket transport. |
95+| `headers` | `{}` | Extra WebSocket headers. |
96+| `clearEnv` | `[]` | Extra environment variable names removed from the spawned stdio app-server process after OpenClaw builds its inherited environment. |
97+| `requestTimeoutMs` | `60000` | Timeout for app-server control-plane calls. |
98+| `turnCompletionIdleTimeoutMs` | `60000` | Quiet window after Codex accepts a turn or after a turn-scoped app-server request while OpenClaw waits for `turn/completed`. |
99+| `postToolRawAssistantCompletionIdleTimeoutMs` | unset | Completion-idle guard used after a tool handoff when Codex emits raw assistant completion or progress but does not send `turn/completed`. Defaults to the assistant completion idle timeout when unset. Use this for trusted or heavy workloads where post-tool synthesis can legitimately stay quiet longer than the final assistant release budget. |
100+| `mode` | `"yolo"` unless local Codex requirements disallow YOLO | Preset for YOLO or guardian-reviewed execution. |
101+| `approvalPolicy` | `"never"` or an allowed guardian approval policy | Native Codex approval policy sent to thread start, resume, and turn. |
102+| `sandbox` | `"danger-full-access"` or an allowed guardian sandbox | Native Codex sandbox mode sent to thread start and resume. Active OpenClaw sandboxes narrow `danger-full-access` turns to Codex `workspace-write`; the turn network flag follows OpenClaw sandbox egress. |
103+| `approvalsReviewer` | `"user"` or an allowed guardian reviewer | Use `"auto_review"` to let Codex review native approval prompts when allowed. |
104+| `defaultWorkspaceDir` | current process directory | Workspace used by `/codex bind` when `--cwd` is omitted. |
105+| `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"`. |
106+| `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. |
106107107108The plugin blocks older or unversioned app-server handshakes. Codex app-server
108109must report stable version `0.125.0` or newer.
@@ -330,9 +331,12 @@ turn-scoped tool-result handoff. Completed `agentMessage` items and pre-tool raw
330331assistant `rawResponseItem/completed` items arm the assistant-output release: if
331332Codex then goes quiet without `turn/completed`, OpenClaw best-effort interrupts
332333the native turn and releases the session lane. Post-tool raw assistant progress
333-keeps waiting for `turn/completed` or the terminal watchdog. Timeout diagnostics
334-include the last app-server notification method and, for raw assistant response
335-items, the item type, role, id, and a bounded assistant text preview.
334+keeps waiting for `turn/completed` while a completion-idle guard stays armed; the
335+guard uses `appServer.postToolRawAssistantCompletionIdleTimeoutMs` when
336+configured and falls back to the assistant completion idle timeout otherwise.
337+Timeout diagnostics include the last app-server notification method and, for raw
338+assistant response items, the item type, role, id, and a bounded assistant text
339+preview.
336340337341## Model discovery
338342此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。