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.classifyAllShellsetting 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
/permissionsrecent denials- Added
claude_code.assistant_responseOpenTelemetry log event containing the model's response text. Redacted unlessOTEL_LOG_ASSISTANT_RESPONSES=1; when that var is unset it followsOTEL_LOG_USER_PROMPTS, so deployments that already log prompt content will start receiving response content on upgrade — setOTEL_LOG_ASSISTANT_RESPONSES=0to 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
/modeland 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
headersHelperauth: the helper now re-runs and reconnects automatically when a tool call returns 401/403- Improved plugin auto-rename: marketplace
renamesmaps are now followed automatically, updating your settings to the new name- Improved
/add-dirmessage when the directory is already a working directory