usage

Claude Code 2.1.293

工具與目錄
在這頁

新功能 7 項

01

Claude Haiku 5.5 上線,百萬上下文與新費率登場

想快速處理海量文字時,官方 API 的預設輕量模型迎來升級。新版 claude-haiku-5-5 具備 1M 的上下文(模型單次能容納的文字容量)。每百萬 token(AI 處理與計費的文字單位)的輸入與輸出費用為 0.10 與 0.50 美元,超過 100K 的提示詞則為 0.50 與 2.50 美元。⟦好比小貨車的貨斗能裝入百萬單位的資料,計費看的是裝入多少資料:提示詞超過十萬單位,就適用另一組輸入與輸出費率。⟧

官方原文

Added Claude Haiku 5.5 (claude-haiku-5-5), now the default Haiku model on the Anthropic API — 1M context, $0.10/$0.50 per Mtok ($0.50/$2.50 for prompts over 100K)

02

子代理型態精準識別,工具停用範圍不再誤判

透過腳本監控多個子代理或自訂工具清單時,狀態通知與工具判定變得更明確。subagentStatusLine(提供子代理狀態的資料)新增 agentType 欄位,讓腳本分辨自訂代理類型。以前主機端、權限規則或 --tools 清單移除 SendMessage 後,Claude 仍可能被要求用它繼續子代理或傳訊;現在包含恢復的工作階段都已修正。子代理與 --agent 工作階段若只是自己的工具清單未列入某個內建工具,也不再被告知整個工作階段都停用它。⟦彷彿為分工小組發放專屬識別證,以前某位組員手邊沒剪刀,廣播就誤喊全公司禁用;現在會分清是誰沒列入工具,也不會要求使用已拆除的分機。⟧

官方原文

Added agentType to the subagentStatusLine payload, so scripts can tell custom subagent types apart

Fixed Claude being told to continue or message subagents with SendMessage in sessions, including resumed ones, where a host, a permission rule or a --tools list removed that tool

Fixed subagents and --agent sessions being told a built-in tool was disabled for the whole session when only their own tool list left it out

03

Chrome 瀏覽器控制強化,分頁與切換不再斷線

讓 Claude 操控 Chrome 瀏覽器抓取網頁時,分頁反應與連線提示變得更友善。瀏覽器回報分頁較慢時,頁面操作被拒絕的次數減少。在以 --chrome 啟動的工作階段中輸入 /tui 指令,不再意外切斷瀏覽器連線,並會遵守 --no-chrome 參數。在雲端工作階段找不到瀏覽器且有多個組織時,提示會說明擴充功能需登入相同組織與切換方式。⟦就像請助理操作電腦,以前分頁資訊回報較慢時,操作容易遭拒;現在這類拒絕變少,切換檢視模式時也不會把瀏覽器連線踢掉。⟧

官方原文

Fixed /tui disconnecting Claude in Chrome in a session started with --chrome, and ignoring --no-chrome

Improved Claude in Chrome: fewer page actions are refused when the browser is slow to report its tabs

Improved the Claude in Chrome message in cloud sessions when the browser can't be reached: if you belong to more than one organization, it now says the extension must be signed in to the same one, and how to change that

04

單檔 Bash 檢視載入規則,差異提示標明背景變更

當 Claude 使用終端機指令查看檔案或編輯程式碼時,專案規則的觸發與變更紀錄更完整。以前透過 Bash 工具,以只查看單一檔案的 cat、head、tail、sed -n 或 grep 指令而非 Read 工具查看檔案,會漏載路徑規則與巢狀 CLAUDE.md。現在這些單檔檢視指令也能正確載入專屬規則。Bash 編輯的差異提示現在也明確加註,列出的檔案是在指令執行期間發生變更(可能包含其他背景行程的寫入)。⟦彷彿巡檢員改走指定側門查看一間庫房,以前漏拿該區守則,現在也能領到;驗收單則清楚說明修改發生在作業期間,可能包含其他班次留下的痕跡。⟧

官方原文

Fixed path-scoped rules and nested CLAUDE.md files not loading when Claude views a file with a single-file cat, head, tail, sed -n or grep command in the Bash tool instead of the Read tool

Improved the Bash edit diff note to say the listed files changed while the command ran, which can include writes by other processes

05

成品套件固定版本,發布路徑不再閃過異常字樣

讓 Claude 為你產生成品(可直接預覽的網頁或獨立程式碼元件)時,會用到外部程式庫,也會看到發布紀錄。在建立成品時,Claude 現在會將外部程式庫固定到至少兩週前的確切版本。在發布成品且內容還在串流時,紀錄列短暫顯示無法列印路徑字樣 Artifact("(unprintable path)") 的問題也已修好。⟦宛如工匠製作展示樣品,選料清單現在寫明至少兩週前的確切零件版本;交件清單也不再於交付途中短暫冒出讀不出的地址字樣。⟧

官方原文

Fixed the Artifact tool's transcript row briefly reading Artifact("(unprintable path)") while a publish call was still streaming in

Improved artifacts: Claude pins libraries to exact versions two weeks old or older

06

企業策略提早載入,逾時自動重試啟動更順

在企業或團隊組織環境中使用 Claude 時,啟動速度與政策設定更流暢。系統現在會提早抓取組織政策與受管設定,遇到停滯請求時會在 3 秒後自動重試。這減少了連線不順時的卡頓等待。過去當 desktop 政策設定 Claude Desktop 的內建瀏覽器鍵(例如 builtinBrowserEnabled)時,應用程式閘道會拒絕啟動,該問題現已修復。⟦正如企業大樓的智慧門禁系統,提早向總部更新通行名單,遇到讀卡延遲 3 秒便自動重試;以前總部設定特定項目會讓閘門無法啟動,現在這項啟動問題已修好。⟧

官方原文

Fixed the Claude apps gateway refusing to start when a desktop policy sets Claude Desktop's built-in browser keys, such as builtinBrowserEnabled

Improved startup for Team and Enterprise organizations: policy and managed settings are fetched earlier, and a stalled request is retried after 3 seconds

07

[Claude Tag] 管理後台規則放寬,連接器狀態更準確

負責在後台管理 Claude Tag 權限與連接器的管理員,現在享有更大的設定彈性。單一工作區與全組織頁面的頻道規則上限從 20 條放寬至 50 條,能設定更細緻的規範。管理頁面現在會主動列出尚未連線的 Enterprise Grid,並提供 Connect 按鈕以供直接連線。在管理設定中,存取組合的 Add a connector 對話框(加入連接器的視窗)曾在一次 Google 登入後,將所有 Google 連接器誤標為已連線;這項顯示問題已修復。⟦彷彿管理主控台擴充了配電盤容量,不僅插槽數量大增,未接通的跨區線路也有專屬開關;加入插頭的面板不再因接通一個,就把所有 Google 插頭的燈號都誤亮。⟧

官方原文

[Claude Tag] Fixed an access bundle's Add a connector dialog in Claude Tag admin settings showing every Google connector as connected after one Google sign-in

[Claude Tag] Improved Claude Tag admin settings to list an Enterprise Grid that isn't connected yet, with a Connect button

[Claude Tag] Changed the limit on channel rules in Claude Tag admin settings from 20 to 50 for each workspace and for the organization-wide Slack page

修正 12 項

08

代理清單顯示更穩定,授權與名稱不再走樣

在開啟多個背景工作階段時,代理清單與底欄資訊現在能正確反映現況。以前系統短暫無法讀取工作階段資料夾(例如開啟太多檔案)時,底欄代理數量會消失,清單也會被佔位列洗掉。現在遇到讀取異常不會再弄亂介面。命名為 worker 的自訂代理在啟動時不再被誤標為 Agent,結束後詳細對話框標題也會保留原本類型。claude agents 以前提供跳過權限檢查的選項,但同意若只存在 .claude/settings.local.json 或 --settings 檔案中,背景工作階段會忽略該選項;現在會先詢問同意,仍忽略該選項的工作階段會持續顯示簡短提示。⟦像查看外勤人員排班表,以前資料夾卡住會讓整排名字消失,代號還會印錯;現在名牌固定正確,遇到權限異動也會清楚貼上提醒便條。⟧

官方原文

Fixed the footer's agents count disappearing after a momentary failure to read the sessions folder (for example, too many open files)

Fixed a custom agent named worker being shown as "Agent" when it starts, and the agent detail dialog's title losing the agent type once the agent finishes

Fixed claude agents offering bypass permissions that background sessions then ignored when consent was saved only in .claude/settings.local.json or a --settings file; it now asks for consent first, and a session that ignores bypass shows a short notice that stays

Fixed the agents view briefly replacing the session list with placeholder rows when the sessions folder could not be read (for example, too many open files)

09

背景切換邏輯修復,草稿與排隊訊息不再遺失

在 Claude 運作途中按左箭頭 ← 鍵將工作階段切到背景時,未送出的文字與等待回答的狀態不會再被意外打斷。以前只要輸入框留有未送出的字,或畫面正在等待你回答問題,按了 ← 在 10 秒後仍會切入背景。現在遇到這些情況會自動取消背景切換。當排隊中的訊息無法轉移至背景時,系統會停在原地並提示原因,不再遺失訊息。剛按 ← 切換時若遇到權限確認,按 Esc,或選擇 No 且不附回饋,也能如期停止該輪對話。⟦跟櫃檯交辦事項一樣,以前話講到一半或正在拿證件,店員等幾秒就直接拉下鐵捲門;現在手邊有草稿或問題,就會取消這次關門,不再強行把對話收進後台。⟧

官方原文

Fixed a message sent while Claude was working being lost when ← moved the session to the background; if a queued message can't move, ← now stays put and says so

Fixed ← backgrounding a session after 10 seconds while the prompt held unsent text (it now cancels the move) or a question was waiting for your answer

Fixed Esc, or No without feedback, on a permission prompt not stopping the turn when ← had just been pressed to move the session to the background

10

外掛工具宣告更彈性,測試與掛鉤機制修復

開發自訂模組或外掛時,工具註冊與測試流程更可靠。$.tool.register 支援 isDeferred,設為 false 會直接在提示詞列出工具結構,不必透過工具搜尋。外掛掛鉤(特定事件發生時被觸發的小程式)工作程序重啟時,不再漏掉模組的 classic.* 事件掛鉤,避免只剩設定掛鉤單獨回應。呼叫 $.session.append 的模組曾讓 claude plugin test 失敗,現在測試能透過 mock.session 讀回追加紀錄。裝有 Docker Desktop 的 Mac 上,~/.docker/bin 下的符號連結(指向另一位置的捷徑檔)曾讓 claude plugin eval 拒絕所有授予 Bash 權限的執行。這項錯誤已修好,拒絕訊息現在會指出憑證庫(存登入證明的地方)哪個部分持有該連結。

官方原文

Added isDeferred to $.tool.register for mods: false lists the tool's schema in the prompt from the start instead of behind tool search

Fixed a mod's hooks on classic.* events being skipped while the plugin hooks worker restarts, which left settings hooks to answer without them

Fixed claude plugin test failing for mods that call $.session.append; tests can read the appended rows back with the new mock.session

Fixed claude plugin eval refusing every Bash-granting run on Macs with Docker Desktop (links under ~/.docker/bin); the refusal now names which part of a credential store held the link

11

遠端操控串流更流暢,通知與歷史上傳修復

透過遠端操控或雲端環境進行對話時,長篇回覆的顯示與背景狀態更正常。以前在長對話中文字偶爾會整塊卡住才突然跳出,現在能順暢逐字顯示。憑證復原之後,系統不會再重複上傳工作階段一開始的歷史紀錄。透過 claude remote-control 指令開啟時,推播通知也不會再誤報遠端操控未啟用。⟦恰似架設一條清晰的即時廣播線路,以前講到長篇內容容易卡成大封包一口氣倒出來,重新連線還會重播開場白;現在字句平順送達,連線燈號也隨時保持準確。⟧

官方原文

Fixed replies in very long Remote Control and cloud sessions that could still appear a block at a time instead of streaming in

Fixed Remote Control uploading a session's starting history again after every credential recovery

Fixed PushNotification reporting "Remote Control inactive" in sessions started with claude remote-control

12

程式碼審查上傳修復,明確列出失敗原因

使用程式碼審查或 /ultrareview 上傳專案時,檔案檢查與錯誤指引更清晰。以前在 Linux 上,沙盒指令執行中可能因設定檔「無法解析」而誤拒部分儲存庫,例如儲存庫放在另一份已取出的專案副本裡。現在這項讀取問題已經修正。遇到分割索引檔案遭拒時,系統不再給出可能讓 Git 讀不到索引的錯誤修復建議。在 Code Review 的新增儲存庫對話框中,現在會逐一列出無法加入的儲存庫,並寫明各自的原因(例如缺少 GitHub 寫入權限)。⟦宛若包裹送進智慧安檢機,以前遇到多層包裝就會誤判退件,退件單還附上錯誤的拆封建議;現在檢查流程正常運作,退件時也會逐一列出缺漏的通行文件。⟧

官方原文

Fixed the /ultrareview upload on Linux wrongly refusing some repositories, such as one inside another checkout, over a settings file that "could not be parsed" while a sandboxed command was running

Fixed the /ultrareview upload's refusal over split-index files advising a git command that could leave git unable to read its index

[Code Review] Improved Code Review's Add a repository dialog to list each repository that couldn't be added and why, such as missing GitHub write access

13

技能說明傳遞修復,閒置同步間隔拉長

剛在網頁版修改了自訂技能的說明文字時,終端機裡的 Claude 曾有讀不到變更的問題。編輯同步自 claude.ai 的技能描述後,不再有時要開新對話或輸入 /clear,模型才讀得到修改後的說明。當沒有工作階段在使用時,背景同步檢查技能變更的間隔從每 10 分鐘調整為約每 40 分鐘一次。⟦猶如辦公室更新工作手冊,以前改了條文,有時得換一本新的會議筆記才能讓同事讀到;現在不再有這項障礙,無人上班時檢查手冊變更的間隔也拉長了。⟧

官方原文

Fixed a claude.ai-synced skill's edited description sometimes not reaching the model until a new conversation or /clear

Changed claude.ai skill syncing to check for changes about every 40 minutes, instead of every 10, while no session is in use

14

剪貼簿與鍵盤操作修復,選單切換不再跳轉

在終端機貼上文字、設定快速鍵或挑選模型參數時,各項輸入判定更精準。開頭與結尾單字相同的貼上文字,曾被當成手動輸入。貼上技能名稱後,緊接著輸入或貼上的重音符號若併入最後一個字母,曾讓技能名稱被當成手動輸入;兩項都已修好。在 /model 選單用左右箭頭調整思考深度時,不再越過最高或最低值循環跳轉,避免誤存 Low 為預設值。以前透過 /feedback 傳送報告時,按 Ctrl+O 或 Ctrl+Z 會跳回草稿清單,導致無法取消傳送;這個問題現在已修好。keybindings.json 接受單一空白鍵 " ",對 "ctrl+ k" 這類多餘空格則顯示警告。⟦好似打字機校正了進紙與按鍵機構,以前整段貼上會被認成逐字敲打,旋鈕轉到底還會跳回開頭;現在這些誤判與跳轉已修正。⟧

官方原文

Fixed /model effort ←/→ wrapping past the highest or lowest level, which could accidentally save Low as a model's default effort

Fixed pasted text that begins and ends with the same words sometimes being sent to Claude as if it had been typed

Fixed a skill name in pasted text being treated as typed when an accent typed or pasted right after the paste merged into its last letter

Fixed /feedback returning to the drafts list after Ctrl+O or Ctrl+Z while a report was sending, leaving the send impossible to cancel

Fixed keybindings.json checks: a lone " " (space key) is no longer reported as an error, and keys like "ctrl+ k" now get a warning

15

Vim 模式編輯修復,縮排與行刪除游標精確對齊

習慣在終端機開啟 Vim 模式編輯指令的讀者,縮排與刪除操作現在更符合直覺。以前在純空白行按 >> 或 << 縮排時,游標會漂移至行尾之外,導致接著按 x 無法刪除字元。現在游標會留在正確位置。在 Visual 模式以 V 接 d 刪除整行後,游標會停在首個非空白字元,且按下 . 鍵也能正確在該行重複操作。⟦正如同調整精準的排版尺規,以前在空白行按縮排會讓游標飄出紙外,整行刪除後游標也找不到落腳處;現在每次游標都落在字元上,重複操作能立刻生效。⟧

官方原文

Fixed vim mode >> and << on a line of only spaces leaving the cursor past the end of the line, where a following x deleted nothing

Fixed vim mode: after deleting whole lines in Visual mode (V then d) the cursor lands on the first non-blank, and . after it acts on the cursor's line

16

背景維護與清除指令修復,不再誤殺無關行程

執行日常維護或清理檔案時,行程管理與清理指令更穩定。執行 claude logs、claude stop、claude kill、claude rm 與 claude daemon status、claude daemon stop、claude daemon uninstall 時,不再因登入即將或已經過期而突然被登出。claude purge 以前遇到無法刪除的檔案或資料夾,可能靜默結束或卡在終端機;現在會刪完其餘項目、列出失敗清單,並以 exit 1 結束。Windows 停止狀態列、掛鉤或指令時,也不再誤殺拿到相同行程 ID 的無關程式。⟦就像打掃時不再因個別抽屜卡住而整隊停擺,也不會誤請隔壁訪客離場,而是清完其餘區域並留下待辦清單。⟧

官方原文

Fixed claude logs, stop, kill, rm and claude daemon status, stop, uninstall sometimes signing you out when your login had expired or was about to

Fixed claude purge stopping silently (exit 0, or a hang in a terminal) when a file or folder could not be deleted; it now deletes the rest, lists what it could not delete, and exits 1

Windows: Fixed stopping a status line, hook, or shell command sometimes terminating an unrelated process that had been given the same process ID

17

記憶整理不重複做工,提示訊息回歸既有設計

在長時間對話或自動執行任務時,Claude 對歷史進度的判斷與權限通知更穩定。以前觸發上下文壓縮(將過長記錄精簡以釋放空間的機制)時,Claude 可能把壓縮前做完的事誤判為剛做完,導致重複做工或收回成果。現在這項時序錯亂問題已經修復。自動模式拒絕訊息的改動已撤回,不再告訴 Claude 拒絕涵蓋整體結果而非單一指令。雲端容器重啟若遺失待執行的 /loop 喚醒或排程任務,不再通知 Claude,工作階段會維持休眠。⟦像秘書整理會議摘要,以前把舊筆記濃縮後容易搞混工作完成的時間,甚至把做好的事重做一次;現在這項時序判斷錯誤已修正。⟧

官方原文

Fixed Claude sometimes treating its own last actions before a context compaction as done after it, and retracting or redoing finished work

Reverted the auto mode denial message change from 2.1.281 that told Claude a denial covers the outcome, not only the exact command

Reverted the 2.1.290 fix for cloud sessions staying asleep after a container restart lost a pending /loop wakeup or scheduled task; Claude is no longer told, and the session stays asleep

18

外部工具連線修復記憶體洩漏,排序與輪詢負載優化

專案連接多個外部工具或在自託管環境大量運作時,記憶體佔用與伺服器負載更平衡。以前 HTTP MCP(讓 AI 連接外部工具的協定)連線會把每個已送出的請求保留到連線關閉。這會造成記憶體洩漏(不再需要的資料仍占著記憶體),現已修好。提供給模型的代理與 MCP 伺服器清單中,非 ASCII 字元名稱會排在 ASCII 名稱之後。OpenTelemetry(蒐集程式運作資料的工具)的 claude_code.at_mention 記錄項目,每次讀取提示詞最多送出 100 個代理事件及 100 個 MCP 資源事件。自託管環境將固定 5 秒輪詢改為間隔 4~6 秒,避免同一環境的多個副本同時發出請求。⟦好比物流中心重整發車櫃檯,辦理完的收據不再堆滿桌面,名冊也依序歸檔;各車隊錯開回報時間,不再同一秒蜂擁擠入大門。⟧

官方原文

Fixed a memory leak where an HTTP MCP connection kept every request it had sent until it closed

Changed the order of agent lists and of MCP servers announced to the model: names with non-ASCII characters now sort after ASCII names

Changed OpenTelemetry claude_code.at_mention logging to emit at most 100 agent and 100 MCP-resource events each time a prompt is read

Self-hosted runner: Changed the orchestrator to sleep 4 to 6 seconds between polls instead of a constant 5, so several replicas for one environment stop polling at the same moment

19

[Claude Tag] Slack 跨區頻道修復,執行途中不中斷

在 Slack 頻道中與 Claude 協同作業或執行例行任務時,訊息指派與權限變更更平順。在跨工作區的 Enterprise Grid 共享頻道中,遇到未連線的工作區標籤時,Claude 不會再誤報工作區未設定。管理員在任務途中修改連接器、外掛、技能或規則時,Claude 不會中途停下,改為完成當前任務後才套用。在討論串帶備註觸發例行任務時,能正確在該串內接續執行與回報。當 Claude 加入僅限管理員發言的公告頻道時,會安靜加入而不主動發送自我介紹。⟦如同進駐專案會議室的得力助手,以前跨部門開會容易認錯窗口,主管更新規定還會當場罷工;現在把手邊工作完成才套用新規則,進到公告群組也不會發出噪音打擾。⟧

官方原文

[Claude Tag] Fixed Claude in Slack saying a workspace isn't set up in Enterprise Grid channels shared across workspaces when Slack labels a message with a workspace that isn't connected

[Claude Tag] Fixed Claude in Slack stopping mid-task in a channel when an admin changed the channel's connectors, plugins, skills or rules; the change now applies once Claude finishes

[Claude Tag] Fixed asking Claude in Slack to run a thread's routine now with extra notes starting a separate run that couldn't post back; the run now continues in that thread

[Claude Tag] Changed Claude in Slack to join announcement channels, where only admins can post, without posting its intro