usage

Claude Code 2.1.321

工具與目錄
在這頁

新功能 14 項

01

預設模型切換為 Fable 5.2,快取計費與企業席位提示更新

想要在日常對話中調用超長文本,Claude Code 已將預設 Fable 模型升級至 claude-fable-5-2。⟦好比租借公事包時直接換上容量更大的旗艦款,開口能塞進厚重企劃案,重複翻閱舊頁時租金更便宜,企業方案用戶也不會再收到額外扣抵點數的通知。⟧新模型具備 1M 上下文長度,每百萬 token(AI 處理與計費的文字單位)輸入價格是 8 美元、輸出 40 美元。使用快取(把算過的結果暫存起來直接用)時,每百萬 token 讀取價格是 0.20 美元。原本已包含 Fable 的企業版席位在切換後,不再跳出扣除額度點數的提示。原本儲存使用 Fable 5.1 的設定會自動切換為 fable,Pro 與 Max 方案立刻生效,Team 與 Enterprise 則待組織允許;若想切回舊版可輸入 /model claude-fable-5-1。

官方原文

Added Claude Fable 5.2 (claude-fable-5-2), now the default Fable model — 1M context, $8/$40 per Mtok with $0.20/Mtok cache reads

Fixed the "Draws from usage credits" note showing after a switch to Fable on Enterprise seats whose plan includes Fable

Changed saved Fable 5.1 model picks to move to fable: on Pro and Max plans at once, on Team and Enterprise plans once your organization allows it; use /model claude-fable-5-1 to switch back

02

工作階段回饋與升級選項納入 Ultra,登入說明涵蓋所有付費方案

如果你正在查看帳號方案或調整團隊設定,介面文字現在已將新的 Ultra 方案完整納入。⟦恰似健身房在會員公告牌上補齊頂級會員級別,所有櫃檯說明書與續約按鈕都同步列出新標籤,安全守則字樣也對齊總店公告。⟧在工作階段回饋訊息與 allowedProviders 設定說明裡,Ultra 已與 Pro 和 Max 並列顯示。升級選項由原本的升級至 Max 改為「Upgrade to Max or Ultra」。forceLoginMethod 的設定說明擴大涵蓋所有付費方案。觸發網路安全防護攔截時,畫面顯示的 Cyber Verification Program 提示文字已對齊 claude.ai 官方站台的措辭。

官方原文

Updated the session-feedback message and the allowedProviders setting description to name Ultra alongside Pro and Max, and the forceLoginMethod description to cover every paid Claude plan

Updated the "Upgrade to Max" options to say "Upgrade to Max or Ultra"

Changed the Cyber Verification Program sentence on a cyber safeguard block to use the same words as claude.ai

03

快速模式連線受阻退回同模型標準速,模型選單新增未編號展開列

在終端機切換快速模式或挑選模型時,回應與選單的互動方式有了調整。⟦好似快捷櫃檯客滿時,服務員先請你在同一個窗口改走一般排隊動線,而不會將你轉介到其他業務櫃檯,目錄底部的更多項目展開時也不會打亂原本排好的號碼牌。⟧當快速伺服遇到限流、過載或故障時,不再遺失回覆或重試數分鐘,而是優先切換至同一個模型的標準速度。輸入 /model 時,「More models」改為置於最下方的未編號選項,展開舊模型時不會改變其他項目的編號。在 /fast、/config 與 /model 的標籤中,只要目前模型支援快速模式就會直接標註名稱,並移除了 VS Code 列上的「(Opus only)」註記。第一順位模型若在回覆前遭阻擋,備援模型(fallback,主要模型失效時接手處理的替代模型)不再誤稱回覆已被中止。模型回覆包含工具呼叫時,提示建議也不會再發出額外的請求。

官方原文

Fixed the fallback model sometimes declining a request or mentioning a stopped response when the first model was blocked before replying

Fixed fast mode losing replies, switching models or retrying for minutes when fast serving is rate-limited, overloaded or failing; it now tries standard speed on the same model first

Fixed prompt suggestions making extra API requests when the model replied with a tool call

Improved the /model picker: "More models" is now an unnumbered row below every other, and older models open under it without renumbering the rest

Changed the fast mode labels in /fast, /config and /model to name your current model when it supports fast mode, and removed "(Opus only)" from the VS Code row

04

Remote Control 支援載入獨立設定檔,鎖定工作目錄並強化初次執行提示

使用遠端操控管理多個工作階段時,現在可以為所有連線統一套用固定的組態環境。⟦宛如巡迴值勤前配發固定公事包,值勤期間不得擅自更換巡邏基地,遇上無人應答的確認單時也會清楚註明下一步該找哪位窗口。⟧執行 claude remote-control --settings <file> 可以指定設定檔並套用至啟動的每個工作階段;如果該設定檔在執行期間變更,必須重新啟動遠端操控才會建立新工作階段。連線進來的客戶端無法再將工作階段搬移到其他資料夾。針對首次執行的確認提示,未回答的訊息現在會直接說明下一步該做什麼,並修正了終端機輸入結束時直接將未按 Enter 的「y」誤判為同意的問題。

官方原文

Added --settings <file> to claude remote-control, which applies a settings file to every session it starts; if the file changes, no new session starts until you restart claude remote-control

Fixed claude remote-control accepting a y typed without Enter at its first-run question when the terminal's input ended

Improved claude remote-control's messages for an unanswered first-run question: each now says what to do next

Changed Remote Control sessions to keep the folder they were started in: a connected client can no longer move a session to another folder

05

自訂模組於自動模式免提問載入,無頭模式支援檔案即時重載

讓 Claude 撰寫擴充模組並在後台無人值守執行時,模組的載入與授權變得更加流暢。⟦宛若給駐場技師派發經認證的專用工具袋,在維修通道內換裝零組件不必每次反覆向主控台申請審核,只要零件圖面一更新技師便即刻換上。⟧在 auto 與 bypass 模式下,Claude 撰寫的模組會直接啟用而不跳出提問,即使設有禁止非沙盒指令或限定網域的政策也一樣,但在 dontAsk 模式下則不載入。模組內部發起的工具呼叫(例如 $.tool.call 與 $.mcp.call)不再觸發權限提問,不過組織政策與明確的拒絕規則依然有效。在無頭模式(沒有視窗畫面的執行模式)的工作階段中,.claude/skills 內的模組檔案若有變更會自動重新載入,若想關閉此偵測,可將環境變數設為 CLAUDE_CODE_PLUGIN_DIR_WATCH=0。

官方原文

Changed mods Claude writes to turn on without asking in auto and bypass modes, even with managed allowUnsandboxedCommands: false or allowManagedDomainsOnly, and not to load in dontAsk mode

Changed mods' own tool calls ($.tool.call, $.mcp.call) to raise no permission prompt, even under your own ask rules or in dontAsk and -p runs; deny rules and organization policy still apply

Changed headless sessions to reload mods in .claude/skills when their files change; set CLAUDE_CODE_PLUGIN_DIR_WATCH=0 to turn this off

06

VS Code 擴充套件新增金鑰衝突警示,遮蔽字元套件統一標註名稱

在 VS Code 中開啟 Claude 進行提問時,介面會及時提醒憑證設定上的衝突。⟦正如大樓門禁同時感應到兩張通行卡時會主動亮燈提醒,登記名冊若遇到無法辨識的字元也會直接貼上標準訪客標籤。⟧當你在編輯器環境中同時設定了授權金鑰與 API 金鑰時,輸入框上方現在會跳出警示提示,與終端機啟動時的警告保持一致。如果有外掛套件的名稱包含不可見的隱藏控制字元,權限請求視窗不再顯示殘缺字元,而是統一標明為「a plugin」。

官方原文

[VSCode] Added a warning above the prompt box when both an auth token and an API key are set, matching the terminal's startup warning

[VSCode] Fixed a plugin's permission request showing a name with hidden characters: it now reads "a plugin"

07

外掛套件更新避免跨目錄重複下載,受管市集強化來源管控

管理專案自訂外掛或市集來源時,目錄配置與版本更新的規則完成統整。⟦恰似社區訂閱報紙時由管理室統一收發,各分戶不再各自重複訂購同一份刊物,未經認證的攤商想要頂替既有名號時也會被直接隔絕並封存貨品。⟧自動更新與 /plugin 市集更新不再為同一個儲存庫的工作樹(Git 讓同一專案平行開多份副本的功能)或個別資料夾重複下載外掛。使用 --plugin-dir 載入目錄時,不再將內建外掛的型別檔誤寫入 builtin 資料夾。在 ~/.claude/plugins 底下的檔案上工作時,該處內層的 .claude/skills 資料夾不再載入。受管市集名稱不可被外部來源冒用,遭未宣告來源接管時,已存資料會被隔開保留 cleanupPeriodDays 天,選項與機密則保留到執行 claude plugin restore-set-aside 為止。

官方原文

Fixed --plugin-dir . and --plugin-dir ./builtin writing generated type files for Claude Code's built-in plugins into a builtin folder

Fixed plugin auto-updates and /plugin marketplace updates downloading a plugin again for each worktree or folder of a repository

Changed nested skill loading: .claude/skills folders inside ~/.claude/plugins no longer load when Claude works on files there

Changed managed extraKnownMarketplaces: a declared name can't be added from another source, an entry from elsewhere is hidden, and plugins the declared marketplace lists are reinstalled from it

Changed managed extraKnownMarketplaces take-overs from an undeclared source: saved data is set aside for cleanupPeriodDays, and options and secrets until claude plugin restore-set-aside

08

Git 分支暫存後保留專案技能,代理人檢視完整顯示工作樹錯誤

利用 Git 工作樹切換不同分支時,專案自訂的指令與技能不會無故消失。⟦好比工匠在不同工作台之間切換時,工具架上的刻度名牌始終保持在視野範圍內,若副工作台架設失敗也會直接印出完整的錯誤原因。⟧以前當專案技能資料夾因為執行 git stash 暫存變更而短暫消失又回復時,技能與自訂代理人會在選單中持續遺失,現在即使進入工作樹也能正常載入。在桌面應用與 SDK 工作階段中,專案指令也不再因切入工作樹而從選單消失。執行 claude agents 時,若命令列同時帶有 --verbose,打在主指令前方的 --model 等參數不再遭到忽略。名稱中帶有易造成字體空白的巴姆字母的技能會被直接拒絕。在代理人檢視畫面中,若背景工作樹架設失敗,錯誤訊息改由開頭完整列出,不再只截取後段字元。

官方原文

Fixed project skills, commands and agents staying missing after their folder was removed and came back mid-session, such as with git stash, including after entering a worktree

Fixed project skills, commands and agents disappearing from the menu in SDK and desktop sessions after Claude entered a worktree

Fixed claude agents ignoring --permission-mode, --dangerously-skip-permissions, --model, --effort or --agent typed before agents when a flag such as --verbose was also on the line

Fixed skill and command names holding a Bamum letter that some fonts draw as blank: they are now refused

Improved the agent view's row for a claude --bg --worktree session that couldn't set up its worktree: it now shows the error from its beginning, not an internal tag or its last 200 characters

09

網路中斷保留部分回覆並自動重試,加快根憑證載入提升啟動速度

遇到網路不穩或代理伺服器連線遲緩時,對話不會再因為加密握手失敗而直接崩潰。⟦宛如收音機調頻時遇上短暫雜訊,設備會先播放已接收到的清晰段落並嘗試重連,開機時也能迅速自憑證存根夾調出許可名單,不再空等回應。⟧當模型回覆到一半連線中斷時,不再直接丟出 TLS 握手失敗的 API 錯誤而結束回合,而是會保留已產生的部分回覆,或自動重新嘗試請求。如果網路端接受了連線卻遲遲不完成加密握手,登入、權杖更新與登出流程不再無限期空等發呆。透過加快從憑證存放區(存放根憑證的地方)讀取受信任憑證的速度,工具整體的開機啟動時間也獲得了縮短。

官方原文

Fixed a turn ending with "API Error: EPROTO: The TLS handshake failed" when the connection broke partway through a reply; the partial reply is kept or the request is retried, as before 2.1.302

Fixed sign-in, token refresh and logout waiting indefinitely when something on the network accepts the connection but never answers the TLS handshake

Improved start-up time by loading trusted TLS certificates faster

10

閘道消費額度以本機時間顯示重設點,隱藏內部變數與登入密碼

企業團隊透過應用程式閘道控管用量時,額度警示與帳號安全訊息的呈現形式同步改善。⟦宛若銀行在對帳單上將額度結算週期換算為當地時間,發出警訊時主動抹除帳號密碼與內部管理代號,高承載時也能即時記錄每一筆扣款。⟧達到消費額度上限時,重設時間現在會自動轉換為你的本機時區顯示(例如顯示下午四點重設)。在高承載的閘道複本上,系統減少了跳過檢查的次數,並能更即時地記錄消費金額。在 Claude Code 與 /device 頁面跳出登入限制訊息時,不再印出閘道內部設定鍵的名稱。錯誤訊息中顯示閘道網址時,會主動過濾掉使用者名稱與密碼。如果閘道政策中未包含特定的程式碼規則,桌面應用程式現在依然能正常看見消費額度的預警提示。

官方原文

Fixed Claude Desktop not showing spend limit warnings behind a Claude apps gateway whose policy has no code: rules

Gateway: Improved spend limits on a busy replica, which now skips fewer checks and records spend sooner

Improved the Claude apps gateway's sign-in limit messages in Claude Code and on the /device page: they no longer name gateway settings, which the gateway's own log still names

Improved Claude apps gateway error messages to show the gateway's address without any user name or password

Improved the Claude apps gateway's spend limit error: the reset now shows in your local time, such as "resets 4pm (America/Los_Angeles)"

11

閘道支援未知欄位向下相容,雲端上游獨立設定專用端點

維護企業閘道伺服器時,跨版本的設定檔相容性與雲端平台路由得到了釐清。⟦如同海關查驗通道在遇到新規章的欄位時先發出通告並放行,各家航空公司的專屬貨運路線也各自指定收發碼頭,不再受總機環境變數干擾。⟧當桌面設定中包含比閘道版本更新的欄位時(例如受管 MCP 伺服器的 oauth.omitResource),閘道不再直接拒絕啟動,而是發出警告後繼續正常服務。在啟用多層政策模式時,受管的 MCP 伺服器會在符合的每項政策中累加,讓升級後的閘道能支援更多工具。針對 Bedrock、Vertex 與 Foundry 等上游服務,閘道已改為忽略環境變數中的 Anthropic 網址設定;若需要切換至特定端點,直接在上游配置中設定 base_url 即可。

官方原文

Fixed Claude apps gateway refusing to start when a desktop setting holds a field newer than the gateway, such as a managed MCP server's oauth.omitResource; it now warns and serves it

Changed policy_mode: layered in the Claude apps gateway: managed MCP servers now add up over every matching policy, match: {} included, so a gateway already on it serves more after the upgrade

Gateway: Changed Bedrock, Vertex and Foundry upstreams to ignore the ANTHROPIC_*_BASE_URL variables in the gateway's environment. Set base_url on the upstream to use another endpoint

12

Artifact 大型資料庫改採分頁排序,跨組織存取提供副本位置指引

產出互動成品或調閱歷史產出物時,資料庫處理與字型排版有了新的規範。⟦好似圖書館在檢索龐大目錄時引導讀者逐頁翻找再行歸納,查詢外館館藏時只對本人提供登入選項,並主動提示移交後的副本收藏處。⟧當成品的資料庫集合過於龐大而無法一次完成排序時,Artifact 工具不再建議 Claude 套用過濾條件,而是改為提示它採取逐頁讀取的方式取得資料後再整理結果。如果存取的產出物屬於其他組織,系統只會在該資產屬於你名下時才提供 /login 登入建議,並會在帳號遷移後主動告知副本可能的存放位置。在產出物的外觀設計建議中,系統也正式將 Inter 與 Space Grotesk 列為預設的推薦排版字型。

官方原文

Fixed the Artifact tool telling Claude to add filters when an artifact's database collection is too large to sort; it now says to read the collection page by page and sort the results

Improved the messages shown when an artifact is in another organization: /login is offered only if it's one of yours, and Claude now says where a copy may be after an account move

Changed artifact design guidance to treat Inter and Space Grotesk as good default typefaces

13

網頁讀取未回傳內容時明確報錯,多圖工作階段限制重複讀取

請 Claude 抓取網頁內容或分析多張介面截圖時,資料載入的判斷不再模稜兩可。⟦宛如研究助理調閱微縮膠卷,遇到空白膠卷時直接回報讀取失敗而非把系統錯誤當成文稿,同一批參考照片看過之後便做好標記避免重複翻閱。⟧使用 WebFetch 擷取網頁時,若負責讀取頁面的模型沒有傳回任何文字,不再將內部錯誤訊息當作網頁內容餵給 Claude,而是直接回傳明確的失敗錯誤。在圖片數量超出單次請求容量的工作階段中,Claude 會得知某張被捨棄的圖片是否曾經看過,並限制對未變更圖片的重複讀取。內建的資料視覺化技能也更新了建議規則,當多個比例各自擁有上限時,推薦採用每行一項的儀表清單形式呈現。

官方原文

Fixed WebFetch passing "No response from model" to Claude as page content when the model reading the page returned no text; the call now fails with a clear error

Improved sessions with more images than fit in one request: Claude is told whether it has already seen a dropped image, and repeat reads of an unchanged image are limited

Updated the bundled dataviz skill to suggest a list of meters, one row per item, for several ratios that each have their own limit

14

自架執行器非必要任務正常結束,全螢幕外掛輸出與安裝加速

在伺服器部署自動化執行器或初次安裝工具時,腳本運行與全螢幕終端機的錯誤得到排除。⟦如同自動化調度機在任務已取消時安靜返回待命區而非發出警報,安裝程序精簡了繁瑣手續,讀取企業設定逾時也能明確指出等待過久。⟧自架執行器若因為工作階段結束、暫停或工單已被取代而遭伺服器拒絕時,程式結束代碼改為正常的 0 而非報錯的 1。在某些外掛的全螢幕視窗中,工具輸出內容變短並滾動出螢幕頂端時不再引發崩潰。在 macOS 讀取 MDM 設定偏慢時,會自動重試一次,超時也會如實回報逾時。執行 claude install 及安裝腳本的時間縮短了 2 到 4 秒。在命令列與 SDK 工作階段中,AskUserQuestion 會直接拒絕帶有未記載 afkTimeoutMs 欄位的授權答覆。

官方原文

macOS: Fixed "Unable to read managed policy settings" at startup when a valid MDM profile was slow to read: the read is retried once, and a timeout is now reported as a timeout

Fixed fullscreen sessions with some plugins ending with an error when a tool result that had got shorter scrolled off the top of the screen

Improved claude install and the install scripts: they finish 2 to 4 seconds sooner

Self-hosted runner: Changed an on-demand runner that the server refuses because it is not needed (session ended or paused, work order superseded) to exit 0 instead of 1

Changed AskUserQuestion in claude -p and SDK sessions to deny a host's permission answer that sets the undocumented afkTimeoutMs input field

修正 13 項

15

Remote Control 修復延後排隊機制,連線中斷與登入過期狀態回報更準確

透過網頁、手機或桌面應用程式使用遠端操控時,訊息排隊與連線狀態不再產生混淆。⟦跟郵局收發包裹一樣,寄件人勾選等候通知時信件就不會在處理中途被硬塞進櫃檯,窗口連線切斷時也不會繼續亮著服務燈。⟧在網頁與行動版上,/compact 選項不再重複顯示兩次。桌面應用程式若短暫無法遞交授權令牌(token,驗證身分的數位憑證),遠端操控不會在連線正常時誤報登入已過期。選擇「Queue for later」暫存的訊息,不會在目前回合執行途中提前遞交給 Claude。當工作階段的歷史紀錄仍在背景上傳但連線已徹底關閉時,介面不再繼續顯示為已連線。若執行行程發生當機,遠端操控工作階段能更快重新接收並處理新訊息。

官方原文

Fixed /compact showing twice in Remote Control on web and mobile

Fixed a case where Remote Control showed as off with "login expired" in the desktop app while its connection was still up, because the app was briefly unable to hand over a sign-in token

Fixed a Remote Control message sent with "Queue for later" reaching Claude in the middle of the running turn

Fixed Remote Control showing as connected after its connection closed for good while the session's history was still uploading

Improved how soon a Remote Control session whose process crashed can pick up a new message

16

MCP 工具轉址防護敏感金鑰,修復名稱衝突斷線與重載空白

為專案串接外部工具時,MCP(讓 AI 連接外部工具的協定)在重導向與連線載入時不再產生安全疑慮。⟦就像寄送機密文件遇上轉址時快遞員會取下附帶的保管箱鑰匙,工具清單在重新入庫時也不會因為搬動辦公桌而遺失登記欄位。⟧伺服器轉址時,OAuth 流程不再將更新憑證洩漏給其他主機。登入註冊過的伺服器時,claude mcp login 不再反覆跳出 SEP-2352 警示。在桌面版 Code 標籤頁工作階段中,伺服器不再因與桌面應用同名而中斷連線。載入工具途中重新連線或變更目錄,伺服器不再誤顯示為無可用工具。stdio 與 HTTP 伺服器的掛鉤輸出若超過 16 MiB,會直接拒絕該工具呼叫。登入紀錄若為空值,啟動時不再畫面空白或 claude mcp list 輸出無內容。

官方原文

Fixed MCP OAuth requests sending secrets such as refresh tokens to another host when a server redirected them

Fixed claude mcp login printing a SEP-2352 issuer warning each time you sign in again to a server that Claude Code registered with

Fixed a project's MCP server being disconnected after the first message in a Claude Desktop Code tab session when the desktop app has an MCP server or extension of the same name

Fixed an MCP server sometimes showing as connected with no tools after it was reconnected or the session's directory changed while its tools were still loading

Fixed PreToolUse mcp_tool hooks on stdio and HTTP MCP servers being skipped when their answer was over 16 MiB; the tool call is now refused

Fixed a blank screen or no answer at startup, and empty claude mcp list output, when a stored MCP sign-in record was null

17

Bash 檔案寫入與路徑比對修正,複製移動指令套用統一防護規則

排查批次執行的檔案操作時,終端機對目錄位置與保護規則的判定標準已完成對齊。⟦恰如警衛在核對倉庫進出單據,搬移箱子進特定庫房時一律逐件檢查封條,換到新隔間作業時也不會遺漏登記正確的房號。⟧以前 Bash 權限檢查有時會從錯誤的資料夾判斷檔案寫入,導致未能適時發出提問,這個問題已經修好。當使用 cp 或 mv 指令將檔案移入目錄時,該寫入動作現在會確實受到拒絕規則與保護檔案提問的約束。連續發送多個 Bash 指令且前方指令更換過目錄時,後續指令不會再跑去錯誤的資料夾執行。輸入 grep -r foo "$PWD/src" 這類含有環境變數的讀取指令時,行為與直接打出完整路徑一致,不再額外跳出提問。使用 /bin/cp 這類帶有絕對路徑的指令時,檢查標準也已與一般的 cp 保持相同。

官方原文

Fixed a case where Bash permission checks judged a file write from the wrong folder and didn't prompt

Fixed deny rules and protected-file prompts not applying to the file that a cp or mv into a directory writes

Fixed Bash commands sometimes running in the wrong folder when Claude sent several at once and an earlier one changed folders

Fixed Bash reads such as grep -r foo "$PWD/src" asking for permission when the same command with the path typed out runs without asking

Changed cp and mv spelled by a path, such as /bin/cp, to get the same path checks as cp and mv

18

修正自動模式權限設定與沙盒防護,放行常態排程命令

調整權限設定檔或執行自動排程時,終端機的提問邏輯與指令回傳維持正常秩序。⟦如同大門守衛只嚴查同時帶有通訊錄與派送單的特殊包裹,其他日常巡邏公文則正常放行,修改通行證預設值時也不再跳出不相干的選項。⟧在 /config 設定畫面中,新工作階段在自動模式啟動時不會再誤將 Manual 標為預設,在「Auto (default)」上按下空白鍵現在會正確儲存為 Don't Ask。唯讀的 Bash 指令若在沙盒外執行,不再發生跳過權限提問的情況。對於在 .zshrc 中啟用 KSH_OPTION_PRINT 的使用者,指令執行結果不會再回傳空值。帳號電子郵件檢查現在僅針對同時包含郵件地址並指名 User-Agent 的指令直接拒絕,其餘命令與排程任務不再停下來詢問。權限提問與背景任務引發的偶發崩潰也已獲得解決。

官方原文

Fixed a case where a read-only Bash command ran outside the sandbox without a permission prompt

Fixed /config showing Manual as the default permission mode when new sessions start in auto mode; pressing Space on "Auto (default)" now saves Don't Ask, not Plan

Fixed a rare crash on permission prompts and background tasks

Fixed Bash commands coming back empty for zsh users whose .zshrc sets KSH_OPTION_PRINT

Changed the account email check to refuse only a shell command that holds your email and names a User-Agent, without asking, so other commands and scheduled runs no longer stop at its prompt

19

網路共享路徑筆記本與文字編輯修復,改動失敗如實回報狀態

經由區域網路共享、WSL 資料夾或遠端掛載編輯 Jupyter 筆記本時,檔案內容不再遭到意外破壞。⟦猶如在圖書館遠端借閱裝訂資料夾,翻修內頁時不會因為沒指定頁碼就塗掉封面,若在等待簽核時文件被其他人抽換,系統也會老實登記修改失敗。⟧在網路路徑(包含 UNC 共享、WSL 資料夾與 /net 掛載)上使用 NotebookEdit 時,以前未指定單元格可能導致首個單元格被刪除或覆寫,現在已修復。使用一般編輯工具時,也不會再因為網路路徑而誤把筆記本當純文字編輯、在字串空白時替換整份檔案,或錯誤修改多筆相符中的第一筆。若筆記本在權限提問視窗開啟時於外部被更動而導致修改失敗,NotebookEdit 不會再向掛鉤與遙測紀錄虛報成功。

官方原文

Fixed NotebookEdit deleting or overwriting a notebook's first cell when the call named no cell, on network paths (UNC shares, WSL folders, /net mounts)

Fixed Edit changing the first of several matches, replacing a whole file on an empty old_string, or editing a notebook as text, on network paths (UNC shares, WSL folders, /net mounts)

Fixed NotebookEdit reporting success to hooks and telemetry when the edit failed, for example when the notebook changed while the permission prompt was open

20

Windows 啟動速度加快,檔案監控修復磁碟代號問題

在 Windows 系統開啟終端機時,工具啟動與首個指令的響應速度變得更加迅速。⟦就像計程車司機記住了常用導航路線,出車時不再反覆重啟額外的定位儀器,檢查門牌號碼時也不會因為英文字母大小寫不同而停止哨戒。⟧在搜尋環境變數中的程式時,不再啟動輔助行程,直接在主要流程中尋找目標。對於標準的 Git for Windows 環境,每次啟動不再反覆檢查要使用哪一個 git 執行檔。尋找內部啟動程式時,會略過相對路徑、網路共享捷徑與 UNC 路徑,並能即時套用設定檔中的路徑變更。當工作階段的工作目錄包含小寫磁碟機代號時,watchPaths 監聽路徑在第一個命令執行後 FileChanged 掛鉤停止運作的問題也已獲得修復。

官方原文

Windows: Fixed FileChanged hooks stopping for paths set through watchPaths after the first shell command, when the session's working directory had a lowercase drive letter

Windows: Improved startup and first-command time by finding programs on PATH without starting a helper process

Windows: Improved startup time with a standard Git for Windows install by no longer checking which git.exe to run on every launch

Windows: Changed how Claude Code finds programs it starts itself, such as git, to skip relative and UNC PATH entries and links onto a network share, and to pick up PATH changes from settings

21

背景子代理回報支援合併答覆,修復對話壓縮與中斷重啟遺失

指派多個背景子代理同時執行複雜任務時,進度彙整與工作階段回復變得更可靠。⟦恰如專案主管在辦公室彙整多位外勤調查員的便條,多張便條會在一封信件中一併批覆,開會重新整理桌面時也不會弄丟剛送達的最新報告。⟧在無頭模式、桌面應用與 VS Code 中,同時等待的多個子代理進度回報現在會像終端機一樣合併在單次模型呼叫中一併回答。如果工作階段在 Claude 回應前執行了對話壓縮,自動模式不會再丟失剛開啟新回合的子代理報告。當使用者手動中止後有多個報告等待時,單一請求不會再塞入超出預期的回報量。子代理進度摘要在模型回覆工具呼叫後,不再將請求一路執行到結束。雲端工作階段若遭服務中斷,子代理不再被誤記為手動停止而拒絕恢復,重啟後發送至主對話的訊息也會確實獲得答覆。

官方原文

Fixed auto mode losing a background subagent's report that had started a turn when the conversation was compacted before Claude answered it

Fixed one request carrying far more background agent reports than intended after Claude was stopped while several were waiting

Fixed sub-agent progress summaries running a request to its end after the model replied with a tool call

Fixed background agents being reported as stopped by the user, and refused a resume, when a service interrupted a cloud session and nobody pressed Stop

Fixed a restarted cloud session leaving a subagent's message to the main conversation unanswered

Improved auto mode in headless sessions, the desktop app and VS Code: reports from background subagents that wait together are answered in one model call, as in the terminal

22

背景指令修復逾時通知與父行程比對,工作流暫停即時同步狀態

安排長時間執行的背景任務時,進程管理與狀態同步更貼合實際運行情況。⟦好似工廠監控看板精準掌握流水線動態,停工時立刻切換顯示燈號,長篇的工作回報單只保留頭尾摘要,搜尋運轉機台時也不會誤扣總部主機。⟧在非互動模式下,背景指令若在 10 分鐘後中止,不會再向 Claude 誤報擁有 30 分鐘執行時間。在雲端工作階段中,使用 pkill 或 pgrep 等進程管理命令時,不會再誤比對到該工作階段自身的父行程。當你停止或暫停正在運行的工作流程時,Claude 會即時得知最新狀態,不再誤稱流程仍在繼續。遇到超過 1000 字元的超長背景指令,通知訊息只保留指令開頭與結尾以節省上下文長度。背後代理伺服器連線延遲時,Chrome 與電腦操作伺服器進程在父行程結束後不會再持續滯留在系統中。

官方原文

Fixed claude -p sometimes telling Claude that background commands get 30 minutes when they are stopped after 10

Fixed pkill, pgrep and pidwait in cloud sessions matching the session's own parent processes

Fixed Claude in Chrome and computer use server processes staying alive after their parent exits behind a proxy that stalls connections

Fixed Claude not being told when you stop or pause a running workflow, so it no longer says the workflow is still running

Changed background command notifications and TaskStop results to show Claude only the start and end of a command over 1,000 characters, which saves context

23

修復掛鉤輸出檔案覆寫與攔截衝突,重放授權答案不再中斷

於工作流程中部署自動化掛鉤時,多個小程式之間的事件處理與回傳順序獲得梳理。⟦跟輸送帶上的多重感應器一樣,兩道檢查同時要求確認時原因不會彼此覆蓋,重啟機器重放記錄時也不會被前方的柵欄再次擋下。⟧同一次工具呼叫若有多個掛鉤(特定事件發生時被觸發的小程式)輸出大容量內容,不會再發生路徑指向同一檔案的錯誤。嵌入 Claude Code 的應用程式在多個掛鉤同時發出詢問時,能正確保留外部掛鉤的提問原因,延後處理的請求也不會導致提問遺失。遠端工作階段重啟重放先前的授權答覆時,不再觸發 UserPromptSubmit 掛鉤而造成無回應。在雲端協作階段中,後置掛鉤無法再擅自竄改使用者的回答或既定計畫。非互動工作階段在 Bash 與 PowerShell 呼叫後,num_hooks 與 num_success 兩個欄位也不再計入兩個內建掛鉤。

官方原文

Fixed a large hook output pointing Claude to a file that held another hook's output from the same tool call

Fixed apps that embed Claude Code getting their own PreToolUse hook's ask reason instead of another hook's when both asked

Fixed a PreToolUse hook's ask being lost when another hook's defer finished first and could not be honored

Fixed remote sessions giving no reply after a restart when a UserPromptSubmit hook blocked a replayed permission answer; these hooks no longer run on that replay

Changed OpenTelemetry hook events in non-interactive sessions to leave two built-in hooks out of num_hooks and num_success after Bash and PowerShell calls

Changed Cowork cloud sessions: a PostToolUse hook can no longer replace the answer to AskUserQuestion or the plan in ExitPlanMode's result; Claude reads the originals

24

Claude Desktop 跨視窗通訊放寬至二十則,偵測個人應用程式目錄

在桌面應用程式使用 Code 標籤頁與其他對話視窗聯動時,跨工作階段的訊息往返額度獲得放寬。⟦猶如辦公室內部對講機放寬單次通話句數上限,說話途中若切換其他對話窗也不會卡住頻道,尋找安裝應用程式時連同個人抽屜也一併清查。⟧Code 標籤頁發送給其他工作階段的訊息數量限制,在等待你再次打字前由原本的 10 則提高至 20 則。在 Claude 仍在運作時如果打字輸入,先前發送給其他視窗的訊息不會再被無故暫停。在 macOS 上輸入 /desktop 時,安裝於個人目錄 ~/Applications 的桌面應用現在能被正確辨識。在預先啟動的處理程序中,追蹤版本控制庫的遙測屬性不再缺失。桌面環境提供的 Chrome 連接工具也已改為依循組織設定的防護政策。

官方原文

Fixed /desktop on macOS saying Claude Desktop is not installed when it is in ~/Applications

Fixed OpenTelemetry repository attributes (vcs.*) missing from Claude Desktop sessions that start on a pre-started process

Fixed messages from a Claude Desktop Code tab session to your other sessions staying paused after you typed while Claude was still working

Changed the number of messages a Claude Desktop Code tab session can send to your other sessions before it waits for you to type again from 10 to 20

Changed Claude in Chrome tools that an app running Claude Code provides, such as the Claude desktop app's Code tab, to follow your organization's Claude in Chrome policy

25

螢幕閱讀器強化按鍵判斷,介面面板關閉後正常恢復顯示

依賴無障礙輔助功能或頻繁開啟彈出選單的使用者,介面焦點與顯示狀態更為穩定。⟦就像播音系統在時鐘校正時依舊準點報時,詢問意願時絕不把無意間滑過的雜音當作同意,關閉彈出視窗後底層的控制台也能立刻浮現。⟧在螢幕閱讀器模式下,若系統時鐘在啟動時向後微調,輸入提示不會再延遲出現;從代理人檢視切換回一般對話時,螢幕閱讀器設定不會被意外關閉。提問是非題時,如果在視窗開啟瞬間輸入文字,結尾意外殘留的「y」字元不再被草率判定為同意。在終端機關閉對話框後,指令面板(panel)有時消失直到下一次重繪才恢復的問題已修正。代理人檢視介面在空文字狀態下重啟更新時,也不會再洗掉另一個視窗已儲存的輸入草稿。

官方原文

Fixed screen reader mode delaying the prompt at startup when the system clock moved back while Claude Code was starting

Fixed a command's panel sometimes not coming back after a dialog closed, leaving no panel or prompt on screen until the next redraw

Fixed screen reader mode turning off when you return to a conversation from agent view

Fixed screen reader mode y/n questions taking as yes a stray "y" at the end of text typed as the question opened

Fixed agent view erasing another agent view's saved input text when it restarted for an update with nothing typed

26

雲端檔案上傳遭遇容量錯誤自動重試,磁碟配額耗盡落實報錯

在雲端環境或遠端掛載目錄進行大量檔案交換時,傳輸失敗與磁碟耗盡的防範機制落實防護。⟦恰似物流中心在貨架滿載退件時主動二次遞送,遇上包裹名牌夾帶混淆字元則拒絕收件,倉庫容量用罄時也不會假裝入庫成功而默默掩蓋錯誤。⟧當代理伺服器回傳 HTTP 507 空間不足時,檔案上傳會自動重試第二次。檔名若藏有文字方向或控制字元,過去在 Claude 應用程式會顯示成不同名稱,現在 Claude 會直接拒絕傳送。在 Linux 上以 claude -p 執行時,若因 NFS 配額用盡遺失對話紀錄,不再靜默回傳 0,而是印出錯誤並回傳狀態碼 1。雲端連接器遇到超長資源名稱時不再引發記憶體耗盡當機;代理伺服器無法連線時也不再誤報主機未被允許。雲端工作階段若在首次回覆前重啟,含大型圖片的訊息不再被遺棄。

官方原文

Fixed a hang or out-of-memory crash when a connector in a cloud session lists resources with very long names

Fixed cloud sessions telling Claude that a host is probably not allowed when it is allowed and the network proxy could not connect to it

Fixed files Claude sends from cloud and Remote Control sessions failing at once when an upload gets an HTTP 507 from a proxy; the upload now gets a second try

Fixed a sent file showing under a different name in the Claude apps when its name hid text-direction or control characters; Claude now refuses to send such a file

Fixed claude -p on Linux exiting 0 in silence when a full NFS export or a used-up NFS quota lost transcript lines: it now prints an error and, in text and json output, exits 1

Fixed a restarted cloud session dropping a message with a large image when the restart came before Claude's first reply to it

27

修復單行讀取記憶體膨脹,啟動階段如實通報 Git 狀態

在大型專案中長時間開啟對話時,上下文用量估算與記憶體佔用修正失準問題。⟦好比工程師翻閱厚重藍圖時不再把整卷圖紙全攤在桌面上,清點庫存失敗時也如實標註狀態未明,而非假裝全部貨物都已清點妥當。⟧在長時間的工作階段中反覆讀取大檔案的單一行數時,記憶體佔用過高的問題已經獲得修復。在讀取歷史對話紀錄若發生記憶體不足,不會再導致新訊息無法儲存或造成命令列、SDK 與 VS Code 連線當死。當無法取得精確的文字計算時,上下文估算不再高估工具定義的佔用量。在工作階段剛啟動時,若 git status 執行失敗,系統會如實向 Claude 標記為無法取得,而非誤報為乾淨;暫存區的檔案狀態也不會再錯誤將未暫存的第一個檔案標為已暫存。

官方原文

Fixed context usage estimates overcounting tool definitions when exact token counts are unavailable

Fixed high memory use in long sessions that repeatedly read single lines from large files

Fixed the git status given to Claude at session start reading as clean when git status failed; it now reads as unavailable

Fixed the git status given to Claude at session start showing the first listed file as staged when its changes were not staged

Fixed new messages not being saved, and claude -p, SDK and VS Code sessions hanging, when memory ran out while the transcript was being read