mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 13:00:44 +00:00
fix: migrate agent runtime config
This commit is contained in:
@@ -20,7 +20,7 @@ Codex has two OpenClaw routes:
|
||||
|
||||
| Route | Config/command | Setup page |
|
||||
| -------------------------- | ------------------------------------------------------ | --------------------------------------- |
|
||||
| Native Codex app-server | `/codex ...`, `embeddedHarness.runtime: "codex"` | [Codex harness](/plugins/codex-harness) |
|
||||
| Native Codex app-server | `/codex ...`, `agentRuntime.id: "codex"` | [Codex harness](/plugins/codex-harness) |
|
||||
| Explicit Codex ACP adapter | `/acp spawn codex`, `runtime: "acp", agentId: "codex"` | This page |
|
||||
|
||||
Prefer the native route unless you explicitly need ACP/acpx behavior.
|
||||
|
||||
@@ -20,7 +20,7 @@ Each ACP session spawn is tracked as a [background task](/automation/tasks).
|
||||
<Note>
|
||||
**ACP is the external-harness path, not the default Codex path.** The
|
||||
native Codex app-server plugin owns `/codex ...` controls and the
|
||||
`embeddedHarness.runtime: "codex"` embedded runtime; ACP owns
|
||||
`agentRuntime.id: "codex"` embedded runtime; ACP owns
|
||||
`/acp ...` controls and `sessions_spawn({ runtime: "acp" })` sessions.
|
||||
|
||||
If you want Codex or Claude Code to connect as an external MCP client
|
||||
@@ -172,7 +172,7 @@ Quick `/acp` flow from chat:
|
||||
</Accordion>
|
||||
<Accordion title="Model / provider / runtime selection cheat sheet">
|
||||
- `openai-codex/*` — PI Codex OAuth/subscription route.
|
||||
- `openai/*` plus `embeddedHarness.runtime: "codex"` — native Codex app-server embedded runtime.
|
||||
- `openai/*` plus `agentRuntime.id: "codex"` — native Codex app-server embedded runtime.
|
||||
- `/codex ...` — native Codex conversation control.
|
||||
- `/acp ...` or `runtime: "acp"` — explicit ACP/acpx control.
|
||||
</Accordion>
|
||||
|
||||
@@ -212,7 +212,7 @@ OpenClaw scans for plugins in this order (first match wins):
|
||||
runtime
|
||||
- OpenAI-family Codex routes keep separate plugin boundaries:
|
||||
`openai-codex/*` belongs to the OpenAI plugin, while the bundled Codex
|
||||
app-server plugin is selected by `embeddedHarness.runtime: "codex"` or legacy
|
||||
app-server plugin is selected by `agentRuntime.id: "codex"` or legacy
|
||||
`codex/*` model refs
|
||||
|
||||
## Troubleshooting runtime hooks
|
||||
|
||||
Reference in New Issue
Block a user