Claude Code 2.1.248
新功能 14 項
受限模式只留下較安全的工具
想讓 Claude Code 在較窄的範圍內工作,可直接啟動 claude --restricted,或執行 CLAUDE_CODE_RESTRICTED=1 claude。它會移除能執行指令或程式碼的內建工具,也移除 WebFetch;若在 --tools 明確點名,該工具仍可保留,所以這不等於完全斷網。檔案工具只能碰工作目錄,bypassPermissions 會被拒絕,user、project、local 三種設定檔都會忽略。⟦好比出差只帶精簡工具包:不是把外界封死,而是只帶這趟明確需要、且活動範圍受限的器材。⟧
官方原文
Added --restricted (or CLAUDE_CODE_RESTRICTED=1): removes the built-in tools that run commands or code and WebFetch (unless named in --tools), keeps file tools inside the working directory, refuses bypassPermissions, and ignores user, project and local settings files
每個代理可指定提示詞保存期
不同代理需要保留提示詞多久,現在能寫進各自的代理檔頭。⟦像冰箱裡每盒剩菜各貼保存期限,reviewer 可留久一點,短任務則早點清掉,不必整台冰箱共用同一張標籤。⟧experimental.cacheTtl 可設為 "5m" 或 "1h",代表提示詞快取(把已處理內容暫存起來直接用)的存活期。只有未另外設定子代理 TTL 時,這個每代理值才會生效。可複製以下片段到代理檔頭:
```
---
name: reviewer
experimental:
cacheTtl: "1h"
---
```
官方原文
Added experimental.cacheTtl ("5m" or "1h") to agent frontmatter: a per-agent prompt cache TTL used when no subagent TTL setting is configured
自架執行器可改用好認的標籤
一排自架執行器若都只顯示主機名稱,管理時不一定看得出各自的用途。現在可用 --client-label 覆寫註冊標籤;不指定時仍以主機名稱為預設。直接執行:
```
claude self-hosted-runner --client-label ci-box-3
```
也能先設環境變數(程式啟動時讀取的外部設定):
```
export SELF_HOSTED_RUNNER_CLIENT_LABEL=ci-box-3
```
兩種寫法都會覆寫註冊標籤。⟦這像搬家紙箱不再只寫「第 N 箱」,而是標成「廚房」或「書房」;內容沒變,找箱子的人卻能從標籤直接知道用途。⟧
官方原文
Added claude self-hosted-runner --client-label <label> (or SELF_HOSTED_RUNNER_CLIENT_LABEL) to override the label the runner registers with (default: hostname)
受管設定抓不到時會說明原因
公司集中下發的設定若沒載入,使用者以前只看到結果,難以判斷從哪裡查起。⟦像大樓物業公告不只寫「服務未啟用」,還貼出是資料載入失敗,或這棟樓本來就不向該來源取件。⟧現在開機會先顯示警告;/doctor 與 /status 也會多一行診斷,說明載入失敗,或為何根本沒有抓取。後者涵蓋 Bedrock、Vertex、第三方供應商,以及自訂 ANTHROPIC_BASE_URL。這些訊息不會替你修設定,但會把排查起點直接放到畫面上。
官方原文
Added server-managed settings diagnostics: a startup warning when the settings fail to load, and a /doctor and /status line explaining a load failure or why they weren't fetched (Bedrock/Vertex/third-party provider, custom ANTHROPIC_BASE_URL)
大型儲存庫推送前先提醒 workflow 權限
用 /web-setup 準備 GitHub 流程時,如果 GitHub CLI token(命令列工具使用的授權令牌)缺少 workflow scope,畫面現在會先警告你。scope 是這張令牌被允許做的事。缺少它時,對非常大的儲存庫執行 push 可能被拒絕;原文說的是「可能」,不是每次都會失敗,也不是 /web-setup 會自動補權限。⟦居家水電施工前,師傅先看電表容量能不能帶動大型機具:容量不夠時,大工程可能跳電,所以先提醒你確認;他不會說工程一定做不成,也不會替你換電表。⟧
官方原文
Added a warning in /web-setup when the GitHub CLI token lacks the workflow scope, since pushes to very large repositories can be rejected without it
企業成員可向管理員申請提高用量
企業組織的成員碰到用量上限時,多了一個清楚的申請入口:/usage-credits 會讓你向管理員要求提高上限。適用對象是透過 AWS Marketplace 計費、自助企業版與企業試用的組織。另一方面,限流(短時間請求太多而被暫緩)、用量與快速模式訊息,若偵測到你的組織沒有這個指令,就不再叫你執行它;例如管理員用 DISABLE_EXTRA_USAGE_COMMAND 隱藏時也算。⟦它像公司採購與請款窗口:符合制度的人有表可送,不提供這項流程的部門也不會收到「請去填那張不存在的表」的通知。⟧
官方原文
Added /usage-credits for Enterprise organizations billed through AWS Marketplace, self-serve Enterprise, and Enterprise trials, so members can request a higher usage limit from their admin
Fixed rate-limit, usage, and fast-mode messages telling you to run /usage-credits when that command isn't available for your organization (e.g. hidden with DISABLE_EXTRA_USAGE_COMMAND)
跨工作階段傳訊支援更多環境
同一台機器上的工作階段,現在可在 Bedrock、Vertex、Foundry,以及關閉遙測(回傳運作資料供觀察)的情況下使用 SendMessage 與 ListAgents。⟦它像辦公室桌間的氣送管:膠囊不只通往原本的桌區,新區也接上管路;預設投入口故障時,還會改走每位使用者各自私有的備用管。⟧預設 /tmp 無法使用時,備援位置是每位使用者私有的 /tmp 目錄,通知與 /status 會說明實際目錄,方便修正。用輸入法打出的韓文等非拉丁名稱,如今也能被其他工作階段的 @ 提及正確比對。
官方原文
Added cross-session messaging (SendMessage / ListAgents) between sessions on the same machine on Bedrock, Vertex, and Foundry, and when telemetry is disabled
Improved cross-session messaging: falls back to a private per-user /tmp directory when the default one can't be used, and the notice and /status name the directory to fix
Fixed @-mentions of other sessions not matching names typed with non-Latin characters (for example Korean entered through an IME)
跨工作階段訊息的路由與信任更嚴謹
crossSessionInbound 若填成無效值,現在不會再靜默略過。這個鍵位於 ~/.claude/settings.json;原文沒有列有效值,因此只能確認要改成文件所列的有效值。user settings 會先警告並暫扣跨工作階段訊息,managed settings 則警告並拒收,兩者都維持到設定修正為止。Linux 使用者命名空間裡,對未對應擁有者的 root 等效信任縮到正規系統目錄。子代理替父工作階段向別處執行 SendMessage 時,回覆會回到父工作階段的對話。⟦仍是桌間氣送管:錯標籤的膠囊會被暫放或退回,內部管線的認定範圍縮小,代送件的回覆則送回委託人的桌面。⟧
官方原文
Fixed an invalid crossSessionInbound value being silently ignored: it now warns and holds cross-session messages (user settings) or refuses them (managed settings) until fixed
Changed cross-session messaging in Linux user namespaces: root-equivalent trust for unmapped owners is limited to canonical system directories
Changed SendMessage from a subagent to another session: the result now notes that any reply is delivered to the parent session's conversation, not to the subagent
代理看板的鍵盤與按鍵分工恢復正常
在 Windows 從工作階段卸離後,或終端機分頁仍留在 win32-input-mode 時,claude agents 清單不再對鍵盤沒反應。派工輸入框的按鍵也分清工作:shift+enter 插入換行,ctrl+enter 才會派工並附加。⟦同一座工作坊的工單看板上,卸下工單或換到特殊書寫模式後,筆仍能在清單上劃記;寫到下一行與把工單送去處理,也各有自己的按鍵。⟧
官方原文
Windows: Fixed the claude agents list not responding to the keyboard after detaching from a session, or when launched in a terminal tab left in win32-input-mode
Changed shift+enter in the agent view dispatch input to insert a newline (matching the prompt); ctrl+enter now dispatches and attaches
Ultrareview 啟動前先查 GitHub 存取權
準備執行 /ultrareview <PR#> 時,Claude Code 會先確認與 Claude 帳號連結的 GitHub 帳號能否存取該儲存庫。若權限不符,畫面會在啟動前說明如何修正,不必等雲端工作階段建立後才失敗。檢查的是「已連結的 GitHub 帳號」與目標儲存庫之間的存取關係;不是只看你本機目前登入哪個帳號。⟦這像訂會議室前先確認會員資格是否涵蓋那一間,若不涵蓋就先告訴你怎麼補,而不是等所有人抵達才宣布不能使用。⟧
官方原文
Improved /ultrareview <PR#> to check before launch that the GitHub account connected to your Claude account can access the repository, and to explain how to fix it, instead of failing after the cloud session starts
Workflow 工具說明大幅瘦身
Workflow 工具每次出場,都會把自己的說明帶進提示詞。⟦現在像把隨身操作卡從厚手冊精簡成一張重點卡,約 5.7k token 的內容降到約 1k;需要寫腳本時,再拉開抽屜讀隨附的 workflow-authoring 技能。⟧token(AI 處理與計費的文字單位)占用因此變小,而腳本撰寫參考資料沒有消失,只是移到技能裡。這項改進講的是 Workflow 工具的提示詞占用,不是工作流程執行速度或輸出品質的數字保證。
官方原文
Improved the Workflow tool's prompt footprint: its description is now about 1k tokens instead of 5.7k, with the script-writing reference moved into a bundled workflow-authoring skill
PR 沒變時少查 GitHub,有動作就刷新
提示列上的 PR 徽章需要向 GitHub 查狀態,但合併請求沒有變動時,反覆查同一答案只會增加請求。現在未變動期間會降低檢查頻率;一旦你 push,或執行 gh pr 指令,徽章仍會立刻刷新。這不是取消自動檢查,也不是讓所有更新都延後,而是把明確會改變 PR 的動作保留為即時觸發點。⟦園丁不再頻繁量同一株毫無變化的幼苗;澆水或修剪後卻會立刻再量,因此少做重複紀錄,也不漏掉剛發生的變化。⟧
官方原文
Improved the prompt-footer PR badge to check GitHub less often while the pull request is unchanged; a push or a gh pr command still refreshes it right away
Loop 的自由節奏模式全面可用
/loop 現在不必因模型供應環境不同而少一種運作方式。⟦節拍器的自由速度模式如今能配每種樂器:演奏者可自己調節拍,也能讓樂器在沒有提示時按預設節奏繼續,不再因換了演奏平台就少掉選項。⟧自訂節奏的動態模式與不帶提示的自主預設,現在一律可用,也包含 Bedrock、Vertex、Foundry。這項變更是把既有模式的可用範圍拉齊;原文沒有新增其他 /loop 模式,也沒有指定哪一種節奏較快。
官方原文
Changed /loop: self-paced dynamic mode and the no-prompt autonomous default are now always available, including on Bedrock/Vertex/Foundry
Anthropic 遙測錯誤不再冒充 OTel 問題
看到 [3P telemetry] OTEL diag error,維運人員很容易以為自己的 OTel collector(集中收集運作資料的服務)壞了,但失敗可能來自 Anthropic 自己的遙測匯出。現在這類失敗改在 debug 層級記成 [Anthropic telemetry],來源與嚴重度都更貼近實況。它沒有修復匯出失敗本身,而是避免把責任指向使用者的 OTel collector。⟦廠內廣播把自家設備雜訊標成內部訊息,不再混進外部警報頻道;維修人員便不會跑去拆一台其實正常的外接警報器。⟧
官方原文
Changed Anthropic telemetry export failures to log at debug level as [Anthropic telemetry] instead of [3P telemetry] OTEL diag error, so they are not mistaken for your OTel collector failing
效能 1 項
例行環境變數不再要求核准設定
管理員調整 client-side timeout、MCP startup-mode 或 stream-watchdog 的環境變數後,Claude Code 不會再跳出設定核准提示。環境變數是程式啟動時讀取的外部設定;這次原文沒有公布各自的確切變數名稱,因此不該自行猜名稱照抄。改動只縮減這幾類受管設定的確認干擾,沒有說其他設定也免核准。⟦沿用物業管理的故事,這等於例行調整空調等候時間、設備啟動方式與監看器時,不必每次再請住戶簽一張同意單。⟧
官方原文
Improved managed settings: client-side timeout, MCP startup-mode, and stream-watchdog env vars no longer trigger the settings-approval prompt
修正 19 項
長工作階段不再定期忘掉前文
長工作階段裡請 Claude 處理複雜工作,最怕它途中重新整理工具說明,連延伸思考的脈絡也跟著掉了。⟦這像廚房備料檯每隔一段時間又把切好的材料倒回去重切;現在 OAuth token 更新後,工具定義不會重排,備好的料能原樣接著用。⟧先前這種提示詞快取(把已處理內容暫存起來直接用)失效大約每小時發生一次。帳號進入用量超額後再用 --resume 接續時,ScheduleWakeup 的定義也固定了,第一輪不會因此整份重算。
官方原文
Fixed a prompt-cache miss (and lost extended-thinking context) roughly once an hour in long sessions, caused by tool definitions being re-rendered after an OAuth token refresh
Fixed the ScheduleWakeup tool definition changing between a session and its --resume when the account had entered usage overage, causing a full prompt-cache miss on the resumed session's first turn
代理看板不再復活舊工作或重複開工
背景工作隔著關機再回來,最需要的是看清它真正停在哪。⟦工作坊的工單看板現在照實把數週前的工單標在停工點;要重開會先問,而不是工坊一開門就讓舊機器自行轉起來。⟧新建工作階段也不再誤開較舊的對話,或吞掉你剛打的提示。若一個已停止的工作階段早已在另一個終端機接續,再從 claude agents 打開不會啟動第二個行程;該列會直接說它已在某個終端機開啟。
官方原文
Fixed agent view resurrecting a weeks-old background session after the machine was off: such a session now shows as stopped at its real end, and opening it asks before resuming its saved conversation
Fixed agent view sometimes opening an older conversation, and dropping the typed prompt, when starting a new session
Fixed claude agents: opening a stopped session that you already resumed in another terminal no longer starts a second process on that conversation; the row now says it is open in a terminal
代理看板啟動時的信任與資料防護補好
打開 claude agents 時,該問的工作區信任提示不會因設定了 CI 環境變數(程式啟動時讀取的設定值)就被跳過。PR 狀態快取(把查過的合併請求結果暫存起來)混入損壞資料時,啟動也不再崩潰。⟦同一座工作坊的工單看板前,值班人員仍會要求你先確認能否使用工作區;即使收納盒混進一張損壞工單,也不會讓整塊看板在開門時倒下。⟧
官方原文
Fixed claude agents skipping the workspace trust prompt when the CI environment variable is set
Fixed claude agents crashing on launch when the PR-status cache held a malformed entry
掛鉤答錯不再讓背景工作乾等
背景工作階段卡住不動時,原因若是 PermissionRequest 或 PreToolUse 掛鉤(特定事件發生時觸發的小程式)印出無效答案,claude agents 現在會直接列出掛鉤名稱與 schema error。schema error 是回覆結構不符規格。掛鉤 stdout(程式的一般文字輸出)若印出看似物件的 {…},卻不是合法 JSON,也不再被當成普通文字略過,而會回報掛鉤錯誤與解析訊息。⟦如同收件櫃檯看不懂表單時,退回並標出哪一欄格式錯,而不是把表單壓在桌下,讓申請人永遠等不到消息。⟧
官方原文
Fixed background sessions waiting silently when a PermissionRequest or PreToolUse hook prints an invalid answer: the claude agents row now names the hook and the schema error
Fixed hooks silently treating a stdout {…} object that isn't valid JSON as plain text; it's now reported as a hook error with the parse message
背景工作樹不再被誤刪或誤判
工作樹(Git 讓同一專案平行開多份副本的功能)分支若已併入你簽出的預設分支,例如本機 main,即使還沒 push,claude agents 與 claude rm 也不會再以「有提交尚未推送」拒絕刪除。反過來,仍在執行的背景工作階段會持有工作樹的鎖。清理程序與 git worktree remove 會略過它,不會讓工作中的代理突然失去簽出內容。⟦這像共用熱座位的個人置物櫃:物品已歸檔就能正常清櫃,仍有人使用時則掛上鎖,清潔人員不會誤收。⟧
官方原文
Fixed claude agents and claude rm refusing to delete a session ("has commits that are not pushed anywhere") when its worktree branch was already merged into your checked-out default branch (e.g. local main) but not yet pushed
Fixed a backgrounded worktree session losing its checkout: the background session now holds the worktree's lock while it runs, so cleanup and git worktree remove leave it alone
token 更新鎖碰撞時改成可重試
另一個 Claude Code 行程正在更新 token(用來證明登入狀態的授權令牌),剛好你的工作階段 token 又過期時,過去會直接把你送回登入畫面。⟦電話總機遇到線路佔用,現在會給可重撥的佔線音,而不是把整通電話掛斷、叫你重新辦一次通話身分。⟧修正後,這次請求會以可重試的錯誤失敗。它沒有說請求會自動成功,也沒有改變登入方式;差別是短暫的更新鎖衝突不再被誤當成你需要重新登入。
官方原文
Fixed being sent to the login screen when another Claude Code process held the token refresh lock while the session token had expired; the request now fails with a retryable error instead
主控台登入不可用時改走 API 金鑰
有些機器已設定 ANTHROPIC_API_KEY,或使用 API 金鑰輔助程式,因此無法採用 /login 建議的 Console 登入。以前流程還沒顯示登入網址,就先以 OAuth 錯誤中止。現在 /login 會改走 API 金鑰登入,讓既有憑證來源能接手。這是登入方式的備援,不是上一張 token 更新鎖的重試機制。⟦沿用電話總機的故事:指定分機打不通時,接線生改接另一條已有線路,而不是在播出號碼前就結束通話。⟧
官方原文
Fixed the recommended Console sign-in in /login failing with an OAuth error before showing a sign-in URL on machines where it can't be used (for example when ANTHROPIC_API_KEY or an API key helper is set); it now falls back to the API-key sign-in
Claude apps 閘道登入與模型探索不再卡住
連上 Claude apps 閘道時,若流程需要受管設定的安全核准對話框,/login 不會再卡住。另一種情況是 apiKeyHelper 成為唯一憑證來源;過去即使開啟閘道模型探索,探索也完全不執行,現在已能運作。原文點名的環境變數是:
```
CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY
```
這個環境變數(程式啟動時讀取的外部設定)只控制原文所說的模型探索。⟦電話總機遇到核准步驟不再讓來電停在保留音;只留下助理分機作為聯絡方式時,也仍會循線找出可用分機。⟧
官方原文
Fixed /login to a Claude apps gateway hanging when the managed-settings security approval dialog was required
Fixed gateway model discovery (CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY) never running when apiKeyHelper is the only credential
MCP 項目照真實範圍歸類
MCP(讓 AI 連接外部工具的協定)項目現在會按真實範圍顯示。專案 .mcp.json 中宣告 claude.ai connector type 的項目,不再列在受信任的「claude.ai」標題下,而會出現在真正範圍。型別宣告不會改變它的歸類。⟦超市補貨時,貨會照真實走道標籤上架,不因外箱印著「主打」就擺到促銷區。⟧
官方原文
Fixed /mcp listing a project .mcp.json entry that declares the claude.ai connector type under the trusted "claude.ai" heading; it now appears under its real scope
MCP 授權標頭遇 401 會照文件重試
MCP(讓 AI 連接外部工具的協定)server 的 headersHelper 若提供 Authorization header,遇到 401 時,現在會照文件重跑 helper 並重試呼叫,不再落入 OAuth discovery。⟦自動販賣機把投入的硬幣退回時,會重新讀取那枚硬幣,讓你再按一次;不會鎖住要你改綁別的付款方式。⟧
官方原文
Fixed MCP servers whose headersHelper supplies the Authorization header falling into OAuth discovery on a 401 instead of re-running the helper and retrying the call as documented
桌面工作階段不再一到清理期就消失
你在 Claude Desktop 或 Cowork 開的工作階段,只要應用程式裡還留著,它的逐字稿就不會再因為例行清理而在 30 天後被刪掉。如果你的組織有自己的保留規則,仍照組織的走。想給這個「不刪」設一個期限,就到 ~/.claude/settings.json 加一行,數字換成你要保留的天數(範例是 30):
```
{"desktopSessionCleanupPeriodDays": 30}
```
⟦像博物館庫房定期清點時,正在展廳裡的展品先不列入下架清單;但館方仍可訂一條規矩,這種展品最多留展多久就要收回。⟧
官方原文
Fixed Claude Desktop and Cowork sessions disappearing after 30 days: the transcript cleanup now keeps desktop-written sessions while they are in the app (unless org policy manages retention); the new desktopSessionCleanupPeriodDays setting caps the exemption
查看日誌結束後終端機會恢復原狀
跑完 claude logs 回到原本的終端機後,滑鼠操作或貼上方式不該還像停留在日誌介面。這次修正會在離開時關掉三種先前殘留的模式:mouse tracking、bracketed paste,以及 alternate screen。它們分別影響滑鼠事件、貼上內容的邊界標記與終端機使用的替代畫面。修正只保證 claude logs 不再把這些模式留著,沒有改你的其他終端機設定。⟦像借用工作檯時,暫時開了跟手移動的工作燈、替送來的材料加上起迄標籤,並鋪上一層暫用檯面;離開前逐一關燈、取下標籤、收起檯面,讓原本的工作檯恢復原狀。⟧
官方原文
Fixed claude logs leaving mouse tracking, bracketed paste and the alternate screen switched on in the terminal it was run from
終端機文字照原字排版且對齊
終端機裡幾個看似小問題,都指向同一件事:文字應照原字顯示,欄位也該站在正確位置。⟦招牌印刷店拿到什麼字就排什麼字,emoji 不從中間裁斷,每一行也對準同一條格線;現在畫面照這套原則修正。⟧/model 與快速模式切換通知中的模型名稱改用程式碼樣式,因此 [1m] 這類字尾會按字面顯示,不再變連結。信任對話框的儲存庫權限規則很長時,不再因從 emoji 中間截斷而出現亂碼。開機警告也不再比其餘逐字稿右移一欄。
官方原文
Fixed model names in /model and fast-mode switch notices to render as code, so suffixes like [1m] display literally instead of as a link
Fixed the trust dialog's list of repo permission rules showing a garbled character when a long rule was cut off in the middle of an emoji
Fixed startup warnings (e.g. "N MCP servers need authentication") rendering one column right of the rest of the transcript
權限模式指示器不再被退出提示遮住
你按下 ctrl+c,接著立刻按 shift+tab 切換權限模式時,畫面會同時需要顯示退出提醒與權限狀態。以前「Press Ctrl-C again to exit」提示會蓋住權限模式指示器,讓人無法確認剛才是否切換成功。現在兩者不再互相遮擋;修正的是這個緊接按鍵的顯示順序,沒有改 ctrl+c 或 shift+tab 本身的功能。⟦這像汽車儀表板的警示燈不再被臨時貼上的提醒紙蓋住:提醒仍在,但駕駛也能看見目前模式。⟧
官方原文
Fixed the permission mode indicator staying hidden behind the "Press Ctrl-C again to exit" hint when you press shift+tab right after ctrl+c
敏感檔案的暫存副本不再上雲
用 /ultrareview 或從本機播種雲端工作階段時,未提交修改可能藏在編輯器自動留下的暫存、臨時或備份副本。現在 prod.env 類檔案、*.tfvars,以及憑證檔的這些副本都不會上傳,例如 key.pem.tmp、id_rsa.swo;修改會留在你的機器上。這項修正鎖定的是這些敏感檔案及其副本,不代表所有未提交檔案一律不上傳。⟦寄出一疊工作文件前,先把機密頁和影印時留下的副本收回保險箱,只讓可寄的內容離開辦公室。⟧
官方原文
Fixed /ultrareview and locally seeded cloud sessions uploading uncommitted edits to prod.env-style and *.tfvars files, or to editor swap, temp, and backup copies of credential files (e.g. key.pem.tmp, id_rsa.swo); they now stay on your machine
Remote Control 重連後補回最新畫面
Remote Control 工作階段在 CLI 靜默重連後,連線裝置偶爾會停在舊畫面:該出現的權限提示沒來,最新訊息也看不到。⟦這像電梯樓層面板短暫斷線又接回後,會補亮已按下的樓層並顯示最新行程,而不是讓乘客對著過時的燈號猜電梯要去哪。⟧這個偶發同步問題已修正,裝置會重新看到權限提示與最新訊息。修正針對 CLI 靜默重連後的顯示缺漏,原文沒有宣稱所有 Remote Control 連線問題都因此解決。
官方原文
Fixed Remote Control sessions occasionally never showing a permission prompt or the latest messages on the connected device after the CLI silently reconnected
Remote Control 前方有全域旗標也能讀參數
包裝程式有時會在 claude remote-control 子命令前插入選項,使用者也可能先放全域旗標。過去只要前方多了這些內容,子命令自己的 --spawn、--name 等旗標就可能被拒絕。現在解析順序已修正,前面的全域旗標或包裝程式注入選項,不會妨礙 remote-control 讀取自己的旗標。⟦延續電梯面板:前一位乘客先按了樓層,不會讓面板拒絕你接著按的樓層;先後輸入都能落到各自該控制的部分。⟧
官方原文
Fixed claude remote-control rejecting its own flags (e.g. --spawn, --name) when a global flag or a wrapper-injected option precedes the subcommand
容器憑證尚未可讀時雲端工作不再失敗
雲端工作階段啟動時,容器裡的工作階段憑證可能還處於讀不到的短暫過渡期。以前偶爾會因此直接啟動失敗;現在流程會處理這段先後差,避免把「憑證尚未可讀」當成最終失敗。原文只說修正啟動時的偶發問題,沒有公布等待多久、重試幾次,也沒有表示無效憑證會被接受。⟦碼頭裝卸時,貨物還吊在吊臂上、尚未完成交接,作業隊不會當成沒送到,等貨落地再接手;它處理的是交付時間差,不是把未到貨物算成已入庫。⟧
官方原文
Fixed cloud sessions occasionally failing at startup when the container's session credentials were not yet readable
VSCode 找不到舊對話就直接開新的
VSCode 聊天分頁若對應的工作階段從未存檔,本來沒有舊對話可載入,卻會一直卡在「No conversation found」。現在遇到這個條件,分頁會直接建立新對話,讓你可以開始輸入。修正只針對「從未存檔」的工作階段,不是把遺失的歷史內容找回來;畫面也不會再停在一個無法前進的錯誤狀態。⟦這像繪圖軟體找不到任何既有存檔時,直接給你一張新畫布,而不是反覆顯示找不到舊畫,卻連新作品也不讓開始。⟧
官方原文
[VSCode] Fixed a chat tab getting stuck on "No conversation found" when its session was never saved; it now starts a new conversation instead