繁體中文

新功能

工作階段出錯自動彙整草稿,快速檢視送出回報

在工作階段遇到錯誤或異常時,Claude 現在會透過 SendFeedback 工具主動替你整理一份回報草稿。你可以使用 /feedback 指令檢視內容、確認無誤後再送出,省去手動複製錯誤訊息與描述問題的繁瑣步驟。若不需要這項輔助,也能在個人設定加入 {"feedbackDrafts": false} 隨時關閉草稿功能。

新功能

載入提示支援自訂輪播,企業可配置專屬公告檔

企業想在載入等待時向團隊成員展示專屬指引,可在個人設定檔 ~/.claude/settings.json 加入 spinnerTipsOverride。

可直接貼上:

{"spinnerTipsOverride": {"label": "團隊提示", "tipsFile": "~/.claude/team-tips.json"}}

其中 tipsFile 指向獨立提示檔,label 是顯示名稱;提示項目可包含 {id, text, cooldownSessions, priority},並會與內建提示輪播。

新功能

Bash 權限確認增設指引,可直接切換至自動模式

當終端機跳出 Bash 指令執行權限的確認提示時,介面現在會附上引導至自動模式的說明提示。

你只要按一下按鍵,就能選擇「Yes, and switch to auto mode」,在允許當前指令執行的同時直接切換至自動模式,省去後續反覆手動確認的繁瑣操作。

新功能

新增成本調校指令,五大槓桿逐項分析 API 支出

想替專案節省 API 開銷的使用者,現在可以使用 /claude-api cost-optimize 指令分析現有專案的支出結構。該功能會依序帶你檢視快取(把算過或查過的結果暫存起來直接用)、批次處理、運算深度以及模型選擇等成本槓桿。系統也會協助評估 token(AI 處理與計費的文字單位)的精簡策略,並以單次一個具體量測改動的方式逐步調校。

新功能

API 技能涵蓋管理端點,支援成員、金鑰與加密配置

管理企業級 API 資源的使用者,現在能透過更新後的 /claude-api 技能直接操作 Admin API 的各項管理功能。

該支援涵蓋組織成員名冊、邀請函發送、工作空間劃分、API 金鑰管理與速率限制用量報告。此外也納入了工作負載身分識別同盟(WIF)的配置。針對安全加密,系統也一併支援客戶託管加密金鑰(CMEK)等進階選項。

問題修復

修復選單快速連按時序,不再誤觸游標上一行選項

在選單中快速切換選項時,系統不再因為按鍵反應落後而選錯上一行。過去在歷史搜尋、/config、/mcp、/skills、背景任務列表以及 /model 介面中,如果以極快速度連按方向鍵與 Enter 鍵,游標會誤觸剛才游標上方的那一列;現在按鍵時序已修正,確保選定的就是眼前停留的項目。

問題修復

子代理遭遇模型 404 自動切換備援,回傳詳細錯誤代碼

當子代理在首次呼叫模型時遭遇 404 找不到模型的錯誤,系統不再讓它直接死當。

現在子代理會依序使用當前工作階段設定的備援模型鏈繼續嘗試,而且回傳給父代理的錯誤訊息中,會完整包含錯誤類型、狀態碼、請求 ID(request id)以及目標模型名稱,方便排查問題。

問題修復

海量錯誤輸出不再塞爆對話,防止工作階段卡死

掛鉤(hook,特定事件發生時被觸發的小程式)或背景代理若噴出數 MB 的海量錯誤訊息,過去會直接塞爆對話紀錄,導致工作階段卡死在「Prompt is too long」而無法繼續輸入。現在系統已修正溢位處理機制,防止過量的錯誤輸出癱瘓對話。

問題修復

kitty 終端協定支援非拉丁鍵盤,Ctrl 快捷鍵正常觸發

在支援 kitty 協定的終端機中,使用非拉丁鍵盤配置(例如西里爾字母)的使用者,現在按下 Ctrl 快捷鍵組合也能正常觸發功能。過去在切換為非拉丁輸入法時,Ctrl 按鍵訊號無法被正確辨識;修復後無論目前的輸入語言為何,組合鍵都能精確送達。

問題修復

滑鼠分段回報不再插入亂碼,過濾殘留跳脫字元

滑鼠回報資料若在跳脫字元前綴剛送出時被切成兩段讀取,過去會導致像 <35;150;7M 這樣的殘留字串被當成文字硬生生塞進提示輸入框裡。

現在系統修正了終端機輸入串流的解析邏輯,即便滑鼠封包被拆成多次讀取,也能完整辨識並過濾掉控制碼。

問題修復

沙盒清理保留外部捷徑,防止設定檔符號連結遭誤刪

使用 nix/home-manager 或 GNU stow 等工具管理設定檔的使用者,不再需要擔心個人設定檔被意外刪除。過去當 Bash 沙盒在指令執行完畢進行清理時,若指向外部的符號連結(symlink,指向另一個位置的捷徑檔)~/.claude/settings.json 被重導至沙盒可寫入區域之外,清理程序會將該連結檔案直接刪除;現在沙盒已修正保護邏輯。

問題修復

Zed 鍵盤設定改為合併寫入,完整保留既有按鍵綁定

在 Zed 編輯器設定終端機快捷鍵時,執行 /terminal-setup 指令不再粗暴地洗掉你既有的全部按鍵綁定。

過去該指令會直接覆寫整個 keymap.json 檔案;現在它懂得將所需的快捷鍵合併進現有設定中,完整保留你原先自訂的其他按鍵組合。

問題修復

改名失敗明確提示同步狀態,不再靜默確認

使用 /rename 指令重新命名當前對話時,若內部工作階段註冊表(session registry)因故無法同步更新,系統不再假裝一切成功並默默確認。現在它會明確顯示提示訊息,告知其他工作階段可能暫時仍會顯示舊名稱,讓資訊維持透明。

問題修復

代理對話摘要依循專屬提示詞,不再套用預設模板

以 --agent 參數啟動自訂代理工作階段時,執行 /compact 壓縮指令或點選「Summarize from here」整理脈絡時,系統過去會錯誤套用預設的系統提示詞來產生摘要。現在摘要程序已修正為嚴格依循該對話專屬的自訂系統提示詞,確保代理的角色定位與特殊規則在濃縮後依然完整維持。

問題修復

背景代理終端終止即時報錯,按 Enter 鍵可重新啟動

在 claude agents 列表中檢視背景工作階段時,若終端機宿主處理程序意外終止,該列過去會永遠卡在「opening…」狀態。

現在系統會在數秒內將該列標記為失敗並清楚顯示具體原因,你只需按下 Enter 鍵就能直接重新啟動該工作階段。

問題修復

輸出檔無法寫入時限制記憶體,檔案加註遺失段落

當掛鉤(hook,特定事件發生時被觸發的小程式)或背景任務的輸出檔案因權限等原因無法寫入磁碟時,系統過去會在記憶體中無限累積暫存資料導致記憶體暴增。現在記憶體限制已獲得控制,且日後輸出檔案恢復可寫時,檔案內會明確加註哪一段輸出內容已遺失。

問題修復

SSH 安裝 GitHub 應用程式改善,複製狀態與網址顯示更明確

在遠端 SSH 連線環境下執行 /install-github-app 指令時,登入體驗變得更加可靠。複製快捷鍵現在會如實說明登入網址是如何複製的,不再盲目宣稱複製成功;當遠端伺服器無法自動開啟本機瀏覽器時,登入網址也會第一時間直接印在畫面上供你手動點擊。

問題修復

前景指令移轉背景執行收尾,不再誤報 code -1 錯誤

由前景轉移至背景工作階段執行的 Shell 指令,在執行完畢時不再跳出內部錯誤紀錄或誤導人的 [exited with code -1] 退出碼。

現在指令在背景順利收尾時能正確回報真實狀態,避免造成執行失敗的假象。

問題修復

多範圍安裝外掛保護快取,避免中斷運作中工作階段

當你在不同範圍重複安裝同一個未標註版號的市集外掛時,系統過去會直接刪除並重建既有的快取目錄。這往往會干擾到正在使用該外掛的工作階段;現在快取(把算過或查過的結果暫存起來直接用)處理邏輯已獲得修正,第二個範圍的安裝動作不會再中斷運作中的程式。

問題修復

遠端遙控同步工作樹差異,連線端即時掌握修改進度

透過 /remote-control 指令開啟遠端控制工作階段時,已連線的用戶端現在能正確收到目前工作樹的修改差異(working-tree diff)。

過去這些變更資訊未被同步傳遞給連線端;修正後遠端操作者能即時檢視檔案的具體改動,大幅提升遠端協作的透明度。

問題修復

自託管執行器延後回報運作狀態,防止提早發出等待通知

自託管執行器(self-hosted runner)的工作階段過去在 Claude Code 尚未正式啟動前,就會提早回報為「running」運作中狀態,導致 Claude 桌面應用程式過早發出「Claude is waiting for your input」的提示通知。現在狀態回報時機已修正,只有在主程式真正啟動並就緒後才會發送通知。

問題修復

受管閘道登入修復端點檢查,離線環境順利完成初次設定

在由管理員統一派發的受管設定(managed settings)中,若指定透過 Claude 應用程式閘道登入,而環境對外無法連線至 Anthropic 預設端點,初次啟動設定過去會直接報錯並退出。

現在系統已修正連線判斷邏輯,優先依循閘道設定順利完成初次設定,保障封閉網路環境的可用性。

問題修復

雲端工作階段修復權限切換時序,送出訊息不再閃退舊模式

在網頁版、桌面版或行動應用程式中使用雲端工作階段時,若在剛送出訊息的瞬間立即切換權限模式,介面過去有時會因為非同步傳輸的順序衝突,而跳回先前顯示的舊模式。現在狀態同步順序已獲得修復,無論你送出訊息後多快切換權限,模式切換都能精確反映當下的最新選擇,不再遺失設定。

問題修復

雲端容器重啟主動回報進度,清楚列出受影響背景任務

當雲端工作階段在回合之間發生容器重啟,而背後的代理程式、Shell 指令或監控程序仍在執行時,系統過去在重啟後會陷入無聲無息的沉默狀態,讓你誤以為任務仍在背景順暢運作。現在工作階段在恢復連線後,會主動向你回報受影響的中斷工作項目與遺失進度,確保執行狀況一目了然。

新功能

外掛市集強化字元防護,拒絕隱形字元並安全跳脫輸出

外掛市集的安全防護機制獲得全面強化。

系統現在會主動拒絕包含控制字元或隱形字元的外掛名稱,防止惡意命名欺騙;同時,在 /plugin 與 claude plugin 的輸出結果中,來自市集的說明文字也全面經過跳脫安全處理,避免終端機被惡意格式字串攻擊。

新功能

外部工具連線失敗明確通報,防止誤判工具不存在

在 Bedrock、Vertex、Foundry 平台或停用遙測的工作階段中,當設定的 MCP(Model Context Protocol,讓 AI 連接外部工具的協定)伺服器連線失敗時,系統現在會明確告知 Claude 連線失敗的事實,避免 Claude 誤以為該工具根本不存在。

新功能

Sonnet 5 放寬自動壓縮門檻,百萬上下文支援至 967K

使用 Sonnet 5 模型並開啟 1M 上下文視窗的使用者,系統現在將預設自動壓縮門檻調整為完整的 1M 容量。工作階段觸發自動壓縮的時機由原本約 934K token(AI 處理與計費的文字單位)延後至約 967K token,讓長對話能容納更多未壓縮的歷史紀錄。

新功能

跨工作階段訊息預設單行摺疊,按 Ctrl+O 可展開全文

在多個工作階段之間傳遞的對等訊息,現在預設會摺疊為單行預覽格式 Message from @<sender>: <first line>。當你需要檢視完整內容時,只需按下 Ctrl+O 即可立即展開全部內文,保持主對話畫面的整潔清爽。

新功能

終端機過濾特殊路徑超連結,可疑目標自動降級純文字

終端機在渲染 Markdown 格式的超連結時加入了更嚴格的安全防護限制。若連結目標指向遠端網路路徑、自動掛載路徑、含有特殊控制字元或以隱形字元開頭,系統會將其自動降級為不可點擊的純文字顯示,防止終端機誤觸潛在的惡意路徑或觸發非預期的網路連線行為。

新功能

PR 狀態標籤增設一分鐘快取,視窗重焦略過重複查詢

終端機底部的 Pull Request 標籤現在具備了更聰明的快取(把算過或查過的結果暫存起來直接用)機制。當你切換視窗重新回到終端機時,如果距離上一次檢查的時間不到一分鐘,系統會略過向 GitHub 重新查詢的動作,減少多餘的網路請求並避免介面卡頓。

新功能

自訂認證啟動即關閉遙測,全程落實企業隱私規範

在受管設定強制使用閘道登入或配置自訂 OAuth 的企業環境下,遙測分析資料收集功能現在從程式啟動時起便會一直保持關閉狀態。系統不再等到使用者完成登入驗證後才停用收集,從最初初始化階段就徹底保障企業內部環境的隱私與合規要求,因此不會在登入前留下分析資料。

新功能

閘道登入攜帶身分參數,明確標記客戶端來源與版號

透過應用程式閘道進行登入請求時,系統現在會在驗證流程中明確標註客戶端身分。

具體包含在裝置授權參數中帶上 surface=claude_code,並在 HTTP 標頭的 User-Agent 註明 claude-code/<version> 版號,方便後端閘道精確識別並套用存取政策。

新功能

受管設定無法讀取即刻終止,防止安全管制遭繞過

在啟用組織登入強制管制的環境下,若系統在啟動時無法讀取管理員設定的受管設定(managed settings),程式現在會直接退出並中止執行,即便本機或使用者層級的 Windows 登錄檔中存在相關設定也不會放行,嚴格防範安全防護被繞過。

English

FEATURE

SendFeedback drafts bug reports on session errors for quick review

When something goes wrong in a session, Claude can now use the SendFeedback tool to automatically draft a feedback report for you. You can review the details and send it straight from /feedback, saving you from manually copying error logs and writing bug reports. If you prefer not to have drafts generated, you can turn them off by setting {"feedbackDrafts": false} in your configuration.

FEATURE

Custom spinner tips allow organizations to rotate in-house guidance

Organizations that want to display custom guidance while Claude is thinking can add spinnerTipsOverride to ~/.claude/settings.json.

Paste this complete setting:

{"spinnerTipsOverride": {"label": "Team tips", "tipsFile": "~/.claude/team-tips.json"}}

tipsFile points to a separate tips file, and label is its display name. Tip entries can include {id, text, cooldownSessions, priority} and rotate alongside built-in tips.

FEATURE

Bash prompts offer a one-keystroke switch into auto mode

When a Bash permission prompt appears in your terminal, it now includes a helpful tip pointing toward auto mode.

A single keystroke allows you to select "Yes, and switch to auto mode", granting permission for the current command while immediately engaging auto mode so you don't have to keep approving routine operations.

FEATURE

/claude-api cost-optimize profiles spending and works through cost levers

To rein in API expenses on an existing codebase, you can now run /claude-api cost-optimize to profile your project's Claude API spend. It guides you systematically through key cost levers including caching, batch processing, effort levels, and model choices. It also assists in token hygiene, testing one measured change at a time.

FEATURE

/claude-api skill expands coverage across the Admin API suite

Managing enterprise API resources is now much simpler with the updated /claude-api skill, which extends coverage across the Admin API suite.

It supports organization members, invites, workspaces, API keys, and rate limit reports. Workload identity federation (WIF) is fully included. Customer-managed encryption keys (CMEK) are also supported for enterprise security.

BUGFIX

Rapid arrow and Enter sequences accurately trigger the selected menu item

Rapidly navigating interactive menus no longer triggers the wrong item due to timing latency. Previously, typing a rapid sequence of arrow keys and Enter in history search, /config, /mcp, /skills, background tasks, or /model could accidentally act on the row directly above your target; input event processing is now fixed to reliably target your current selection.

BUGFIX

Sub-agents handle 404s via fallback chains and detailed diagnostics

Sub-agents no longer crash outright when their initial API call encounters a 404 model not found error.

Instead, they now transition smoothly through the session's fallback model chain, and if the operation still fails, the error sent back to the parent agent includes the error type, status, request id, and model name.

BUGFIX

Large error outputs no longer wedge sessions with prompt length errors

Hooks or background agents that dump megabytes of error output can no longer flood the conversation history and wedge the session on "Prompt is too long". The system now prevents excessive diagnostic output from overwhelming the context window, keeping your terminal responsive.

BUGFIX

Ctrl shortcuts trigger reliably under non-Latin layouts in kitty terminals

Using Ctrl keyboard shortcuts in terminals supporting the kitty keyboard protocol now works reliably under non-Latin keyboard layouts such as Cyrillic. Previously, switching input layouts prevented modifier key combinations from firing; keyboard event translation is now fixed across all keyboard configurations.

BUGFIX

Split mouse reporting packets no longer leak raw text into prompts

Mouse tracking reports that arrive split across stream reads directly after an escape prefix will no longer dump stray text fragments like <35;150;7M straight into your prompt input.

Input stream buffering now properly reconstructs split control sequences.

BUGFIX

Bash sandbox cleanup preserves dotfile-managed settings symlinks

Users managing dotfiles with tools like nix/home-manager or GNU stow no longer risk having their configuration link erased. Previously, when the Bash sandbox cleaned up after running a command, if the ~/.claude/settings.json symlink was repointed outside the sandbox's writable area, the cleanup routine deleted the symlink; the sandbox now safely preserves these links.

BUGFIX

/terminal-setup merges keybindings into Zed keymaps without overwriting

Running /terminal-setup to configure keybindings for the Zed editor no longer wipes out your entire keymap configuration.

Instead of completely overwriting keymap.json, the command now cleanly merges its required keybindings into your existing file, preserving all your personal custom shortcuts.

BUGFIX

/rename warns when registry updates fail instead of silently confirming

When running /rename to rename your session, the interface no longer gives a silent confirmation if the session registry cannot be updated. It now explicitly alerts you that other sessions might still display the old name, ensuring you are aware of the registry state.

BUGFIX

Agent summaries retain custom system prompts during context compaction

Sessions launched with --agent now maintain their custom system prompt during context compaction. Previously, running /compact or using "Summarize from here" caused the summary to be generated under the generic default system prompt; it now strictly preserves the conversation's own prompt instructions.

BUGFIX

Dead background agent sessions fail promptly with a restart key

In the claude agents list, background sessions whose terminal host process died will no longer remain stuck displaying "opening…" forever.

The row now marks itself as failed within seconds along with the failure reason, and pressing Enter immediately restarts the session.

BUGFIX

Output write failures cap memory growth and mark where output was lost

If a hook or background task cannot write to its output file, the system no longer buffers the data indefinitely in memory, preventing unbounded memory growth. Additionally, the log file now records an explicit note indicating where output was lost.

BUGFIX

GitHub App setup over SSH clarifies copy channels and displays URLs

Running /install-github-app over an SSH connection now handles clipboard and browser limitations gracefully. The copy shortcut explicitly reports how the sign-in URL was copied rather than falsely claiming universal success, and if no browser can be opened remotely, the URL prints immediately to the screen.

BUGFIX

Commands carried into the background report cleanly upon completion

Shell commands handed off from the foreground to background sessions no longer log internal errors or display a misleading [exited with code -1] banner upon completion.

Background task status is now reported cleanly upon normal termination.

BUGFIX

Multi-scope plugin installations protect active cache directories

Installing a version-less marketplace plugin across a second scope no longer purges and recreates its active cache directory. This eliminates the risk of disrupting existing, active sessions that are currently executing the plugin.

BUGFIX

Remote Control sessions broadcast live working-tree diffs to clients

Remote Control sessions launched via /remote-control now reliably broadcast the working-tree diff to connected clients.

Previously, attached clients could not see pending file modifications; this sync issue is resolved so remote collaborators see current changes in real time.

BUGFIX

Self-hosted runners delay running state until startup completes

Self-hosted runner sessions no longer report a "running" status before Claude Code has actually booted up. This eliminates premature "Claude is waiting for your input" notifications fired by the Claude desktop app while initialization is still underway.

BUGFIX

Gateway setups complete first-run initialization without public endpoints

First-run setup no longer abruptly aborts with "Unable to connect to Anthropic services" when managed settings configure gateway sign-in for Claude apps while standard Anthropic endpoints are blocked.

Initial configuration proceeds smoothly over the designated gateway channel.

BUGFIX

Cloud sessions preserve newly toggled permission modes after sending messages

In cloud sessions across web, desktop, and mobile apps, rapidly toggling your permission mode right after dispatching a message no longer causes the UI to flicker back to the prior mode. State synchronization now ensures your updated mode remains active regardless of network transmission timing.

BUGFIX

Resumed cloud sessions report lost background tasks after container restarts

If a cloud session's container restarts between turns while background agents, shells, or monitors are active, the resumed session no longer silently drops into limbo. It now explicitly reports any lost work and background processes that were interrupted.

FEATURE

Plugin marketplace hardens safety against invisible names and output escapes

Plugin marketplace security has been hardened against terminal tampering.

Plugin names containing control or invisible characters are now strictly rejected, and all text supplied by marketplaces rendered in /plugin and claude plugin is escape-safe.

FEATURE

Bedrock and Vertex sessions explicitly report MCP server connection failures

In Bedrock, Vertex, Foundry, or telemetry-disabled sessions, Claude is now explicitly informed when a configured MCP (Model Context Protocol) server fails to connect, instead of hallucinating that the tools do not exist.

FEATURE

Sonnet 5 expands auto-compact thresholds to 967K on 1M context windows

Sonnet 5's default auto-compact threshold now scales to its full 1M context window. Sessions on the 1M window will automatically compact context at approximately 967K tokens instead of roughly 934K tokens, unlocking more working room for long interactions.

FEATURE

Cross-session peer messages collapse to single lines with Ctrl+O expansion

Peer messages sent across sessions are now collapsed by default into a single-line preview showing Message from @<sender>: <first line>. You can press Ctrl+O at any time to expand and read the full body without cluttering your main stream.

FEATURE

Markdown hyperlinks pointing to network paths render as plain text

Terminal hyperlinks rendered from Markdown now enforce safer formatting rules. Link targets that point to network or automounter paths, contain control characters, or lead with invisible characters are automatically rendered as plain text rather than clickable links.

FEATURE

Prompt PR badge skips refocus checks when data is under a minute old

The pull request badge in the prompt footer now optimizes its GitHub network calls. When refocusing your terminal window, it skips the GitHub re-check if the previous check occurred under a minute ago, saving bandwidth and keeping your prompt snappy.

FEATURE

Analytics remain completely off from startup for gateway and OAuth setups

Telemetry and analytics now remain disabled starting from process startup, rather than waiting until after login, whenever managed settings enforce gateway login or a custom OAuth deployment is active.

FEATURE

Claude apps gateway sign-ins explicitly identify Claude Code clients

Gateway sign-in requests for Claude apps now explicitly identify Claude Code to the authorization server.

Requests include a surface=claude_code parameter during device authorization and specify a claude-code/<version> User-Agent header.

FEATURE

Organization enforcement exits on unreadable managed settings

Enforcement of organization sign-in policies now immediately exits at startup if the administrator's managed settings cannot be read. Even if host-supplied or per-user Windows registry settings exist, the tool will refuse to launch without verified administrative policies, closing potential security bypasses.

原始 CHANGELOG

Original changelog工作階段出錯自動彙整草稿,快速檢視送出回報
Added the `SendFeedback` tool: when something goes wrong in a session, Claude can draft a feedback report for you to review and send from `/feedback` (turn off with the `feedbackDrafts` setting)
Original changelog載入提示支援自訂輪播,企業可配置專屬公告檔
Added `{id, text, cooldownSessions, priority}` entries, `tipsFile`, and `label` to `spinnerTipsOverride`, so organizations can rotate their own tips alongside the built-in ones
Original changelogBash 權限確認增設指引,可直接切換至自動模式
Added a tip on Bash permission prompts pointing to auto mode, with a one-keystroke "Yes, and switch to auto mode" option
Original changelog新增成本調校指令,五大槓桿逐項分析 API 支出
Added `/claude-api cost-optimize` to profile an existing project's Claude API spend and work through cost levers (caching, token hygiene, batch, effort, model choice) one measured change at a time
Original changelogAPI 技能涵蓋管理端點,支援成員、金鑰與加密配置
Updated the `/claude-api` skill with Admin API coverage (organization members, invites, workspaces, API keys, rate limit reports, workload identity federation, CMEK)
Original changelog修復選單快速連按時序,不再誤觸游標上一行選項
Fixed fast arrow-key + Enter sequences acting on the row above the one you navigated to in history search, `/config`, `/mcp`, `/skills`, background tasks, and `/model`
Original changelog子代理遭遇模型 404 自動切換備援,回傳詳細錯誤代碼
Fixed sub-agents dying on a first-call model 404: they now use the session's fallback model chain, and the error returned to the parent includes the error type, status, request id, and model
Original changelog海量錯誤輸出不再塞爆對話,防止工作階段卡死
Fixed a hook or background agent that printed megabytes of error output being able to overflow the conversation and wedge the session on "Prompt is too long"
Original changelogkitty 終端協定支援非拉丁鍵盤,Ctrl 快捷鍵正常觸發
Fixed Ctrl keyboard shortcuts not firing under non-Latin (e.g. Cyrillic) keyboard layouts in kitty-protocol terminals
Original changelog滑鼠分段回報不再插入亂碼,過濾殘留跳脫字元
Fixed text like `<35;150;7M` being inserted into the prompt when a mouse report arrived split across reads right after the escape prefix
Original changelog沙盒清理保留外部捷徑,防止設定檔符號連結遭誤刪
Fixed the Bash sandbox's after-command cleanup deleting a dotfile-managed `~/.claude/settings.json` symlink (nix/home-manager, stow) when it is repointed outside the sandbox's writable area
Original changelogZed 鍵盤設定改為合併寫入,完整保留既有按鍵綁定
Fixed `/terminal-setup` overwriting your entire Zed `keymap.json` instead of merging in its keybinding
Original changelog改名失敗明確提示同步狀態,不再靜默確認
Fixed `/rename` silently confirming when the session registry could not be updated; it now says other sessions may still show the old name
Original changelog代理對話摘要依循專屬提示詞,不再套用預設模板
Fixed `/compact` and "Summarize from here" in sessions started with `--agent` summarizing under the default system prompt instead of the conversation's own
Original changelog背景代理終端終止即時報錯,按 Enter 鍵可重新啟動
Fixed a background session showing "opening…" forever in `claude agents` after its terminal host process died; the row now fails within seconds with the reason, and Enter restarts it
Original changelog輸出檔無法寫入時限制記憶體,檔案加註遺失段落
Fixed unbounded memory growth when a hook's or background task's output file could not be written; the file now notes where output was lost
Original changelogSSH 安裝 GitHub 應用程式改善,複製狀態與網址顯示更明確
Fixed `/install-github-app` over SSH: the copy shortcut now says how the sign-in URL was copied instead of always claiming success, and the URL appears immediately when no browser can open
Original changelog前景指令移轉背景執行收尾,不再誤報 code -1 錯誤
Fixed shell commands carried over from the foreground logging an internal error or showing a misleading `[exited with code -1]` line when they finish in background sessions
Original changelog多範圍安裝外掛保護快取,避免中斷運作中工作階段
Fixed a version-less marketplace plugin's live cache directory being deleted and recreated on a second-scope install, which could disrupt a running session using it
Original changelog遠端遙控同步工作樹差異,連線端即時掌握修改進度
Fixed Remote Control sessions started with `/remote-control` not reporting the working-tree diff to connected clients
Original changelog自託管執行器延後回報運作狀態,防止提早發出等待通知
Fixed self-hosted runner sessions reporting `running` before Claude Code had started, which could trigger a premature "Claude is waiting for your input" notification from the Claude desktop app
Original changelog受管閘道登入修復端點檢查,離線環境順利完成初次設定
Fixed first-run setup exiting with "Unable to connect to Anthropic services" when managed settings configure Claude apps gateway sign-in and Anthropic endpoints are unreachable
Original changelog雲端工作階段修復權限切換時序,送出訊息不再閃退舊模式
Fixed cloud sessions (Claude Code on the web, desktop and mobile apps) sometimes showing the previous permission mode when you switch modes right after sending a message
Original changelog雲端容器重啟主動回報進度,清楚列出受影響背景任務
Fixed cloud sessions going silent when the session's container restarts between turns while a background agent, shell, or monitor is still running — the resumed session now reports the lost work
Original changelog外掛市集強化字元防護,拒絕隱形字元並安全跳脫輸出
Improved plugin marketplace hardening: names containing control or invisible characters are rejected, and marketplace-supplied text in `/plugin` and `claude plugin` output is escape-safe
Original changelog外部工具連線失敗明確通報,防止誤判工具不存在
Improved Bedrock, Vertex, and Foundry sessions (and any with telemetry disabled): Claude is now told when a configured MCP server failed to connect, instead of concluding its tools don't exist
Original changelogSonnet 5 放寬自動壓縮門檻,百萬上下文支援至 967K
Changed Sonnet 5's default auto-compact window to its full 1M context, so sessions on the 1M window now auto-compact at about 967K tokens instead of about 934K
Original changelog跨工作階段訊息預設單行摺疊,按 Ctrl+O 可展開全文
Changed cross-session peer messages to collapse by default to a one-line `Message from @<sender>: <first line>` preview; Ctrl+O expands the full body
Original changelog終端機過濾特殊路徑超連結,可疑目標自動降級純文字
Changed terminal hyperlinks in rendered markdown: link targets that point at a network or automounter path, contain a control character, or lead with an invisible character now render as plain text
Original changelogPR 狀態標籤增設一分鐘快取,視窗重焦略過重複查詢
Changed the prompt-footer PR badge to skip its GitHub re-check on terminal refocus when the last check is under a minute old
Original changelog自訂認證啟動即關閉遙測,全程落實企業隱私規範
Changed analytics to stay off from startup, not only after login, when managed settings force gateway login or a custom OAuth deployment is configured
Original changelog閘道登入攜帶身分參數,明確標記客戶端來源與版號
Changed Claude apps gateway sign-in requests to identify Claude Code (a `surface=claude_code` device-authorization parameter and a `claude-code/<version>` User-Agent)
Original changelog受管設定無法讀取即刻終止,防止安全管制遭繞過
Changed organization sign-in enforcement to exit at start when the administrator's managed settings cannot be read, even if host-supplied or per-user Windows registry settings exist