usage 0.34.14
這一版的重點
新功能 2 項
Windows 工作列額度標籤顯示恢復倒數,滿額即時掌握剩餘時間
當你在 Windows 上專注編寫專案,把 AI 額度用到上限時,不必再反覆點開面板確認何時能繼續。以前系統匣選定的服務在 5 小時或本週額度達到 100% 時,工作列上的標籤只會停留在 100%。現在達到滿額後,標籤會改用滿額代表色直接顯示剩餘恢復時間(例如 Claude: 2h55m),與 macOS 選單列的顯示方式一致。⟦停車場門口的車位看板以前只亮著客滿紅燈,駕駛得搖下車窗詢問才知何時有空位;現在滿額時直接切換為預估等待時間,即使閘門關著也持續倒數。⟧在時間倒數期間,就算面板處於關閉狀態,標籤也會在每個輪詢週期照常更新。
官方原文
**The Windows taskbar quota label counts down to recovery.** When the tray provider's 5-hour or weekly window hits 100%, the label shows the time left (for example Claude: 2h55m) in the full-quota color instead of 100%, matching the macOS menu bar. While it counts down, the label refreshes every interval even with the panel closed.
報表補齊 Codex 歷史細項,八月以前對話紀錄重現卡片分布
翻閱用量報表追蹤歷史消耗時,八月以前的詳細分佈現在也能正常查閱。以前較舊的帳本只儲存每日總量,導致卡片與工具分佈只能從 2026-08-01 開始顯示,即使熱度圖有更早的紀錄也無法查看細項。現在這些日子會從 Codex 本機的對話資料庫補齊一次,按照日期、模型與專案進行整理。無法歸屬的 token(AI 處理與計費的文字單位)會直接顯示為「unknown」,不會任意猜成 Claude。補回的資料不含金額,統一計入「沒有價格資料」。⟦氣象觀測站補建歷史圖表時,以前老檔案只記下每日總雨量,分類圖只能從八月畫起;現在從儀器本機日誌單次補齊數據,無法辨識的數值直接記為未註明,絕不隨意猜成其他測站。⟧
官方原文
**Reports show Codex detail for days before August 2026 again.** Older ledger days kept only a daily total, so cards and the tool breakdown started at 2026-08-01 while the heatmap went further back. Those days are now filled once from Codex's local thread database by date, model and project; tokens that cannot be attributed show as "unknown", and nothing is guessed as Claude. Backfilled tokens carry no cost and count as "no pricing data".
修正 2 項
Antigravity 睡眠喚醒不再狂開登入頁,切換模型組也各自記錄通知
如果常讓 Mac 進入睡眠,或是經常在面板切換模型組,兩處惱人的誤判提示現在都不會再跳出。剛喚醒時網路常常尚未就緒,以前 Antigravity CLI(終端機指令列工具)更新授權令牌失敗就當成未登入,每次刷新都多開一個登入分頁。現在連不上 Google 登入伺服器時先略過 CLI;檢查失敗後等 30 分鐘再啟動,登入過期或 Wi-Fi 需先開網頁登入時也適用,額度卡則沿用上次的數字。切換模型組也不再共用狀態。以前從用完的 Gemini 切到 Argon 會誤發額度恢復,切回又通知已用完;現在 macOS 與 Windows 都各自記錄。⟦進出管制實驗室時,門禁系統以前在主機離線時會狂響補登警報,換用不同門禁卡也把舊紀錄拿來亂按鈴;現在離線時先安靜等待,不同清單也各自記錄。⟧
官方原文
**Antigravity no longer opens a Google sign-in page in your browser after the Mac wakes from sleep.** Right after a wake the network is often still down, and the Antigravity CLI treated the failed token refresh as "not logged in", opening one new sign-in tab each time. usage now skips the CLI while Google's sign-in server is unreachable, and after a failed CLI check it waits 30 minutes before launching it again instead of retrying on every refresh, which also covers an expired sign-in or captive-portal Wi-Fi. The quota card keeps showing the last reading meanwhile. Thanks to @teddy123434 for the report and fix (#297, #301).
**Switching the Antigravity card between model groups no longer sends false notifications.** The notifier kept one state for all groups, so moving from a used-up Gemini group to Argon read as a reset ("quota is back") and moving back sent "used up" again. Each model group now keeps its own state on macOS and Windows.
上游檢查腳本不再把內部狀態欄位誤報為上游新欄位
平時透過本機腳本追蹤上游服務的變更時,欄位檢查的提示現在更乾淨。以前執行 scripts/check_upstream.py 檢查上游狀態時,usage 內部的 _rate_limits_session_id 狀態欄位,會被檢查工具誤當成上游服務新推出的欄位而跳出警示。現在不再將它誤報為上游新欄位。⟦圖書館採購組核對新書目錄時,以前常把館員寫在頁邊的借閱註記當成出版社推出的全新書目;現在不再把那筆註記當成新書目。⟧
官方原文
scripts/check_upstream.py no longer reports usage's own _rate_limits_session_id status field as a new upstream field.