mirror of
https://github.com/openai/codex.git
synced 2026-10-26 18:38:47 +00:00
## What changed - Track the first duplicate effective tool name while assembling the tool registry, including collisions introduced by external tools, code mode, and tool search. - When `[features.tool_registry].error_on_tool_collisions` is enabled, fail the turn with a `duplicate tool: <namespace>.<name>` error before sending a model request. - Continue allowing identical tool names in different namespaces, and preserve the existing collision behavior when strict checking is disabled. ## Testing - Cover registry collision tracking, strict tool planning across tool sources, namespace isolation, failure before sampling, and pre-sampling compaction. GitOrigin-RevId: 4cf83538fb513cec0b9c8b567780caaaadd3243d
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.