繁體中文

新功能

配額卡片更聰明,桌面版用戶不再滿頭問號

那些只用桌面版的人,不會再對著沒有數字的 Claude 配額卡片發愣,懷疑自己是不是沒裝好了。配額卡片背後仰賴的是 statusLine hook(一種用來攔截並回報狀態的隱藏小程式),但 Claude Code 只有在你打開互動式終端機時才會叫醒它。以前如果你只用桌面版,這個 hook 永遠不會被觸發,就算你的對話紀錄明明一直在增加,卡片還是只會死板地說「找不到狀態檔」,甚至叫你重新安裝。現在卡片會分辨情況了:如果它發現你明明有裝 hook 也有在聊天,只是缺了狀態檔,它會明確告訴你「需要開一次終端機工作階段來同步」,而不是丟給你根本不適用的安裝教學。就像你裝了智慧電表,但都在用別的插座,電表沒感應到;以前它只會叫你把電表拆掉重裝,現在它會告訴你「去插一下這個專用插座同步數據就好」。

English

FEATURE

Quota card gets smarter, ending confusion for desktop app users

People who exclusively use the desktop app will no longer stare at a blank Claude quota card wondering if they botched the installation. The quota card relies heavily on the statusLine hook (a hidden mini-program that intercepts and reports status), but Claude Code only wakes it up when you open an interactive terminal. Previously, if you only used the desktop version, this hook was never triggered. Even if your transcripts were actively growing, the card stubbornly displayed a generic "status file not found" message and told you to run the setup again. Now, the card recognizes when the hook is installed and you're actively chatting, but the status file is just missing. Instead of giving you irrelevant installation instructions, it gives you a targeted hint that a terminal session needs to run once to sync. It's like installing a smart water meter but using a different sink; previously the meter would tell you to rip it out and reinstall it, but now it just tells you to "go turn on the main faucet once to sync the data."

原始 CHANGELOG

Original changelog配額卡片更聰明,桌面版用戶不再滿頭問號
**The Claude quota card now explains why it shows no data for desktop-app/headless-only users**: the quota card depends entirely on the statusLine hook, which Claude Code only invokes when rendering an interactive terminal. Users whose usage happens exclusively through the desktop app or other non-TUI surfaces never trigger it, so the card stayed on a generic "status file not found" message even while the hook was correctly installed and Claude Code transcripts kept growing. The card now distinguishes this case — hook installed, transcripts actively updating, status file still missing — and shows a targeted hint that a terminal session needs to run once to sync, instead of the setup-focused message meant for users who never installed the hook at all.