Claude Code Changelog·2026年5月22日 05:39·約6分
Claude Code v2.1.147 の更新内容
TL;DR
Anthropic は Claude Code のバージョン 2.1.147 をリリースし、決定論的なマルチエージェント制御のための「Workflow」ツールを追加しました。また、背景セッションの管理方法やコマンド名の変更も実施しています。
変更点
- 決定論的なマルチエージェントオーケストレーションのためのワークフローツールを追加しました。デフォルトでは無効になっており、CLAUDE_CODE_WORKFLOWS=1 を設定することで有効化できます。
- ピン留めされたバックグラウンドセッション(Claude Agents 内での Ctrl+T)は、アイドル状態でも生存し続けるようになり、Claude Code のアップデート適用時にその場で再起動されます。また、メモリ圧力下では非ピン留めセッションを先に解放した後にのみ、これらのセッションも解放されます。
- /simplify コマンドが/code-review に改名されました。これにより、選択した作業レベル(例:/code-review high)で正誤に関するバグを報告できるようになりました。--comment オプションを指定すると、発見された問題を GitHub PR のインラインコメントとして投稿できます。従来のクリーンアップと修正を行う機能は削除されました。
- プロトタイプ汚染や thenable ベースのエスケープに対する REPL およびワークフローツールのサンドボックスの強化を行いました。
- オートアプデーターを改善しました。一時的なネットワーク障害で再試行を行うようになり、失敗時には特定のエラーカテゴリと OS エラーコードを報告し、更新に失敗した場合は現在のバージョンを表示します。
- 大規模ファイル編集時の差分レンダリングパフォーマンスが向上しました。
- プロンプト履歴において、連続する重複エントリが記録されなくなりました。矢印キーでプロンプトを呼び出して再度送信しても、コピーが追加されることはありません。
- エンタープライズログイン制限(forceLoginOrgUUID および forceLoginMethod の管理設定)が、サードパーティプロバイダーおよび API キーセッションに対して正しく適用されていなかった問題を修正しました。
- ! コマンドの出力で & 文字が & として表示されていたバグを修正しました。これにより、ヘッドレスマシン上で gcloud auth login などのコマンドから URL をコピー&ペーストする際に発生していた不具合が解消されました。
- ヘッドレス/SDK モードで不明なスラッシュコマンドが静かに何もしないという問題を修正しました。現在はエラーメッセージが表示されるようになりました。
- フルスクリーンモードでない場合、小さなターミナルでは 1 ページに 1 コマンドのみを表示し、壊れたタブヘッダーをレンダリングする /help の問題を修正しました
- シェルスナップショットで、アンダースコア 1 つから始まる名前のユーザー関数が削除され、それらを参照するエイリアスが機能しなくなる不具合を修正しました
- tools: frontmatter で複数の Agent(...) タイプを宣言しているプラグインエージェントが、最後のエントリのみを残して他をすべてドロップしてしまう問題を修正しました
- PowerShell(git push*) のようなフックの条件式が一度も一致しない(PowerShell(*) しか機能しなかった)不具合を修正しました
- デフォルトフォーマッターに依存するコマンドの出力が PowerShell ツールでドロップされる問題を修正しました
- Windows で、PowerShell スクリプトの実行時に「はい、次回から聞かない」を選択すると、後続の実行で実際に一致するルールが書き込まれるように修正しました
- winget または Microsoft Store を経由して pwsh がインストールされている場合、Windows で PowerShell ツールが終了コード 1 で失敗する問題を修正しました
- /effort が誤ったレベルのスライダーで開く不具合を修正し、現在は現在の努力度から開始するようにしました
- MCP サーバーのページネーションで、1 ページ以降のリソース、テンプレート、プロンプトがドロップされる問題を修正しました
- クロードがストリーミングしている間、Windows Terminal の添付バックグラウンドセッションでフルスクリーン点滅が発生する不具合を修正しました
- Windows で、バックグラウンドジョブのワークツリーを削除しても NTFS ジャンクションがメインリポジトリに追跡されないように修正しました
- 入力されたスキルまたはカスタムスラッシュコマンドのみであるセッションに対して /background が拒否される問題を修正しました
- ユーザーやスキルが明示的に AskUserQuestion に依存している場合、自動モードがそれを抑制してしまう不具合を修正し、自動モードの分類器はユーザーの回答を意図信号として認識するようにしました
- 「/theme New custom theme」およびカラーエディターダイアログが Esc キーに応答しなかった不具合を修正
- Agent SDK を経由して実行中のストリーミングセッション終了時に未処理の例外が発生する不具合を修正
- Windows 上でスクロールが落ち着くのを待機中に稀にハングアップする不具合を修正
- Windows 上のエージェントビューリストで、バックグラウンドセッションの結果に広幅(CJK)文字が含まれている場合に、行が重複して表示されたり古くなったまま残ったりする不具合を修正
- コピー&ペーストしたテキストが実際のコンテンツではなく、読み取り不能な [Pasted text #N] プレースホルダーとしてエージェントに渡される不具合を修正
- プラグインのマニフェストでデフォルトディレクトリと重複するパスを指定した場合、Claude プラグインの詳細および「/plugin」コマンド内でプラグインコンポーネントのカウントが倍増する不具合を修正
- 「二度と聞かない」で既に許可済みのツール権限について、バックグラウンドセッションで再度プロンプトが表示される不具合を修正
- GNOME Terminal での右クリックおよび中クリックによる貼り付け操作でテキストが挿入されない不具合を修正
- CLAUDE_CODE_SUBAGENT_MODEL 環境変数が、エージェントチームによって起動されたチームメイトプロセスに適用されなかった不具合を修正
- スラッシュコマンドの後にタブまたは改行が続く場合、未知のコマンドとして扱われる不具合を修正
- 「/plugin」「/status」「/mobile」「/sandbox」「/permissions」メニューにおけるいくつかの余白やレイアウトの崩れを修正
- 画像が削除された際にモデルが存在しないメディアを繰り返し再読もうとするプロンプトを修正
原文を表示
What's changed
- Added the Workflow tool for deterministic multi-agent orchestration. It is off by default — set CLAUDE_CODE_WORKFLOWS=1 to enable
- Pinned background sessions (Ctrl+T in claude agents) now stay alive when idle, are restarted in place to apply Claude Code updates, and are shed under memory pressure only after non-pinned sessions
- Renamed /simplify to /code-review. It now reports correctness bugs at a chosen effort level (e.g., /code-review high); pass --comment to post findings as inline GitHub PR comments. The old cleanup-and-fix behavior has been removed
- Hardened REPL and Workflow tool sandboxes against prototype-pollution and thenable-based escapes
- Improved auto-updater: retries transient network failures, reports specific error categories and OS error codes on failure, and shows the current version when an update fails
- Improved diff rendering performance for large file edits
- Prompt history no longer records consecutive duplicate entries — recalling a prompt with arrow-up and submitting it again won't add another copy
- Fixed enterprise login restrictions (forceLoginOrgUUID and forceLoginMethod managed-settings) not being enforced against third-party-provider and API-key sessions
- Fixed & in ! command output displaying as &, which broke copy-pasting URLs from commands like gcloud auth login on headless machines
- Fixed unknown slash commands silently doing nothing in headless/SDK mode — they now show an error message
- Fixed /help rendering a broken tab header and showing only one command per page on small terminals when not in fullscreen mode
- Fixed shell snapshot dropping user functions whose names start with a single underscore, which broke aliases referencing them
- Fixed plugin agents that declare multiple Agent(...) types in tools: frontmatter dropping all but the last entry
- Fixed hook if conditions like PowerShell(git push*) never matching — only PowerShell(*) worked
- Fixed PowerShell tool dropping output for commands that rely on the default formatter
- Fixed: on Windows, "Yes, and don't ask again" for a PowerShell script invocation now writes a rule that actually matches on subsequent runs
- Fixed PowerShell tool failing on Windows with exit code 1 when pwsh is installed via winget or the Microsoft Store
- Fixed /effort opening with the slider on the wrong level — it now starts at your current effort
- Fixed paginating MCP servers dropping resources, templates, and prompts past page 1
- Fixed full-screen strobing in attached background sessions on Windows Terminal while Claude is streaming
- Fixed: on Windows, removing a background-job worktree no longer follows NTFS junctions into the main repo
- Fixed /background refusing sessions whose only typed input was a skill or custom slash command
- Fixed auto mode suppressing AskUserQuestion when the user or a skill explicitly relies on it; the auto-mode classifier now sees the user's answers as intent signal
- Fixed /theme "New custom theme" and color editor dialogs not responding to Esc
- Fixed an uncaught exception at the end of streaming sessions when running via the Agent SDK
- Fixed a rare hang when waiting for scroll to settle on Windows
- Fixed stale and doubled rows in the agent view list on Windows when background session results contain wide (CJK) characters
- Fixed pasted text being delivered to agents as an unreadable [Pasted text #N] placeholder instead of the actual content
- Fixed plugin component counts in claude plugin details and /plugin being doubled when a plugin's manifest listed paths overlapping its default directories
- Fixed backgrounded sessions re-prompting for tool permissions you already granted with "don't ask again"
- Fixed GNOME Terminal right-click and middle-click paste not inserting text
- Fixed CLAUDE_CODE_SUBAGENT_MODEL not applying to teammate processes spawned by agent teams
- Fixed slash commands followed by a tab or newline being treated as an unknown command
- Fixed several spacing and layout glitches in the /plugin, /status, /mobile, /sandbox, and /permissions menus
- Fixed stripped images prompting the model to repeatedly re-read media that was no longer present
この記事をシェア
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み