惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

腾讯CDC
aimingoo的专栏
aimingoo的专栏
S
SegmentFault 最新的问题
A
About on SuperTechFans
Engineering at Meta
Engineering at Meta
宝玉的分享
宝玉的分享
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 叶小钗
WordPress大学
WordPress大学
N
Netflix TechBlog - Medium
MyScale Blog
MyScale Blog
Stack Overflow Blog
Stack Overflow Blog
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 聂微东
M
MIT News - Artificial intelligence
F
Fortinet All Blogs
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Blog — PlanetScale
Blog — PlanetScale
T
Tailwind CSS Blog
Recent Announcements
Recent Announcements
Jina AI
Jina AI
大猫的无限游戏
大猫的无限游戏
Apple Machine Learning Research
Apple Machine Learning Research
J
Java Code Geeks

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
Revert "Install Codex plugin on OpenAI model selection (#...
pashpashpash · 2026-05-07 · via Recent Commits to openclaw:main

@@ -41,19 +41,19 @@ There are two runtime families:

41414242

Most confusion comes from several different surfaces sharing the Codex name:

434344-

| Surface | OpenClaw name/config | What it does |

45-

| ------------------------------------------------ | ------------------------------------ | -------------------------------------------------------------------------------------------------------------- |

46-

| Native Codex app-server runtime | `openai/*` model refs | Runs OpenAI embedded agent turns through Codex app-server. This is the usual ChatGPT/Codex subscription setup. |

47-

| Codex OAuth auth profiles | `openai-codex` auth provider | Stores ChatGPT/Codex subscription auth that the Codex app-server harness consumes. |

48-

| Codex ACP adapter | `runtime: "acp"`, `agentId: "codex"` | Runs Codex through the external ACP/acpx control plane. Use only when ACP/acpx is explicitly asked. |

49-

| Native Codex chat-control command set | `/codex ...` | Binds, resumes, steers, stops, and inspects Codex app-server threads from chat. |

50-

| OpenAI Platform API route for non-agent surfaces | `openai/*` plus API-key auth | Used for direct OpenAI APIs such as images, embeddings, speech, and realtime. |

44+

| Surface | OpenClaw name/config | What it does |

45+

| ---------------------------------------------------- | ------------------------------------------ | ---------------------------------------------------------------------------------------------------------- |

46+

| Native Codex app-server runtime | `openai/*` plus `agentRuntime.id: "codex"` | Runs the embedded agent turn through Codex app-server. This is the usual ChatGPT/Codex subscription setup. |

47+

| Codex OAuth provider route | `openai-codex/*` model refs | Uses ChatGPT/Codex subscription OAuth through the normal OpenClaw PI runner. |

48+

| Codex ACP adapter | `runtime: "acp"`, `agentId: "codex"` | Runs Codex through the external ACP/acpx control plane. Use only when ACP/acpx is explicitly asked. |

49+

| Native Codex chat-control command set | `/codex ...` | Binds, resumes, steers, stops, and inspects Codex app-server threads from chat. |

50+

| OpenAI Platform API route for GPT/Codex-style models | `openai/*` model refs | Uses OpenAI API-key auth unless a runtime override, such as `agentRuntime.id: "codex"`, runs the turn. |

51515252

Those surfaces are intentionally independent. Enabling the `codex` plugin makes

53-

the native app-server features available; `openclaw doctor --fix` owns legacy

54-

`openai-codex/*` route repair and stale session pin cleanup. Selecting

55-

`openai/*` for an agent model now means "run this through Codex" unless a

56-

non-agent OpenAI API surface is being used.

53+

the native app-server features available; it does not rewrite

54+

`openai-codex/*` into `openai/*`, does not change existing sessions, and does

55+

not make ACP the Codex default. Selecting `openai-codex/*` means "use the Codex

56+

OAuth provider route" unless you separately force a runtime.

57575858

The common ChatGPT/Codex subscription setup uses Codex OAuth for auth, but keeps

5959

the model ref as `openai/*` and selects the `codex` runtime:

@@ -63,6 +63,9 @@ the model ref as `openai/*` and selects the `codex` runtime:

6363

agents: {

6464

defaults: {

6565

model: "openai/gpt-5.5",

66+

agentRuntime: {

67+

id: "codex",

68+

},

6669

},

6770

},

6871

}

@@ -85,9 +88,10 @@ This is the agent-facing decision tree:

8588

1. If the user asks for **Codex bind/control/thread/resume/steer/stop**, use the

8689

native `/codex` command surface when the bundled `codex` plugin is enabled.

8790

2. If the user asks for **Codex as the embedded runtime** or wants the normal

88-

subscription-backed Codex agent experience, use `openai/<model>`.

89-

3. If legacy config still contains **`openai-codex/*` model refs**, repair it to

90-

`openai/<model>` with `openclaw doctor --fix`.

91+

subscription-backed Codex agent experience, use

92+

`openai/<model>` with `agentRuntime.id: "codex"`.

93+

3. If the user asks for **Codex OAuth/subscription auth on the normal OpenClaw

94+

runner**, use `openai-codex/<model>` and leave the runtime as PI.

9195

4. If the user explicitly says **ACP**, **acpx**, or **Codex ACP adapter**, use

9296

ACP with `runtime: "acp"` and `agentId: "codex"`.

9397

5. If the request is for **Claude Code, Gemini CLI, OpenCode, Cursor, Droid, or

@@ -96,8 +100,8 @@ This is the agent-facing decision tree:

96100

| You mean... | Use... |

97101

| --------------------------------------- | -------------------------------------------- |

98102

| Codex app-server chat/thread control | `/codex ...` from the bundled `codex` plugin |

99-

| Codex app-server embedded agent runtime | `openai/*` agent model refs |

100-

| OpenAI Codex OAuth | `openai-codex` auth profiles |

103+

| Codex app-server embedded agent runtime | `agentRuntime.id: "codex"` |

104+

| OpenAI Codex OAuth on the PI runner | `openai-codex/*` model refs |

101105

| Claude Code or other external harness | ACP/acpx |

102106103107

For the OpenAI-family prefix split, see [OpenAI](/providers/openai) and

@@ -162,14 +166,17 @@ Legacy refs such as `claude-cli/claude-opus-4-7` remain supported for

162166

compatibility, but new config should keep the provider/model canonical and put

163167

the execution backend in `agentRuntime.id`.

164168165-

`auto` mode is intentionally conservative for most providers. OpenAI agent

166-

models are the exception: unset runtime and `auto` both resolve to the Codex

167-

harness, while explicit PI runtime config is rejected for `openai/*` agent

168-

turns.

169+

`auto` mode is intentionally conservative. Plugin runtimes can claim

170+

provider/model pairs they understand, but the Codex plugin does not claim the

171+

`openai-codex` provider in `auto` mode. That keeps

172+

`openai-codex/*` as the explicit PI Codex OAuth route and avoids silently

173+

moving subscription-auth configs onto the native app-server harness.

169174170175

If `openclaw doctor` warns that the `codex` plugin is enabled while

171-

`openai-codex/*` remains in config, treat that as legacy route state. Run

172-

`openclaw doctor --fix` to rewrite it to `openai/*` with the Codex runtime.

176+

`openai-codex/*` still routes through PI, treat that as a diagnosis, not a

177+

migration. Keep the config unchanged when PI Codex OAuth is what you want.

178+

Switch to `openai/<model>` plus `agentRuntime.id: "codex"` only when you want native

179+

Codex app-server execution.

173180174181

## Compatibility contract

175182