mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-11-30 22:24:55 +08:00
- Track scope and timestamp ordering in the per-auth credits refresh registry so Home credentials with RegistrationEpoch == 0 cancel and evict superseded tasks while rejecting out-of-order older snapshots. - Advance and supersede local refresh state from maybeRefreshAntigravityCreditsHint before early returns and scope eviction strictly to exact auth IDs to prevent prefix collisions. - Guard evicted refresh states with a superseded flag and add Home-mode regression tests covering replacement eviction, stale ordering, TOS pause suppression, and pipe-delimited auth IDs. Closes: #8169