Files
CLIProxyAPI/internal/runtime/executor
Luis Pater 8e5a98e886 fix(antigravity): publish unavailable credits hint when no GOOGLE_ONE_AI entry matches
- Publish a known-unavailable credits hint after inspecting paidTier.availableCredits when the array is missing, empty, or lacks a parseable GOOGLE_ONE_AI entry.
- Bound loadCodeAssist response reads with io.LimitReader and validate JSON before publishing to avoid unbounded reads or false negative hints.
- Add race-tested unit tests covering empty/unmatched availableCredits, stale positive hint replacement, oversized bodies, and invalid JSON responses.

Closes: #7750
2026-11-21 15:10:25 +08:00
..