Claude Code Changelog·2026年5月20日 06:31·約3分
Claude Code v2.1.145 の更新内容
TL;DR
Anthropic が Claude Code をバージョン 2.1.145 にアップデートし、スクリプト対応のための JSON 出力機能や OTEL スパンの改善、ステータスラインへの GitHub 情報の追加を行いました。
変更点
- クラウドエージェントの
--jsonオプションを追加し、ライブな Claude セッションを JSON 形式でリスト表示できるようにしました(tmux-resurrect、ステータスバー、セッションピッカーなどのスクリプト利用向け)
claude_code.toolの OTEL スパンにagent_idおよびparent_agent_id属性を追加し、トレーシングの親子関係も修正して、バックグラウンドサブエージェントのスパンがディスパッチするエージェントツールスパンの下にネストされるようにしました
- ステータスラインの JSON 入力で、検出された場合に GitHub リポジトリと PR の情報を追加表示するようにしました
/pluginの「発見」および「閲覧」画面で、インストール前にプラグインのコマンド、エージェント、スキル、フック、MCP/LSP サーバーを表示するようにしました
- クラウドエージェントのターミナルタブタイトルに、待機入力カウントを表示する機能を追加し、別ウィンドウ(alt-tab)からでもエージェントが注意を必要としているかを即座に確認できるようにしました
- スラッシュコマンドおよび @メンションの提案リストで、全画面モード時にマウスホバーとクリックをサポートするようにしました
StopおよびSubagentStopフックの入力に、background_tasksフィールドとsession_cronsフィールドを追加しました
- Bash コマンド内で許可リスト外の環境変数への裸の変数代入が自動的に承認されるという権限プロンプトの回避バグを修正しました
- 必須引数が省略された際に MCP プロンプトスラッシュコマンドで生のサーバー検証エラーを表示していた問題を修正し、現在は欠落した引数の名前と期待される使用法を表示するようにしました
- ターミナルのリサイズやフォーカス復帰後にキー入力が行われるまでスピナーと経過時間表示がフリーズする不具合を修正しました
- デフォルトの Windows PowerShell 5.1 で動作しなかったクロスプロジェクト再開ヒントを修正し、Windows ではコマンド区切り文字として
;を使用するように変更しました
- エージェントビューの返信ペインで、ボイスプッシュ・トゥ・トーク(push-to-talk)が動作しない不具合を修正
- 複数のタスクを同時に作成した際に、タスクリストが無作為な順序でレンダリングされる不具合を修正
- マーケットプレイスが既にインストールされているにもかかわらず、「Anthropic marketplace のインストールに失敗しました」という古いバナーが表示され続ける不具合を修正
- セッション内で gh pr create やその他の PR 状態変更コマンドを実行した直後に、フッターの PR バッジが即座に更新されない不具合を修正
- ASCII 文字以外の名前を持つエージェントチームのメンバーが、ヘッダーエンコーディングが無効であるためすべての API コールで失敗する不具合を修正
- /review コマンドが、クラシックプロジェクト(Classic Projects)を持つリポジトリでエラーを引き起こす非推奨の projectCards GraphQL クエリを使用していた不具合を修正
- claude プラグインのバリデーションで、ディレクトリではなくファイルを指す skills: エントリを検出していなかった不具合を修正。現在は親ディレクトリを提案するエラーメッセージに変更
- context: fork を使用するスキルが、実行される代わりに再帰的に自身を呼び出し続ける無限ループが発生していた不具合を修正
- Read ツール(Read tool)の改善:ファイル全体の読み込みがトークン制限を超えた場合、ハードエラーではなく「PARTIAL view」通知付きで最初のページの一部のみを返すように変更
原文を表示
What's changed
- Added claude agents --json to list live Claude sessions as JSON for scripting (tmux-resurrect, status bars, session pickers)
- Added agent_id and parent_agent_id attributes to claude_code.tool OTEL spans, and fixed trace parenting so background subagent spans nest under the dispatching Agent tool span
- Status line JSON input now includes GitHub repo and PR information when detected
- /plugin Discover and Browse screens now show a plugin's commands, agents, skills, hooks, and MCP/LSP servers before installation
- claude agents terminal tab title now shows the awaiting-input count so an alt-tabbed window tells you when an agent needs attention
- Slash command and @-mention suggestion list now supports mouse hover and click in fullscreen mode
- Stop and SubagentStop hook input now includes background_tasks and session_crons fields
- Fixed a permission-prompt bypass where bare variable assignments to non-allowlisted environment variables in Bash commands were auto-approved
- Fixed MCP prompt slash commands showing raw server validation errors when a required argument is omitted — the error now names the missing argument and shows expected usage
- Fixed the spinner and elapsed-time display freezing until a keypress after the terminal was resized or refocused
- Fixed the cross-project resume hint failing in default Windows PowerShell 5.1 — Windows now uses ; as the command separator
- Fixed voice push-to-talk not working in the agent view's reply pane
- Fixed task lists rendering in random order when several tasks are created at once
- Fixed stale "Failed to install Anthropic marketplace" banner showing when the marketplace is already installed
- Fixed the PR badge in the footer not updating immediately after gh pr create and other PR-state-changing commands run in-session
- Fixed Agent Teams teammates with non-ASCII names failing every API call due to invalid header encoding
- Fixed /review using a deprecated projectCards GraphQL query that errored on repos with Classic Projects
- Fixed claude plugin validate not flagging skills: entries that point at a file instead of a directory — the error now suggests the parent directory
- Fixed an infinite loop where a skill using context: fork could repeatedly re-invoke itself instead of running
- Improved the Read tool to return a truncated first page with a "PARTIAL view" notice instead of a hard error when a whole-file read exceeds the token limit
この記事をシェア
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み