mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-12-03 15:43:42 +08:00
- Delete stale cached credits balances from both local memory and Home KV when loadCodeAssist reports absent GOOGLE_ONE_AI credits, preserving the absent-entry invariant for skipped entries. - Clear cached credits balances alongside hint resets in clearAntigravityCreditsFailureState, using versioned Home KV CAS transitions so failed invalidations retain retry state and concurrent refreshes are never wiped. - Add regression tests covering standalone, Home KV, error-retention, concurrent-refresh, and rolling-upgrade scenarios. Closes: #8158