usage

usage 0.15.2

工具與目錄
在這頁

新功能 2 項

01

對話再多也不拖慢電腦,背景更新再也不卡死

就算你累積了幾百個專案的對話,這套工具現在也不會拖慢你了。以前系統為了察覺歷史用量有沒有變,每次都會把所有資料夾從頭掃描一次,現在它學會了只盯著真正有用的範圍看,還懂得自動略過隱藏的系統垃圾檔。此外,我們幫背景更新機制加了一道保險,徹底解決了極少數情況下更新卡住、數字從此再也不動的怪問題。就像圖書館員以前為了找一本新書要把整間圖書館每一層樓全逛一遍,現在他知道直接走到特定書架巡視就好,而且再也不會迷路卡在書庫裡出不來。

官方原文

**Steadier background refresh**: file-change–triggered refreshes are now always marshalled to the main thread, and the refresh routine has an outer guard so it can't get stuck in a state where it never refreshes again.

**Lighter refresh when sessions pile up**: history change-detection narrowed from scanning all of ~/.claude to the ~/.claude/projects it actually reads; Codex recent-session enumeration now walks the dated folder structure and scans only what's needed (skipping hidden files like .DS_Store) instead of rglob-ing the whole tree on every refresh.

02

離線或首次啟動不再卡頓,花費估算全自動跟上

現在你打開 App 時,再也不用等它慢慢下載價格表了。以前在首次啟動或斷網時,系統為了估算成本,會卡在那裡硬等價格表下載完;現在它會先用本機記住的舊價格或內建的預設值頂著,把下載工作丟到背景默默進行,等抓完最新價格再自動幫你重新計算。就算你電腦一直開著,它也會在價格過期後自動幫你更新。就像去餐廳點菜,服務生不會因為網路連不上總公司就讓你站在門口乾等,而是先拿昨天的菜單讓你點,等連線恢復再幫你確認最新價錢。

官方原文

**No stall on first launch / offline**: the pricing-table download moved to the background; cost calculation always uses the local cache or built-in fallback first and auto-refreshes once the download lands. A long-running app also refreshes pricing in the background after the cache expires.