mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-11-28 12:53:30 +08:00
- Evict non-reusable ephemeral xAI websocket ID states when their last in-flight stream ends, while preserving explicit session states from options or request metadata. - Add 24-hour idle TTL expiration with periodic background cleanup and in-flight protection to xaiWebsocketIDStateStore without bounding total entry count. - Coordinate persistent session and ID state acquisition and teardown under store.mu so CloseExecutionSession and bulk shutdown clear both stores atomically. Closes: #7746