openclaw/docs/plugins
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
..
reference feat: add fal and OpenRouter music generation (#82789) 2026-05-17 02:05:22 +01:00
adding-capabilities.md
admin-http-rpc.md docs: document admin HTTP RPC plugin 2026-05-15 11:44:58 +01:00
agent-tools.md
architecture-internals.md feat(codex): bind context-engine projections to codex threads (#82351) 2026-05-15 20:59:38 -07:00
architecture.md
building-extensions.md
building-plugins.md docs: document admin HTTP RPC plugin 2026-05-15 11:44:58 +01:00
bundles.md fix(mcp): keep numeric bundle tool names provider-safe 2026-05-10 06:29:08 +01:00
cli-backend-plugins.md
codex-computer-use.md
codex-harness-reference.md fix(codex): release raw assistant app-server completions [AI-assisted] (#82403) 2026-05-16 12:13:54 +01:00
codex-harness-runtime.md feat(codex): bind context-engine projections to codex threads (#82351) 2026-05-15 20:59:38 -07:00
codex-harness.md Fix OpenAI Codex runtime provider routing (#82864) 2026-05-17 07:06:18 +01:00
codex-native-plugins.md fix(codex): gate migration on app readiness (#80815) 2026-05-12 13:01:22 -07:00
community.md docs: consolidate plugin management docs (#81898) 2026-05-14 14:27:50 -07:00
compatibility.md fix(plugins): deprecate deactivate hook alias 2026-05-16 18:36:27 +08:00
dependency-resolution.md
google-meet.md
hooks.md fix(plugins): deprecate deactivate hook alias 2026-05-16 18:36:27 +08:00
install-overrides.md feat: add plugin install overrides 2026-05-09 06:06:08 -04:00
manage-plugins.md docs: clarify plugin gateway auto-restart 2026-05-16 17:11:53 +01:00
manifest.md feat: add fal and OpenRouter music generation (#82789) 2026-05-17 02:05:22 +01:00
memory-lancedb.md fix(config): warn for missing official memory slot 2026-05-16 13:26:51 +01:00
memory-wiki.md Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
message-presentation.md feat(telegram): support web app presentation buttons 2026-05-13 12:08:29 +01:00
oc-path.md OC Path: restore YAML support (#81436) 2026-05-16 07:52:08 -07:00
plugin-inventory.md docs: sync plugin generated references 2026-05-17 06:34:58 +01:00
reference.md docs: sync plugin generated references 2026-05-17 06:34:58 +01:00
sdk-agent-harness.md Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
sdk-channel-ingress.md refactor: centralize channel ingress access 2026-05-10 00:18:36 -04:00
sdk-channel-message.md
sdk-channel-plugins.md refactor: move inbound event classification into core 2026-05-17 00:10:29 +01:00
sdk-channel-turn.md refactor: move inbound event classification into core 2026-05-17 00:10:29 +01:00
sdk-entrypoints.md fix(wizard): narrow setup i18n SDK surface 2026-05-15 15:33:27 +01:00
sdk-migration.md fix(plugins): deprecate deactivate hook alias 2026-05-16 18:36:27 +08:00
sdk-overview.md Remove codex-cli backend and migrate to Codex runtime 2026-05-14 10:07:18 +01:00
sdk-provider-plugins.md refactor: reduce plugin sdk surface 2026-05-10 12:37:10 +01:00
sdk-runtime.md refactor(media): centralize bounded remote downloads 2026-05-13 15:04:49 +01:00
sdk-setup.md fix(wizard): narrow setup i18n SDK surface 2026-05-15 15:33:27 +01:00
sdk-subpaths.md refactor: move inbound event classification into core 2026-05-17 00:10:29 +01:00
sdk-testing.md refactor: reduce plugin sdk surface 2026-05-10 12:37:10 +01:00
skill-workshop.md
voice-call.md Revert "refactor: move runtime state to SQLite" 2026-05-13 13:33:38 +01:00
webhooks.md
zalouser.md