usage 0.34.13
新功能 4 項
額度提醒可直接勾選通知門檻
請 AI 幫忙改報告時,想提早知道額度快用完,可以先到選單挑提醒的百分比。⟦烤箱以前只有提醒開關,現在可以選好要在哪個刻度響鈴;把提醒刻度設在目前讀數以下,也不會補響,而是等下次真的跨過才提醒。⟧
macOS 與 Windows 系統匣(集中顯示常駐程式圖示的區域)的「用量提醒通知」改成子選單,裡面有總開關,以及 50/70/80/90/95% 的勾選項目。新加的門檻若低於目前用量,會等下一次實際跨過才通知。
macOS 的通知權限若已關閉,選單也會說明,並提供直接開啟通知設定的項目。以前可能看見提醒已開啟,實際卻收不到通知,現在能從選單看出是哪裡沒放行。
官方原文
**Choose quota-alert thresholds from the menu.** "Usage Alert Notifications" is now a submenu on macOS and in the Windows tray: an on/off switch plus 50/70/80/90/95% checkmarks. A threshold added below current usage waits for the next real crossing instead of firing at once.
**The menu tells you when macOS notification permission is off.** An item opens Notification settings, so alerts that would never arrive no longer look enabled.
classic 面板把額度重點留給百分比與紅色警示
打開 usage 想確認還能用多少額度,最需要先找到的是百分比與警示。classic 面板現在淡化卡片名稱與專案數字,讓百分比和紅色警示突出,卡片左側的色條也拿掉了。
當額度卡有四張以上,精簡版面會連專案卡與底部一起收緊,不只縮小額度卡本身。繁中、簡中、日文與韓文介面裡,原本的「Session」工作階段標籤也改成「5 小時」,直接寫出這欄代表的時間範圍。
像整理一張貼滿彩色標籤的家用帳單,以前標題、編號和應繳金額都搶著吸引目光;現在收起裝飾、淡化旁支資訊,把目光留給要確認的數字。
官方原文
**The classic panel is cleaner.** Card titles and project numbers are quieter so percentages and red alerts stand out, the color bar on the left of each card is gone, and the compact layout (four or more quota cards) also tightens the projects card and footer.
**"Session" reads "5 hours" in Traditional Chinese, Simplified Chinese, Japanese and Korean.**
新手模式會略過你已主動使用的詞
已經會在訊息裡談 PR 或 commit,卻還一直收到這些詞的解釋,提示就有點多餘了。⟦家教以前只照生字表反覆講解,現在會留意學生自己用出的詞;不過學生開口問意思,仍然算在求教,不會被當成已經學會。⟧
新手模式現在會略過出現在你自己訊息裡的術語,例如 PR(請別人審查並合併修改的請求)不再回來當提示。commit(把一批修改存成版本紀錄)也適用這個規則。
但你若是在問「launchd 是什麼」,這類詢問詞義的訊息不算已經會用,仍可收到解釋。若略過的詞其實還不懂,也能在歷史面板把它標成「不懂」,讓它重新回到提示裡。
官方原文
**Beginner mode stops hinting words you type yourself.** If a term such as PR or commit appears in your own message, it no longer comes back as a hint. Asking what a word means ("launchd 是什麼") does not count, and marking the term as not understood in the history pane brings it back.
對話交接只把成功的修改列為完成
把工作交給下一段對話時,最怕交接內容說已經做好,實際檔案卻沒改成。現在工作階段(這次對話的執行期間)交接時,只把成功的修改列為完成。這些修改包括 commit(把修改存成版本紀錄)與編輯。
如果 commit 被 pre-commit hook(儲存版本前觸發的檢查小程式)擋下,或編輯失敗,都不會再被寫成已完成。用 ! 執行的 shell(接收並執行文字指令的程式)指令,也不會再被當成你上一個需求。
接班紀錄以前把送修申請當成修好,也把旁邊的操作便條當成客人委託;現在只在完工欄記下成功的工作,操作便條也不再冒充委託內容。
官方原文
**Session handoffs only list commits and edits that succeeded.** A commit rejected by a pre-commit hook or a failed edit no longer shows as done, and ! shell commands are no longer listed as your last request.
修正 4 項
Codex 的舊讀數不再掛上警告符號
看到 Codex 額度旁寫著「…前更新」,不必光憑這行字就認定讀取出了問題。⟦車站以前把定時公布的時刻表也貼上故障警告,乘客容易誤會;現在把正常的更新時間留作註記,只有該更新卻沒取得資料時才掛警示。⟧
Codex 沒有即時回報,讀數舊一點是正常情況。usage 現在把所有面板主題,以及 Claude Code 側邊面板裡的這個標籤,都改成灰字,並拿掉 ⚠ 符號。你仍看得到資料多久前更新,只是不再被當成異常。
Antigravity 的警告則保留,因為它的舊值代表抓取失敗。兩者雖然都可能顯示較早的數字,背後原因不同,畫面也跟著分開處理。
官方原文
**Codex's "updated … ago" label is no longer a warning.** Codex has no live report, so an older reading is normal; every panel theme and the Claude Code side pane now show it in muted text without ⚠. Antigravity keeps its warning, since an old value there means a fetch failed.
額度提醒不再認錯帳號或重複報警
換了 Claude 帳號,卻收到上一個帳號的額度提醒,很容易搞不清楚自己還能用多少。以前用 /login 換帳號後,新工作階段(這次對話的執行期間)在第一則回覆前,會沿用上次已知的數字。
狀態列 hook(掛鉤,特定事件發生時被觸發的小程式)現在會記下是哪個對話讀到這些數字。額度提醒會忽略來自其他對話的讀數,避免把上一個帳號的額度算到你頭上。
Antigravity 的重置時間在不同讀取之間,最多會飄動一分鐘,以前因此被誤認為新的額度窗口。現在同一個對話不會再重複同一則警告。
值班員以前會把前位住客的帳單交給新住客,也會把同一張催繳單重送;現在先核對收件對象,也認得已經送過的通知。
官方原文
**After switching Claude accounts with /login, the quota reminder no longer reports the previous account's quota as yours.** A new session reuses the last known numbers until its first reply; the status line hook now records which session observed them, and the quota reminder ignores numbers from another session.
**The quota reminder no longer repeats the same Antigravity warning in one conversation.** Antigravity's reset time drifts by up to a minute between readings, which looked like a new quota window.
usage 自動修復與開關狀態不再互相打架
電腦裡留著不同版本的 usage,或 Claude 狀態列已交給別的工具,原本都可能讓自動修復出岔。hook(掛鉤,特定事件發生時被觸發的小程式)以前只要版本不同就重裝,兩份 usage 可能來回替換它。現在只會升級,舊版不會把新版裝好的降回去。
狀態列開關只有在使用 usage 自己的 hook 時才顯示開啟。安裝失敗會明說,登入時啟動若被系統拒絕,也會顯示原因。
即使別的工具掌管 Claude 狀態列,對話工作階段相關的 hook 仍會自我修復。某個工具的額度數字若已一小時以上沒更新,提醒也會說明額度窗口可能已重置。你能分清楚是開關沒設成功,還是眼前的數字已經過時。
官方原文
**An older copy of usage no longer downgrades the hooks a newer one installed.** Self-repair used to reinstall any hook whose version differed, so two copies could keep swapping it; it now only upgrades.
**Status-line and launch-at-login switches no longer fail silently.** The status-line switch is on only for usage's own hook, a failed install says so, and a refused launch-at-login registration shows the reason.
**Session hooks are repaired even when another tool owns the Claude status line.** The quota reminder also says when a tool's numbers are an hour or more old and the window may have reset.
Muse 額度檢查減少模型呼叫,卡住也能隨 app 結束
只是重新整理額度卡,也會花掉模型呼叫,等於查用量本身還在增加用量。Muse 1.4.13 以上現在改讀 muse usage --json 的額度結果,這個查詢不會執行模型,因此額度卡不再每次重新整理都呼叫模型。
舊版 Muse,或還沒有讀數的額度窗口,仍會採用備援方式,退回原本的一行 muse exec 檢查。省下模型呼叫有版本與讀數條件,並不是所有情況都取消舊方法。
若 muse usage 檢查卡住,結束 app 時也會一併停掉它。
查水費以前得先開水龍頭測試,現在能直接讀水表;還讀不到水表時才沿用舊辦法,離開時也會關掉卡住的測試。
官方原文
**The Muse quota card no longer spends a model call on every refresh.** With Muse 1.4.13 or later, usage reads the allowance from muse usage --json, which runs no model. Older Muse versions, or a window with no reading yet, still fall back to the one-line muse exec check.
**Quitting the app stops a hung muse usage check.**