2.1.198

Claude Code 2.1.198 - リリースノート

2026年7月1日
Claude Code

日本語サマリー

以下は、Claude Code 2.1.198 のリリースノートの日本語要約です。

Claude Code 2.1.198 リリースノート

【重要な仕様変更・注意点】

  • claude --bg と --print/-p の同時使用が、競合によりエラーとなるよう明確化されました。
  • 以前の /agents ウィザードが削除されました(Claudeへの直接指示、または .claude/agents/ の直接編集で対応)。

【新機能・改善点】

  • Chrome内のClaudeが一般提供(GA)開始
  • バックグラウンドエージェントの自動化: コード作業終了後、自動で commit, push, draft PR の作成を行うよう改善(claude agents)。
  • 通知機能の強化: バックグラウンドエージェントが入力待ち・完了時に Notification hook (agent_needs_input / agent_completed) を実行。
  • 新しいスキル: チャートやダッシュボードのデザインガイドとカラーパレットバリデータを提供する /dataviz を追加。
  • アップストリームプロバイダー: Gatewayが Claude Platform on AWS (anthropicAws) に対応。
  • モデルと思考プロセスの引き継ぎ: 組み込みの Explore agent がメインセッションのモデル(最大 opus)を引き継ぐように改善。また、Subagents と context compaction がセッションの extended thinking 設定を引き継ぐことで出力品質を向上。
  • フォーカスモードの改善: サブエージェントがアクティビティサマリーに表示され、完了通知が1つにまとまるよう統合。
  • UX向上: highlight.js 11 へのアップデートによる構文ハイライト精度の向上、SSH接続時のキーボードショートカットの最適化、APIリトライ時のステータスページへのリンク表示などを追加。

【バグ修正】

  • 通信・API: 一時的なネットワークエラー(ECONNRESET 等)によるターン中断を解消(バックオフとリトライを実装)。APIエラーで停止したチームメイトが即座に再試行するよう修正。
  • 認証: Claude Platform on AWS および Mantle セッションで STS token 期限切れ時に awsAuthRefresh が自動実行されるよう修正(/login エラーを解消)。
  • ネットワーク: macOS のバックグラウンドエージェントセッションにおけるローカルネットワークホストへの "no route to host" エラーを解消。
  • フリーズ・スタック問題: Web、デスクトップ、VS Code の各タスクパネルでタスク完了後に「Running」のまま止まる問題、および /diff パネルが外部操作時に更新されない問題を修正。
  • UI・操作: macOSのWarpでのフルスクリーン時の Cmd+click によるURL開封、/desktop のワークツリー遷移時のエラー、フルスクリーン時のMarkdownテーブル表示崩れなどを修正。
  • コマンド・設定: claude attach <id> での ← キーの挙動修正、/branch のデフォルト名取得元の修正、.claude/rules/ がシンボリックリンク経由で読み込まれない問題を解消。

原文(Release Notes)

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 <id> 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