mirror of
https://github.com/openai/codex.git
synced 2026-12-02 00:31:03 +00:00
Add `MultiAgentVersion::uses_v2_runtime` to identify versions that use path-addressed workers and turn-scoped execution slots. Use it to gate runtime behavior such as subagent spawning and resumption, forked history handling, and message routing. The predicate matches only `MultiAgentVersion::V2`, preserving existing behavior. GitOrigin-RevId: 712243c5df310c0745bf69c4faff660a44f05be5
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.