core-agent-ide/codex-rs/tui_app_server
Eric Traut 57f865c069
Fix tui_app_server: ignore duplicate legacy stream events (#14892)
The in-process app-server currently emits both typed
`ServerNotification`s and legacy `codex/event/*` notifications for the
same live turn updates. `tui_app_server` was consuming both paths, so
message deltas and completed items could be enqueued twice and rendered
as duplicated output in the transcript.

Ignore legacy notifications for event types that already have typed (app
server) notification handling, while keeping legacy fallback behavior
for events that still only arrive on the old path. This preserves
compatibility without duplicating streamed commentary or final agent
output.

We will remove all of the legacy event handlers over time; they're here
only during the short window where we're moving the tui to use the app
server.
2026-03-17 00:50:25 -06:00
..
frames Move TUI on top of app server (parallel code) (#14717) 2026-03-16 10:49:19 -06:00
src Fix tui_app_server: ignore duplicate legacy stream events (#14892) 2026-03-17 00:50:25 -06:00
tests Move TUI on top of app server (parallel code) (#14717) 2026-03-16 10:49:19 -06:00
BUILD.bazel Move TUI on top of app server (parallel code) (#14717) 2026-03-16 10:49:19 -06:00
Cargo.toml Move TUI on top of app server (parallel code) (#14717) 2026-03-16 10:49:19 -06:00
prompt_for_init_command.md Move TUI on top of app server (parallel code) (#14717) 2026-03-16 10:49:19 -06:00
styles.md Move TUI on top of app server (parallel code) (#14717) 2026-03-16 10:49:19 -06:00
tooltips.txt Move TUI on top of app server (parallel code) (#14717) 2026-03-16 10:49:19 -06:00