Skip to content

[codex] Pass auth mode to plugin manager - #27517

Merged
xl-openai merged 1 commit into
mainfrom
xl/plugin-with-auth
Jun 11, 2026
Merged

[codex] Pass auth mode to plugin manager#27517
xl-openai merged 1 commit into
mainfrom
xl/plugin-with-auth

Conversation

@xl-openai

Copy link
Copy Markdown
Contributor

Summary

  • Add auth mode state to PluginsManager.
  • Sync the plugin manager auth mode when ThreadManager is created and when account auth changes.
  • Route plugin load outcomes through an auth-aware projection hook so follow-up plugin filtering can stay inside core-plugins.

Motivation

This prepares plugin capability loading to be configured by auth mode, such as hiding or exposing app/MCP-backed plugin surfaces based on whether the user is using ChatGPT auth or API-key auth, without leaking those details outside the plugin manager.

Tests

  • just fmt
  • just test -p codex-core-plugins
  • env -u CODEX_SANDBOX_NETWORK_DISABLED -u CODEX_SANDBOX just test -p codex-core thread_manager::tests
  • env -u CODEX_SANDBOX_NETWORK_DISABLED -u CODEX_SANDBOX just test -p codex-app-server

@xl-openai
xl-openai force-pushed the xl/plugin-with-auth branch from 9b3d74a to e8c2ec9 Compare June 11, 2026 02:49
@xl-openai
xl-openai force-pushed the xl/plugin-with-auth branch from e8c2ec9 to 66d506e Compare June 11, 2026 03:50
@xl-openai
xl-openai marked this pull request as ready for review June 11, 2026 03:50
@xl-openai
xl-openai requested a review from a team as a code owner June 11, 2026 03:50
@xl-openai
xl-openai merged commit 8568559 into main Jun 11, 2026
31 checks passed
@xl-openai
xl-openai deleted the xl/plugin-with-auth branch June 11, 2026 03:57
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 11, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants