v2.1.120
📝 概要
Windows版でGit Bash不要化、CI用のultrareviewコマンド追加、各種UI改善とバグ修正を実施
🔄 主な変更点
- Windows: Git for Windowsが不要に(未インストール時はPowerShellを使用)
- 新機能:
claude ultrareview [target]コマンドでCI/スクリプトから非対話的にコードレビュー実行可能 - Skills機能:
${CLAUDE_EFFORT}で現在のeffortレベルを参照可能 - 環境変数:
AI_AGENTを設定し、ghコマンドがClaude Codeからのトラフィックを識別可能に - UI改善: スクロールヒントの表示、不要なスピナーチップの非表示化
- バグ修正: Escキーでのサーバー切断、
/rewindの入力不能、テレメトリー無効化の不具合など多数修正 - VSCode:
/usageがネイティブダイアログで表示、音声入力が設定ファイルの言語設定に対応
💡 解説・活用案
今回のアップデートで、Windows環境のセットアップが大幅に簡略化され、開発環境構築の障壁が下がりました。新しいultrareviewコマンドはCI/CDパイプラインに組み込むことで、自動コードレビューを実現できます。また、${CLAUDE_EFFORT}変数により、Skillsの挙動をコンテキストに応じて動的に調整できるようになり、より柔軟なワークフロー構築が可能になります。
🌐 日本語訳
変更内容
- Windows: Git for Windows(Git Bash)が不要になりました — 存在しない場合、Claude CodeはPowerShellをシェルツールとして使用します
claude ultrareview [target]サブコマンドを追加し、CIやスクリプトから/ultrareviewを非対話的に実行可能に — 検出結果を標準出力に表示(--jsonで生の出力)し、完了時に0、失敗時に1で終了します- Skillsがコンテンツ内で
${CLAUDE_EFFORT}を使用して現在のeffortレベルを参照できるようになりました - サブプロセス向けに
AI_AGENT環境変数を設定し、ghがClaude Codeへのトラフィックを帰属できるようにしました - デスクトップアプリのインストールやskills/agentsの作成を推奨するスピナーチップが、すでに持っている場合は非表示になります
- ターミナルがスクロールイベントの代わりに矢印キーを送信する場合に「PgUp/PgDnでスクロール」のヒントを表示します
- 多数のclaude.aiコネクタが設定されているが認証されていない場合のセッション開始が高速化されました
- autoモード拒否メッセージが設定ドキュメントへのリンクを含むようになりました
claude plugin validateがmarketplace.jsonのトップレベルで$schema、version、descriptionを、plugin.jsonで$schemaを受け入れるようになりました- autoモードでの自動圧縮が、誤解を招くトークン値の代わりに
auto(小文字、トークン数なし)を表示するようになりました - stdio MCPツール呼び出し中にEscキーを押すとサーバー接続全体が閉じられる問題を修正(2.1.105での回帰)
claude --resumeで起動後、/rewindやその他の対話型オーバーレイがキーボード入力に応答しない問題を修正- 非フルスクリーンモードでのターミナルスクロールバック重複を修正(リサイズ、ダイアログ閉じる、長時間セッション)
DISABLE_TELEMETRY/CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFICがAPIおよびエンタープライズユーザーの使用状況メトリクステレメトリーを抑制しない問題を修正- autoモードで、パイプとリダイレクトの両方を含む複数行のbashコマンドに対する誤検知の「危険なrm操作」パーミッションプロンプトを修正
- 長い選択メニューがフルスクリーンモードでターミナルの下にクリップする問題を修正 — スクロール時にフォーカスされたオプションが画面内に留まるようになりました
- フルスクリーンでWriteツール出力の「+N lines」をクリックすると展開ではなく折りたたまれる問題を修正
- スラッシュコマンドピッカーの入力中のジャンプを修正し、青色で連続した部分文字列のみをマッチするようにハイライトを改善
/pluginマーケットプレイスで、1つのエントリが認識されないソース形式を使用している場合に読み込みが失敗する問題を修正 — そのエントリは表示されますが、インストールしようとすると更新を促されます- [VSCode]
/usageがプレーンテキストのセッションコストを返す代わりに、ネイティブのAccount & Usageダイアログを開くようになりました - [VSCode] 音声ディクテーションが
~/.claude/settings.jsonのlanguage設定を尊重するようになりました - 修正: Bashツールの
findが大きなディレクトリツリーでオープンファイルディスクリプタを使い果たし、ホスト全体のクラッシュを引き起こす問題を修正(macOS/Linuxネイティブビルド)
原文(英語)を表示
What's changed
- Windows: Git for Windows (Git Bash) is no longer required — when absent, Claude Code uses PowerShell as the shell tool
- Added
claude ultrareview [target]subcommand to run/ultrareviewnon-interactively from CI or scripts — prints findings to stdout (--jsonfor raw output) and exits 0 on completion or 1 on failure - Skills can now reference the current effort level with
${CLAUDE_EFFORT}in their content - Set
AI_AGENTenvironment variable for subprocesses soghcan attribute traffic to Claude Code - Spinner tips that recommend installing the desktop app or creating skills/agents are now hidden when you already have them
- Show a "use PgUp/PgDn to scroll" hint when the terminal sends arrow keys instead of scroll events
- Faster session start when you have many claude.ai connectors configured but not authorized
- The auto mode denial message now links to the configuration docs
claude plugin validatenow accepts$schema,version, anddescriptionat the top level ofmarketplace.jsonand$schemainplugin.json- Auto-compact in auto mode now displays
auto(lowercase, no token count) instead of a misleading token value - Fixed pressing Esc during a stdio MCP tool call closing the entire server connection (regression in 2.1.105)
- Fixed
/rewindand other interactive overlays not responding to keyboard input after launching withclaude --resume - Fixed terminal scrollback duplication in non-fullscreen mode (resize, dialog dismiss, long sessions)
- Fixed
DISABLE_TELEMETRY/CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFICnot suppressing usage metrics telemetry for API and enterprise users - Fixed false-positive "Dangerous rm operation" permission prompts in auto mode for multi-line bash commands containing both a pipe and a redirect
- Fixed long selection menus clipping below the terminal in fullscreen mode — the focused option now stays on screen as you scroll
- Fixed Write tool output collapsing instead of expanding when clicking "+N lines" in fullscreen
- Fixed slash command picker jumping while typing, and improved highlight to only match contiguous substrings in blue
- Fixed
/pluginmarketplace failing to load when one entry uses an unrecognized source format — that entry is shown but installing it prompts you to update - [VSCode]
/usagenow opens the native Account & Usage dialog instead of returning plain-text session cost - [VSCode] Voice dictation now respects the
languagesetting in~/.claude/settings.json - Fixed
findin the Bash tool exhausting open file descriptors on large directory trees, causing host-wide crashes (macOS/Linux native builds)