usage

usage 0.22.3

工具與目錄
在這頁

新功能 1 項

01

選單列數字卡住不更新時,現在會主動跳出警告教你修

選單列上釘著的用量百分比,如果因為背後的工具設定跑掉而卡住不更新,現在系統不會再讓你傻傻看著死掉的數字了。當它發現你明明還在聊天(專案紀錄有在動),但狀態檔卻超過 30 分鐘沒更新時,就會主動跳出警告,並教你重新跑一次 --setup 或重開程式來修復。它會保留最後一次抓到的真實數字,絕對不會自己亂掰,而且一樣完全不連網。就像你看著時鐘以為還早,現在時鐘沒電不走了,它會自己彈出一個牌子提醒你「我沒電了,快換電池」,而不是讓你錯過開會時間。

官方原文

**Warns when the status line stops updating while you're still working**: the menu bar percentage comes only from the file the status line hook writes, so if that hook gets unwired (another tool rewrites settings.json) or stops firing, the pinned number would silently freeze. usage now detects this — when the status file hasn't updated for 30 minutes but your ~/.claude/projects logs show recent activity — and shows an actionable warning telling you to re-run --setup or restart Claude Code. The last known percentage is kept, never fabricated, and there is still no network call.