openclaw/docs
ragesaq 58f1db1bc8
Fix OpenAI Codex runtime provider routing (#82864)
* fix: route Codex OpenAI runtime through Codex provider

* docs: add Codex routing evidence collection

* fix(agents): bootstrap OAuth credentials for Codex harness with openai/* model refs

When a plugin harness (e.g. Codex) owns its transport but the runtime
plan resolved to openai-codex via agentRuntime.id: codex, the auth
profile store was left empty because pluginHarnessOwnsTransport short-
circuited initializeAuthProfile(). This caused 'No API key found for
openai-codex' at runtime even though the OAuth profile existed in OpenClaw's
store.

- Add pluginHarnessNeedsOpenClawAuthBootstrap flag when harness owns
transport but the provider is openai-codex and the API is openai-codex-
responses
- Populate authStore and attemptAuthProfileStore from OpenClaw's profile
store in this case
- Run initializeAuthProfile() to forward the OAuth token into the harness
- Update overflow-compaction tests to expect 'openai-codex' provider
  and add dedicated test for OAuth bootstrap path

* fix(agents): refresh Codex OAuth credentials on profile rotation

---------

Co-authored-by: PsiClawOps <267826480+PsiClawOps@users.noreply.github.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-05-17 07:06:18 +01:00
..
.generated docs: sync plugin generated references 2026-05-17 06:34:58 +01:00
.i18n fix(gateway): capture opt-in memory pressure snapshots (#82674) 2026-05-16 21:52:09 +01:00
announcements fix: add channel status filtering (#80706) 2026-05-11 18:44:54 +01:00
assets Add browser and tool profile quick settings (#80609) 2026-05-11 10:06:00 +00:00
automation refactor: unify async media generation 2026-05-16 22:50:06 +01:00
channels fix(whatsapp): honor forceDocument flag end-to-end (#79272) 2026-05-16 23:29:01 -03:00
clawhub docs: add ClawHub publishing page 2026-05-07 19:43:06 -07:00
cli Support HTTPS managed proxy CA trust (#79171) 2026-05-17 06:23:30 +01:00
concepts feat(qa-lab): add scenario pack selector 2026-05-17 09:23:48 +08:00
debug docs: typography hygiene across 6 pages (gateway/cli/debug) 2026-05-06 08:49:27 -07:00
diagnostics Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
gateway fix(gateway): restore v4 message action protocol 2026-05-17 06:35:39 +01:00
help fix: harden gateway launchd and configure sections 2026-05-17 03:44:05 +01:00
images
install Fix brew-only skill installs in Docker (#82845) 2026-05-17 03:37:51 +00:00
nodes Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
plan Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
platforms fix: harden gateway launchd and configure sections 2026-05-17 03:44:05 +01:00
plugins Fix OpenAI Codex runtime provider routing (#82864) 2026-05-17 07:06:18 +01:00
providers feat: add fal and OpenRouter music generation (#82789) 2026-05-17 02:05:22 +01:00
refactor Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
reference ci: harden release publish evidence 2026-05-17 06:34:58 +01:00
security Support HTTPS managed proxy CA trust (#79171) 2026-05-17 06:23:30 +01:00
snippets/plugin-publish docs: show explicit startup activation in plugin examples 2026-04-28 03:13:20 +01:00
start feat(wizard): add cli i18n catalog 2026-05-15 15:33:27 +01:00
superpowers/specs docs: complete source-backed docs sweep 2026-05-02 22:37:01 +01:00
tools Fix brew-only skill installs in Docker (#82845) 2026-05-17 03:37:51 +00:00
web feat: add native mac dashboard window 2026-05-16 23:49:18 +01:00
AGENTS.md docs: keep qa broker notes internal 2026-05-08 06:01:23 +01:00
auth-credential-semantics.md Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
brave-search.md docs(brave): redirect legacy search page 2026-05-02 04:42:55 +01:00
ci.md docs(testing): clarify pnpm proof routing 2026-05-14 12:09:17 +08:00
CLAUDE.md
date-time.md docs: audit and fix 4 pages (pi version bump + 3 typography/H1) 2026-05-05 21:14:55 -07:00
docs.json test(qa-lab): add personal agent scenarios 2026-05-17 02:56:53 +08:00
index.md Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
logging.md Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
nav-tabs-underline.js
network.md docs: audit and fix 4 pages (pi version bump + 3 typography/H1) 2026-05-05 21:14:55 -07:00
perplexity.md docs: consolidate moved docs pages 2026-05-05 17:38:21 +01:00
pi-dev.md Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
pi.md fix: update PI runtime packages 2026-05-17 06:12:09 +01:00
prose.md docs: add Related sections to remaining platform, reference template, and misc pages 2026-04-23 20:40:15 -07:00
style.css
tts.md docs: add Related sections to remaining platform, reference template, and misc pages 2026-04-23 20:40:15 -07:00
vps.md Docs: add VPS admin hardening note (#54685) 2026-04-29 14:36:33 -07:00
whatsapp-openclaw-ai-zh.jpg
whatsapp-openclaw.jpg