Claude Code 版本彙整:2026/06/14 - 2026/06/17
Claude Code 版本彙整:v2.1.178 到 v2.1.179,權限、技能與遠端工作流持續修補
版本更新摘要
過去三天 Claude Code 從 v2.1.177 推進到 v2.1.179,兩個 patch 版本都不是大型功能更新,但涵蓋了幾個關鍵方向:更細緻的工具權限控制、巢狀 .claude/ 專案設定支援、subagent 與 Remote Control 穩定性改善,以及多個 TUI / WSL2 / Linux sandbox 的實用修復。整體來看,Anthropic 仍在快速補強 Claude Code 近期香港工作流、遠端 session、多 agent 協作與插件化之後暴露出的邊界問題。
版本詳情
v2.1.178:權限規則、巢狀技能與 subagent 安全性
v2.1.178 是這次彙整中內容較多的一版,重點集中在權限、技能載入與多 agent 行為。
主要變更包括:
-
新增
Tool(param:value)權限語法- permission rules 現在可以依照工具輸入參數比對,例如
Agent(model:opus)可用來阻擋使用 Opus 的 subagent。 - 支援
*wildcard,讓管理者能更精細地限制工具使用情境。
- permission rules 現在可以依照工具輸入參數比對,例如
-
改善巢狀
.claude/skills支援- 位於子目錄的
.claude/skills現在會在處理該目錄檔案時正確載入。 - 若技能名稱衝突,會以
<dir>:<name>形式顯示,避免覆蓋。
- 位於子目錄的
-
巢狀
.claude/設定優先權更明確- agent、workflow、output-style 若有名稱衝突,會以最接近目前工作目錄的設定為準。
- project-scope workflow 儲存時,也會寫入最近的既有
.claude/workflows/。
-
auto mode 更安全
- subagent 啟動前現在會經過 classifier 評估,補上過去 subagent 可能請求 blocked action 卻未被審查的缺口。
-
/doctor顯示改善- 各區塊改為一致的 flat tree layout。
- section status icons 更清楚,command names 也會被突顯。
-
Remote Control 錯誤訊息更具體
- 連線失敗會在 footer 顯示持續性的紅色
/rc failed指示。 - 「尚未啟用」錯誤會說明是 gate、check failure、stale entitlement 或 org policy 問題。
- 連線失敗會在 footer 顯示持續性的紅色
-
/bug提交流程修正- 現在必須輸入 description 才能提交。
- 不再把 model-refusal text 當成 GitHub issue title。
-
多項 subagent 修復
- 查看 subagent transcript 時會顯示 tool results 與 live progress。
- subagent 回合結束期間送出的訊息不再遺失。
- 背景化正在執行的 subagent 不再從頭重啟。
-
MCP 與工具權限修正
- 修正 subagent
disallowedTools中mcp__server、mcp__server__*、mcp__*等 server-level specs 被忽略的問題。
- 修正 subagent
這版的主軸很明顯:Claude Code 正在把「多層專案設定」與「多 agent 執行」做得更可控。對企業或大型 monorepo 使用者而言,Tool(param:value) 與巢狀 .claude/ 優先權會比單純的新功能更重要,因為它們直接影響權限邊界與團隊設定治理。
v2.1.179:穩定性與使用體驗修補
v2.1.179 則偏向 bugfix,尤其針對 session 中斷、TUI 卡住、WSL2 滾動與 remote session 性能問題。
主要變更包括:
-
修正 mid-stream connection drops
- 連線中途掉線時,partial responses 現在會被保留。
- 不再直接顯示 raw error。
- spinner 也不會卡在
"running tool"狀態。
-
修正 WSL2 滑鼠滾輪問題
- Windows Terminal 與 VS Code 下的 WSL2 mouse-wheel scrolling 回歸問題已修復。
- 該問題源自 v2.1.172 regression。
-
修正 Linux sandbox glob 導致 session 無法使用
- 當
denyRead/allowReadglob 套用到大型目錄樹時,Bash tool description 可能變得巨大,導致 session 幾乎不可用。 - v2.1.179 已修正此情境。
- 當
-
修正 feedback survey 誤判數字輸入
- 回合結束後,單一數字回覆不再被立即捕捉為 session rating。
-
welcome screen promo 顯示限制
- 多個 promotional banners 不再堆疊。
- 每個 session 最多只顯示一個 promo。
-
subagent UI 修復
- Ctrl+O 現在能正確顯示 subagent transcript。
- 點擊 prompt input 後,焦點會從 subagent/footer panel 正確返回。
-
remote session 背景任務狀態修正
- 背景任務不再於 turns 之間看似卡在
"still running"。 - remote session plugin loading performance 也有所改善。
- 背景任務不再於 turns 之間看似卡在
v2.1.179 可視為 v2.1.178 後的穩定化版本。它沒有引入太多新能力,但修補了多個會直接破壞日常使用體驗的問題,尤其是「回應中斷後狀態卡死」與「遠端 session 狀態看似未完成」這類高干擾 bug。
GitHub Issues 動態
這幾天 GitHub issue 量依然偏高,四天累計監控到 198 筆,其中不少是重複、invalid 或 stale 清理,但仍能看出幾個活躍問題群。
1. Agent / subagent / workflow 問題仍是主線
多個 issue 指向 agent 協作、背景任務與 workflow resume 的一致性問題:
- #68950:Agent teams 中,teammate 返回後新 spawned subagent 被錯誤 re-parent,導致完成狀態無法傳回 main。此 issue 已關閉,可能與近期 subagent 修復相關。
- #68946:Agent Teams roster mode 與 split-pane mode 同時運行,結束後 roster 仍釘在 lead terminal。
- #68945:Agent tool description 引用不存在的
"fork"subagent_type。 - #68922:模型在未收到 task notification 前就宣稱 background agents 已完成。
- #68708:subagent spawning 出現無終止條件的 infinite recursive loop。
- #65796:workflow auto-compaction 後 resume 會從頭重跑已完成 agents。
這些問題與 v2.1.178、v2.1.179 的 changelog 高度呼應:官方正在密集修補 subagent transcript、backgrounding、worker auth、background sessions 顯示狀態等問題。Claude Code 的 agent 系統已經進入「功能可用後的邊界條件修復期」。
2. TUI 與 terminal rendering 問題持續活躍
近期多個 issue 聚焦在 TUI 顯示、焦點、滾動與輸入:
- #68943:renderer 在每次 response 時把 cursor 畫錯位置並覆蓋文字,標記為 v2.1.163 regression。
- #68711:terminal text display corruption,resize window 後可恢復。
- #68461:長時間 iTerm2 session 中,CLI 發出超出 viewport 的 cursor-up sequences,造成畫面破壞。
- #68479:Linux terminal 向上捲動時文字行被破壞。
- #68483:feedback prompt 的數字選項與 numeric tool inputs 衝突;v2.1.179 已修正相近問題。
- #66192:copy-paste 不正常,雖然 v2.1.176 已處理 tmux/SSH 相關 clipboard 問題,但使用者回報仍在延續。
TUI 是 Claude Code 的核心入口,這類問題雖然不一定造成資料損失,卻會顯著降低信任感。v2.1.179 修正 WSL2 滾輪與焦點問題,是朝穩定終端體驗補洞。
3. 權限、MCP 與 authentication 邊界仍有摩擦
MCP 與 auth 相關 issue 仍不少:
- #68720:MCP 403 insufficient_scope step-up authorization 被丟失,並誤報為
"token expired"。 - #66488:tool search ranking 壞掉,即使 exact name match 也找不到工具。
- #52871:MCP OAuth 對
resourceparameter 加上 trailing slash,導致 Entra ID auth 失敗。 - #68462:已斷線的 account-level MCP integrations 仍把 system-reminder noise 注入 context。
- #68933:skill-creator eval/optimizer 透過 headless
claude -p洩漏 MCP child processes,耗盡記憶體並迫使重開機。
v2.1.178 對 MCP subagent disallowedTools 規則的修正很重要,因為它代表 Anthropic 正在補上權限模型與 MCP server-level 規格之間的落差。不過從 issues 看來,MCP OAuth、工具搜尋與外部 integration lifecycle 仍是未完全收斂的區域。
4. 資料損失與工作區安全問題仍需關注
幾個 issue 涉及資料損失或可能破壞工作區:
- #68315:File checkpointing 會 silently stash 並 hard-reset working tree,導致未提交修改消失。
- #62431:
/exit即使其他 Claude Code sessions 仍在同一 worktree,也提示移除 worktree,可能破壞 live sessions。 - #68920:
git submodule deinit在未警告或檢查 local changes 的情況下清掉 working tree。 - #41458:
cleanupPeriodDays: 99999被忽略,導致大量 sessions 被刪除。
這些 issue 對重度使用者特別敏感。Claude Code 正逐漸承擔更多自動化與多 session 工作,任何會改動 git/worktree/session history 的功能,都需要更強的 preflight 與保護機制。
5. 模型、成本與外部 API 狀態仍有雜訊
近期也有不少模型與 API 相關回報:
- #68948 / #68940 / #68712:529 overloaded、rate limit exceeded 等 API 狀態。
- #65514 / #68561:1M context usage credits 與 plan entitlement 問題。
- #68137 / #68121 / #68312:Fable 5 不可用或 inaccessible model。v2.1.176 已加入 auto mode fallback,但 UI 提示與 banner 問題仍延續到後續 issue。
- #68944:即使 system context 注入 current date,模型仍錯算星期與未來日期。
- #62016:模型傳入
rg -rn,被解析為--replace=n,造成搜尋輸出被破壞並誤歸因。
這些問題不完全屬於 CLI 本身,但會影響 Claude Code 的整體可靠性。尤其是模型可用性、rate limit 與成本提示,會直接影響長時間 agent workflow 的可預期性。
總結與觀察
這輪 v2.1.178 到 v2.1.179 的更新,顯示 Claude Code 正在從「功能快速擴張」轉向「複雜工作流穩定化」。v2.1.178 補強的是規則與架構層:工具參數級權限、巢狀技能、巢狀 .claude/ 優先權、subagent 啟動前審查。v2.1.179 則處理日常使用層:連線中斷、spinner 卡住、WSL2 滾動、remote session 背景任務狀態與 plugin loading performance。
值得注意的是,GitHub issues 中最活躍的問題不再只是「CLI 某個命令壞掉」,而是更高階的協作狀態問題:subagent 完成狀態如何傳播、workflow resume 是否重跑、background tasks 是否正確顯示、Remote Control 是否能中途啟用、MCP 權限是否能跨 server 與 subagent 正確生效。這代表 Claude Code 的使用場景已經明顯從單人互動式 CLI,擴展到多 agent、遠端控制、桌面整合與長時間自動化。
短期來看,使用者若高度依賴 agent teams、Remote Control、MCP 或 nested skills,建議升級到 v2.1.179,因為這兩版修掉不少會造成卡死、狀態誤判或權限漏洞的問題。不過,從仍然活躍的 issues 來看,多 agent orchestration、資料保護與 terminal rendering 仍是接下來幾版最值得觀察的重點。
推薦閱讀
Claude Code 版本彙整:2026/06/10 - 2026/06/13
Claude Code 近期版本更新彙整 - v2.1.177,含版本變更與 GitHub Issues 動態
重大:Anthropic 啟動 Claude Corps Fellowship 計畫
Anthropic 推出 Claude Corps:投入 $150M 的全國 fellowship 計畫,安置 1,000 名 fellow 進駐非營利組織。
重要:Claude Desktop spawns 1.8 GB Hyper-V VM on every launch, even for chat-only use
一則 GitHub issue 回報 Windows 版 Claude Desktop 每次啟動都生成 1.8GB Hyper-V VM(連純聊天也是)並累積數千個過時 session 檔;issue 已被標記為 invalid。
⚡ Statement on the US government directive to suspend access to Fable 5 and Mythos 5
美國政府下達出口管制指令,要求 Anthropic 全球暫停 Fable 5 與 Mythos 5 的存取;Anthropic 依法照辦但表達異議,其餘模型不受影響。
訂閱最新文章
每週接收 Claude Code 最新動態、AI 開發工具趨勢與技術分析,直接送到你的信箱。
訂閱成功!歡迎加入,我們會寄一封確認信到你的信箱。
我們尊重你的隱私,隨時可以取消訂閱。
本文由 Namog Vibe Coding 自動化監控系統生成
讀者回應
載入中...