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 b79de62
Browse filesBrowse the repository at this point in the historyBrowse files
- Dependencies: refresh workspace pins and patch targets, including ACPX `@agentclientprotocol/claude-agent-acp` `0.33.1`, Codex ACP `0.14.0`, Baileys `7.0.0-rc10`, Google GenAI `2.0.1`, OpenAI `6.37.0`, AWS SDK `3.1045.0`, Kysely `0.29.0`, Tlon skill `0.3.6`, Aimock `1.19.5`, and tsdown `0.22.0`.
14
14
- Agents/compaction: preserve scoped background exec/process session references across embedded compaction and after-turn runtime contexts without exposing sessions from unrelated scopes. Fixes #79284. (#79307) Thanks @TurboTheTurtle.
15
15
- CLI/onboarding: improve setup, onboarding, configure, and channel command wayfinding so terminal flows explain the next useful command instead of relying on terse setup labels.
16
+
- Agents/Codex: remove the configurable Codex dynamic-tools profile so Codex app-server always owns workspace, edit, patch, exec, process, and plan tools while OpenClaw integration tools remain available.
Copy file name to clipboardExpand all lines: docs/cli/doctor.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,7 @@ Notes:
67
67
- Doctor includes a memory-search readiness check and can recommend `openclaw configure --section model` when embedding credentials are missing.
68
68
- Doctor warns when no command owner is configured. The command owner is the human operator account allowed to run owner-only commands and approve dangerous actions. DM pairing only lets someone talk to the bot; if you approved a sender before first-owner bootstrap existed, set `commands.ownerAllowFrom` explicitly.
69
69
- Doctor warns when Codex-mode agents are configured and personal Codex CLI assets exist in the operator's Codex home. Local Codex app-server launches use isolated per-agent homes, so use `openclaw migrate codex --dry-run` to inventory assets that should be promoted deliberately.
- Doctor warns when skills allowed for the default agent are unavailable in the current runtime environment because bins, env vars, config, or OS requirements are missing. `doctor --fix` can disable those unavailable skills with `skills.entries.<skill>.enabled=false`; install/configure the missing requirement instead when you want to keep the skill active.
71
72
- If sandbox mode is enabled but Docker is unavailable, doctor reports a high-signal warning with remediation (`install Docker` or `openclaw config set agents.defaults.sandbox.mode off`).
72
73
- If legacy sandbox registry files (`~/.openclaw/sandbox/containers.json` or `~/.openclaw/sandbox/browsers.json`) are present, doctor reports them; `openclaw doctor --fix` migrates valid entries into sharded registry directories and quarantines invalid legacy files.
- legacy `models.providers.*.api: "openai"` → `"openai-completions"` (gateway startup also skips providers whose `api` is set to a future or unknown enum value rather than failing closed)
|`transport`|`"stdio"`|`"stdio"` spawns Codex; `"websocket"` connects to `url`. |
448
+
|`command`| managed Codex binary | Executable for stdio transport. Leave unset to use the managed binary; set it only for an explicit override. |
449
+
|`args`|`["app-server", "--listen", "stdio://"]`| Arguments for stdio transport. |
450
+
|`url`| unset | WebSocket app-server URL. |
451
+
|`authToken`| unset | Bearer token for WebSocket transport. |
452
+
|`headers`|`{}`| Extra WebSocket headers. |
453
+
|`clearEnv`|`[]`| Extra environment variable names removed from the spawned stdio app-server process after OpenClaw builds its inherited environment. `CODEX_HOME` and `HOME` are reserved for OpenClaw's per-agent Codex isolation on local launches. |
454
+
|`requestTimeoutMs`|`60000`| Timeout for app-server control-plane calls. |
455
+
|`turnCompletionIdleTimeoutMs`|`60000`| Quiet window after a turn-scoped Codex app-server request while OpenClaw waits for `turn/completed`. Raise this for slow post-tool or status-only synthesis phases. |
456
+
|`mode`|`"yolo"` unless local Codex requirements disallow YOLO | Preset for YOLO or guardian-reviewed execution. Local stdio requirements that omit `danger-full-access`, `never` approval, or the `user` reviewer make the implicit default guardian. |
457
+
|`approvalPolicy`|`"never"` or an allowed guardian approval policy | Native Codex approval policy sent to thread start/resume/turn. Guardian defaults prefer `"on-request"` when allowed. |
458
+
|`sandbox`|`"danger-full-access"` or an allowed guardian sandbox | Native Codex sandbox mode sent to thread start/resume. Guardian defaults prefer `"workspace-write"` when allowed, otherwise `"read-only"`. |
459
+
|`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. |
460
+
|`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"`. |
461
+
462
+
OpenClaw-owned dynamic tool calls are bounded independently from
463
+
`appServer.requestTimeoutMs`: Codex `item/tool/call` requests use a 30 second
464
+
OpenClaw watchdog by default. A positive per-call `timeoutMs` argument extends
465
+
or shortens that specific tool budget. The `image_generate` tool also uses
466
+
`agents.defaults.imageGenerationModel.timeoutMs` when the tool call does not
467
+
provide its own timeout, and the media-understanding `image` tool uses
468
+
`tools.media.image.timeoutSeconds` or its 60 second media default. Dynamic tool
469
+
budgets are capped at 600000 ms. On timeout, OpenClaw aborts the tool signal
470
+
where supported and returns a failed dynamic-tool response to Codex so the turn
471
+
can continue instead of leaving the session in `processing`.
472
+
473
+
After OpenClaw responds to a Codex turn-scoped app-server request, the harness
474
+
also expects Codex to finish the native turn with `turn/completed`. If the
475
+
app-server goes quiet for `appServer.turnCompletionIdleTimeoutMs` after that
476
+
response, OpenClaw best-effort interrupts the Codex turn, records a diagnostic
477
+
timeout, and releases the OpenClaw session lane so follow-up chat messages are
478
+
not queued behind a stale native turn. Any non-terminal notification for the
479
+
same turn, including `rawResponseItem/completed`, disarms that short watchdog
480
+
because Codex has proven the turn is still alive; the longer terminal watchdog
481
+
continues to protect genuinely stuck turns. Timeout diagnostics include the
482
+
last app-server notification method and, for raw assistant response items, the
483
+
item type, role, id, and a bounded assistant text preview.
484
+
485
+
Environment overrides remain available for local testing:
486
+
487
+
-`OPENCLAW_CODEX_APP_SERVER_BIN`
488
+
-`OPENCLAW_CODEX_APP_SERVER_ARGS`
489
+
-`OPENCLAW_CODEX_APP_SERVER_MODE=yolo|guardian`
490
+
-`OPENCLAW_CODEX_APP_SERVER_APPROVAL_POLICY`
491
+
-`OPENCLAW_CODEX_APP_SERVER_SANDBOX`
492
+
493
+
`OPENCLAW_CODEX_APP_SERVER_BIN` bypasses the managed binary when
494
+
`appServer.command` is unset.
495
+
496
+
`OPENCLAW_CODEX_APP_SERVER_GUARDIAN=1` was removed. Use
497
+
`plugins.entries.codex.config.appServer.mode: "guardian"` instead, or
498
+
`OPENCLAW_CODEX_APP_SERVER_MODE=guardian` for one-off local testing. Config is
499
+
preferred for repeatable deployments because it keeps the plugin behavior in the
500
+
same reviewed file as the rest of the Codex harness setup.
501
+
380
502
## Native Codex plugins
381
503
382
504
Native Codex plugin support uses Codex app-server's own app and plugin
0 commit comments