mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-09-07 00:24:17 +08:00
- Introduced per-connection active channel management for Codex and XAI websocket sessions. - Enhanced session behavior to support clearing and reassigning active channels tied to specific connections. - Added support for detecting and detaching stale connections upon session target changes. - Refactored websocket message handling logic to ensure connection-specific channel consistency. - Extended test coverage for websocket session behaviors, including reconnections, target switching, and pinned auth transitions.