繁體中文

新功能

額度用完時,原因與恢復時間說清楚

公司替 Claude Code 設了使用上限,做到一半跳出「額度已滿」時,最煩的是不知道誰設的、何時能再做。現在透過 gateway(閘道,替公司統一管控連線的中介服務)使用時,警告會直接列出上限金額、重設時間,以及管理者留下的訊息。像停車場出口的看板,從前只亮紅燈;現在會寫清楚今日上限、幾點重新開放,還附上管理室交代。這項支援需要 gateway 升到 2.1.225。

新功能

進陌生資料夾前,agents 也會先問你

你把下載來的專案交給 claude agents 處理前,現在會先看到工作區信任提示。工作區信任(workspace trust,確認這個資料夾可放心讓工具在裡面工作的確認)原本已在 claude 指令裡出現,這次讓 agents 的行為跟上。它像進陌生人家裡修東西:先問主人能不能進門,再開始翻工具箱;確認過的資料夾才繼續。遇到網路抓下來、還沒看過內容的專案時,這道提醒尤其有用。

問題修復

登入短暫失靈,不再把長期憑證換掉

沒有畫面的 headless(無頭模式,沒有終端機視窗的執行方式)工作跑到一半,碰上一個暫時的 401 錯誤,以前可能被換成短命登入 token(授權令牌,用來證明登入身分的通行碼),得重啟才救得回來。macOS 的 MCP OAuth 伺服器也會在鑰匙圈讀取逾時後,突然連發 401,像從沒登入過。現在兩種狀況都修正了。這像交通卡讀卡器一時失靈,卻把你的月票剪成單次票;它現在不會亂換卡。

問題修復

自動模式被拒後,會換路而非原地重試

自動模式(auto mode,Claude 自己執行操作、逐步少問一次的模式)要請權限卻被安全篩選器拒絕時,操作仍會被擋下;這次拒絕不計入連續受阻次數,模型會收到往下做的提示,改往其他可繼續做的步驟前進,不再重試。像自助結帳機刷不過某張折價券,店員仍不讓它通過,但也不會讓機器一直重刷同一張;它會改成繼續處理購物籃裡的其他東西。

問題修復

跨工作階段訊息不再無聲停在半路

你在沒有畫面的 headless(無頭模式,沒有終端機視窗的執行方式)環境,或 Claude Code 剛啟動時傳跨工作階段訊息,過去訊息可能停在佇列裡,既不提醒也不會過期。現在這個問題修好了,不必再像盯著一直沒叫號的號碼牌那樣等著。跨工作階段訊息是不同 Claude 工作階段之間的傳話;它該送達、該告知時就會有明確結果,而非悄悄停住。

問題修復

遠端控制重連後,不再把舊進度越堆越多

用 Remote Control(遠端控制,從另一台裝置查看或接手 Claude 工作)接續超長對話時,先前壓縮過的聊天記錄可能讓恢復失敗;網頁工作階段還會被誤判卡住,每次重連又重送更多舊事件。現在這兩處都修正。它像接續播放清單:以前播放器既找不到停下的位置,又把已播曲目一首首重放;現在能從原處接回,也不會讓舊內容越疊越厚。

新功能

遠端控制收到的照片,直接交給 Claude 看

你在 Claude app 附上一張照片給 Remote Control(遠端控制,從另一台裝置查看或接手 Claude 工作)的工作階段時,Claude 現在直接收到照片,不必再用另一個工具從磁碟讀檔。要它看截圖、收據或白板照片時,這條路少了一次繞行。像把相片交到對方面前,而不是先放進倉庫,再請對方拿鑰匙去找;照片仍是同一張,只是交接方式改得更直接。

問題修復

agents 不會因滑過別的專案就走錯資料夾

agents 清單裡把滑鼠移到另一個專案的工作階段上,下一個 agent 以前可能改在那個專案的資料夾啟動,現在不會了。另一邊,claude self-hosted-runner 的 --base-dir 若無法建立或寫入,過去會先註冊、每個工作階段才失敗;現在啟動時就明白報錯並退出。像派車中心不再因瞄到隔壁訂單就把司機派錯地址,車庫門打不開也會在出車前說清楚,不會每趟才拋錨。

新功能

VS Code Focus 視圖不再把待辦與答案藏掉

在 VS Code 的 Focus view(專注檢視,把對話內容折疊整理的畫面)裡追 Claude 的進度時,最新待辦、未回答問題的脈絡,甚至已解決的答案,之前可能被折起來看不見。現在它們會留在眼前;只有純思考內容會折疊,並標成「Thought for Ns」,等該輪結束再收回。像整理收納盒:行動清單和結論放在最上層,草稿筆記才暫時收到盒底。

問題修復

可直接傳話給其他機器上的遠端工作階段

想請另一台機器上的 Remote Control 工作階段幫忙,現在 SendMessage 可依名稱直接開啟對話,不必等對方先傳話。ListAgents 會把它顯示成 name [ref],方便辨認遠端對象。你確認過的遠端收件人,也不會因本機剛好有同名工作階段、而且清單查不到遠端時,被偷偷換成那一個。像依取件編號交付物品:先用名稱和編號認出指定對象;即使遇到同名者,已確認的對象也不會被換掉。

English

FEATURE

Usage-limit warnings now explain the cap and reset time

If your company sets a Claude Code spending limit, hitting it halfway through work used to leave you guessing who set it and when work could resume. When you connect through a gateway, the warning now names the cap, reset time, and operator message. It is like a parking-lot exit sign that once showed only red; now it says today's limit, when entry reopens, and what management wants you to know. The gateway must be on 2.1.225.

FEATURE

Agents now ask before working in an untrusted folder

Before handing a downloaded project to claude agents, you now get a workspace-trust prompt. Workspace trust is a confirmation that a folder is safe for tools to work in. Claude already asked this question; agents now behave the same way. It is like repairing something in a stranger's home: ask before entering, then open the toolbox. This matters most for projects fetched from the internet that you have not inspected yet.

BUGFIX

Brief 401 errors no longer replace durable login credentials

A headless job can run without a terminal window. During one, a temporary 401 error used to replace a long-lived CLAUDE_CODE_OAUTH_TOKEN with a short-lived login token, breaking the job until restart. On macOS, MCP OAuth servers could also emit a burst of 401s after a Keychain read timed out. Both cases are fixed. It was like a transit-card reader briefly failing and then cutting your monthly pass into a one-trip ticket; it no longer swaps the card.

BUGFIX

Auto mode moves on after a blocked action instead of retrying

When auto mode asks for permission and a safety filter refuses that check, the action still stays blocked. The refusal no longer counts toward the consecutive-block limit, and the model is told to move on rather than retry. Think of a self-checkout that cannot accept one coupon: staff still reject it, but do not make the machine scan the same coupon forever; it continues with the rest of the basket.

BUGFIX

Cross-session messages no longer disappear into a silent queue

Send a message between Claude sessions from a headless environment, or during startup, and it could previously sit in a queue with neither notice nor expiry. That is fixed. A cross-session message is a handoff between separate Claude sessions; it should now produce an outcome rather than resemble a letter wedged silently inside a mailbox. You no longer need to wonder whether it is waiting forever.

BUGFIX

Remote Control reconnects stop piling up old progress

With Remote Control, you can inspect or take over Claude work from another device. Resuming a huge conversation after its history was compacted could fail, while web sessions could be falsely called stuck and resend an ever-growing backlog on each reconnect. Both are fixed. It was like rejoining an online meeting where the host lost the first half of the notes and replayed every old slide; now the meeting resumes where it stopped without piling up history.

FEATURE

Remote Control now hands app photos directly to Claude

Attach a photo in the Claude app to a Remote Control session and Claude now receives it directly, rather than fetching it from disk with a separate tool call. When you ask it to inspect a screenshot, receipt, or whiteboard photo, the handoff has one less detour. It is like handing someone a picture instead of storing it in a warehouse and asking them to fetch it with a key: same photo, more direct delivery.

BUGFIX

Agents keep the right folder, and runners fail early on bad paths

Hovering over a session from another project in the agents list could previously change the folder where the next agent started. It no longer does. Separately, if claude self-hosted-runner cannot create or write its --base-dir, it now exits with a clear startup error instead of registering and failing every session. It is like dispatch no longer sending a driver to a neighbor's address after glancing at their order, and reporting a locked garage before every trip breaks down.

FEATURE

VS Code Focus keeps current work and answers visible

When following Claude in VS Code's Focus view, the newest to-do list, context for a pending question, and settled answers could be folded away. They now stay visible. Only thinking-only sections fold, show “Thought for Ns,” and collapse again once that turn finishes. Think of folded meeting notes: the action list and conclusion remain on top, while rough scratch work goes inside the pages.

BUGFIX

SendMessage can reach named Remote Control sessions on other machines

Want help from a Remote Control session on another machine? SendMessage can now start a conversation with it by name; you no longer have to wait for it to write first. ListAgents shows it as name [ref]. A Remote Control recipient you already confirmed also cannot be silently replaced by a same-named local session if its remote list cannot be checked. It is registered mail: find the addressed recipient first, and do not hand the confirmed letter to a namesake.

原始 CHANGELOG

Original changelog額度用完時,原因與恢復時間說清楚
Added gateway spend-limit support to Claude Code's usage warning; the limit-reached message now names the cap, its reset time, and the operator's message (requires the gateway on 2.1.225)
Original changelog進陌生資料夾前,agents 也會先問你
Added a workspace trust prompt to `claude agents` for untrusted directories, matching the behavior of `claude`
Original changelog登入短暫失靈,不再把長期憑證換掉
Fixed a transient 401 replacing a long-lived `CLAUDE_CODE_OAUTH_TOKEN` with a stored login's short-lived token, breaking headless sessions until restart
Fixed MCP OAuth servers on macOS intermittently failing with a burst of 401 errors, as if never authenticated, after a keychain read timed out
Original changelog自動模式被拒後,會換路而非原地重試
Fixed auto mode counting a safety-filter refusal of its own permission check toward the consecutive-block limit; the action is still denied, but the model is now told to move on rather than retry
Original changelog跨工作階段訊息不再無聲停在半路
Fixed cross-session messages staying parked without a notice or expiry in headless sessions and during startup
Original changelog遠端控制重連後,不再把舊進度越堆越多
Fixed conversation history breaking on Remote Control session resume after very large conversations were compacted
Fixed Claude Code on the web sessions being misreported as stuck, re-sending a growing event backlog on every reconnect
Original changelog遠端控制收到的照片,直接交給 Claude 看
Improved Remote Control: photos attached from the Claude app are now shown to Claude directly instead of being read from disk with a separate tool call
Original changelogagents 不會因滑過別的專案就走錯資料夾
Fixed hovering over a session in another project in the agents list changing the directory the next agent starts in
Fixed `claude self-hosted-runner` registering and then failing every session when `--base-dir` cannot be created or written; it now exits at startup with a clear error
Original changelogVS Code Focus 視圖不再把待辦與答案藏掉
[VSCode] Fixed Focus view folding away the latest to-do list, a pending question's context, and settled answers; thinking-only folds show "Thought for Ns" and re-collapse when their turn completes
Original changelog可直接傳話給其他機器上的遠端工作階段
SendMessage can now start a conversation with your Remote Control sessions on other machines by name (`ListAgents` shows them as `name [ref]`), instead of only replying after they message you first
SendMessage: a Remote Control recipient you already confirmed is never swapped for a same-named session on this machine when its own list couldn't be checked