Claude Code 版本彙整:2026/06/28 - 2026/07/01
Claude Code 版本彙整:v2.1.196 到 v2.1.197,可靠性修補後迎來 Sonnet 5 預設模型
過去三天 Claude Code 連續發布兩個 patch 版本:v2.1.196 主要集中在背景任務、Agent 檢視、MCP 安全與 Remote session 韌性等可靠性修補;v2.1.197 則是本輪最受矚目的更新,正式將 Claude Sonnet 5 設為 Claude Code 預設模型,並帶來原生 1M token context window 與限時促銷價格。整體來看,這一輪更新呈現「先補穩定性,再切換新模型基座」的節奏。
版本詳情
v2.1.196:背景任務、MCP 安全與 Agent 體驗大幅修補
v2.1.196 是內容相當密集的維護版,重點不在單一新功能,而是修補多個影響長時間工作流與企業環境的問題。
主要變更包括:
-
組織預設模型支援
- 管理員可在 org console 設定 organization default model。
- 使用者未手動選模型時,
/model會顯示「Org default」或「Role default」。
-
Session 可讀性改善
- 新 session 啟動時會自動產生較易辨識的預設名稱,方便在多 session 或背景工作中辨認。
-
聊天附件可點擊
- 聊天中的 file attachments 現在可透過 Cmd/Ctrl-click 在 Finder 或 Explorer 中開啟位置。
-
MCP 安全修補
claude mcp list/claude mcp get不再因 repo 內提交的.claude/settings.json自我批准而啟動.mcp.jsonserver。- 不可信 workspace 會顯示
⏸ Pending approval,這是對 supply-chain / repo-level MCP 風險的重要補強。
-
背景任務可靠性
- 修正喚醒 background job 時,因 transcript probe 誤判而永久刪除對話、重新執行原始 prompt 的問題。
- 長時間 command 與 workflow 在 session process 被停止、重啟或更新後更能存活。
- Windows 上 background shell 也改為 handoff,而非直接被殺掉。
- daemon restart 後,被終止的 background agent workers 會在下次開啟 agents view 時自動恢復。
-
Agent 檢視修補
- 修正
claude agentsside panel 的焦點卡住、subagent type 遺失、狀態顯示錯誤等問題。 - completed rows 不再在「Done」與「Needs your input」之間跳動。
- stalled agents 會被標示為「Needs attention」。
- 結果中提到 PR 時會顯示可點擊連結。
- 修正
-
權限與 bypass 行為修正
- 修正
claude agents --dangerously-skip-permissions靜默退回 auto mode 的問題,現在會顯示 bypass disclaimer 並套用到 spawned agents。
- 修正
-
Remote session 韌性
- Remote sessions 在 server restart 中斷後,可於下一個 worker 自動 resume。
-
Shell / PowerShell 行為一致性
- 修正 PowerShell 中
git diff、git grep、egrep/fgrep以及含|的 quoted search pattern 在 exit 1 時被誤判為 failure 的問題,使其更接近 Bash 行為。
- 修正 PowerShell 中
-
MCP OAuth 修補
- 修正未指定 scope 時,MCP OAuth 向 authorization server 要求完整
scopes_supportedcatalog,導致 GitLab self-hosted 與企業 IdP 出現invalid_scope的問題。
- 修正未指定 scope 時,MCP OAuth 向 authorization server 要求完整
-
效能與穩定性
/code-reviewworkflow 合併 cleanup finders,約減少 25% token usage。- Terminal UI streaming 時跳過 no-op subtree walks,降低每 frame rendering work。
- Streaming idle watchdog 預設啟用:若 response stream 5 分鐘無事件,會 abort 並 retry。可用
CLAUDE_ENABLE_STREAM_WATCHDOG=0關閉。
這個版本的主軸很明確:Anthropic 正在強化 Claude Code 作為長時間、agentic、背景化開發工具的可靠性。尤其 background agents、Remote sessions、MCP OAuth 與 bypass permissions 的修補,都指向更複雜的企業與多 agent 使用場景。
v2.1.197:Claude Sonnet 5 成為預設模型
v2.1.197 的 changelog 很短,但影響很大:
- Claude Sonnet 5 現在成為 Claude Code 預設模型
- 原生支援 1M token context window
- 至 8 月 31 日前提供促銷價格:$2 / $10 per Mtok
- 使用者需更新至 v2.1.197 才能取得 access
這是本輪最重要的產品層變化。若 v2.1.196 是「底盤整理」,v2.1.197 則是「換上新引擎」。1M context window 對大型 repo、長 session、agent workflow 與 multi-file reasoning 都可能帶來明顯影響,但也會讓 cost observability、quota 消耗與 context 管理變得更重要。
GitHub Issues 動態
這幾天 GitHub Issues 數量維持高檔,4 天累計約 199 個 issue。從標籤與標題來看,近期使用者回報集中在幾個方向。
1. Agent 與 background task 仍是主要痛點
多個 issue 指向 agent 系統在長時間運行、背景工作與成本控制上的挑戰:
- #72611:Agent Teams 在真實多週專案中產生 negative leverage。
- #72472:Desktop idle reaper 300 秒後殺掉仍活躍的 autonomous-agent sessions 與 background sub-agents。
- #72566 / #72619:recursive subagent spawning 導致大量背景 agents 被建立,快速消耗 quota。
- #72623:orphaned background
--fork-sessionworker 長時間運行並被 daemon respawn,造成 silent quota burn。 - #71644:subagents going idle。
- #72368:Agent invocation via CLI 行為異常。
這些 issue 與 v2.1.196 的修補方向高度重疊。Anthropic 已在背景任務存活、daemon restart、agents view 狀態顯示上做出改進,但使用者回報顯示 agent 系統的「可控性」與「成本邊界」仍需要更多保護機制。
2. MCP / OAuth / Auth 問題仍反覆出現
MCP 與 OAuth 是另一個熱點:
- #52871:MCP OAuth 對
resourceparameter 加 trailing slash,導致 Entra ID auth 失敗。 - #72440:v2.1.196 regression,MCP OAuth 在未設定 scope 時送出 no scope,造成 Microsoft Entra ID
AADSTS900144。 - #72036:背景 Streamable HTTP auth failure 時,MCP OAuth re-auth UI 未顯示。
- #72375:Gmail + Google Calendar connectors UI 顯示 Connected,但未觸發 OAuth。
- #72621:Slack connector 讀取 binary document PDF 時回傳 JSON-RPC
-32602。
值得注意的是,v2.1.196 已修正一類 MCP OAuth scope 問題,但 v2.1.197 期間仍出現 Entra ID 相關 regression 回報,代表企業 IdP / OAuth 邊界案例仍相當複雜。
3. TUI、IDE 與桌面端 UX regression 持續
近期 TUI / IDE / Desktop issue 也不少:
- #72629:AskUserQuestion CJK text 在 terminal UI 中 misalignment。
- #72624:AskUserQuestion tool 在 VS Code panel webview 中失敗。
- #72626:長輸出期間 Stop button 無反應,需要 force interrupt。
- #72392:flicker-free rendering 破壞 iTerm2 的 Shift+Enter。
- #72371:tmux + iTerm2 中右側文字截斷。
- #72346:thinking phase 中 live token counter 缺失。
- #72631:IDE slash-command palette 不會索引新加入的 symlinked skills,需 reload window。
這些問題顯示 Claude Code 的前端面向已經不只是一個 CLI,而是橫跨 TUI、VS Code、Desktop、Chrome、Remote container 等多表面產品。功能擴張後,跨平台 regression 的維護成本明顯增加。
4. Cost / quota observability 需求升高
伴隨 Sonnet 5、1M context window 與 agent workflow,使用者對成本可見性的要求更強:
- #72566 / #72619:recursive subagent spawning 快速燒完 quota。
- #72623:orphaned background worker silent quota burn。
- #72579:Max 20x plan quota consumption 感覺與實際使用不成比例。
- #72127:Workflow tool 約 5 分鐘內消耗整個 5x plan,且無警告或授權提示。
- #72287:要求在
/agentsRunning tab 與 JSON output 顯示 per-subagent observability,例如 model、effort。
這是接下來 Claude Code 很可能必須優先處理的方向:不只是「能不能跑 agent」,而是「使用者能否預期 agent 會花多少錢、跑多久、建立多少子任務」。
5. 安全與模型誤判仍有大量回報
多個 issue 涉及安全過濾、prompt injection、false positive 或資料保護:
- #72395:tool results / session context 中出現類似 prompt injection 的 destructive commands。
- #72256:custom subagents 進行合法 security code review 時被 safeguards false positive block。
- #72168:local telnet connection 被 false positive security flag。
- #72156 / #72393:希望 feedback 或訓練資料貢獻前能 redaction / scrubbing / PII audit。
- 多個
[Bug][cyber]issue 指向 drone、firmware、video stream、telemetry 等合法工作被安全機制阻擋。
這與 Claude Code 的工具屬性有關:它不是單純聊天模型,而是會讀檔、執行工具、操作專案的開發代理。因此安全策略若過度保守,會直接中斷工作流;若過度寬鬆,又會放大工具執行風險。這個平衡仍在調整中。
總結與觀察
這一輪版本更新可以分成兩層來看。
第一層是 v2.1.196 的可靠性補強。Claude Code 正在快速修補 agent、background jobs、Remote sessions、MCP OAuth、Terminal UI rendering 與 permission mode 相關問題。這些修補多半不是華麗新功能,但對重度使用者非常關鍵,尤其是把 Claude Code 用在長時間 workflow、背景 agent、企業 IdP 或 Remote container 的團隊。
第二層是 v2.1.197 的模型基座升級。Sonnet 5 成為預設模型,加上 1M context window,代表 Claude Code 的產品定位正在往更長上下文、更大型任務、更深 agentic workflow 推進。不過 GitHub Issues 也同步提醒:context 變大與 agent 變強之後,成本控制、session lifecycle、背景任務清理、subagent observability 會變得更重要。
簡單說,Claude Code 目前的發展趨勢是:能力上限快速提高,但工程化治理也必須同步追上。v2.1.196 顯示 Anthropic 已意識到可靠性與安全邊界的重要性;v2.1.197 則把新模型能力推到預設路徑。接下來值得觀察的是,Sonnet 5 與 1M context 在真實大型專案中的表現,是否能抵消目前 agent 系統在 quota、可控性與跨平台穩定性上的摩擦。
推薦閱讀
Claude Code 版本彙整:2026/06/24 - 2026/06/27
Claude Code 近期版本更新彙整 - v2.1.195,含版本變更與 GitHub Issues 動態
Claude Code 版本彙整:2026/06/03 - 2026/06/06
Claude Code 近期版本更新彙整 - v2.1.167,含版本變更與 GitHub Issues 動態
Claude Code 版本彙整:2026/06/07 - 2026/06/10
Claude Code 近期版本更新彙整 - v2.1.170,含版本變更與 GitHub Issues 動態
Claude Code 版本彙整:2026/05/31 - 2026/06/03
Claude Code 近期版本更新彙整 - v2.1.161,含版本變更與 GitHub Issues 動態
訂閱最新文章
每週接收 Claude Code 最新動態、AI 開發工具趨勢與技術分析,直接送到你的信箱。
訂閱成功!歡迎加入,我們會寄一封確認信到你的信箱。
我們尊重你的隱私,隨時可以取消訂閱。
本文由 Namog Vibe Coding 自動化監控系統生成
讀者回應
載入中...