mirror of
https://github.com/openai/codex.git
synced 2026-11-20 22:40:37 +00:00
## Why Reconnect replaces the app event queue, so queued thread-switch events can be discarded while their resets are still counted as pending. ## What changed - Clear the pending thread-switch reset count when replacing the event queue and use a shared accessor for the displayed thread during reconnect. - Box the app event dispatch future and extract helpers for choosing the side conversation target and rendering the composer pane. GitOrigin-RevId: 6bb14443952262b6a0df7fdf05db053038c7ce2d