
























@@ -25,7 +25,7 @@ These are in-process OpenClaw hooks, not Codex `hooks.json` command hooks:
2525- `before_message_write` for mirrored transcript records
2626- `agent_end`
272728-Plugins can also register harness-neutral tool-result middleware to rewrite
28+Plugins can also register runtime-neutral tool-result middleware to rewrite
2929OpenClaw dynamic tool results after OpenClaw executes the tool and before the
3030result is returned to Codex. This is separate from the public
3131`tool_result_persist` plugin hook, which transforms OpenClaw-owned transcript
@@ -35,8 +35,8 @@ The harness is off by default. New configs should keep OpenAI model refs
3535canonical as `openai/gpt-*` and explicitly force
3636`embeddedHarness.runtime: "codex"` or `OPENCLAW_AGENT_RUNTIME=codex` when they
3737want native app-server execution. Legacy `codex/*` model refs still auto-select
38-the harness for compatibility, but they are not shown as normal model/provider
39-choices.
38+the harness for compatibility, but runtime-backed legacy provider prefixes are
39+not shown as normal model/provider choices.
40404141## Pick the right model prefix
4242@@ -56,10 +56,12 @@ app-server harness. Direct API-key access for `openai/gpt-5.5` is supported
5656once OpenAI enables GPT-5.5 on the public API.
57575858Legacy `codex/gpt-*` refs remain accepted as compatibility aliases. Doctor
59-compatibility migration rewrites legacy primary `codex/*` refs to `openai/*`
60-and records the Codex harness policy separately. New PI Codex OAuth configs
61-should use `openai-codex/gpt-*`; new native app-server harness configs should
62-use `openai/gpt-*` plus `embeddedHarness.runtime: "codex"`.
59+compatibility migration rewrites legacy primary runtime refs to canonical model
60+refs and records the runtime policy separately, while fallback-only legacy refs
61+are left unchanged because runtime is configured for the whole agent container.
62+New PI Codex OAuth configs should use `openai-codex/gpt-*`; new native
63+app-server harness configs should use `openai/gpt-*` plus
64+`embeddedHarness.runtime: "codex"`.
63656466`agents.defaults.imageModel` follows the same prefix split. Use
6567`openai-codex/gpt-*` when image understanding should run through the OpenAI
@@ -86,9 +88,9 @@ Legacy sessions created before harness pins are treated as PI-pinned once they
8688have transcript history. Use `/new` or `/reset` to opt that conversation into
8789Codex after changing config.
889089-`/status` shows the effective non-PI harness next to `Fast`, for example
90-`Fast · codex`. The default PI harness remains `Runner: pi (embedded)` and does
91-not add a separate harness badge.
91+`/status` shows the effective model runtime. The default PI harness appears as
92+`Runtime: OpenClaw Pi Default`, and the Codex app-server harness appears as
93+`Runtime: OpenAI Codex`.
92949395## Requirements
9496此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。