Files
codex/codex-rs/protocol
Josh McKinney 2b7e8c7795 feat: add persisted external events for sessions
- Add protocol/core plumbing for external events (Op::ExternalEvent, EventMsg::ExternalEvent) and persist them in rollout.
- Tail per-thread external event inbox files in the TUI and apply steer/queue policy for model context.
- Render a distinct cyan/magenta history cell so events show in the transcript and on resume/replay.
- Add `codex events` CLI subcommand (send/show/tail/list/inbox-path) for demos and automation.

Tests: just fmt; cargo test -p codex-protocol; cargo test -p codex-core; cargo test -p codex-tui
2026-01-22 16:04:45 -08:00
..

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.