mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-09-24 16:05:44 +08:00
- Add needs_verify, is_banned, needs_reauth, error_code fields to UsageInfo for Antigravity accounts (omitempty ensures zero impact on other platforms) - Add singleflight dedup for Antigravity usage requests with independent context to prevent caller cancel cascade - Return degraded UsageInfo with error_code instead of HTTP 500 on errors - Differentiate cache TTL: success/403 → 3min, recoverable errors → 1min - Add 403 validation_block: Antigravity validation-type 403 triggers temp_unschedulable (10min auto-recovery) instead of permanent SetError - Frontend: display needs_reauth and degraded error states in usage cell - Bump version to 0.1.94.4