usage

usage 0.34.24

工具與目錄
在這頁

新功能 4 項

01

面板新增「楓紅暮色」主題

想替每天點開的畫面換上夕陽配色,現在共有 17 款造型可挑。進到「⚙ 設定 → 更換面板」就能選到「楓紅暮色」。

這款造型在金色到紫色的夕陽裡飄著楓葉,有的落在卡片後面、有的從前面飄過。卡片本身是能透出天空的半透明紫色玻璃,底部兩角還堆著落葉。macOS 開啟「減少動態效果」後,楓葉會停住不動。

官方原文

**New panel theme: Maple Dusk.** Maple leaves drift down over a gold-to-violet sunset, behind and in front of violet glass cards that let the sky show through, with small piles of fallen leaves in the bottom corners. Pick it from **⚙ Settings → Switch Panel**; there are now 17 themes. The leaves stop moving when macOS Reduce Motion is on.

02

Muse 退訂後會移除額度卡並加快重查

從前帳號沒有續約,只要沒開新的 Muse 對話,usage 就不會主動重查,一直留著最後存下的舊讀數。一旦過了重置時間,額度卡、Claude Code 的額度提示和通知都會把這份舊資料當成還沒用過。

現在 usage 最多每 5 分鐘重跑一次不呼叫模型的 muse usage --json,平常用過 Muse 後約 5 分鐘內就會更新,不必等 30 分鐘。只要 Muse 回報帳號沒有訂閱額度,usage 就會刪掉舊紀錄、不改用 muse exec 呼叫模型,額度卡也隨之消失;等之後再查到額度,卡片就會重新出現。⟦從前停訂雜誌後,沒再開新刊就沒人去翻信箱,牆上還掛著上期的剩餘期數;現在會定時探頭看訂戶狀態而不拆封試讀,確認退訂就把牌子收起,續訂再掛回去。⟧

官方原文

**The Muse quota card disappears once the subscription ends.** Before this fix, usage kept showing the last saved Muse quota after a subscription lapsed. Once its reset times passed, the card, the Claude Code quota line and the notifications treated that quota as unused. usage rechecked only after a new Muse conversation, so it never noticed. It now reruns the model-free muse usage --json at most every 5 minutes, which also brings the card up to date within about 5 minutes of using Muse instead of 30. When Muse reports that the account has no subscription allowance, usage deletes the saved quota without falling back to a muse exec model call, and the card disappears. It comes back once Muse reports quota again.

03

各工具額度讀數與重置狀態更準確

面板出現舊數字或 --,常讓人分不清額度是已重置還是沒讀到。

Codex 過了重置時間,現在比照 Claude Code 和 Antigravity 顯示 0% 與「已重置」,直到下次報出新讀數。以前這兩欄只顯示 --,像讀不到資料。

Muse 因 5 小時額度用完而拒絕時,現在帶有自己的檢查時間。過去沿用上一筆時間,讓卡片像過期、漏發「已用完」通知,也過早重查。

較新的 Codex Spark 讀數不再蓋掉工作階段紀錄裡的一般讀數。不同額度不再合併,一般額度的拒絕不會再顯得過期。

額度感知模式在「Claude Code 自己的額度」補上「(最後更新於…;之後可能已重置)」,舊讀數不會再像最新的。額度感知 hook(特定事件發生時觸發的小程式)更新到 1.20。

各類額度的時間與狀態分清後,看面板剩餘量不用再靠猜。

官方原文

**A Codex window past its reset time reads 0% and Reset.** Before this fix, both its usage and its reset time showed --, which looked like missing data. It now matches Claude Code and Antigravity until Codex reports a new reading.

**A Muse 5-hour limit shows up as a current reading.** When Muse refused a request because the 5-hour quota was used up, usage kept the previous reading's check time. The card looked stale, the "used up" notification was skipped, and usage checked again sooner than intended. The refusal now carries its own check time.

**A newer Codex Spark reading no longer replaces the general Codex reading.** When the Codex database held a newer reading for the dedicated Spark quota, it replaced the general reading from the session logs, and a general-quota rejection looked expired. Readings for different quotas are no longer merged.

**Quota-aware mode says when Claude Code's own quota was last read.** The "Claude Code's own quota" line left out the "(last updated ...; it may have reset since)" note that the same windows carry elsewhere, so an old reading could look current. The quota-aware hook updates to 1.20.

04

匯出與重開報表的表格標示更清楚

整理報表匯出存檔,或是重新打開舊報表核對花費,表格上的資訊現在不會漏掉或寫錯。

遇到花費未知的專案,CSV 匯出會寫成破折號,跟模型列一樣。以前會寫成 0.00 讓人誤以為免費,現在 app 直接匯出或存下報表裡的匯出都改過來了。

用「全部」這類日期捷徑匯出的報表,重新打開會直接還原原本的捷徑和歷史說明,不再變成手動選日期範圍。隱藏專案名稱匯出的報表,重開時日期欄也不會再是空的。

模型表裡 Antigravity 的新 Gemini 4 Neon 模型,以前會列出完整 ID,現在跟其他模型一樣改用簡稱「Neon 4」。

以後把報表匯出來對帳或傳給別人看,花費、日期條件跟模型名稱都不會再走樣。

官方原文

**CSV exports show "—" for a project whose cost is unknown.** They used to write 0.00, which read as free. Both the app's export and the export inside a saved report now write "—", the same as model rows.

**An exported report reopens with the same date shortcut.** A report exported from a shortcut such as All reopened as a manual date range, without the shortcut and its history note. A report exported with hidden project names reopened with empty date fields. The export now stores the shortcut and restores it.

**Reports show Gemini 4 Neon by its short name.** The model table listed Antigravity's new Gemini 4 Neon models by their full IDs; they now read "Neon 4", like the other models.

修正 2 項

05

年度帳本與報表數字不再對不攏

升級後回頭對年度明細與熱力圖,現在不用擔心舊紀錄把數字拖偏。

以前重算若跟每日快照相同,會沿用快照缺少版本的紀錄。這讓 token(AI 處理與計費的文字單位)修正前多算的 Antigravity 日子調不下來,現在只剩從快照重播的日子才沿用存下的版本。

年度報表以前先讀或建快取(把算過的結果暫存起來直接用)才存快照,讓明細跟熱力圖不同步、舊資料留存 6 小時。現在會先存快照,確認過舊帳本重算也略過快取。

帳本鎖被別的程序占住太久時,報表以前改讀磁碟帳本卻漏算這次用量還存進快取。現在會在記憶體補進這些日子,也不快取不完整報表。

建不出帳本鎖資料夾時,usage 不再報錯中斷,改比照打不開鎖檔處理。

明細、熱力圖與當次用量都能真正對齊。

官方原文

**An Antigravity day that was counted too high can now be lowered in the year ledger.** Before this fix, when a fresh recount matched the daily snapshot, usage kept the snapshot's missing record of which counting version produced each day. A day saved before the token-counting fix therefore stayed too high after upgrading. Only days replayed from the snapshot now keep the stored versions.

**The year report no longer shows two totals for the same day.** The report read or built its cached year before saving the new snapshot, so the detail showed the corrected total while the heatmap showed the old one, and that old year stayed cached for 6 hours. The snapshot is now saved first, and a verified recount of an outdated ledger day skips the cache.

**The year report includes this run's activity even when the ledger is busy.** If another process held the ledger lock for too long, the report fell back to the ledger on disk without the days counted in this run, then cached that incomplete result. usage now adds those days in memory and does not cache the incomplete report.

**usage no longer stops with an error when it cannot create the ledger's lock folder.** It now handles this the same way as a lock file it cannot open.

06

修復精簡模式不再用舊 hook 蓋掉新版

之前提示檔或設定項目不見了,usage 修補精簡模式會直接拿 app 內附的腳本硬蓋過去,害你自己裝好的新版 hook 反而被退回舊版。現在只有腳本不見或版本較舊時才會替換,其餘只補回缺漏的部分,做法跟修復續談 hook 一樣。

官方原文

**Repairing Token Saver no longer replaces a newer hook with an older one.** When a prompt file or settings entry was missing, usage overwrote the installed Token Saver hooks with the copies bundled in the app, even if the installed ones were newer. usage now replaces a script only when it is missing or older, and restores just the missing parts, the same way it repairs the resume hook.