usage

Claude Code 2.1.323

工具與目錄
在這頁

新功能 13 項

01

實驗性 Code Mode 登場,改由編寫程式呼叫工具

整理一批檔案時,你可能會讓 Claude 接連用到不同工具。實驗性 Code Mode(以程式操作工具的模式)讓 Claude 編寫 JavaScript 來呼叫工具。JavaScript 是一種程式語言,這裡用來寫出工具呼叫步驟。這項功能需要主動啟用;如何開啟,或在組織層級停用,請參考官方文件 https://code.claude.com/docs/en/code-mode。⟦做菜時,口頭說明與寫成食譜是不同的交代方式;把洗菜、切菜寫成可照做的步驟,可以幫你理解用程式安排工具呼叫的意思。⟧

官方原文

Added Code Mode, an experimental opt-in in which Claude writes JavaScript to call its tools; see https://code.claude.com/docs/en/code-mode to turn it on, or to turn it off for an organization

02

外掛規格驗證升級,嚴格把關型別與版本相容範圍

安裝外掛先核對 plugin.json 的 engines["claude-code"]:範圍外不裝、更新或載入,安裝更新挑最新相容版。啟動、claude plugin list、claude plugin validate 均警告 agent 棄用,設定仍生效。驗證的 TypeScript 掛鉤(事件觸發程式)型別問題列警告,--strict 才失敗;engine.create 增減替換 $ 名詞寫法不合規則失敗,已裝模組仍載入。該事件的 *、命名空間或否定掛鉤只觀察,增減須按名稱掛上。unsetOptionCount 計未設 userConfig 數;isPromptCovered 指提示區被上方對話框或欄位遮住。tool.list 增刪適用模型及所有代理。語言伺服器無法啟動會指出是哪個伺服器,以及要檢查什麼。

官方原文

Added engines["claude-code"] to plugin.json: plugins outside their stated Claude Code version range are not installed, updated or loaded, and install and update pick the newest version that fits

Added type checking of a plugin's TypeScript hooks module to claude plugin validate; each finding is a warning, and --strict fails on it

Added to claude plugin validate the $ nouns a mod's engine.create hook adds, withholds or replaces

Added a warning when a plugin's language server can't start, naming the server and what to check

Added unsetOptionCount to the claude plugin install --json result: how many userConfig options are not yet set

Added isPromptCovered to the props a mod's pane is drawn with, telling it when a dialog or a field above the prompt covers the prompt

Changed mods: a *, namespace or negated hook on engine.create now only observes. To add or withhold a $ noun, hook engine.create by name

Changed claude plugin validate to fail a mod whose engine.create hook isn't written in the one accepted form; installed mods keep loading

Changed tool.list plugin hooks so the tools they add or remove apply to the model and every agent

Deprecated a plugin's agent setting: it still applies, and now warns at startup, in claude plugin list and in claude plugin validate

03

Bash 權限檢查堵住繞過漏洞,嚴密防範危險路徑寫入

跑 shell(輸入指令的介面)時,原本漏掉的詢問會補上。變數值含 * 的 Bash 允許規則啟動時警告;寫 .git、.claude 不再提供「不再詢問」。部分 lsof、特定非預設 zsh 選項、附接萬用字元或合併 sudo 旗標的允許規則不再略過詢問;Bash(NODE_ENV*) 也會問。sudo、env 包裝或指令部分內容不再漏檢;執行方式可能不同於檢查方式的指令會先問。cat > file <<EOF 不再標成「Read 1 file」。rm 在 bypass permissions(略過一般授權)或 Bash 允許規則下,不再因用錯目錄判定而漏掉危險刪除提示。Windows 讀檔指令帶萬用字元或檔案清單都會詢問;慢速或忙碌機器對同一指令的判定更一致。

官方原文

Added a start-up warning for Bash allow rules with a * in a variable's value, such as Bash(PORT=* npm run dev)

Fixed Bash permission prompts offering "don't ask again" for commands that write to sensitive paths such as .git or .claude, where the saved rule did not stop the next prompt

Fixed a case where some lsof commands ran without a permission prompt

Fixed Bash commands that write a file with cat > file <<EOF being shown as "Read 1 file"

Fixed a case where Bash permission checks judged an rm from the wrong folder and skipped the dangerous-removal prompt under bypass permissions or a Bash allow rule

Fixed a case where Bash permission checks missed part of a command

Fixed Bash allow rules with an attached wildcard, such as Bash(ls*), skipping the permission prompt in some cases; a rule that names a variable, such as Bash(NODE_ENV*), now asks

Fixed Bash deny and ask rules missing some commands run through sudo, env and similar wrappers

Fixed Bash allow rules written with combined sudo flags skipping the permission prompt in some cases

Fixed a case where a Bash command ran without a permission prompt for zsh users with certain non-default shell options set

Windows: Fixed some file-reading Bash commands running without a permission prompt when given a wildcard or a list of files

Improved Bash permission checks so the same command more reliably gets the same answer on a slow or busy machine

Improved Bash permission checks: some commands that could run differently from how they were checked now ask for permission

04

敏感操作與工作樹審核收緊,避免未授權外部異動

工具獲准後,檢查出錯仍須重新判定。PreToolUse 掛鉤(事件觸發程式)回 allow 後檢查出錯,視同沒回覆;PermissionRequest 改寫輸入後檢查出錯,重問,無人能答則拒絕。技能內嵌 git 在裸儲存庫工作樹等位置須核准,auto、bypass 除外;/security-review 也先問。rewind 不再改權限模式。Linux 設 CLAUDE_CODE_SUBPROCESS_ENV_SCRUB,唯讀 git 不再誤需核准或被 claude -p 拒絕。自架執行器 --trust-workspace false 與 VS Code 未受信任資料夾,專案設定不能停用掛鉤或開關外掛。macOS 拒絕 Space 搭 Control/Option 及更多須授權的系統快捷鍵。

官方原文

Fixed plan files sometimes being written outside the project when plansDirectory is set; a write that can't be shown to stay inside the project is now refused

Fixed a permission prompt when Claude read the output of its own background command or agent after entering a worktree

Fixed a permission prompt from a mod's tool.check hook naming every plugin hooked on the tool instead of the one that asked

Fixed a rewind sometimes changing your permission mode

Fixed read-only git commands needing approval, or being refused under claude -p, when CLAUDE_CODE_SUBPROCESS_ENV_SCRUB is set on Linux

Changed /security-review to ask before Claude runs it, and skills' inline git commands to stop in bare-repository worktrees and similar folders until you allow them, outside auto mode and bypass

Changed artifact updates to ask first, even under an allow rule, when people outside your organization can see the artifact or Claude can't check who can

Changed what happens when a tool's permission check fails with an error after a PreToolUse hook returned "allow": Claude Code now decides the call as if no hook had answered

Changed what happens when a tool's permission check fails on input that a PermissionRequest hook rewrote: Claude Code now asks again, or refuses the call where nobody can answer

Changed self-hosted runners under --trust-workspace false and VS Code sessions in an untrusted folder: the repository's settings can no longer disable your hooks or turn plugins on or off

Changed computer use on macOS to refuse key chords that hold Space with Control or Option, and more system shortcuts that need your grant

05

MCP 工具連線體驗整頓,提升憑證續約與相容穩定度

連 MCP(讓 AI 連接外部工具的協定)時,舊設定改用新核心。claude plugin 與 claude mcp list 於憑證續約時不再登出主控台設定檔。MCP_SDK_GENERATION=v1 改跑 v2,提早握手且放寬登入檢查。claude mcp add --help 改本機範例且不亂折行。claude --bg --safe-mode 不問未啟動的伺服器。/mcp、/plugins 登入頁預選 Reconnect。停止的 MCP 呼叫與 shell 指令均顯示未記錄結果。SDK 與 claude -p 移除再加伺服器後能恢復工具。工具清單含 null 不再終止無頭(無畫面)工作階段。

官方原文

Fixed claude plugin commands and claude mcp list signing you out of a Console profile when they ended while the token was being renewed

Fixed MCP tool calls ending in the sign-in server's error, such as TOKEN_EXPIRED, instead of asking you to sign in again

Fixed /export silently stopping early after a long run of calls to an MCP tool that is no longer loaded

Fixed earlier MCP tool calls missing from a resumed conversation, and lines repeating in scrollback, when the server connects late

Fixed claude mcp add --help splitting long example commands across lines in narrow terminals and pipes, so a pasted example ran without its header

Fixed a stopped MCP call, or a stopped shell command in fullscreen, reading as "Called" or "Ran" in a collapsed tool group: it now says no result was recorded and shows its input

Fixed claude --bg --safe-mode sessions stopping at startup to ask about project MCP servers that safe mode never starts

Fixed MCP link prompts offering Accept for non-http links without saying the link wouldn't open

Fixed /mcp and /plugins opening an MCP server's page with the cursor on "Disable" when the server needs authentication but still holds its sign-in; the page now offers "Reconnect" and opens on it

Fixed an MCP server staying disconnected with no tools after an Agent SDK app or claude -p caller removed and re-added it, when a tool call had tried to reach it in between

Fixed SDK sessions giving an MCP server named by --allowedTools or an mcp_tool hook less than 2s before the first turn when settings lowered CLAUDE_CODE_MCP_STARTUP_WAIT_MS after start-up

Fixed headless sessions ending when an SDK host sent a null entry in an MCP server's tools list

Improved /mcp to show how many of a server's tools were left out because the API would reject their input schema, and why

Improved the error for an MCP tool call whose connector ID is mistyped by a character or two: for a server that the host application registered, it now names the tool to call

Changed MCP_SDK_GENERATION=v1 to run the v2 MCP client in a compatibility mode (earlier handshake, relaxed OAuth sign-in checks), because the v1 MCP client is removed

Changed the tool Claude uses to finish an MCP server sign-in so that it asks you to confirm, even in bypass and auto modes; where nobody can be asked, such as in dontAsk mode, use /mcp

Changed the claude mcp add --help example to a local command

Changed project (.mcp.json) MCP server approvals to match the server's exact name; an approval entry written in another spelling now asks again

06

使用點數不足提供操作選單,Fable 週限制顯示重設時間

模型要求付費點數時,你可以先選怎麼繼續。使用點數(另行付費資源)關閉或耗盡會提供停止、改用點數、升級選單。Fable 週限制補重設時間與選單,-p、SDK、IDE、雲端也說明續跑方式。超過週限後,小模型旁支請求不再讓點數通知重複或漏掉。等待請求被拒會重開選單,現有支出上限讀取失敗不再提供較低上限。/usage 對 setup token(設定用令牌)、CLAUDE_CODE_OAUTH_TOKEN 保留工作階段與每週條,解釋其餘缺漏;修正子代理旁百分比,時數只計有請求時段。Desktop 第三方供應商工作階段支援受控設定 CLAUDE_CODE_AUTO_MODE_MODEL,須等 Desktop 納入此版才生效。桌面 Code 分頁工作流程遇上限暫停、重設後續跑。

官方原文

Added support for CLAUDE_CODE_AUTO_MODE_MODEL in managed settings for Claude Desktop sessions on third-party providers (takes effect once Claude Desktop includes this version)

Added an options menu (stop, switch to usage credits, upgrade) when a model needs usage credits that are turned off or used up

Fixed auto mode running behind a gateway at ANTHROPIC_BASE_URL on a model whose gateway name contains "haiku"; such a model, other than claude-haiku-5-5, is now refused, as Haiku 4.5 is

Fixed the "Now using usage credits" notice repeating or not showing past the weekly Fable limit when Claude Code made a quick side request on a smaller model, such as naming the session

Fixed Fable's weekly limit showing no reset time and no options menu in the terminal

Fixed a wait chosen in the usage limit menu silently moving to a later reset when its request was refused; the menu now opens

Fixed the spend limit menu offering a lower limit when your current limit couldn't be loaded

Fixed /usage hiding limit bars for setup tokens and CLAUDE_CODE_OAUTH_TOKEN: it keeps the session and weekly bars and says why the rest are missing

Fixed /usage showing a whole-session percentage beside a subagent type's name, and saying sessions ran 8 hours when it only counts hours with requests

Improved the Fable limit message in -p, SDK, IDE and cloud sessions: it now says when the limit resets, along with how to continue

Changed workflows in the desktop app's Code tab to pause at a usage limit and continue after it resets

Changed the spend limit and 1M context errors, and /usage-credits, in cloud sessions and under Remote Control: they no longer give a web address

07

未知模型容量假設改為 1M,調高過載重試變數的可設上限

連接自訂模型時,容量估計不等於實際容量。未知模型上下文視窗(單次能處理的對話容量)假設從 200K 改 1M;可用 /autocompact 提早壓縮,或設 CLAUDE_CODE_DISABLE_1M_CONTEXT=1 留在 200K。第三方小容量模型的工作階段須先設,裝滿可能每輪失敗直到 /clear。claude -p 改用其他模型會向 stderr 警告;不再每次執行印 deniedModels 與 availableModels 註記。/model 恢復最新模型的醒目標示。CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS 上限由 64000 改 300000 毫秒。

官方原文

Fixed Claude being told that automatic model switching is off when safeguards stopped a subagent whose model had no other model to switch to

Fixed the fullscreen header naming the session's effort level for a viewed subagent on a different model, which that subagent doesn't use

Fixed the model picker and /model showing a picked effort level that CLAUDE_CODE_EFFORT_LEVEL overrides

Fixed the newest model's highlight missing from the /model picker

Fixed claude -p silently using another model in text output when settings block the requested one; it now warns on stderr

Fixed claude -p printing notes about deniedModels and availableModels entries on every run; /status and claude doctor still list them

Improved the Claude apps gateway's /v1/models to state max_input_tokens for models whose context window is certain on every upstream

Changed the context window assumed for a model ID that Claude Code doesn't recognize from 200K to 1M; use /autocompact to compact earlier, or CLAUDE_CODE_DISABLE_1M_CONTEXT=1 to keep 200K

Changed sessions on other vendors' models with a smaller window: once full, they can fail every turn until /clear, so set CLAUDE_CODE_DISABLE_1M_CONTEXT=1 before they fill

Changed the maximum of CLAUDE_CODE_OVERLOADED_RETRY_MAX_DELAY_MS from 64000 to 300000

Changed CLAUDE_AUTOCOMPACT_PCT_OVERRIDE in Anthropic-hosted cloud sessions to stop applying to auto-memory extraction and, in some sessions, to /btw; the main conversation still follows it

08

子代理進度心跳與記憶體釋放,強化遙測匯出容錯

查子代理紀錄時,壞資料不會拖累整組。OTEL_RESOURCE_ATTRIBUTES 單筆無效仍保留其餘屬性,/status 點名排除項目。SDK managedSettings 的遠端控制、代理檢視、工作流程、產出物四類停用開關恢復生效。OTEL_LOG_ASSISTANT_RESPONSES=0 不再記錄背景代理回覆。官方外掛技能啟動自訂代理,agent.name 記為 custom;具名 MCP 匯出依目前連接器目錄調整。MCP 是讓 AI 連接外部工具的協定。子代理壓縮時,相關掛鉤(事件觸發程式)會收到 agent_id、agent_type。防護阻止分支技能或工作流程代理後,可縮小提示重試或告知使用者,不能自行接手工作。完成代理的紀錄也會提早釋放。

官方原文

Added a progress heartbeat every 30 seconds while hooks run long in claude -p and SDK sessions, so a host such as Claude Desktop won't end the turn as hung (once it includes this version)

Added CLAUDE_CODE_DISABLE_AGENT_PROGRESS_SUMMARIES (available since 2.1.318): set it to 1 to turn off subagent progress summaries and the requests that write them (anthropics/claude-code#86879)

Fixed a Stop pressed right after sending a message showing as an error in remote and SDK sessions while a UserPromptSubmit or plugin prompt hook was still running

Fixed subagent progress summaries skipping an update when the reply took between 10 and 20 seconds

Fixed PreCompact, PostCompact and post-compaction SessionStart hooks not receiving agent_id and agent_type when a subagent compacts

Fixed the Agent SDK's managedSettings ignoring the Remote Control, agent view, Workflows and Artifact off switches

Fixed OpenTelemetry export failing silently when an otlp exporter had an endpoint but no OTEL_EXPORTER_OTLP_PROTOCOL: it now defaults to http/protobuf

Fixed OpenTelemetry export to the default localhost:4318 endpoint going through a configured proxy

Fixed one malformed OTEL_RESOURCE_ATTRIBUTES entry dropping all of that variable's attributes from the OpenTelemetry resource; the others are now kept, and /status names the one left off

Fixed OpenTelemetry user_prompt events and interaction spans recording a background agent's reply when OTEL_LOG_ASSISTANT_RESPONSES=0

Fixed OpenTelemetry exports failing when a proxy took over 10 seconds to reach the collector; it now has 25 seconds, also the most that OTEL_EXPORTER_OTLP_TIMEOUT can allow (previously 30)

Fixed OpenTelemetry agent.name showing a user-defined subagent's name instead of custom when an official plugin's skill launched it

Improved memory use with many subagents: a finished subagent's transcript is freed sooner instead of staying in memory while later subagents run

Improved ToolSearch to say when a tool Claude searched for by its short name is already available, instead of only reporting no match

Changed what Claude is told after safeguards stop a forked skill or a workflow agent: retry with a narrower prompt or tell you, instead of doing the work itself

Changed which MCP servers are reported by name in OpenTelemetry exports to follow the current connector directory

09

[Remote Control] 遠端控制網路切換重連,身分保留延長至 30 天

手機查看工作時,斷線狀態應說清楚。換 Wi-Fi 或重連 VPN 後不再離線逾一分鐘;使用點數問題也顯示在手機,僅終端機能答的提示不再標成執行中。同目錄重啟超過四小時也不換電腦身分,最長保留 30 天。磁碟卡住時,關閉後仍執行、完成工作占名額與啟動失敗拖住主機皆修復。設 DISABLE_TELEMETRY、DO_NOT_TRACK,手機仍顯示核准細節;背景子代理執行不誤報閒置。verbose/debug(詳細/除錯)模式工具 command 是數字、布林值或物件,不再使主機退出或停止讀輸出。電腦在 Claude 啟動前斷線,清單顯示錯誤或閒置;斷線不再誤報環境被刪。執行工作階段的電腦登出 Claude Code 時,錯誤畫面提供 Try again 按鈕。

官方原文

Remote Control: Fixed sessions showing as disconnected for a minute or more after a network change such as switching Wi-Fi or reconnecting a VPN

Fixed Remote Control showing nothing while Claude Code asks whether to use usage credits: the question now also shows in the Claude app

Fixed Remote Control showing a session as running while it waited on a permission prompt that can only be answered in the terminal

Remote Control: Fixed claude remote-control reconnecting as a new computer when restarted in the same folder more than 4 hours after it stopped; it now keeps its identity for up to 30 days

Remote Control: Fixed sessions left running at shutdown, and finished sessions holding their slot, when the disk stops responding

Remote Control: Fixed other devices and phone notifications not showing what Claude is asking permission for when DISABLE_TELEMETRY or DO_NOT_TRACK is set

Remote Control: Fixed the host exiting, or stopping reading a session's output, in verbose or debug mode when a tool call's command was a number, boolean or object

Remote Control: Fixed a host that could stall after sessions failed to start in folders on a filesystem that had stopped responding

Remote Control: Fixed sessions from the desktop app showing as idle on your phone while background subagents were still running

[Remote Control] Fixed your own session saying its environment was deleted when you deleted nothing; it now says your computer is no longer connected

[Remote Control] Fixed some sessions still showing as running in the session list after the computer disconnected before Claude started; they now show an error mark or as idle

[Remote Control] Added a Try again button to the error shown when the computer running your session is signed out of Claude Code

10

[VSCode] 編輯器整合即時指令輸出,嚴把未受信任資料夾信任

在 VS Code 改檔時,進度直接看得到。指令卡片下顯示正在執行的 Bash 或 PowerShell 指令輸出。未信任資料夾首次啟動先問;拒絕便不用專案設定與 MCP(讓 AI 連接外部工具的協定)伺服器。使用點數關閉時,點購買不算同意支付 Fable 費用;新對話首則提示前程序重啟不再誤報讀不到歷史。解析失敗的舊回覆不殘留,壓縮後佇列不漏訊息。重載不再重複叫你重啟終端機;貼碼後顯示 Signing in… 直到完成。切模型清除 Fable 上限提示,點數關閉或用完不再誤提。CRLF(文字換行格式)多行編輯可開差異分頁;切工作階段會停錄音。代理憑證錯誤附指引;沙盒開啟時,從網頁載入不自動切分支並說原因。

官方原文

[VSCode] Added a Claude Code trust prompt before the first session in a folder you haven't trusted; declining leaves the folder's settings and MCP servers unused

[VSCode] Added the live output of a running Bash or PowerShell command to the chat, under the command's card

[VSCode] Fixed a response that was discarded because its tool call could not be parsed still showing after Claude retried

[VSCode] Fixed a queued message missing from a conversation or fork when it directly followed a compaction summary

[VSCode] Fixed the "Buy usage credits on claude.ai" button counting as agreement to pay for Fable while usage credits were off

[VSCode] Fixed the "extensions want to relaunch the terminal" warning coming back on open terminals after every window reload or restart

[VSCode] Fixed "Couldn't load this conversation's saved history" appearing in a new chat whose Claude process had restarted before the first prompt

[VSCode] Fixed the sign-in screen showing the login choices again after a pasted code; it now shows "Signing in…" until the sign-in finishes

[VSCode] Fixed the "You've hit your Fable limit" line staying in the VS Code and JetBrains panels after you pick another model

[VSCode] Fixed the Fable usage warning in the VS Code and JetBrains panels naming usage credits when they're off or used up

[VSCode] Fixed the diff tab not opening for multi-line edits on files with CRLF line endings

[VSCode] Fixed dictation continuing to record after switching sessions

[VSCode] Improved sign-in errors behind TLS-inspecting proxies: a certificate failure now says what to do, as the terminal does

[VSCode] Changed opening a Claude Code on the web session in a folder where Claude Code's sandbox is on: the extension no longer switches to the session's branch for you, and the dialog says why

11

[Claude Code on the web] 網頁版加強自動重連,釐清權限與排程狀態

網頁任務卡住時,原因會說清楚。上傳失敗列原因,儲存庫無權限、登入過期或單一登入藏組織可重連 GitHub。自架暫停重開不再卡 Starting、不殘留 Sending/Stop,待答核准也不消失。網路機密新增失敗列各主機與可判斷的原因,提示留到手動關閉。GitHub Enterprise 提取要求更新連回自家伺服器;大型日誌完整下載。iOS 帶儲存庫的新工作階段有專屬分支。斷線自動重連,Try again 不當訊息送出;無輸出五分鐘仍有停止鈕。排程缺必要沙盒會通知失敗;移除儲存庫不轉移觸發器,Save 等重新選好儲存庫。clone、fetch(複製與抓取更新)逾十分鐘不再於尾端中斷。自架可選 No repository;刪工作階段會警告相關排程暫停。

官方原文

[Claude Code on the web] Improved the message when a file fails to upload to a cloud or Remote Control session: it now gives the reason, such as too many pages, a password or a time-out

[Claude Code on the web] Improved adding a repository Claude can't access to a cloud session: a short message and a Reconnect GitHub button replace the long error

[Claude Code on the web] Fixed self-hosted sessions staying on "Starting Claude Code" after it had started, when you reopened a paused session without sending a message

[Claude Code on the web] Fixed a paused session in a self-hosted environment sometimes still showing "Sending" and a Stop button under the "Session paused" banner

[Claude Code on the web] Fixed pull request updates from GitHub Enterprise Server linking to github.com in cloud sessions; new updates link to your own server

[Claude Code on the web] Improved the message when some network secrets can't be added to a new cloud environment: it lists each host, says why where it can, and stays until you dismiss it

[Claude Code on the web] Fixed very large GitHub Actions job logs and run log archives failing to download or being cut off in cloud sessions

[Claude Code on the web] Improved the new-session repository picker when GitHub single sign-on hides organizations: it now says so even with other repositories listed, and links to reconnect GitHub

[Claude Code on the web] Fixed new cloud sessions started from the iOS app with a repository not getting a branch of their own

[Claude Code on the web] Fixed an open cloud or Remote Control session's page staying "Disconnected" after a few minutes of failed connections; it now tries to reconnect by itself

[Claude Code on the web] Fixed Try again on an open cloud or Remote Control session's "Connection lost" card sending "Try again" as your message; it now tries to reconnect instead

[Claude Code on the web] Fixed the Stop button disappearing from a cloud session five minutes into a reply that had shown nothing yet while Claude was still working

[Claude Code on the web] Fixed an approval prompt sometimes disappearing from a tab left open after a self-hosted runner released the session while it waited for your answer

[Claude Code on the web] Added a failure notification when a scheduled task's run can't start because its settings require a sandbox that isn't available where it runs

[Claude Code on the web] Improved the Git providers page when your GitHub sign-in has expired: it now asks you to reconnect instead of silently hiding organizations you can link

[Claude Code on the web] Fixed removing a repository from a scheduled task silently moving its GitHub trigger to another repository; Save now waits until you pick one

[Claude Code on the web] Fixed git clones and fetches that take longer than ten minutes in a cloud session sometimes being cut off at the very end

[Claude Code on the web] Added the No repository option to the repository picker for new sessions on a self-hosted environment

[Claude Code on the web] Added a warning to a cloud session's Delete dialog when deleting it will pause scheduled tasks that run in that session

12

[Claude Tag] Slack 整合納入企業合規檢索,細化頻道權限管控

在 Slack 請 Claude 幫忙時,核准卡片不該出現在無法張貼的地方。與 Claude 的私訊中,私人或 Slack Connect 頻道不再顯示核准並張貼卡片,Claude 也會取得不能張貼的原因。企業方案的 Slack 對話納入合規 API(供組織查核紀錄的介面)測試版,可列工作階段與讀紀錄;管理員停用組織 Claude Tag 前會確認並說明影響。跨 Enterprise Grid 工作區的頻道排程可正常呼叫 Slack。頻道設定載入失敗可重試;活動頁的網路事件可依 Scope 篩選下載。移除連接器會移除設在連接器上的憑證(登入證明),保留存取套件自身的憑證。頻道緊接所屬工作區顯示。Set for Claude Tag 連結前往 Slack 頁面的 Advanced 分頁設定環境。

官方原文

[Claude Tag] Added Claude Tag sessions started in Slack to the Compliance API on Enterprise plans, in beta: list the sessions and read their transcripts

[Claude Tag] Added a confirmation step when an admin turns off Claude Tag for the organization, with a dialog that says what stops

[Claude Tag] Fixed scheduled tasks in a Slack channel moved between Enterprise Grid workspaces failing to use Slack until someone posted there

[Claude Tag] Fixed the Approve and post card in a DM with Claude appearing for private or Slack Connect channels, where Claude can't post; Claude now gets the reason and shows no card

[Claude Tag] Added a Retry button to a Slack channel's Configure page for when its settings fail to load

[Claude Tag] Added a Scope filter to the Network events tab of Claude Tag's Activity page, so admins can download one scope's events instead of the whole organization's

[Claude Tag] Fixed Remove connector in Claude Tag admin settings being refused when access bundles also held its credentials; it now removes those set on the connector and leaves the bundles' own

[Claude Tag] Fixed the Channels tab in Claude Tag admin settings splitting a workspace from its channels across pages; channels now appear right under their workspace

[Claude Tag] Fixed the Set for Claude Tag link on the Cloud environments admin page not leading to the environment setting; it now opens the Slack page's Advanced tab, where you set it

13

[Code Review] 管理後台新增 CSV 匯出,精細統計審查支出成本

評估團隊內部使用程式碼審查工具的預算消耗時,管理員現在能直接將費用清單匯出為表格。現在 Code Review 管理設定新增了 Download CSV 按鈕,讓你可以依據月份、週次或單日,針對單一儲存庫、特定 GitHub 組織或全體專案,直接下載審查費用的 CSV 報表。⟦就像公司總務月底印出各部門的分攤明細表,以前只能看著整張總帳單發愁,現在能按專案與週期逐筆拆解核對開支。⟧

官方原文

[Code Review] Added a Download CSV button to Code Review admin settings: export review costs per repository by month, week or day, for one repository, one GitHub organization or all

修正 10 項

14

外掛市集載入體驗修復,理清錯誤提示與安裝細節

管理市集外掛時,錯誤回報更清楚。Vertex 的 /fast on、/fast off 會詢問 config.set 掛鉤(事件觸發程式)。失敗熱重載後的新檔不再漏掉;renames 壞一筆不拖累其餘。僅專案啟用的外掛未安裝時附安裝指令,文字、stream-json 的 -p 也顯示。SDK、Desktop 工作階段中,受控外掛載入錯誤列入 init.plugin_errors。文字 claude -p 的 --plugin-dir 掛鉤卡住或工作程序崩潰,會向 stderr(錯誤輸出)回報。Not now 說明何時載入;子模組提交不符合儲存庫記錄的提交,安裝就失敗。安裝指令寫 stderr,即使成功也列警告。

官方原文

Fixed plugins with defaultEnabled: false staying off in a claude.ai chat's cloud session after you turn them on in claude.ai

Fixed /fast on and /fast off on Vertex not asking a plugin's config.set hook, as the /fast menu does

Fixed the misleading "not cached" error for a plugin only a repository's settings enable: it now says it isn't installed, gives the install command, and shows in text and stream-json -p runs

Fixed mods being able to reword Claude Code's own confirmation questions

Fixed a mod's hot reload sometimes ignoring a file created just after a failed reload

Fixed marketplaces named npm, pip, uv, cargo, github or gh being refused as reserved names

Fixed load errors of plugins enabled by managed settings going only to the debug log in SDK and Desktop sessions: init.plugin_errors now lists them

Fixed plugin installs hiding what a plugin's install command wrote to stderr when that command succeeded, such as a note that the plugin has no skills yet

Fixed one malformed entry in a plugin marketplace's renames map making Claude Code ignore the marketplace's other renames

Fixed plugins with a version list in enabledPlugins staying off with no message: /plugin and claude plugin list now say why

Fixed plugins and marketplaces failing to install on Windows when the path of a cloned file reaches 260 characters

Fixed text-output claude -p runs printing nothing to stderr when a --plugin-dir mod's hook hangs or crashes the hooks worker

Improved the "Not now" choice when Claude Code asks to turn on the mods it writes in a session: it now says when they load

Improved Claude Desktop and cloud sessions for claude.ai accounts with more than 2,000 plugins turned on: a shorter wait at startup, and Claude can now say why plugins are missing

Changed marketplace and plugin installs to fail when a git submodule isn't on the commit its repository records

Changed claude plugin install and /plugin to show a warning instead of success when a plugin's install command writes to stderr

15

沙盒規則收緊,限制跨工作樹提交與設定來源

沙盒(程式隔離區)不再於工作階段中途關閉。auto 不可用改以先詢問的 Manual 啟動;sandbox.excludedCommands 不再放行未點名指令。舊設定檔受保護,檔案檢查點副本不可讀;專案設定的符號連結(指向別處的捷徑)不再讓讀取與檢查位置不同。Linux 設 CLAUDE_CODE_SUBPROCESS_ENV_SCRUB 且 sandbox.enabled 關閉,HTTP 掛鉤不再回 500。glab config set 未加 --global 或 --host、glab config edit --local,須改在沙盒外執行。macOS/Linux/WSL 不接受可寫資料夾內指向別處或不存在路徑的連結寫入授權,改授權實際路徑。GitLab 合併請求標章限沙盒啟動儲存庫;macOS 的 lsof 等工具較少顯示非指令啟動的程序資訊。

官方原文

Fixed --permission-mode auto or a settings defaultMode: auto starting in a mode that could allow more when auto mode was unavailable. It now starts in Manual mode, which asks first

Fixed a case where the Bash sandbox could switch off during a session

Fixed sandbox.excludedCommands letting a command that it does not name run outside the sandbox in some cases

Fixed a case where the Write and Edit tools could write to a path covered by a Read deny rule

Fixed the Bash sandbox not fully protecting Claude Code's own config on installs still using the legacy config file

Fixed sandboxed commands being able to read Claude Code's file checkpoint copies under the config directory

Fixed project settings sometimes being read through a symbolic link that leads to a different folder than the one Claude Code checked

Fixed HTTP hooks failing with HTTP 500 on Linux when CLAUDE_CODE_SUBPROCESS_ENV_SCRUB is set and sandbox.enabled is off

Fixed claude -p and the Agent SDK running Bash unsandboxed when --settings or SDK settings that turn the sandbox on fail validation; Claude Code now stops at start-up and names the invalid setting

Changed glab config set without --global or --host, and glab config edit --local, to fail read-only inside the Bash sandbox; run them outside it

Changed the Bash sandbox on macOS, Linux and WSL to ignore write access granted through a symlink in a writable folder that leads elsewhere or to a missing path; grant the real path instead

Changed "don't ask again" so an allow rule that looks like it holds a secret, or would be saved to a settings.local.json that git tracks, lasts for the session only and isn't saved

Changed the sandbox on macOS and Linux: git worktree add, move and remove now fail read-only, as do commits in a worktree the session wasn't started in or given, even one inside the project

Changed start-up to stop when a --settings file isn't valid JSON and has a sandbox key, even one that turns the sandbox off

Changed the GitLab merge request badge to show only for the repository a sandboxed session opened in

Changed a managed settings policyHelper to no longer take environment variables from user or --settings files; set what it needs in managed env or the launching shell

macOS: Changed the Bash sandbox so lsof and similar tools may show less about processes a command did not start

16

背景工作階段帳號嚴格隔離,防範跨身分串門發送

背景接續任務時,登入身分不再偷換。具名 Anthropic 設定檔遺失、變更、被覆蓋,或啟動 shell 提供的 API 金鑰、驗證權杖(登入令牌)、工作負載身分轉成其他登入,都會停止並回報;setup token 除外。更新時已開的工作階段須重開;舊服務保不住身分會要求重啟。背景登入清除全機舊登入與憑證,遭拒可能不留登入。重啟後不再跳換設定檔與儲存登入,登入後不留未登入旗標。閘道過期,在另一終端機 /login 後下一訊息可續。claude -p 登入失效警告明示 claude auth logout 也刪除 MCP 登入與外掛機密。背景 /logout 會登出全機、刪上述資料並結束工作階段。MCP 是讓 AI 連接外部工具的協定。

官方原文

Fixed a session on a named Anthropic profile moving to another sign-in when /fork, the Left arrow or --bg continued it in the background; reopen any session that was open during the update

Fixed a background session sending a conversation under another sign-in when its named Anthropic profile is missing, changed or overridden; it now stops and says so

Fixed a session on an API key, auth token or workload identity from its shell (not a setup token) moving to another sign-in in the background; it now stops and says so

Fixed a session on a named Anthropic profile being handed to an older background service that could not keep its sign-in; it now says to restart the service

Fixed a background session's sign-in leaving the previous account's login or other credentials in place; it now clears them for every session on the computer, and a refused sign-in can leave no login

Fixed background sessions moving between a profile and the stored login when an update restarted them

Fixed sessions opened before a sign-in keeping signed-out feature flags after the sign-in

Fixed sessions that kept failing after a Claude apps gateway sign-in expired: once you sign in again with /login in another terminal, they carry on at the next message

Fixed the claude -p warning about an ended claude.ai login to say that claude auth logout also removes saved MCP server logins and plugin secrets

Changed /logout in a background session, which had no effect: it now signs out every session on the computer, deletes stored MCP logins and plugin secrets, and ends the session, as in a terminal

17

企業閘道與代理連線修復,釐清憑證更新與網路錯誤

企業登入失敗時,提示會指出要查什麼。claude.ai 登入過期且改用已儲存的主控台金鑰時,不再誤報餘額過低。憑證(驗證伺服器身分的證明)名稱限制錯誤會立即失敗並告訴你要修正什麼,不再空轉重試。至少三個工作階段同時需登入時,awsAuthRefresh、gcpAuthRefresh 不再為同一請求跑兩次。自訂 X-Api-Key 不再把帳務組織誤標成 ant auth login 的組織;Bedrock 拒用模型會提示啟用模型。claude doctor、/status 不再誤稱無法讀取的連結受控設定仍已讀取。/login、claude setup-token 會說明請求遭拒、無法連線或逾時及檢查指引。claude.ai 對話與 Cowork 任務傳外掛檔案前查機密,疑有金鑰先問。HTTPS 代理的 TLS 憑證錯誤也已修復。

官方原文

Fixed an expired claude.ai login showing "Credit balance too low" when a saved Console key or ant auth login profile without credit was used instead

Fixed the billing notice naming your ant auth login organization when a custom X-Api-Key header is set

macOS: Fixed "Not logged in · Please run /login" coming back right after a successful /login or a token refresh when the keychain was slow to answer

Fixed turns failing in Claude Desktop when an organization's gateway answers an expired token with 403: Claude Code now asks Desktop for a fresh token and retries

Fixed the error shown when Amazon Bedrock refuses your account a model: it no longer says to refresh your AWS credentials, it says to enable the model

Fixed the awsAuthRefresh or gcpAuthRefresh command sometimes running twice for one request when three or more sessions needed a fresh sign-in at once

Fixed a case where certificate errors behind a TLS-inspecting proxy persisted when the proxy itself is reached over https://

Fixed certificate name-constraint errors being retried for minutes; they now fail at once with a message that says what to fix

Fixed start-up requests switching from an organization's managed proxy and CA settings to user-set ones when a read of the managed settings file failed

Fixed claude doctor and /status saying a linked managed settings file is still read when it could not be read

Improved sign-in errors in /login and claude setup-token for a rejected, unreachable or timed-out request: they now say what happened and what to check

Changed organization settings and policy requests to no longer use a proxy set only by ALL_PROXY; set HTTPS_PROXY if your network needs a proxy for them

Changed Claude Code's own ripgrep and most internal git commands to run without most of its sign-in tokens and API keys, so a credential helper or hook under such a git command no longer finds them

Changed claude.ai chats and Cowork tasks to check a plugin file for secret keys before sending it, and to ask first if it may hold one

18

工作階段復原與工作樹跳轉修復,保障對話歷史完整

接續工作時,紀錄不該遺失。啟動程式可設 CLAUDE_CODE_RESUME_HINT_COMMAND,讓退出提示顯示自己的恢復指令。換目錄後,cleanupPeriodDays 到期也清暫存。NFS/FUSE 檔案系統丟棄回覆時不再遺失部分紀錄。claude --teleport 找不到歷史不開空工作階段;claude -p --teleport 恢復失敗會報錯。新訊息打斷傳檔會說對原因。CLAUDE_CODE_RESUME_INTERRUPTED_TURN 不重跑掛鉤(事件觸發程式)continue: false 停止的回合。遠端清單納入首次提交前 git add -N 的檔案。CLAUDE_CODE_TRANSCRIPT_LOCAL_GC 清理遇並行改寫不再丟訊息。

官方原文

Added CLAUDE_CODE_RESUME_HINT_COMMAND, which a program that starts Claude Code can set to have the exit hint name its own resume command

Fixed running /compact again, or after a command such as /context, summarizing away a message that Claude had not answered yet

Fixed a resumed session joining your next message to an old interrupted message that was not resumed

Fixed ExitWorktree, the worktree exit dialog and /resume leaving the session in the wrong folder when the folder the shell was in before entering the worktree had been deleted

Fixed ps processes piling up when the process listing Claude Code runs before stopping a command takes too long

Fixed subagent transcripts and large tool results being saved apart from the session's transcript after entering a worktree created by a WorktreeCreate hook or belonging to a nested repository

Fixed temporary files of a session that had changed directory being left behind when the session expired under cleanupPeriodDays

Fixed a case where part of a saved session could be lost on NFS or FUSE file systems when Claude Code discarded a reply

Fixed claude --teleport opening an empty session when the server could not find the session's history, and claude -p --teleport exiting without an error when the resume failed

Fixed Claude giving a wrong reason when a new message interrupted a file it was sending you

Fixed CLAUDE_CODE_RESUME_INTERRUPTED_TURN re-running a turn that a hook's continue: false had stopped

Fixed the changed-files list of remote sessions leaving out files added with git add -N before the first commit

Fixed the /rewind list on network paths and hung folders: it named every tracked file as changed, was slow to show labels, and showed none at all when a file read never returned

Fixed a case where pressing Ctrl+C just as claude update finished removed the claude command

Fixed CLAUDE_CODE_TRANSCRIPT_LOCAL_GC dropping messages from the saved transcript when another process rewrote the file while it was being trimmed

19

本機工作階段互通放寬至十萬則,增強代理協同控制

同一台電腦上的多個工作階段互傳訊息時,免手動提示的額度由約 20 則升至 100,000 則,Desktop Code 分頁也適用。密集訊息不再卡成忙碌;claude agents 的狀態與輸入通知修正。Esc 按兩次才清提示,ctrl+y 可復原。claude attach、claude agents 用 Ctrl+B 後須在 800 毫秒內按 d 才轉背景。背景服務啟動時未帶 DISABLE_ERROR_REPORTING,也會繼承工作階段啟動 shell 的值。claude rm 與代理檢視改說「從清單移除」,不刪對話,claude --resume 仍找得到。分割視窗代理核驗組長,組長結束便拒絕請求;/clear、/resume 後計畫須重送核准。應用程式標為非手打的工作流程提示,不再當作你的請求。

官方原文

Fixed a Claude Desktop session getting stuck as busy after another of your sessions sent it the same message twice or many messages at once

Fixed claude agents showing a status from an earlier turn after a session resumes

Fixed claude agents losing a typed prompt: Esc now needs a second press to clear it, and ctrl+y restores it

Fixed the move-to-background key doing nothing in claude attach and claude agents sessions; to detach with Ctrl+B d, press d within 800 ms of Ctrl+B

Fixed background sessions ignoring a DISABLE_ERROR_REPORTING set only in your shell when the background service started without it

Fixed false "needs input" notifications in claude agents after replying to a blocked session, and repeated ones after a background turn ended with no text and only basic tools such as Bash or Read

Changed how many messages each of your sessions on the same machine can send the others without a prompt from you, from about 20 to 100,000

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 20 to 100,000

Changed claude rm and the agents view to say a session is removed from the list, not deleted; claude rm help says the conversation is kept and claude --resume lists it

Changed split-pane agent teammates to check that requests come from their team lead: one that outlives its lead has its asks refused, and plan approvals must be re-sent after /clear or /resume

Changed workflows so that a prompt an app marks as not typed no longer reaches their agents as your request

20

終端機排版與按鍵邏輯修復,強化字元渲染與報讀體驗

在終端機連按組合快捷鍵時,動作不可用也不會讓末鍵落進對話輸入欄;拼錯修飾鍵不再誤綁單鍵。重音字換行不再錯位、殘留或消失,長提示不擠掉狀態列。/btw 不帶舊回覆;代理名稱不再被標籤遮住。報讀不受時鐘前跳打斷,也不漏聽寫、貼上與表情符號。無法開瀏覽器時,/upgrade、Ctrl 點連結會顯示網址。丹麥、挪威、法羅、希臘鍵盤輸入 ø 或希臘字母時,不再誤提示 Option。/stickers 改說貼紙領完,不開網頁。Terminal.app 首次設定在同意前說明 Use Option as Meta key、會失去哪些 Option 輸入及如何還原。subagentStatusLine 移除,舊檔仍載入,代理列用預設外觀。

官方原文

Added a /diff to close hint to the diff panel, and the keys that focus and close a panel to the ? shortcut guide

Fixed accents and other combining marks sometimes landing left of the text, leaving stale copies on screen, or silently disappearing when text wraps

Fixed the last key of a key chord, such as Enter in ctrl+x enter, acting on a dialog's text field when the chord's own action isn't available there

Fixed /diff waiting for Claude to finish before closing the diff panel in fullscreen

Fixed a collapsed tool call looking as if it ran after you rejected it with a reason: it now shows "Not run · rejected"

Fixed a multi-row status line being pushed off screen by a long prompt in the fullscreen renderer

Fixed a misspelled keybinding modifier, such as ctl+k, binding the bare key; the binding is now ignored

Fixed /btw answers and recaps sometimes including earlier replies from the conversation

Fixed screen reader mode cutting off an announcement when the system clock moved forward while it was being read

Fixed screen reader mode dropping dictated or pasted text, and emoji, typed into an answer to a question or permission prompt

Fixed the name label under permission and plan dialogs hiding part of some agent names

Fixed /upgrade and Ctrl+clicked links in fullscreen failing silently when no browser can open: the address is now shown

Fixed terminal control sequences in a subagent's message taking effect instead of showing as plain text when the message is expanded

Fixed the Option-key hint appearing while typing ø or π inside words on Danish, Norwegian, Faroese and Greek keyboard layouts

Changed /stickers to say that the sticker pack is all claimed for now, instead of opening a page in the browser

Changed first-run setup in Terminal.app to name the "Use Option as Meta key" setting, what Option stops typing, and how to undo it before you agree

Removed the subagentStatusLine setting: subagent rows always use the default look, and settings files that still hold the key load as before

21

大型檔案編輯與記憶體防護修復,排解裝置檔案卡頓

讀特殊檔案時,特定 /proc 耗盡記憶體、裝置與具名管道卡住的問題已修。非串流請求遇到圖片遭拒或思考區塊錯誤時不再直接失敗。--no-session-persistence 的長工具結果於退出或中斷時清除。存設定記憶體不足不再妨礙啟動與登出清理。Docs 文件可在終端機中開啟瀏覽器;啟動時會重讀改寫中的受控設定。/memory 路徑與預覽開錯成品已修。Pro 與 Max 不再提供組織拒用的回饋草稿。工作樹建立提示補回 .claude 設定。Windows 路徑解析失敗不再誤報目錄遭刪。Linux 不再直接查 autofs 的 /home;自動掛載根目錄比 / 下一層更深時,要設 CLAUDE_CODE_AUTOMOUNT_ROOTS。兩檔案間輸入的 /skill 與 @file 不再生效。

官方原文

Added .docx support to Artifact tool asset uploads

Added a one-time startup notice naming CLAUDE_CODE_PERFORCE_MODE when Perforce settings are found and the mode is off

Fixed a memory spike at the next prompt after Claude changed a very large file

Fixed a setting saved in a running session undoing a hand edit made to settings.json moments earlier; a settings file you delete during a session now stays deleted

Fixed Edit and Bash running out of memory on certain /proc files, and Edit hanging or running out of memory on devices and named pipes

Fixed Claude Code failing to start, or to clear stored credentials at sign-out, when saving its configuration file failed with "Out of memory"

Fixed requests sent without streaming failing on errors that streamed requests recover from, such as a rejected image, thinking block or beta header

Fixed documents created through the Claude Docs connector not opening in your browser when you work in a terminal

Fixed managed settings (managed-settings.json, managed-settings.d) sometimes being missed at start-up while another program was rewriting the file: start-up now reads such a file a second time

Fixed .claude/settings.local.json not being ignored globally when the folder became a git repository later, or on a new machine

Fixed /memory showing wrong or roundabout paths for folders whose names start with the working directory's or home folder's name, and losing slashes in the file path on Windows

Fixed a broken emoji character in a tool call's parameter name being resent with later requests, which strict JSON parsers reject

Fixed file titles, app names and session names in @-mentions from claude.ai and the desktop app sometimes being treated as text you typed

Fixed Pro and Max accounts being offered feedback drafts that their organization would refuse

Fixed the artifact preview sometimes opening a different artifact than the one Claude just published

Fixed --debug and --debug-file replacing a file named latest in the debug log's folder

Fixed a timed-out feedback send being reported as too large; it now says the request timed out

Fixed the tip after a slow worktree creation suggesting a sparsePaths list without .claude, which left worktrees without your project settings and rules

Fixed the Claude apps gateway's JSON logs escaping newlines and other control characters in a message twice

Fixed long tool results staying on disk after a session run with --no-session-persistence; they are now removed on normal exit, Ctrl+C or SIGTERM

Windows: Fixed Claude Code running a .cmd or .bat wrapper found beside a program's .exe in the same PATH folder (a git.cmd next to git.exe, say); it now runs the .exe, as cmd.exe would

Windows: Fixed shell commands failing with "Working directory was deleted" on drives where a folder's real path can't be resolved

Improved installing with the install script: the latest version is no longer downloaded twice

Improved the cleanupPeriodDays cleanup to count folders it can't read as errors

Improved start-up on Linux when /home is an autofs map: Claude Code no longer looks up files in /home itself. Set CLAUDE_CODE_AUTOMOUNT_ROOTS for a map root deeper than one folder below /

Changed a /skill or @file typed between two files picked in claude.ai or the desktop app, or after a picked file and a link, to no longer take effect

Changed worktree creation to refuse checkouts whose .git folders are links or hold hard links, such as git-new-workdir layouts and cp -al copies; use a plain clone

22

網頁擷取表格對齊修復,改善巢狀網頁記憶體效能

請 Claude 抓網頁表格時,空白欄位不再讓後面數值錯位。WebFetch(擷取網頁內容的工具)保留空白儲存格,每次呼叫都重查組織政策與 CLAUDE_CODE_DISABLE_WEB_FETCH。Chrome 工具會在全螢幕紀錄與子代理進度顯示名稱;互動式 --chrome 工作階段因組織政策未啟用時會說明原因。沒有管理員設定能開啟功能時,不再叫你聯絡管理員;連線提示改叫你用 claude --chrome 重啟。深層巢狀網頁的速度與記憶體使用改善。Chrome 與桌面瀏覽器工具會拒絕部分經跳脫或以 JSON 文字傳入的輸入,並告訴 Claude 如何改寫。⟦資料謄寫員以前跳過對帳單的空格,後面的金額就全擠錯欄;現在照原位留白,讀者不必猜每筆數字屬於哪個欄位。⟧

官方原文

Fixed WebFetch dropping empty table cells and shifting later values a column left

Fixed WebFetch not rechecking organization policy and CLAUDE_CODE_DISABLE_WEB_FETCH at each call

Fixed Claude in Chrome's policy message telling people to contact their admin when no admin setting can turn it on

Fixed some Claude in Chrome tool calls, such as browser_batch, not showing the tool's name in the fullscreen transcript (ctrl+o) or in a subagent's progress

Fixed an interactive --chrome session giving no reason for starting without Claude in Chrome when your organization's policy turns it off: a line now says so

Fixed Claude in Chrome setup saying /chrome finishes the connection; it now tells you to restart with claude --chrome

Improved WebFetch speed and memory use on deeply nested pages

Changed browser tool calls (Claude in Chrome, the desktop browser pane) to refuse some escaped or JSON-text inputs and tell Claude how to respell them

23

雲端工作階段重啟容錯,確保排程任務與核准狀態延續

雲端任務重啟後,剛回覆的內容不該消失。歷史重寫後主機立刻停止不再讓紀錄讀不了;長對話重啟不丟答案或未答訊息。/clear、/resume、/branch 不再打斷已結束工作階段的排程。雲端、自架執行器、SDK 重啟後收到計畫核准,不再誤報不在規劃模式。附圖提檔名不再誤報缺圖;恢復時收到檔案不再意外呼叫模型;容器半途關閉不漏中段文字,Cowork 技能首傳也修好。自架按需執行器的工單被取代時,退出代碼恢復為 1;2.1.321、2.1.322 曾改成 0。自架工作階段等連接器核准或工具內登入時,到閒置或存活時間上限會暫停;晚到回覆從全新 clone(複製的儲存庫)恢復。雲端排程中,使用者自身設定的 PostToolUse 掛鉤不能替換 ExitPlanMode 結果中的計畫。

官方原文

Fixed a cloud session's history becoming unreadable if its machine stopped just after the history was rewritten

Fixed scheduled tasks from an ended session sometimes not running after another session in the same folder used /clear, /resume or /branch

Fixed an approved plan being answered with "You are not in plan mode" when the approval arrived after the session's process had restarted, in cloud, self-hosted runner and SDK sessions

Cloud sessions: Fixed an answer to Claude's question being lost after a restart in a long conversation

Fixed a message dropping out of a cloud session's conversation when the session restarted before Claude replied

Cloud sessions: Fixed Claude saying an attached image is missing when the message names its file

Fixed a resumed cloud session making a model call nobody asked for when files arrived right after a chat's first reply

Fixed streamed replies in cloud sessions missing text from the middle when the session's container shut down partway through a reply

Fixed skill files sent from Cowork cloud sessions sometimes failing to upload on the first try

Self-hosted runner: Reverted the exit code of an on-demand runner whose work order was superseded to 1; 2.1.321 and 2.1.322 had changed it to 0

Self-hosted runner: Changed a session at a connector's approval prompt or sign-in inside a running tool to be released as paused at the idle or lifetime limit; a late answer resumes from a fresh clone

Changed cloud scheduled tasks: a PostToolUse hook from your own settings can no longer replace the plan in ExitPlanMode's result