mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:50:52 +00:00
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
This commit is contained in:
@@ -607,6 +607,7 @@ impl EventProcessor for EventProcessorWithHumanOutput {
|
||||
| EventMsg::UndoCompleted(_)
|
||||
| EventMsg::UndoStarted(_)
|
||||
| EventMsg::ThreadRolledBack(_)
|
||||
| EventMsg::ExternalEvent(_)
|
||||
| EventMsg::RequestUserInput(_) => {}
|
||||
}
|
||||
CodexStatus::Running
|
||||
|
||||
Reference in New Issue
Block a user