mirror of
https://github.com/openai/codex.git
synced 2026-09-16 12:13:30 +00:00
- 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
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.