usage 0.18.0
新功能 1 項
每次開新對話都會幫你抓漏,省下不必要的開銷
每次你開啟新的 Claude Code 對話時,系統都會在背景默默幫你的紀錄做一次健康檢查,如果發現你在白白浪費額度,進度管家就會在開場白最後悄悄補上一句提醒。只要你回覆「看」,系統就會讀取每天在背景自動更新一次的快照(~/.claude/usage-diagnosis.json),把哪裡浪費、該怎麼改詳細解釋給你聽。同一個問題提醒過後,7 天內都不會再吵你,直到出現新問題才會再提醒;如果快照太舊(超過 48 小時),它也會識趣地直接略過。就像每次出車前技師都會偷偷幫你檢查底盤,發現漏油才小聲提醒你,而且講過一次就不會天天碎唸,免得你嫌煩。
官方原文
**Health-check diagnosis on every new conversation**: usage now runs a background diagnosis engine against your Claude Code session logs and, when it finds meaningful waste, quietly appends a one-line reminder to the Progress Concierge's opening handoff. Say "show me" and the model reads the full snapshot (~/.claude/usage-diagnosis.json) and explains findings with specific suggestions. The reminder is suppressed for 7 days once a fingerprint is seen, re-surfaces when the diagnosis changes, and is skipped entirely when the snapshot is stale (>48 h).
**Daily diagnosis snapshot** (usage_diagnosis_snapshot.py): the menu-bar app refreshes ~/.claude/usage-diagnosis.json once per day in the background so the cost estimate is always fresh when you open a new conversation.
修正 1 項
診斷規則更聰明,不再誇大浪費的金額
現在系統能更精準地幫你抓出浪費,不再拿天價數字嚇你了。系統加裝了五大規則引擎(會抓出重複讀檔、掃到 node_modules 等垃圾目錄、對話過度膨脹、終端機輸出太長、重複跑指令),並會把最該修的浪費排在最前面告訴你。同時,當它發現對話太長時,不會再像以前那樣傻傻把所有字都用最貴的費率算成「浪費」,搞出誇大 9 倍的天價;現在它懂得區分哪裡是你已經快取(cache,省下重複計算的暫存紀錄)的便宜字數,並且只把「超出正常水準」的部份算成浪費。就像計程車跳表機,以前一繞路就把整趟車資當成損失來嚇你,現在它會精準算出「只算繞路多跑的里程」,而且會幫你扣掉會員打折的費用,給你一張公道精準的收據。
官方原文
**Five-rule diagnosis engine** (analyzer/diagnoser.py): detects repeated file reads, polluter directories (node_modules, .venv, dist, …), anomalous session sizes, noisy Bash output, and repeated Bash commands. Findings are ranked by estimated token waste so the most actionable finding is always surfaced first.
**Anomaly-session waste estimates are no longer inflated ~9×**: the engine previously counted the entire token total of an anomalous session as waste and priced every token at the full $3/MTok input rate. Long sessions are dominated by cache reads billed at a tenth of that ($0.30/MTok), and the work done in the session isn't waste at all — only the excess over the project baseline is. Cost is now split by token type and scaled to the excess share (real-data result: $254 → $27).