mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-11-29 13:23:04 +08:00
- Add a shared Windows power readiness tracker using powrprof.dll suspend/resume, console display state, and AoAc capability checks to defer refreshes during Modern Standby maintenance wakes and apply a 15-second post-resume settle delay. - Wire Windows refresh readiness into Claude and Codex/SIWC OAuth renewal paths so single-use refresh tokens defer cleanly with ErrRefreshDeferred without HTTP retries. - Add cross-platform power state machine tests and Windows callback/deferral regression tests covering S0 and non-S0 wake sequences. Closes: #8120