mirror of
https://github.com/openai/codex.git
synced 2026-11-26 23:40:43 +00:00
## Why
A plugin can be installed in several executor environments. Disabling one
installation should leave the others available, while a thread-wide exclusion
needs to apply across environments.
## What changed
- In executor capability discovery V2, allow an executor to list its own
plugin installations subject to marketplace policy. A named entry such as
`"notes@market": {}` inherits the executor default when the thread has
no enablement preference. A default alone does not list any plugins.
- Apply thread enablement preferences across installations and scope executor
opt-outs to the affected installation. When MCP server names are shared,
use the first enabled installation.
- Preserve connector mappings for explicit `disabledPluginIds` exclusions
so Apps tool search can honor them even when the executor has already
disabled the installation.
## Testing
Add regression coverage for marketplace filtering, thread and executor
precedence, installation-scoped exclusions, and Apps connector suppression
after an executor opt-out.
GitOrigin-RevId: d3465a38f3ebf5042d5c45dabfdb32f8ada81727
codex-protocol
This crate defines the "types" for the protocol used by Codex CLI, which includes both "internal types" for communication between codex-core and codex-tui, as well as "external types" used with codex app-server.
This crate should have minimal dependencies.
Ideally, we should avoid "material business logic" in this crate, as we can always introduce Ext-style traits to add functionality to types in other crates.