Claude Code v2.1.157 の変更点
Claude Code v2.1.157 は、プラグインのローカル自動読み込み機能とスキャフォールディングツールの追加により開発ワークフローを強化し、多数のバグ修正で安定性と信頼性を大幅に向上させた。
キーポイント
ローカルプラグインエコシステムの強化
.claude/skills ディレクトリ内のプラグインが市場プレイス不要で自動的に読み込まれるようになり、新規プラグイン作成用の 'claude plugin init' コマンドが追加された。
開発者体験(DX)の向上と自動化
/plugin 引数の補完機能が強化され、エージェント管理やワークツリー切り替え機能も改善され、よりスムーズな対話型開発が可能になった。
安定性と信頼性の大幅な改善
破損した画像によるクラッシュ、セッション終了後のリソースリーク、ターミナルのフリーズなど、20 以上の深刻なバグが修正され、運用環境での堅牢性が向上した。
テレメトリとデバッグ機能の拡充
ツール決定時のパラメータ情報を取得可能にする設定が追加され、開発中のトラブルシューティングやパフォーマンス分析が容易になった。
影響分析・編集コメントを表示
影響分析
今回のアップデートは、Claude Code を単なるチャットツールから、ローカル開発環境で自律的に動作する堅牢なエージェントプラットフォームへと進化させる重要な一歩です。特にプラグインのローカル化と自動化機能は、企業や個人開発者が独自のツールチェーンを Claude に組み込む際の障壁を取り除き、エコシステムの拡大を加速させるでしょう。また、多数のバグ修正により、生産環境での採用リスクが大幅に低下し、開発者コミュニティからの信頼回復にも寄与しています。
編集コメント
市場プレイス不要のローカルプラグイン機能は、セキュリティ要件の高い環境やオフライン開発者にとって画期的な改善です。バグ修正の多さから、直近のバージョンで顕在化した課題を真摯に解決した姿勢が伺えます。
変更点
- .claude/skills ディレクトリ内のプラグインは、マーケットプレイスを必要とせず自動的に読み込まれるようになりました。
- .claude/skills に新しいプラグインをスキャフォールドするための
claude plugin initコマンドが追加されました。
/plugin引数の補完機能が強化され、サブコマンド、インストール済みのプラグイン名、既知のマーケットプレイスにあるプラグインが表示されるようになりました。
- claude agents: settings.json の agent フィールドは、ディスパッチされたセッションで尊重されるようになり、--agent オプションでこれを上書きできるようになりました。
- EnterWorktree は、セッション中に Claude が管理するワークツリー間を切り替えることができるようになりました。
- tool_decision テレメトリイベントに、OTEL_LOG_TOOL_DETAILS=1 の設定時にツールパラメータ(bash コマンド、MCP/スキル名)が含まれるようになりました。
- Claude によって管理されるワークツリーは、エージェントが終了した際にロック解除されたままになり、git worktree remove/prune でクリーンアップできるようになりました。
- ペースト、MCP、またはダイアログを介して添付されたゼロバイトまたは破損した画像がリクエストをクラッシュさせるのではなく、テキストプレースホルダーとして扱われるように修正されました(以前は処理不能な画像として認識されていました)。
- デスクトップアプリ、IDE 拡張機能、SDK を使用している際に、自動モードおよび bypass-permissions モードでサンドボックスのネットワーク権限プロンプトが表示される不具合を修正しました。
- クローズドされたセッションがアイドル状態のサブエージェントによって保留中またはバックグラウンドシェルがリークしていた場合に、claude agents の完了したセッションがリタイアされない問題を修正しました。
- claude agents で Esc キーを押しても「開いています…」という遅い処理をキャンセルできず、リストが応答しなくなっていた不具合を修正しました。
- .claude/worktrees/ 配下にあるバックグラウンドエージェントのワークツリーが、30 日のジョブ保持スウィープ後に孤児化(オーファン化)する問題を修正しました。
- スリープ/ウェイク後に再接続されたバックグラウンドセッションで、モデルに正しい日付が通知されない不具合を修正しました。
- set-clipboard を有効にした tmux 内で、Claude エージェントの選択コピーがシステムクリップボードに反映されない不具合を修正しました(2.1.153 で発生した回帰問題)
- 前の Claude Code プロセスが終了した際にバックグラウンドで実行されていたサブエージェントについて、--resume オプションが正しく報告しない不具合を修正しました
- フルスクリーンモードで終了した後にも端末に残っていた --resume セッションピッカーの内容を削除する不具合を修正しました
- --worktree および --worktree と --tmux を併用した場合に、現在のリンクされたワークツリーではなく、正規のリポジトリルートへ戻ってしまう不具合を修正しました
- 選択したモデルがそのファミリー内で既に最新バージョンであるにもかかわらず、「新しいバージョンが利用可能です」という誤ったヒントを表示していた /model ピッカーの不具合を修正しました。ピン留めされたモデル行では、生の ID の代わりにモデルの説明が表示されるようになりました
- フルスクリーンモードで進行中のメッセージテキストに、リテラルな Markdown マーカー(バッククォートやアスタリスク)がそのまま表示されてしまう不具合を修正しました
- 起動時に管理設定のセキュリティダイアログを承認した後に端末がフリーズする不具合を修正しました
- 端末 UI が再描画された後に、まれにスクロールバック領域に重複行が表示される不具合を修正しました
- VS Code、Cursor、Windsurf の統合ターミナル内で、右クリックによる貼り付け時にクリップボードが二重化される不具合を修正しました
- WSL: 画像の貼り付け(alt+v キーバインド)、Windows 11 でのスクリーンショット貼り付けを修正し、Windows エクスプローラーからの画像ドラッグアンドドロップをサポートしました
- 冗長なメッセージ描画再計算を排除することで、長時間の会話および再開された会話のパフォーマンスを改善しました
- /terminal-setup コマンドにより、VS Code/Cursor/Windsurf の統合ターミナルでの GPU アクセラレーションが無効化され、文字化けしたテキストレンダリングが防止されるようになりました
- 今週の機能のクレジット請求ステータスが、プロンプト上の行ではなくステータス領域に通知として表示されるようになりました
- claude エージェント:ディスパッチ入力でのスラッシュコマンド自動補完が、サブストリング(部分文字列)にも一致するようになりました
- 「bash コマンドはサンドボックス化されます」という起動バナーを削除しました — サンドボックスステータスは /status コマンドおよびコマンドがブロックされた際に依然として表示されます
- 「/ide for …」という起動ヒントのトースト通知を削除しました
- [IDE] 背景で動作中のサブエージェント実行中に「停止」ボタンをクリックしても実際に停止しなかった不具合を修正しました
- [VSCode] Opus 4.8 で高速モードインジケーターが表示されない不具合を修正しました
- ワークフロートリガーキーワードの直後にバックスペースキーを押すと、文字が削除されるのではなくワークフローリクエストがキャンセルされます(alt+w と同じ動作)
- プロンプト内の「workflow」という単語が動的なワークフローをトリガーしないようにするための「Workflow keyword trigger」設定を /config に追加しました
原文を表示
What's changed
- Plugins in .claude/skills directories are now automatically loaded, no marketplace required
- Added claude plugin init 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 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
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み