繁體中文

新功能

Antigravity 額度卡不再卡在錯誤百分比

你在 usage 看 Antigravity 額度時,卡片終於會跟官方 CLI 的 /quota 顯示對上。Antigravity CLI 1.1.5 後把 OAuth 憑證(證明你已授權登入的通行證)從硬碟上的普通檔案,搬進 macOS Keychain(Mac 替應用程式保管密碼與登入資料的鑰匙圈)。同時查額度的後端(真正處理查詢的伺服器)也換了地址。卡片卻仍翻舊 token(授權令牌)的檔案;它雖會悄悄更新,拿到的卻是過期授權算出的數字,於是百分比卡住。現在它先讀 Keychain 中 gemini/antigravity 的資料,找不到才回頭讀舊檔,並改連新版後端。像銀行把帳本搬進保險庫又換了櫃台,舊看板仍對著廢櫃台抄數字;現在先到保險庫、再去正確櫃台,額度才會和 CLI 一致。

English

FEATURE

Antigravity quota card no longer gets stuck on a wrong percentage

When you check Antigravity quota in usage, its card should finally agree with the official CLI's /quota result. Since Antigravity CLI 1.1.5, the OAuth credential (proof that you authorized the sign-in) moved from an ordinary disk file into macOS Keychain, where Macs keep passwords and login data. Its quota backend—the server handling the lookup—also moved. The card kept reading the old token file; it could refresh that abandoned credential, but received numbers based on a stale grant, leaving the percentage stuck and wrong. It now checks the gemini / antigravity Keychain entry first, falls back to the legacy file only when needed, and calls the new backend. It is like a bank moving its ledger into a vault and changing counters while an old display board still copies figures from the closed counter; now it visits the vault and the right counter first.

原始 CHANGELOG

Original changelogAntigravity 額度卡不再卡在錯誤百分比
**Antigravity quota showed a stuck, wrong percentage since the CLI's 1.1.5 update.** The Antigravity CLI moved its OAuth credential from a plain file on disk into the macOS Keychain (`security` service `gemini`, account `antigravity`, `go-keyring-base64:`-wrapped JSON) and switched its quota backend from `cloudcode-pa.googleapis.com` to `daily-cloudcode-pa.googleapis.com`. The card kept reading the now-abandoned token file, which silently refreshed against a stale grant and returned numbers that no longer matched the CLI's own `/quota` output. It now reads the Keychain entry first (falling back to the legacy file), and posts to the current backend.