2.1.157

Claude Code 2.1.157 - リリースノート

2026年5月29日
Claude Code

日本語サマリー

ご提示いただいたリリースノートの日本語要約です。

⚠️ 破壊的変更・セキュリティ関連の修正

  • テレメトリの詳細ログ化: OTEL_LOG_TOOL_DETAILS=1 設定時、tool_decision イベントに bashコマンドや MCP/skill 名などの tool_parameters が含まれるよう変更されました。
  • サンドボックス表示の変更: 起動時の "bash commands will be sandboxed" バナーが削除されました(サンドボックス自体の機能は /status 等で確認可能)。
  • GPUアクセラレーションの無効化: /terminal-setup 実行時、文字化け防止のため VS Code / Cursor / Windsurf の統合ターミナルでは GPU アクセラレーションが自動的に無効化されます。

主な新機能・仕様変更

  • プラグイン自動ロード: .claude/skills ディレクトリに配置したプラグインが市場(marketplace)を介さず自動で読み込まれるようになりました。
  • プラグイン作成コマンド: 新規プラグインのスキャフォールドを作成する claude plugin init <name> コマンドが追加されました。
  • エージェント設定の優先: claude agents が settings.json の agent 設定を尊重するようになり、--agent <name> で上書き可能になりました。
  • Worktree 操作の改善: セッション途中で Claude 管理下の Worktree を切り替えられるようになり、エージェント終了後に Worktree のロックが解除されて git worktree remove 等でのクリーンアップが可能になりました。

重要なバグ修正

  • WSL 環境の改善: 画像ペースト(alt+v)、Windows 11でのスクリーンショットペーストが修复され、Windowsエクスプローラーからの画像ドラッグ&ドロップに対応しました。
  • フリーズ・クラッシュの修正: 不正な画像(0バイトや破損)添付時のクラッシュ、サンドボックス許可プロンプトの不正表示、起動時のセキュリティダイアログ承認後のターミナル凍結などを修正しました。
  • エディタ連携の修正: VS Code / Cursor / Windsurf の統合ターミナルでの右クリック貼り付けによる重複バグを修正しました。
  • UIとパフォーマンス: 長時間の会話や再開時(--resume)のパフォーマンスを最適化し、フルスクリーンモードでのマークダウン記号(バッククォート等)の誤表示を修正しました。

原文(Release Notes)

What's changed

  • Plugins in .claude/skills directories are now automatically loaded, no marketplace required
  • Added claude plugin init <name> to scaffold a new plugin in .claude/skills
  • Added autocomplete for /plugin arguments: subcommands, installed plugin names, and plugins from known marketplaces
  • claude agents: the agent field in settings.json is now honored for dispatched sessions, with --agent <name> to override it
  • EnterWorktree can now switch between Claude-managed worktrees mid-session
  • tool_decision telemetry events now include tool_parameters (bash commands, MCP/skill names) when OTEL_LOG_TOOL_DETAILS=1
  • Worktrees managed by Claude are now left unlocked when the agent finishes, so git worktree remove/prune can clean them up
  • Fixed unprocessable images (zero-byte, corrupt) attached via paste, MCP, or dialog crashing the request instead of becoming a text placeholder
  • Fixed sandbox network permission prompts appearing in auto and bypass-permissions mode when using the desktop app, IDE extensions, or SDK
  • Fixed claude agents completed sessions not retiring when an idle subagent was still parked or had leaked a backgrounded shell
  • Fixed claude agents pressing Esc not cancelling a slow "opening…", leaving the list unresponsive
  • Fixed background agent worktrees under .claude/worktrees/ being orphaned after the 30-day job retention sweep
  • Fixed background sessions re-attached after a sleep/wake not telling the model the correct date
  • Fixed copy-on-select in claude agents not reaching the system clipboard inside tmux with set-clipboard on (regression in 2.1.153)
  • Fixed --resume not reporting background subagents that were running when the previous Claude Code process exited
  • Fixed the --resume session picker leaving its contents on the terminal after exiting in fullscreen mode
  • Fixed --worktree and --worktree --tmux returning to the canonical repo root instead of the current linked worktree
  • Fixed the /model picker showing an incorrect "Newer version available" hint when the selected model is already the newest in its family; the pinned-model row now shows the model's description instead of its raw ID
  • Fixed literal markdown markers (backticks, asterisks) appearing in the in-progress message text in fullscreen mode
  • Fixed the terminal freezing after approving the managed-settings security dialog at startup
  • Fixed a rare duplicate line appearing in scrollback after the terminal UI redraws
  • Fixed right-click paste duplicating the clipboard in the VS Code, Cursor, and Windsurf integrated terminals
  • WSL: fixed image paste (alt+v keybinding), screenshot paste on Windows 11, and added support for dragging images from Windows Explorer
  • Improved performance of long and resumed conversations by eliminating redundant message-rendering recomputations
  • /terminal-setup now disables GPU acceleration in VS Code/Cursor/Windsurf integrated terminals to prevent garbled-text rendering
  • The Feature of the Week credit-claim status now appears as a notification in the status area instead of a line above the prompt
  • claude agents: slash-command autocomplete in the dispatch input now matches substrings
  • Removed the "bash commands will be sandboxed" startup banner — sandbox status still shows in /status and when a command is blocked
  • Removed the "/ide for …" startup hint toast
  • [IDE] Fixed clicking Stop while a background subagent is running not actually stopping it
  • [VSCode] Fixed the fast mode indicator not appearing on Opus 4.8
  • Pressing backspace right after a workflow trigger keyword now dismisses the workflow request (same as alt+w) instead of deleting a character
  • Added a "Workflow keyword trigger" setting in /config to stop the word "workflow" in a prompt from triggering a dynamic workflow