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