Claude Code v2.1.198 の変更点
Claude Code v2.1.198 は、Chrome での一般提供開始や AWS プラットフォームの統合に加え、バックグラウンドエージェントの自動化機能強化と多数の安定性バグ修正を含む実用性の高いアップデートです。
キーポイント
新機能:Chrome 展開とデータビジュアライゼーション支援
Claude in Chrome が一般提供され、チャートやダッシュボード設計を支援する「/dataviz」スキルが追加されました。
自動化の強化:バックグラウンドエージェントとプルリクエスト作成
コード作業完了時に自動でコミット・プッシュ・ドラフト PR 作成を行う機能が実装され、開発フローの自動化が大幅に向上しました。
インフラ統合:AWS プラットフォームと認証リフレッシュ
Gateway に AWS (anthropicAws) が追加され、STS トークン期限切れ時の自動再認証機能によりセッションの安定性が確保されました。
信頼性向上:ネットワークエラー処理と接続バグ修正
一時的なネットワーク切断へのリトライ機構や、macOS での再接続ループ、タスクパネルの停止問題など、多数の安定性バグが修正されました。
影響分析・編集コメントを表示
影響分析
本アップデートは、Claude Code を単なるチャットツールから、開発環境内で自律的に作業を完結させる強力なエージェントへと進化させました。特に、プルリクエストの自動作成や AWS 認証の自動管理機能は、DevOps プロセスにおける人的ミスを減らし、エンジニアの生産性を直接向上させる実用的な改善です。
編集コメント
今回のアップデートは、AI エージェントが人間の手を借りずに開発サイクルの最終段階まで完結できる点で大きな一歩です。特に認証管理やネットワークエラー処理の改善は、実環境での信頼性を担保する上で不可欠な要素となっています。
変更点
- Chrome における Claude が一般利用可能になりました。
- claude agents において、バックグラウンドエージェントの通知が追加されました。入力が必要なセッションや完了したセッションでは、Notification フック(agent_needs_input / agent_completed)がトリガーされます。
- チャートおよびダッシュボード設計のガイダンスを提供する/dataviz スキルと、実行可能なカラーパレット検証機能を追加しました。
- Gateway: AWS 上の Claude Platform (anthropicAws) をアップストリームプロバイダーとして追加し、モデルが見つからない応答はフェイルオーバーチェーンを進行させるように変更されました。
- claude agents から起動されたバックグラウンドエージェントは、ワークツリー内でコード作業が完了した際に停止して問い合わせるのではなく、コミットし、プッシュし、ドラフト PR を開くようになりました。
- 組み込みの Explore エージェントは、haiku で実行される代わりに、メインセッションのモデル(opus に制限)を継承するようになりました。
- サブエージェントとコンテキスト圧縮が、セッションの拡張思考設定を継承するようになり、委任されたタスクにおける出力品質が向上しました。
- 応答中の一時的なネットワーク切断によってターンが中止される問題を修正しました。ECONNRESET のような一過性のエラーは、フォールバック(backoff)付きで再試行され、失敗しなくなりました。
- サンドボックス化されたプロセスが同じネットワークホストを繰り返しアクセスした際に発生する、過度なバックグラウンド分類器の要求問題を修正しました。
- Web、デスクトップ、VS Code のタスクパネルにおけるバックグラウンドタスクが、完了後やセッション再開後に「実行中」のまま停止してしまう問題を修正しました。
- エージェントチームの問題を修正しました。API エラーで死亡したチームメンバーは、リーダーに対して「失敗」として報告するようになり、固執しているチームメンバーにメッセージを送信すると、即座に再試行するために起動されます。
- セッション外でブランチやコミットを切り替えた際に、/diff パネルが更新されない不具合を修正しました
- フルスクリーンモードでレンダリングされた際、Markdown テーブルの右端の境界線があふれて折り返される不具合を修正しました
- AWS 上の Claude Platform および Mantle セッションで STS トークンが期限切れになった際に「Please run /login」と表示されてセッションが終了する不具合を修正しました。awsAuthRefresh が自動的に実行されるようになりました
- macOS のバックグラウンドエージェントセッションにおいて、ローカルネットワークホストへの接続経路がないというエラーが発生する不具合を修正しました。これは Local Network 権限(entitlements)を宣言することで解決しました
- ワークツリーに入力して退出した後に /desktop コマンドが「作業ディレクトリを決定できません」というエラーで失敗する不具合を修正しました
- macOS でエージェントビューが開いている間、バックグラウンドエージェントが約 52 秒ごとに繰り返し「再接続中…」と表示される不具合を修正しました
- claude attach 内で←キーを押した際に、シェルに切り替わるのではなくエージェントビューを開くべきところを修正しました
- claude --bg に --print/-p を併用すると、接続できないセッションが静かに作成される不具合を修正しました。現在は競合するフラグが最初に拒否されます
- SDK およびデスクトップアプリのセッションにおいて、ワークフロー進行状況ビューでリストから最も古いエージェントが削除されてしまうが、フェーズカウンターは正しく表示されていた不具合を修正しました
- 対象ファイルがシンボリックリンク経由で到達された場合に .claude/rules/ の条件付きルールが読み込まれない不具合を修正しました
- macOS の Warp でフルスクリーンモード時に Cmd+ クリックで URL が開かない不具合を修正しました
- フルスクリーンモードでのダブルクリックによる単語選択を修正し、スキームを含む URL 全体を選択できるようにしました
- セッションがプランモード(plan mode)で開始された際に、読み取り専用ツール呼び出しの自動許可が行われない不具合を修正しました
- /branch コマンドのデフォルトフォーク名の取得元を、最初の実際のプロンプトからコンパクションサマリに変更しました
- フォーカスモードを改善:1 つの手順内で起動されたサブエージェントがアクティビティサマリに表示されるようになり、完了したバックグラウンド通知は単一のカウントに折りたたまれます
- highlight.js 11 へのアップグレードにより、コードブロック、差分表示、ファイルプレビュー内の構文ハイライトの精度を向上させました
- Mac から SSH 経由で接続している場合、キーボードショートカットのヒントが alt/super の代わりに opt/cmd を表示するようになりました
-API リトライのユーザーエクスペリエンスを改善:2 回目の試行後にエラー理由が表示されるようになり、API が過負荷状態の場合はスピナーのヒントに代わりステータスページのリンクを表示します
- /login コマンドが利用できないと表示する代わりに、Claude エージェントビューからサインインダイアログを開くようになりました
- サブエージェントは、自分自身を起動したエージェントからのメッセージを通常のタスク指示として扱うようになりました。ただし、エージェントのメッセージがユーザーの承認として扱われることは決してありません
- /agents ウィザードを削除しました。Claude にサブエージェントの作成や管理を依頼するか、.claude/agents/ ディレクトリを直接編集してください
原文を表示
What's changed
- Claude in Chrome is now generally available
- Added background agent notifications in claude agents — sessions that need input or finish now fire the Notification hook (agent_needs_input / agent_completed)
- Added /dataviz skill for chart and dashboard design guidance with a runnable color-palette validator
- Gateway: added Claude Platform on AWS (anthropicAws) as an upstream provider; model-not-found responses now advance the failover chain
- Background agents launched from claude agents now commit, push, and open a draft PR when they finish code work in a worktree, instead of stopping to ask
- The built-in Explore agent now inherits the main session's model (capped at opus) instead of running on haiku
- Subagents and context compaction now inherit the session's extended thinking configuration, improving output quality on delegated tasks
- Fixed brief network drops mid-response aborting the turn — transient errors like ECONNRESET now retry with backoff instead of failing
- Fixed excessive background classifier requests when sandboxed processes repeatedly accessed the same network host
- Fixed background tasks in web, desktop, and VS Code task panels getting stuck on "Running" after they finish or after resuming a session
- Fixed agent teams: a teammate that dies on an API error now reports "failed" to the lead, and messaging a stuck teammate wakes it to retry immediately
- Fixed the /diff panel not refreshing when you switch branches or commit outside the session
- Fixed markdown tables overflowing and wrapping their right border when rendered in fullscreen mode
- Fixed Claude Platform on AWS and Mantle sessions dead-ending with "Please run /login" when the STS token expires — awsAuthRefresh now runs automatically
- Fixed "no route to host" for local-network hosts in macOS background agent sessions by declaring Local Network entitlements
- Fixed /desktop failing with "Cannot determine working directory" after entering and exiting a worktree
- Fixed background agents repeatedly showing "Reconnecting…" every ~52 seconds on macOS while the agents view was open
- Fixed pressing ← inside claude attach exiting to the shell instead of opening the agent view
- Fixed claude --bg silently creating an unattachable session when combined with --print/-p; the conflicting flags are now rejected up front
- Fixed the workflow progress view dropping the earliest agents from the list while the phase counter stayed correct in SDK and desktop-app sessions
- Fixed .claude/rules/ conditional rules not loading when the target file is reached via a symlinked path
- Fixed Cmd+click not opening URLs in fullscreen mode in Warp on macOS
- Fixed double-click word selection in fullscreen mode to select the entire URL including the scheme
- Fixed plan mode not auto-allowing read-only tool calls when a session starts in plan mode
- Fixed /branch deriving its default fork name from the compaction summary instead of the first real prompt
- Improved focus mode: subagents launched in a turn now appear in its activity summary, and completed background notifications fold into a single count
- Improved syntax highlighting accuracy in code blocks, diffs, and file previews by upgrading to highlight.js 11
- Keyboard shortcut hints now show opt/cmd instead of alt/super when connected from a Mac over SSH
- Improved API retry UX: the error reason is now shown after the second attempt, and a status page link replaces the spinner tip when the API is overloaded
- /login now opens the sign-in dialog from the claude agents view instead of saying it isn't available
- Subagents now treat messages from the agent that launched them as normal task direction; an agent's message is still never treated as the user's approval
- Removed the /agents wizard; ask Claude to create or manage subagents, or edit .claude/agents/ directly
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み