usage 0.33.4
修正 3 項
Windows 異常結束不再堆積暫存檔,固定重複使用單一資料夾
你在 Windows 上使用 usage 時,若遇到系統關機或程式無預警閃退,硬碟空間常會不知不覺被吃掉。以前每次當掉、強制關閉或隨 Windows 關機,都會在暫存目錄 %TEMP% 留下約 2.5 MB 的 WebView2(微軟讓桌面程式顯示網頁畫面的組件)資料夾。隨著閃退次數增加,這些殘留檔案就會越積越多。現在 usage 改為重複使用 ~/.usage/webview 這一個專屬資料夾,就算異常結束也不會再塞爆暫存區。⟦如同使用健身房的固定置物櫃,以前每次臨時離開都換鎖霸占一個新櫃子,現在不管來幾次都共用同一個號碼櫃,儲物區不會再堆滿垃圾。⟧
官方原文
**Windows: usage no longer leaves a WebView2 folder in %TEMP% after each abnormal exit.** Each crash, forced close or shutdown with Windows previously left about 2.5 MB behind. usage now reuses one dedicated folder under ~/.usage/webview.
離線備用價目表修正 Sonnet 5.5 快取費率,花費不再高估
當 LiteLLM 價目表下載失敗時,你看到的 Sonnet 5.5 花費可能被高估。usage 平常會連線下載 LiteLLM 價目表,只有在下載失敗時才會啟用備用清單。但這張備援表過去仍記載舊費率,把 Sonnet 5.5 讀取快取(把算過的結果暫存起來直接用)的費用算得太貴。現在這份離線價目表已經修正,讀取計價由每百萬 token(AI 處理與計費的文字單位)$0.20 改為 $0.10,不再把 Sonnet 5.5 的離線花費算高。⟦你拿舊型錄估算採購費用時,以前會因為上頭的單價太高,把預估總額算高;現在手邊的備用型錄更新了,就能按正確的單價估算費用。⟧
官方原文
**Sonnet 5.5 cache reads in the offline price table cost $0.10 per million tokens.** The table, used only when the LiteLLM download fails, still charged $0.20, so offline Sonnet 5.5 spending was overstated.
Claude Code 多視窗與背景代理不再干擾進度,輸入提示穩定保留
你在同專案開多個 Claude Code 視窗或呼叫背景代理時,現在各項操作不再彼此干擾。⟦跟在共用辦公室工作一樣,以前只要隔壁同事動筆或助理跑腿,櫃檯就把你正在選的便籤收走、甚至塞來隔壁的文件;現在分工清楚,不再錯拿進度。⟧
以前開啟新視窗進行進度交接,常會誤接隔壁仍在跑的對話;現在會跳過其他開著且 10 分鐘內有寫入的工作階段,剛關閉的視窗仍正常交接。背景任務完成通知、以 ! 執行的指令與無參數斜線指令,也不再被當成最近需求。
自 Claude Code 2.1.299 起,背景子代理或隊友開始回合時會誤觸訊號,清空輸入框上方的新手模式名詞;現在只有主對話展開新回合才會清除,挑字不再被中途打斷。
官方原文
**Session resume no longer hands over another open window's work.** With several Claude Code windows in one project, a new window picked up whichever session was written last, often a neighbour still running. Sessions another window has open and wrote to in the last 10 minutes are now skipped; a window you just closed is still handed over. Background-task notices, ! shell runs and bare slash commands no longer show up as your recent requests.
**Beginner Mode's terms stay up while background agents work.** Since Claude Code 2.1.299, a subagent or teammate starting its own turn also signals a new turn, which cleared the terms above the prompt and dropped the ones still being picked. Only a new turn in the main conversation clears them now.