Claude Code 2.1.311
新功能 13 項
自託管執行器支援保留閒置工作階段,遇唯讀倉儲限流自動略過啟動
你在自建伺服器上透過執行器跑自動化任務時,主機上常會還留著沒跑完的行程。⟦好比租用會議室開跨部門會議,以前只要投影機連線異常,整間會議室就直接被系統取消鎖死;現在會議室會先略過故障的投影機照常開門,若散會後還有討論小組在白板前整理紀錄,門禁也不會立刻熄燈鎖門。⟧
如果你使用 self-hosted-runner 執行任務,現在新增了 --hold-idle-file 與 --max-hold-min 兩個參數。當你的主機回報有先前留下、仍在執行的行程時,閒置的工作階段(session,指一段持續連線的互動過程)會被保留下來。
另外,過去在啟動階段若新增的唯讀倉儲遭遇速率限制,例如收到 HTTP 429 錯誤或 Git 包裝程式以代碼 75 退出,整個工作階段會直接啟動失敗。現在自託管執行器會自動略過受限的唯讀倉儲,讓主工作階段順利開啟。
官方原文
Added --hold-idle-file and --max-hold-min to self-hosted-runner, to keep an idle session while your host reports processes it left running
Self-hosted runner: Fixed a session failing to start when a rate limit (HTTP 429, or a git wrapper that exits 75) blocks an added read-only repository; it now starts without that repository
終端機輸入 ultrathink 啟用極高思考力度,支援運算中動態拉高
面對特別棘手的架構重構或演算法除錯,你可能會希望模型花費更多時間徹底深思。⟦就像開車上坡踩油門降檔,以前出發前設定巡航就不能改,遇到陡坡只能慢速爬;現在行進中踩踏板能立刻注入動力,儀表板增壓燈也只在真正出力時亮起。⟧
在互動終端機輸入 ultrathink,就能讓 Anthropic API 上的 Opus 5.5、Sonnet 5.5、Haiku 5.5 與 Fable 5.1 模型,以極高力度(xhigh effort)深層思考。即使 Claude 已開始回答,中途輸入 ultrathink 也能拉高該輪剩餘運算的思考深度。
彩虹文字特效也同步調整。彩色效果只在該關鍵字確實能拉高思考力度的位置出現;若是在引號內或檔案路徑中提及,介面將保持正常文字顏色。
官方原文
Changed ultrathink in the interactive terminal to run its turn at xhigh effort on Opus 5.5, Sonnet 5.5, Haiku 5.5 and Fable 5.1 through Anthropic's API; typed while Claude is working, it raises the rest of that turn
Changed the ultrathink rainbow to appear only where the keyword can raise effort, and not when the word is quoted or part of a file path
對話突破二十萬記號自動壓縮,讀取記憶與摘要確認機制完善
進行長篇對話或處理大型專案時,對話歷史累積過長容易觸發長度上限。⟦一如圖書館整理堆積如山的研究筆記,以前筆記寫滿固定頁數便直接拒絕翻頁,甚至還可能翻出已作廢的舊草稿;現在館員會主動將厚重資料裝訂濃縮後讓你繼續書寫,裝訂前還會重新檢查重點摘要有沒有確實寫上。⟧
在標準情境工作階段中,單次請求若超過 20 萬個 token(AI 處理與計費的文字單位),以往工具會直接中斷並提示需要 1M 上下文點數。現在工具會主動壓縮對話歷史,替你整理脈絡後直接繼續執行,不再中途停擺。
這項自動壓縮機制也修正了檔案狀態讀取錯誤。如果工作階段稍早修改過 MEMORY.md 或 CLAUDE.md,先前在自動壓縮後模型會讀到未更新的舊版內容,這項問題已經修好。
此外,當模型產生的壓縮回覆遺漏了摘要內容時,工具會在替換現有對話前再次向模型索取摘要。
官方原文
Fixed standard-context sessions stopping with "Usage credits required for 1M context" when a request ran over 200K tokens; Claude Code now compacts the conversation and continues
Fixed Claude seeing stale MEMORY.md and CLAUDE.md content right after automatic compaction when those files were edited earlier in the session
Improved compaction: when the model's reply has no summary in it, Claude Code now usually asks for the summary once more before it replaces the conversation
遠端控制連線阻擋即時回報,雲端協作工具重啟不遺失
當你人在外面透過手機或遠端終端機連回電腦工作時,連線穩定度與訊息歸屬至關重要。⟦猶如利用衛星電話遠端指揮基地營運作,以前遇到中繼線路阻擋時訊號會卡在連線中無聲乾等數分鐘,助理代發的公文還會被蓋上你本人的私章;現在線路受阻會立刻回報,附件超量或磁碟已滿也會說明原因,重啟系統後裝備依然完好。⟧
遠端控制若被網路 Proxy 阻擋,不再卡在 Connecting 兩分鐘。手機版中 Claude 發給雲端或遠端工作階段的訊息,不再誤標為你發送。
附件因磁碟滿或超過 20 個被略過時會提示原因。Cowork 雲端工作階段抓取與搜尋卡住改為 300 秒逾時;重啟不再因指定 agent 遺失工具。使用 /teleport 或 claude --teleport 載入已壓縮工作階段時,會提示本地不含摘要前訊息。
官方原文
Fixed Remote Control sessions staying on "Connecting" for about two minutes when a network proxy blocks a startup request
Fixed messages that Claude sends to a cloud or Remote Control session appearing as your own message in the Claude mobile apps
Fixed Claude not being told the cause when a file attached to a message sent over Remote Control or to a cloud session could not be saved because the disk was full, or that a message's attachments past the first 20 were left out
Fixed WebFetch and WebSearch hanging on a stalled response in Cowork cloud sessions; an unfinished request now fails after 300 seconds
Fixed Cowork cloud sessions losing their connectors and most tools after a restart when a plugin or your settings named an agent; Cowork cloud sessions now ignore that setting
Improved /teleport and claude --teleport to warn when a compacted cloud session loads from its last compaction, so the messages it summarized aren't in the local copy
背景守護服務支援排程崩潰重啟,指引與重生指令精準回報
把繁重任務丟給背景服務處理時,最怕背景行程突然無聲無息終止。⟦就像大樓夜班巡邏系統異常,以前中控台建議按下的開關是早已拆除的舊按鈕,即使查無紀錄仍先盲目啟動發電機;現在設有定時巡邏的異常中斷會自動重啟,系統也會給出明確的重新接班指引。⟧
背景工作階段處於釘選、連線中,或設有排程任務與喚醒時,若在輪次間崩潰,現在會自動重啟。
背景服務無回應時,錯誤提示改為建議執行 claude daemon stop --any 並說明會終止所有背景工作階段,不再建議已停用的指令。執行 claude respawn <id> 時,會先檢查該識別碼是否存在,避免找不到工作階段卻白白啟動背景服務。
背景行程結束時的訊息不再給予無法兌現的重啟承諾,並說明如何恢復工作階段。從支援超連結的終端機開啟背景工作階段時,狀態列(顯示在終端機最底下的狀態列)連結現在能正常點擊。
官方原文
Fixed a background session that crashed between turns not being restarted while it was attached, pinned, or had a scheduled task or wake-up set
Fixed the "background service did not respond" error suggesting the disabled claude daemon restart; it now suggests claude daemon stop --any and says it ends background sessions
Fixed claude respawn <id> starting the background service before reporting that no background session matches the id
Fixed status line links staying plain text in background sessions after you open them from a terminal that supports links
Improved the messages shown when a background session's process exits: they no longer promise a restart that isn't coming, and they say how to resume the session
產物支援依錨點路由多重視圖,智能劃分頁面與文件型態
請 Claude 製作互動展示或撰寫長篇報告時,產物的呈現形式直接影響閱讀與分享體驗。⟦比照設計公司交付專案成品,以前不管是互動原型還是正式合約,全用同一種資料夾交付,切換章節時網址標籤也不會跳轉;現在互動圖表會被製作成可點擊操作的展示網頁,長文文字則整理成方便傳閱修訂的文件。⟧
產物工具改進了成果型態的判斷邏輯。當你需要解說性文字、視覺圖表或具備按鈕等互動功能的作品時,Claude 會將其生成為獨立的產物頁面(page)。如果是適合團隊持續修訂、日常傳閱的純文字內容,則會建立為產物文件(document)。
如果單一產物中設計了多個切換視圖,現在系統會根據連結末端的 #name 錨點來精確路由至對應畫面。
這項視圖切換機制也修正了解釋說法。過去 Claude 在引導讀者切換不同檢視畫面時,會誤稱瀏覽器網址列保持不變,現在這段說明已更新為正確的路由行為。
官方原文
Improved artifacts with several views: Claude now routes each view on the link's #name and no longer says the address bar stays the same as you switch views
Improved the Artifact tool's choice between a page and a document: explainers and visual or interactive work become artifact pages; documents are for writing people keep editing or pass around
訂閱受限精準指引帳單設定,快取網路驗證加速工具啟動
每天頻繁啟動命令列工具時,每次開啟等待數秒的網路驗證會累積出明顯的時間成本。⟦跟持會員卡走進商務中心一樣,以前只要距離上次進門不到一小時,閘門仍要連上遠端主機反覆核對兩次身分,扣款卡關時櫃檯還叫個人會員去問根本不存在的公司主管;現在短時間內出入能快速通關,通行碼失效時也會提醒重抽號碼牌。⟧
Pro 與 Max 帳號在距上次檢查一小時內啟動,會自動跳過兩次網路請求以加速啟動。僅帶有選項與參數值的啟動(例如 claude --model opus)流程也經過優化。
Pro 與 Max 用戶無法使用訂閱時,提示訊息改為引導至帳單設定,不再誤叫用戶詢問管理員。貼上的登入碼被拒絕時,提示文字現在會說明代碼可能已過期或已使用,並提示重新登入。
官方原文
Fixed Claude Pro and Max subscribers being told to ask their admin when their subscription can't be used; the message now points to billing settings
Improved startup time for Pro and Max accounts by skipping two network requests on launches within an hour of the last check
Improved startup time for launches whose only arguments are options and their values, such as claude --model opus
Improved the message shown when a pasted sign-in code is refused: it now says the code may have expired or been used, and to sign in again
雲端平台深層思考防閒置中斷,遵循不重試標記避免卡住
在企業級雲端環境調用外部模型時,複雜的網路代理與長時間運算常面臨連線挑戰。⟦如同長途車隊行經跨國公路,以前遇上需要精細核算的貨物,檢查站常因等待過久誤判車輛拋錨,對已被海關拒絕通行的貨物還反覆重新排隊;現在持續運轉的訊號能被正確識別,連線中斷時也會指出該優先檢查哪一個收費閘門。⟧
在 Google Vertex AI、Microsoft Foundry 與 AWS 平台上,端點會發送思考進度,不再被誤判閒置中斷。
API 標記不可重試時不再重試請求,避免對話卡住或無限重試。Anthropic API 連線中斷時優先提示檢查 Proxy 或閘道,其次為 VPN 或防火牆。Bedrock、Mantle、Vertex 與 Foundry 改由官方簽章檔載入設定,可設 CLAUDE_CODE_MODEL_CATALOG=off 關閉。
官方原文
Fixed long hidden thinking being cut off as idle on Google Vertex AI, Microsoft Foundry and Claude Platform on AWS, where the endpoint sends thinking progress updates
Fixed Claude Code retrying requests the API marked not to retry, which could hold a turn for minutes or, in unattended retry mode (CLAUDE_CODE_RETRY_WATCHDOG), indefinitely
Improved the "Connection dropped" API error: it now says where to look first (the proxy or gateway in use, else VPN or firewall; Anthropic API only, Bedrock, Vertex and Foundry are unchanged)
Changed Claude Code on Bedrock, Mantle, Vertex, and Foundry to load model settings from a signed file on downloads.claude.ai; set CLAUDE_CODE_MODEL_CATALOG=off to turn this off
SDK 歷史紀錄依序留存,JSON 控制字元轉義與發文檢查
串接自動化腳本或整合通訊軟體時,資料格式的嚴謹度決定了下游服務能否正常解析。⟦宛如公文收發室分發函件,以前遇到特殊格式印章容易在系統建檔時出錯,自動派件員在轉發公文時也常略過門口貼著的公告;現在特殊字元均按標準代碼轉義封裝,派送前也會先閱讀該單位的收件守則。⟧
claude -p 與 SDK 工作階段保存記錄時訊息順序錯亂或保留已撤回訊息的問題已修復。索取解說時會顯示說明型輸出風格的操作提示。
--output-format json 與 stream-json 會將字串內的 DEL、C1 控制字元與 Unicode 格式字元寫為 \uXXXX 轉義格式。向未指名的 Slack 頻道發訊前,Claude 現在會先檢查該頻道主題的發布規則。此外,claude purge 說明已載明僅刪除本機資料,不影響 Anthropic 儲存的內容。
官方原文
Added a tip for the Explanatory output style, shown when you ask Claude for explanations
Fixed claude -p and SDK sessions saving transcript messages out of order or keeping messages that were taken back
Improved Slack connector sends: Claude now checks a channel's topic for posting rules before messaging a channel you didn't name
Changed --output-format json and stream-json output to write DEL, C1 control and Unicode format characters inside strings as \uXXXX escapes; parsed values are unchanged
Changed claude purge to say it deletes data only on this computer, not anything stored by Anthropic
[VSCode] 回覆程式碼支援語法上色,依編輯器設定停用遙測
在 VS Code 編輯器內與 AI 對話時,清楚的語法標示與靈敏的側邊欄能讓閱讀更舒適。⟦一如裝潢現代化程式工作室,以前對話面板裡的程式碼像是一張黑白影印紙難以辨認,工作室一開門還急著把倉庫所有遠端檔案整批載入;現在代碼全部換上彩色列印,側邊清單只在拉開抽屜時載入,門口也完全尊重隱私標示。⟧
VS Code 擴充套件中,Claude 回覆的程式碼區塊現已支援淺色、深色與高對比深色主題的語法上色。
側邊欄的工作階段清單改為在首次開啟 Web 分頁時才載入 Web 工作階段,不再於啟動時載入。當 VS Code 遙測關閉時,擴充套件會以 DISABLE_TELEMETRY 啟動 Claude Code,不發送用量指標、錯誤回報或抓取功能旗標。針對執行緩慢的 UserPromptSubmit 掛鉤(特定事件發生時被觸發的小程式),新增了轉圈狀態與螢幕報讀提示。
官方原文
[VSCode] Added syntax coloring to code blocks in Claude's replies, in light, dark and high contrast dark themes
[VSCode] Added a "Running UserPromptSubmit hooks" spinner status and screen reader announcement for slow UserPromptSubmit hooks
[VSCode] Changed the extension to start Claude Code sessions with DISABLE_TELEMETRY set while VS Code's telemetry setting is off, so they send no usage metrics or error reports and fetch no feature flags
[VSCode] Changed the session list side bar to load Web sessions when the Web tab is first opened, not at startup
[Cloud sessions] 雲端例行工作重返解鎖,環境設定杜絕重複名稱
在雲端託管環境中排定自動化排程時,組織成員異動不應成為自動化工作永久鎖死的阻礙。⟦比照租用共享雲端機房的自動化排程,以前管理員短暫離職再重返職位後,先前設定的排程機台仍被強制鎖死,嘗試重製金鑰失敗時面板也毫無反應;現在重返團隊能重新啟用機台,設備命名時系統也會攔截重複標籤。⟧
在 Anthropic 託管環境中,自動化例行工作的擁有者退出組織又重新加入後,該例行工作不再卡在鎖定狀態,擁有者現在可以重新將其啟用。
當例行工作的 API 權杖(授權令牌)刪除或重新產生失敗時,即使編輯對話框已關閉,畫面現在也會跳出錯誤通知。雲端環境對話框(含管理員對話框)不再接受重複名稱,會主動拒絕清單中已有的名稱。
官方原文
[Cloud sessions] Fixed routines in Anthropic-hosted environments staying locked after their owner left the organization and rejoined; the owner can now turn them back on
[Cloud sessions] Fixed a failed routine API token delete or regenerate showing nothing if the edit dialog had already closed; it now shows an error toast
[Cloud sessions] Fixed cloud environment dialogs, including the admin dialog, accepting duplicate names; they now refuse a name another listed environment already has
[Claude Tag] 新增 Slack 技能分析視圖,無報告內容安靜退出
把 AI 標籤引入團隊通訊軟體協同工作時,清楚了解各項技能的調用頻率有助於優化工作流。⟦跟企業在內部群組引進數位布告欄一樣,以前無人知曉哪些功能受到員工歡迎,例行巡邏沒有狀況時看板還會發一張無事廢紙洗版;現在後台能檢視各工具的調用率,沒事時安靜收工,私密群組也會以鎖頭標識。⟧
Claude Tag 分析後台新增技能檢視畫面,能顯示 Claude 在 Slack 頻道中執行各項掛載技能的頻率與未使用的技能,管理設定中也提供用量連結。
在全新工作階段執行的例行檢查任務,若沒有值得報告的內容,現在會直接結束,不再向頻道發布廢棄訊息。管理員設定清單中,你帳號可見的私人 Slack 頻道改以鎖頭圖示取代原本的 # 符號。
官方原文
[Claude Tag] Added a Skills view to Claude Tag analytics showing how often Claude runs each attached skill in Slack channels and which go unused, with Usage links in admin settings
[Claude Tag] Improved Claude Tag routines that run in a new session: a run with nothing to report can now end without posting a throwaway message to the channel
[Claude Tag] Changed Claude Tag admin settings to show a lock instead of # for private Slack channels that your own Slack account can see
[Code Review] 審查遇伺服器暫態故障自動重試,重試失敗明確收尾
在程式碼合併請求中依賴自動化機器人審核時,偶發的雲端連線抖動可能導致檢查流程卡住。⟦就像線上交卷系統送出報告一樣,以前遇到伺服器網路短暫瞬斷系統就直接判定繳交失敗,讓人不知該乾等還是手動重送;現在遇到線路故障會自動重連一次並清楚標示,若確定無法解析也會明確通知停止等待。⟧
因暫態伺服器故障而啟動失敗的程式碼審查工作階段,現在會自動重試一次,並在檢查執行(check run)中明確標示正在重試。
若模型在自動重試時依然無法分析變更,檢查執行會清楚說明不會再啟動後續的自動審查,避免團隊不知情地持續等待。
官方原文
[Code Review] Improved Code Review's check run to say no further automatic review will start when the model still can't analyze a change on the automatic retry
[Code Review] Improved Code Review reliability: a review whose session fails to start because of a transient server fault is now retried once automatically, and its check run says so
修正 11 項
思考力度提示快取未命中納入警告,用量清單完整揭露消耗
當你切換不同模型規劃工作或審查程式碼時,快取未命中可能在不知不覺中消耗寶貴額度。⟦如同水電帳單列出詳細明細,以前更換特殊家電造成的突發耗電全被隱藏,讓人摸不清額度花去哪裡;現在儀表會在切換不同規格設備時主動提示耗損,帳單也會印出大額開銷。⟧
在計劃模式下調整思考力度時,若計劃模型與當前工作階段的模型不同,/effort 指令現在會主動提醒提示快取(把重複內容暫存起來直接使用)未命中,讓你評估額外成本。
/usage 指令也補上了顯示,過去遺漏的大型提示快取未命中現在會如實列出。執行 /code-review 時,Claude 會優先考慮思考力度,只在明確要求時使用最高等級。此外,模型名稱移除了無實質效果的 [1m] 後綴,但仍相容該舊寫法。
官方原文
Fixed /effort not warning about a prompt cache miss in plan mode when the plan model differs from the session model
Fixed /usage never showing large prompt-cache misses under "What's contributing to your limits usage?"
Changed model names and IDs to drop the [1m] suffix and its label on models where the suffix has no effect; the suffix is still accepted
Changed /code-review to tell Claude to put the effort level first and use max only when asked
嚴格落實停用壓縮設定,回溯確認訊息修正為刪除後續紀錄
有些團隊因為審計要求或排錯需求,必須完整保留每一步的對話原始脈絡。⟦好比法院審訊紀錄必須逐字存檔,以前即便交代全程錄影,部分書記官仍會自作主張節錄大意;現在只要掛上禁令牌,所有成員與選單都嚴格禁止濃縮文字,調閱紀錄時也會清楚告知是將後續筆記抽除。⟧
設定 DISABLE_COMPACT 環境變數時,代理隊友不再自動壓縮歷史紀錄。輸入 /rewind 呼叫回溯選單時,也不再提供「從此處摘要」或「摘要至此處」的選項。
設定檔與模組環境中的 DISABLE_COMPACT 現在只能關閉壓縮,不能反向重新開啟。執行 /rewind 時,確認畫面已修正為告知後續訊息會被移除,而非誤稱對話將被分叉;警告訊息也更正了手動與 Bash 編輯絕不受程式碼還原影響的說法。
官方原文
Fixed agent teammates compacting their history when DISABLE_COMPACT is set
Fixed the rewind menu offering "Summarize from here" and "Summarize up to here" when DISABLE_COMPACT is set
Fixed the /rewind confirmation saying the conversation "will be forked" when the later messages are removed from the conversation
Fixed the /rewind warning that wrongly said manual and Bash edits are never affected by a code restore
Changed DISABLE_COMPACT in settings files and in a mod's $.env.set so they can only turn compaction off, not back on
子代理支援動態連線外部工具,修復重複觸發掛鉤與資源清除
讓主代理拆分子任務到背景平行執行時,背景代理往往需要獨立的目錄與工具支援。⟦宛如派遣專案小組到獨立會議室作業,以前只要協調人提早離席,會議室白板就會被清空,門口打卡鐘每分鐘還狂響兩次;現在支援工具稍晚送達也能順利接收,小組未完工前會議室絕不提前清空。⟧
子代理啟動後,若遇到連線較慢的 MCP(Model Context Protocol,讓 AI 連接外部工具的協定)伺服器,連線完成後已能正常使用其工具。
子代理使用的隔離工作樹(worktree,Git 讓同一專案平行開多份副本的功能),不再於背景子代理仍在工作時被提早刪除。SubagentStop 掛鉤(特定事件發生時被觸發的小程式)改為結束時才觸發一次,不再每分鐘重複兩次。背景代理等待終端機喚醒時不再誤開新輪次;雲端或背景工作階段重啟時,已完成的技能也不再重複執行。
官方原文
Fixed subagents being unable to use MCP tools from servers that finish connecting after the subagent starts
Fixed SubagentStop hooks running about twice a minute for each running subagent instead of once when it finishes
Fixed a subagent's isolated worktree being removed while a background subagent it started was still working in it
Fixed background agents in auto mode that wait on their own shells starting a new main conversation turn on every wake
Fixed a finished /code-review, or another skill that runs in a sub-agent, running a second time when a cloud or background session restarts
代理團隊恢復保留任務清單,輸入快捷鍵對齊離開行為
使用多代理團隊協同作業時,中斷後重新連線往往依賴系統完整保留待辦事項。⟦跟專案團隊在白板前排程一樣,以前午休回辦公室重新召集時,白板上的待辦工作便條全被擦拭一空,甚至還把新分支的進度貼回舊看板;現在重新進場白板依然完整,交談時也不會重複遞交相同的便條。⟧
在代理團隊工作階段中,使用 --resume、--continue、/resume 或 --session-id 重新連線,或是 /clear 與當機重啟後,工作清單不再被清空。執行 /branch 分支時,也不再誤把進度寫入原始工作階段的清單。
在個別代理交談分頁中,若有訊息等待發送,按方向鍵 ↑ 改為正常的歷史紀錄呼叫,不再重複送出訊息。在代理檢視畫面中,輸入框為空時連按兩次 Ctrl+D 即可退出,與主要提示列行為一致。
官方原文
Fixed ↑ in an agent's chat tab recalling a message that was still waiting to be delivered, so resending it sent a second copy
Fixed agent teams sessions showing an empty task list when coming back with --resume, --continue, /resume or --session-id, including after /clear or a crash, and /branch writing to the original session's list
Changed Ctrl+D in agent view to match the prompt: on an empty input, pressing it twice exits
MCP 專案路徑精確對應,清除認證與遠端狀態顯示修復
管理各專案外接的自訂工具時,設定檔存放路徑與連線狀態標示若失準會增加除錯負擔。⟦好比辦公大樓的訪客門禁系統,以前在分部登記設備時系統會把子隔間誤當成獨立公司,免換證的會議室在重設門禁卡後還被誤亮紅燈;現在設定路徑皆正確溯源至所屬專案,通行證核發狀態也如實標示。⟧
在倉儲子目錄執行 claude mcp add、claude mcp remove 或 /mcp 時,設定會對應到 ~/.claude.json 中的專案項目,不再誤指向當前子目錄。
claude mcp list 與 claude mcp get 連線失敗時不再重複印出錯誤碼。在 /mcp 中,免登入的遠端 MCP(讓 AI 連接外部工具的協定)伺服器清除認證後不再誤報失敗;未發送憑證的遠端伺服器也不再誤報已通過認證。
官方原文
Fixed claude mcp add, claude mcp remove and /mcp naming the current folder instead of the project entry in ~/.claude.json that holds a local-scope server when run below a repository root
Fixed claude mcp list and claude mcp get showing the error code twice on failed-connection lines (for example ENOENT: ENOENT: …)
Fixed /mcp showing a remote server as failed after "Clear authentication" when the server works without sign-in
Fixed /mcp showing "authenticated" for a remote server that Claude Code sends no credentials to
中斷指令遇下載即時生效,外掛目錄識別與技能快取優化
請模型抓取外部資料或載入擴充外掛時,反應停頓或目錄誤判會打亂開發節奏。⟦一如圖書館借閱多冊參考書,以前只要其中一本在運送中,按下取消借閱就必須等到運送逾時才能離開櫃檯,把整箱書籍歸還時還會被當成同一冊登記;現在取消操作能即刻停止等待,十分鐘內查過的書單也能直接調閱。⟧
當外部工具伺服器未回應資源讀取或技能仍在下載時,按下中斷鍵現在會即時生效,不再等到連線逾時。
使用 --plugin-dir 指定包含多個外掛的資料夾時,若頂層含有空的 .mcp.json,不再誤載為單一外掛。此外,設定 CLAUDE_CODE_SYNC_SKILLS 且未啟用功能旗標抓取的工作階段,現在會直接重複使用本機其他工作階段在 10 分鐘內取得的 claude.ai 技能清單,省去頻繁重新查詢的時間。
官方原文
Fixed interrupting Claude not taking effect until a timeout while an MCP server had not answered a resource read or a skill was still downloading
Fixed a --plugin-dir folder of plugins loading as one plugin when an empty .mcp.json was at its top
Changed sessions that set CLAUDE_CODE_SYNC_SKILLS with feature-flag fetching off to reuse a claude.ai skills list up to 10 minutes old that another session on the machine fetched
檔案巨量改動不再停頓虛報,超長清單與比對預覽修復
當專案中的設定規格繁複或單次修改涉及數千行時,檔案編輯工具的渲染效率直接影響操作流暢度。⟦如同文字編輯器校對超長卷軸,以前遇到連續排版的長條目整台機器就會卡死數秒,一次替換上千處文字後統計甚至荒謬地顯示為零;現在翻閱寬版卷軸不會算錯行數,沒有文字異動時也不會突然彈出比對視窗。⟧
在單一檔案中修改數千行時,Write 與 Edit 工具不再卡頓長達 5 秒或誤報變更了 0 行。CLAUDE.md 含有極長清單條目時,啟動與讀寫檔案後的長時間凍結問題已修復。
Write 工具在預覽寬度超出終端機的行時,不再跳行與算錯隱藏行數。在全螢幕寬終端機中,編輯後若無內容需要比對,比對面板不再自動彈出。
官方原文
Fixed long freezes at startup and after reading or editing files when a CLAUDE.md file holds a very long list item
Fixed Write and Edit stalling for up to 5 seconds after they ran, and reporting 0 lines changed, when changing thousands of lines in a file
Fixed the Write tool's file preview skipping rows and miscounting hidden lines when a line is wider than the terminal
Fixed the diff pane opening by itself after an edit in wide fullscreen terminals when it had nothing to show
Shell 指令逾時保留部分輸出,沙盒衝突與環境描述修正
在命令列執行耗時的建置工作或背景腳本時,指令的執行狀態與權限邊界是判斷進度的依據。⟦宛如在安全防護室內操作長耗時機具,以前只要計時器一響,工作台上的半成品就會整盤收走不留紀錄,門口的警報器每天上班還對著老員工複誦同一套守則;現在時間到了會保留已加工的零件,防護室路徑重疊時也不會卡死。⟧
Shell 指令達到逾時上限時,結果會保留顯示迄今的輸出,並說明命令仍在背景執行。
Linux 下當 --plugin-dir 同時為加入的目錄且開啟阻擋讀取工作目錄外部檔案時,沙盒工具 bwrap 無法建立檔案的錯誤已解決。Bash 工具描述不再聲稱工作目錄在呼叫間永久保留,環境區塊不再標註未執行的 Shell(例如用 zsh 卻標出 fish)。設定檔權限規則警告改為每位使用者只顯示一次,直到規則變更。
官方原文
Fixed the Bash tool description claiming the working directory always persists between calls
Fixed the environment block naming a shell commands don't run in, such as fish when the Bash tool uses zsh
Linux: Fixed sandboxed Bash commands failing with bwrap: Can't create file when a --plugin-dir folder was also an added directory and permissions.blockReadsOutsideWorkingDirectories was on
Improved shell commands that reach their timeout: the result now shows the output so far and says the command is still running in the background
Changed startup warnings about permission rules in settings files to show once per user until the rule changes
修正編輯器外掛虛假安裝提示,螢幕報讀回饋與問題清單簡化
使用輔助工具或命令列設定開發環境時,操作狀態的真實反饋是避免誤判的前提。⟦猶如到服務櫃檯申請設備與無障礙語音導覽,以前安裝手續還在轉圈或中途失敗,系統就直接亮綠燈宣稱安裝成功,語音廣播裡甚至充斥著視覺用的箭頭符號;現在安裝失敗會如實回報,語音模式下取消的表單也不會被櫃檯誤收。⟧
在 /ide 安裝擴充套件時,不再於 VS Code 尚未裝完或失敗時回報已安裝,JetBrains 未安裝時也不再誤報成功。
螢幕報讀模式下,審查計劃時若按 Esc 放棄輸入回饋,不再誤送取消的文字。在 /permissions 刪除規則時,語音會即時提示已刪除允許規則。向使用者提問時,問題清單改為簡潔文字呈現,去除箭頭與符號。
官方原文
Fixed /ide saying the VS Code extension was installed before the install finished or when it failed
Fixed /ide saying it had installed the JetBrains plugin when nothing was installed
Fixed plan approval in screen reader mode sending feedback you had dismissed with Escape
Improved screen reader mode: deleting a rule in /permissions says "Deleted allow rule …" right away
Improved screen reader mode: Claude's questions are listed as "Questions: Color (answered), Pages", without arrows or symbols
修正反斜線丟失與圖片路徑誤貼,檔案選取支援反向排除規則
在終端機中輸入指令、貼上文字或選取檔案時,文字被介面誤吞會打斷操作思維。⟦好比使用打字機整理手冊,以前貼上圖片路徑時打字機會自作主張剪掉路徑貼上照片,打出括號還會漏印反斜線,甚至在索引裡翻不到例外加註的文件;現在文字原貌完整保留,滑鼠在捲軸按錯時移開也能直接取消。⟧
回覆中引號或括號內的單獨反斜線(如 "\" 或 (\))不再消失。貼上包含圖片路徑的文字(如 ! open /tmp/shot.png)時,不再誤附加圖片並丟失路徑文字。
輸入 @ 選取檔案時,現已支援 .ignore 與 .rgignore 的反向排除規則,能正確選取重新納入的檔案。輸入框已有文字時,回饋草稿卡片不再顯示快捷鍵以防按鍵衝突。全螢幕清單中的捲軸點擊改為放開滑鼠時才觸發,移開即可取消。
官方原文
Fixed the @ file picker ignoring .ignore/.rgignore negation rules that re-include git-ignored files
Fixed pasting text that mentions an image file, such as ! open /tmp/shot.png or /review look at /tmp/shot.png, attaching the image and dropping its path from the prompt
Fixed the feedback draft card showing its 1/2/0 and Esc shortcuts while the prompt has text, when those keys act on the prompt instead of the card
Fixed a lone backslash in quotes or brackets, like "\" or (\), disappearing from Claude's responses
Changed clicks on scrollbar arrows and bars in fullscreen lists to act when the mouse button is released, so moving off the scrollbar before letting go cancels the click
[VSCode] 自訂技能補齊當前檔案內容,修正登入凍結與點圖誤開
直接在整合開發環境的側邊欄調用指令時,編輯器中的游標位置與選取範圍是用戶最自然的上下文。⟦猶如讓助理站在辦公桌前協同改稿,以前只要點選特別委託按鈕,助理就會漏掉你手指按著的段落,聽寫時按下遞交鍵錄音筆還持續開著;現在自訂委託能準確讀取當前視野,點擊圖片附件也不會莫名展開背後的文件。⟧
從 VS Code 或 JetBrains 面板送出自訂技能與自訂斜線命令時,過去遺漏開啟中檔案或選取行數的問題已修復,現在會如同一般訊息完整帶入。
macOS 與 Linux 上登入 Shell 讀取啟動檔 PATH 造成擴充套件主行程凍結的問題已修復。點擊工具結果中的圖片或關閉預覽時,不再誤於編輯器分頁開啟結果文字。使用傳送按鈕送出訊息時會先停止語音聽寫,避免持續錄音。
官方原文
[VSCode] Fixed custom skills and custom slash commands sent from the VS Code or JetBrains panel leaving out the open file or selected lines that ordinary messages include (anthropics/claude-code#102799)
[VSCode] Fixed the extension host freezing while the login shell ran its start-up files to read PATH on macOS and Linux
[VSCode] Fixed clicking an image in a tool result, or closing its preview, also opening the result's text in an editor tab
[VSCode] Fixed voice dictation continuing to record after a message was sent with the Send button; sending now stops dictation first, as pressing Enter already did