usage

Claude Code 2.1.191

工具與目錄
在這頁

新功能 4 項

01

時光倒流更強大,畫面捲動不再亂跳

對話歷程的掌控度變得更高了。現在就算你已經用 /clear 清空了畫面,你還是可以用 /rewind(時光倒流)功能,回到清空之前的對話狀態,不用擔心手滑按錯。閱讀長篇對答時,以前只要 AI 還在吐字(streaming),畫面就會失控一直被強迫拉到最底,害你看不到前面的內容;或是當你在代理人名單捲動超過上限時,整個面板會詭異地跳動一行,現在這些惱人的畫面干擾都修好了。這就像看網路直播,以前只要有人一直洗留言,你的畫面就會被強制往下拉;現在你可以安心往上滑看舊留言,畫面穩如泰山。

官方原文

Added /rewind support for resuming a conversation from before /clear was run

Fixed scroll position jumping to the bottom while reading earlier output during a streaming response

Fixed the agent panel jumping by one row when scrolling the roster past the overflow cap

02

徹底終止背景任務,介面操作更友善

從任務面板停掉背景代理後,它不會再自己復活。以前你從任務面板停掉一個背景代理人,它過不久又會像殭屍一樣復活,現在停掉就是永久終止了。如果你在代理人面板(claude agents)貼上圖片,它現在會乖乖顯示 [Image #N] 佔位符,不再把整串又臭又長的路徑印出來佔版面;如果你對著背景任務輸入 /usage 這類內建指令,它現在會提示你正確用法,而不是笨笨地把指令當成聊天文字傳出去。其他修復還包含:登入網址在 Windows 終端機跨行時不會再被截斷、解決了特定環境(Ghostty)下全螢幕無法點擊連結的問題、修正用逗號分隔的掛鉤(hooks)條件會默默失效的 Bug、開場動畫不再超出 Mac 終端機預設大小、組織禁用 /voice 語音時會給出明確原因,而且在「最近拒絕」的權限面板裡點擊同意,關閉後設定終於會確實保留了。這就像把辦公室裡各種不順手的工具都換新:原本打死不退的離職員工被徹底請走,超長的公文附件會幫你自動縮排整理,印表機出錯也會告訴你到底哪裡卡紙,一切都變得俐落直覺。

官方原文

Fixed background agents resurrecting after being stopped — stopping an agent from the tasks panel is now permanent

Fixed /voice showing a generic "not available" message when disabled by an organization's policy — it now explains the restriction

Fixed /login URL opening truncated in Windows Terminal when it wraps across lines

Fixed Cmd+click on links in fullscreen mode for Ghostty over ssh/tmux

Fixed claude agents sending builtin slash commands like /usage to background sessions as prompt text instead of showing a hint

Fixed claude agents job rows showing full filesystem paths for pasted images instead of the [Image #N] placeholder

Fixed the welcome splash art overflowing the default 80×24 macOS Terminal window

Improved vim mode prompt-history search (NORMAL /) to hint how to reach slash commands

Fixed hooks with comma-separated matchers (e.g. "Bash,PowerShell") silently never firing

Fixed /permissions Recently-denied tab: approving a denial now persists on close instead of being silently discarded

03

網路權限變聰明,MCP 外部工具連線更穩

面對網路問題和外部權限,系統變得更有韌性。現在沙盒(sandbox)裡的網路權限只要你點過一次「允許」,整個對話期間系統都會記住,不會每次連線都跳出來煩你。對於 MCP(外部工具伺服器),如果在讀取功能清單或要求 OAuth 登入憑證時遇到網路閃斷,它現在懂得稍等一下自動重試,不會馬上宣告失敗;如果回報 404 找不到網頁,錯誤訊息也會明確列出網址並指引你檢查設定檔。此外,在無頭環境(headless,沒有螢幕或瀏覽器的環境下運行)中,系統會直接跳過叫不出瀏覽器的步驟,讓你直接貼上登入網址。在企業管控設定上,強制刷新設定(forceRemoteSettingsRefresh)現在會確實發送不快取的指令,保證抓到最新規則,不會被代理伺服器騙。這就像你帶人進公司大樓,以前過每個閘門警衛都要重新查一次證件,現在只要大門登記過就能暢通無阻;就算內部系統偶爾連線不穩,也會幫你自動重整幾次,不會直接把你踢出門外。

官方原文

Fixed managed settings: forceRemoteSettingsRefresh now takes effect when set via MDM or file policy, and the fetch sends Cache-Control: no-cache to prevent proxies from serving stale responses

Improved sandbox network permission dialog: hosts you allow with "Yes" are now remembered for the rest of the session instead of re-prompting on every connection

Improved MCP server reliability: capability discovery (tools/list, prompts/list, resources/list) now retries transient network errors with short backoff

Improved MCP OAuth: discovery and token requests now retry once after transient network errors, and headless environments skip the browser popup and go straight to the paste-the-URL prompt

Improved MCP error messages: HTTP 404 errors now show the URL and point to your MCP config

04

降低 CPU 與記憶體消耗,長對話更順暢

長時間使用的效能大幅改善。系統現在會把生成文字的畫面更新頻率整合到每 100 毫秒一次,這樣不僅人眼看起來一樣順暢,還能大幅降低約 37% 的 CPU 佔用率。同時也減少了終端機輸出快取在長時間對話下的記憶體膨脹問題。這就像把水龍頭的噴頭從散狀改成集中水流,雖然出的水量一樣,卻能省下一大半的加壓馬達耗電,即使水開一整天也不會讓水管壓力破表。

官方原文

Reduced CPU usage during streaming responses by ~37% by coalescing text updates to 100ms

Reduced long-session memory growth from terminal output cache