usage

usage 0.20.0

工具與目錄
在這頁

新功能 1 項

01

脈絡視窗太重時會跳出提醒,教你怎麼清空

當 Claude Code 對話把脈絡視窗(context,AI 能記住的前後文範圍)塞到 80% 以上的紅區時,狀態列現在會補上一行提醒。因為過了這個點,每一輪對話都會把沉重的紀錄重送一次,讓每輪成本更貴,額度也燒得更快;這時候輸入 /clear 就能把包袱清掉重置。提醒還會顯示脈絡百分比與本次對話花費。就像你的背包快塞滿時,系統會拍拍你的肩膀,建議你把用不到的東西清掉再繼續走。

官方原文

**Status line nudges /clear when the context window goes heavy (≥80%)**: once a Claude Code conversation fills its context window past the red zone, the status line appends a one-line reminder. Past that point every turn resends a heavy context — pricier turns and a faster rate-limit burn, both of which /clear resets. The nudge shows the context % and, when available, the session cost, in all five languages.

修正 1 項

02

長時間的 Codex 對話,5 小時額度數字不再抓錯

以前如果一個 Codex 工作階段(session,一段連續的對話期間)聊太久,系統在抓 5 小時額度數字時,可能會漏看真正最新被修改的檔案,導致選單列顯示過期的數字。現在系統會把所有看得到的檔案照最後修改時間排序,確保選單列永遠反映最新狀況。就像看行事曆,以前只照建立時間排、漏了後來才更新的記事,現在直接照最後更新時間排,保證你看到的是最新進度。

官方原文

**Codex 5h quota no longer goes stale on long-lived sessions**: the rate-limit reader scanned Codex session files newest-date-directory first and stopped at a scan limit, which could skip the file that was *actually* modified most recently when a long session keeps appending to an older creation-date directory. It now sorts all visible session files by modification time, so the menu bar always reflects the newest snapshot. (#37, by @ericweichun)