mirror of
https://github.com/openai/codex.git
synced 2026-11-02 19:43:24 +00:00
## What changed Add `BackendSessions` helpers to name the displayed listening backend, find the first listening backend, and cycle through listening backends in registration order. Cycling wraps around, skips closed streams, and excludes the current backend. Display names use `Local` for the initial session and `Backend N` for additional sessions; a closed displayed stream has no name. ## Testing Extend backend session tests to cover cycling with a single backend, wraparound across three backends, and skipping a closed stream. GitOrigin-RevId: e8f3fcc38a178b6b91d385d65d899fdd042062c5