2.1.193

Claude Code 2.1.193 - リリースノート

2026年6月25日
Claude Code

日本語サマリー

Claude Code 2.1.193 リリースノート要約

⚠️ 破壊的変更・注意点

  • OpenTelemetryログの挙動変更: OTEL_LOG_USER_PROMPTS でプロンプト内容をログ記録する設定をしている環境では、アップデート時にモデルの応答内容(claude_code.assistant_response)も自動的にログに記録されるようになります。応答の記録を回避したい場合は OTEL_LOG_ASSISTANT_RESPONSES=0 を明示的に設定してください。

新機能・改善

  • autoMode.classifyAll: 任意コード実行パターンだけでなく、すべての Bash/PowerShell コマンドを auto-mode クラシファイア経由にルーティングする設定を追加
  • 拒否理由の可視化: auto-mode による拒否理由を、トランスクリプト、拒否トースト、/permissions の最近の拒否リストに表示するよう改善
  • ファイルパス自動補完: bash mode (!) でリアルタイムのファイルパス自動補完を追加
  • MCPサーバー認証通知: 起動時に認証が必要な MCP サーバーがある場合、/mcp を参照するよう通知を追加
  • バックグラウンド処理の最適化: アイドル状態のバックグラウンドshellコマンドを自動的に解放するメモリプレッシャー機能を追加(CLAUDE_CODE_DISABLE_BG_SHELL_PRESSURE_REAP=1 で無効化可能)
  • MCP認証の自動再接続: MCP headersHelper 認証において、tool call が 401/403 を返した際に自動で再実行・再接続するよう改善
  • プラグイン自動リネーム: marketplace の renames マップに自動的に従い、新しい名前へ設定を更新するよう改善

バグ修正

  • /login 直後に /model などの UI 表示が古い状態や空白になる不具合を修正
  • バックグラウンド(←←)利用時、タスクが新しいセッションに引き継がれているにもかかわらず「N background tasks would be abandoned」と誤ってキャンセルされる不具合を修正
  • auto-update ごとに、ピン留めされた background agents に「Continue from where you left off」と再プロンプトされてしまう不具合を修正
  • メインターンをバックグラウンドにした際、メイン会話を再実行してしまう幽霊サブエージェント「general-purpose (resumed)」が発生する不具合を修正
  • サブエージェント表示時に兄弟エージェントが非表示になってしまう不具合を修正
  • background agents の起動結果が Claude に「end your response」を指示してしまう問題を修正し、エージェント実行中も他のタスクを継続できるよう改善
  • /add-dir でディレクトリが既に作業ディレクトリである場合のメッセージを改善

原文(Release Notes)

What's changed

  • Added autoMode.classifyAllShell setting to route all Bash/PowerShell commands through the auto-mode classifier instead of only arbitrary-code-execution patterns
  • Added auto-mode denial reasons to the transcript, the denial toast, and /permissions recent denials
  • Added claude_code.assistant_response OpenTelemetry log event containing the model's response text. Redacted unless OTEL_LOG_ASSISTANT_RESPONSES=1; when that var is unset it follows OTEL_LOG_USER_PROMPTS, so deployments that already log prompt content will start receiving response content on upgrade — set OTEL_LOG_ASSISTANT_RESPONSES=0 to keep prompts-only.
  • Added live file path autocomplete to bash mode (!)
  • Added a startup notice when MCP servers need authentication, pointing at /mcp
  • Added automatic memory-pressure reaping for idle background shell commands (disable with CLAUDE_CODE_DISABLE_BG_SHELL_PRESSURE_REAP=1)
  • Fixed /model and other client-data-gated UI showing stale/empty state immediately after /login
  • Fixed backgrounding (←←) spuriously cancelling with "N background tasks would be abandoned" when all running tasks carry over to the new session
  • Fixed pinned background agents being re-prompted to "Continue from where you left off" after every auto-update
  • Fixed backgrounding the main turn spawning a phantom "general-purpose (resumed)" subagent that re-ran the main conversation
  • Fixed agent panel hiding sibling agents when viewing a subagent
  • Improved background agents: the launch result no longer instructs Claude to "end your response" — it keeps working on other tasks while the agent runs
  • Improved MCP headersHelper auth: the helper now re-runs and reconnects automatically when a tool call returns 401/403
  • Improved plugin auto-rename: marketplace renames maps are now followed automatically, updating your settings to the new name
  • Improved /add-dir message when the directory is already a working directory