Claude Code Changelog·2026年5月27日 10:30·約6分
Claude Code v2.1.152 の変更点
TL;DR
Claude Code がバージョン 2.1.152 に更新され、コードレビュー機能に自動修正や効率化提案が追加されました。また、スキル実行時に特定のツールの使用を制限する設定が可能になり、スキルディレクトリの再スキャンコマンドも新設されました。
変更点
- /code-review --fix コマンドは、レビュー完了後に作業ツリーにレビュー結果を適用し、再利用・簡素化・効率化の提案を表示するようになりました。また、/simplify コマンドは内部で /code-review --fix を呼び出すようになりました。
- スキルやスラッシュコマンドでは、フロントマター(frontmatter)に disallowed-tools を設定することで、そのスキルがアクティブな間、モデルから特定のツールを除外できるようになりました。
- セッションを再起動せずにスキルディレクトリを再スキャンするための /reload-skills コマンドを追加しました。
- SessionStart フックでは、reloadSkills: true を返すことでスキルディレクトリの再スキャンが可能になり、フックによってインストールされたスキルも同じセッション内で利用可能になりました。
- SessionStart フックでは、起動時および再開時に hookSpecificOutput.sessionTitle を設定することで、セッションタイトルを指定できるようになりました。
- MessageDisplay フックイベントを追加しました。これにより、アシスタントのメッセージテキストが表示される際に、フックがその内容を変換したり非表示にしたりすることが可能になります。
- pluginSuggestionMarketplaces という管理設定を追加しました。管理者は、コンテキストに応じたヒントを通じてプラグインを提案対象とする組織市場をホワイトリスト化できるようになりました。
- claude プラグインマーケットプレイスからの削除コマンド(remove)では、marketplace add、install、uninstall と対称性を持たせるため、--scope user|project|local を受け付けるようになりました。
- Claude Code では、プライマリモデルが見つからない場合、それ以降のセッション全体で設定された --fallback-model に自動的に切り替わるようになり、以前のようにすべてのリクエストが失敗する不再となりました。
- オートモードでは、以前必要だったオプトイン同意が不要になりました。
- Vim モード: NORMAL モードでの / キーは、bash/zsh の vi モードと同様に逆方向履歴検索(Ctrl+R と同等)を開くようになりました。
- /usage の内訳に大規模セッションファイルが含まれるようになりました。ファイルはストリーミング読み込みでスキャンされるため、メモリ使用量は一定に保たれます
- 折りたたみグループ内の思考サマリーは、少なくとも 3 秒間可読性を維持し、マークダウンとしてレンダリングされ、最大 10 行に制限されます(Ctrl+O で完全な思考を表示可能)
- フルスクリーンモードでは、「Thinking for Ns」インジケーターがモデルが思考している間にリアルタイムでカウントアップし、思考の途中中断時でもその値を保持します
- Workflow ツールのインライン進捗表示を簡素化しました。ライブエージェントのカウントは、プロンプト下の永続的なワークフローステータス行でのみ表示されます
- 応答後のタイマーは、バックグラウンドのエージェントやワークフローがまだ実行中の場合、「Waiting for N background agents/workflows to finish」と表示し、結果の処理が完了した時点で累積時間を報告します
- セッションエントリーポイントを OpenTelemetry メトリクス属性として追加しました(app.entrypoint。OTEL_METRICS_INCLUDE_ENTRYPOINT=true でオプトイン)
- 非常に長いセッションでターミナルのスタイルが劣化する問題を修正しました。レンダラーのスタイルプールを再利用することで解決しています
- サンドボックス有効化警告が凝縮された起動モードに表示されない不具合を修正しました。現在はすべてのレイアウトで表示されます
- ツール実行中にローディングスピナーが「still thinking」や「almost done thinking」と表示される問題、および各ツール実行後に思考ステータスが「thinking」にリセットされない問題を修正しました
- フォーカスモードで、隠されたアクティビティがないターンでも誤って「N messages hidden」カウントが表示される不具合を修正しました
- 展開されたツール結果内のリンクをクリックした際に、セクションが折りたたまれてしまうのではなくリンクが開くように修正しました
- マークダウンテーブルのセル枠線がインラインコードの色を引き継いでしまう問題、継続行のスタイルが失われる問題、および狭いターミナルのスタックレイアウトで空のヘッダーセルにラベルが表示されてしまう問題を修正しました
- 同じコマンドを持つが環境変数が異なるプラグイン MCP サーバーが誤って重複排除される問題を修正しました
- 削除されたマーケットプレイスや取り下げられたプラグインを参照する古い enabledPlugins エントリに対して、/doctor コマンドが「marketplace not found」または「plugin not found」と報告してしまう問題を修正しました
- プラグインレジストリが再構築された後に、Git ブランチを追跡しているプラグインが更新を受け取らなくなるという問題(サイレントに発生)を修正しました
- egress プロキシが有効になっている場合、Claude Code Remote セッションでリモート MCP サーバーへの接続に失敗する問題を修正しました
- 会話にメッセージが存在しない場合や、同じ基盤値に解決される努力レベル間を切り替える場合に、努力度変更の確認ダイアログが表示されてしまう問題を修正しました
- --bare オプションを使用している場合や添付ファイルが無効になっている場合に実行される際、エージェントリストが決して提供されないという問題に対し、エージェントツールの説明が誤って参照していた点を修正しました
- サブエージェントがキャンセルされた後に古い権限プロンプトを受け入れた際に、claude agents 内でバックグラウンドワーカーがクラッシュする問題を修正しました
- API がネストされた cache_creation バラクラクションを通じてのみキャッシュ書き込みを報告する場合に、転記および結果の使用量で cache_creation_input_tokens が 0 と報告される問題を修正しました
- SDK ホスト型セッションにおいて、リモートコントロールが有効化されている場合に「モバイルプッシュ送信失敗(リモートコントロール非アクティブ)」と誤って報告されていた PushNotification ツールの不具合を修正しました
- モデル切り替えやログイン切り替え後に履歴に古い思考ブロック署名が残存してセッションが停止する事象を修正しました。現在は、再試行用の安全ネット機能と共にプロアクティブに削除されるようになりました
原文を表示
What's changed
- /code-review --fix now applies review findings to your working tree after the review, surfacing reuse, simplification, and efficiency suggestions; /simplify now invokes /code-review --fix
- Skills and slash commands can now set disallowed-tools in frontmatter to remove tools from the model while the skill is active
- Added /reload-skills command to re-scan skill directories without restarting the session
- SessionStart hooks can now return reloadSkills: true to re-scan skill directories, making skills installed by the hook available in the same session
- SessionStart hooks can now set the session title via hookSpecificOutput.sessionTitle on startup and resume
- Added a MessageDisplay hook event that lets hooks transform or hide assistant message text as it is displayed
- Added pluginSuggestionMarketplaces managed setting: admins can allowlist org marketplaces whose plugins may be suggested via context-aware tips
- claude plugin marketplace remove now accepts --scope user|project|local for symmetry with marketplace add, install, and uninstall
- Claude Code now switches to your configured --fallback-model for the rest of the session when the primary model is not found, instead of failing every request
- Auto mode no longer requires opt-in consent
- Vim mode: / in NORMAL mode now opens reverse history search (like Ctrl+R), matching bash/zsh vi-mode
- The /usage breakdown now includes large session files; files are scanned with a streaming read so memory usage stays flat
- Thinking summaries in the collapsed group now stay readable for at least 3 seconds, render as markdown, and cap at 10 lines (Ctrl+O shows the full thinking)
- In fullscreen mode, the "Thinking for Ns" indicator now counts up live while the model is thinking, and keeps its value if you interrupt mid-thought
- Simplified the Workflow tool's inline progress display — live agent counts now show only in the persistent workflow status row below the prompt
- The post-response timer now shows "Waiting for N background agents/workflows to finish" when backgrounded agents or workflows are still running, and reports the cumulative time once their results are processed
- Added the session entrypoint as an OpenTelemetry metric attribute (app.entrypoint, opt-in via OTEL_METRICS_INCLUDE_ENTRYPOINT=true)
- Fixed terminal styling degrading in very long sessions by recycling the renderer's style pool
- Fixed the sandbox-enabled warning not appearing in condensed startup mode — it now shows in every layout
- Fixed the loading spinner showing "still thinking"/"almost done thinking" while a tool is running, and reset the thinking status to "thinking" after each tool
- Fixed focus mode showing a spurious "N messages hidden" count on turns with no hidden activity
- Fixed clicking a link inside an expanded tool result collapsing the section instead of opening the link
- Fixed markdown table cell borders inheriting the color of inline code, wrapped continuation lines losing their style, and empty header cells showing a label in the narrow-terminal stacked layout
- Fixed plugin MCP servers with the same command but different environment variables being incorrectly deduplicated
- Fixed /doctor reporting "marketplace not found" or "plugin not found" for stale enabledPlugins entries referencing removed marketplaces or dropped plugins
- Fixed plugins that track a git branch silently no longer receiving updates after the plugin registry was rebuilt
- Fixed remote MCP servers failing to connect in Claude Code Remote sessions when the egress proxy is enabled
- Fixed the effort-change confirmation dialog appearing when the conversation has no messages or when switching between effort levels that resolve to the same underlying value
- Fixed the Agent tool description referencing an agent list that is never delivered when running with --bare or with attachments disabled
- Fixed a background worker crash in claude agents when accepting a stale permission prompt after a subagent was cancelled
- Fixed cache_creation_input_tokens reporting as 0 in transcript and result usage when the API reports cache writes only via the nested cache_creation breakdown
- Fixed the PushNotification tool incorrectly reporting "Mobile push not sent (Remote Control inactive)" in SDK-hosted sessions when Remote Control is enabled
- Fixed sessions getting stuck after a model or login switch left stale thinking-block signatures in history; now stripped proactively with a retry safety-net
この記事をシェア
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み