Claude Code Changelog·2026年5月19日 09:48·約9分
Claude Code v2.1.144 の更新内容
TL;DR
Anthropic が Claude Code のバージョン 2.1.144 をリリースし、バックグラウンドセッションの再開機能や経過時間の表示、プラグインの最終更新日表示などを追加しました。
変更点
- バックグラウンドセッションの /resume サポートを追加 — claude --bg またはエージェントビュー経由で開始されたセッションは、インタラクティブなセッションと共に表示され、bg マークが付与されます。
- バックグラウンドサブエージェントの完了通知に経過時間を追加しました(例:"Agent completed · 3h 2m 5s")。
- /plugin のブラウズおよびディスカバリーパネルで、プラグインが最後に更新された日時が表示されるようになりました。
- /model コマンドは現在のセッションのみに対してモデルを変更します。新しいセッションのデフォルトを設定するには、モデルピッカーで d を押してください。
- CLI 全体で "extra usage" を "usage credits" にリネームしました。/extra-usage は /usage-credits になりました(旧名称も引き続き動作します)。
- api.anthropic.com に到達できない場合(キャプティブポータル、ファイアウォール、VPN の問題など)、起動時に最大 75 秒間フリーズする問題を修正しました — サイドチャネル API 呼び出しは現在 15 秒でタイムアウトします。
- ウィンドウのリサイズイベントを見逃した後に端末出力が文字化けする問題を修正しました(例:VS Code の分割パネルの仕切りをドラッグするなど)— Ctrl+L を押す必要なく、次のフレームで自動的に修復されます。
- 非常に長いセッション中にのみ発生し、端末のリサイズまたは再起動時にのみクリアされる、段階的な端末表示の破損(古びた/文字化けしたグリフ)の問題を修正しました。
- スピンナーアニメーションの色数を減らすことで、VS Code における端末レンダリングの不具合を削減しました。
- プロジェクトがフルディスクアクセス保護フォルダの下にある場合に、macOS のバックグラウンドセッションで "exit 1 before init" エラーが発生してクラッシュする問題を修正しました(2.1.143 での回帰問題)。
- ファイルの画像拡張子がその内容と一致しない場合(例:.png として保存された HTML)に読み込むと回復不能な会話になる不具合を修正し、現在はテキストへフォールバックするようになりました
- 検索時の不要なツールエラーを削減しました。head/tail ファイルビューが編集前のチェックを満たすようになり、egrep、fgrep、git grep、または git diff から「一致なし」の結果(終了コード 1)が返された場合でも、コマンドの失敗として報告されなくなりました
- ワークツリーに入力した場合や一部のバックグラウンドセッションで「分岐する会話がありません」というエラーで /branch コマンドが失敗する不具合を修正しました
- AskUserQuestion のノートフィールドで Escape キーを押した際に、ターンが中断されるのではなく回答選択画面に戻るよう修正しました
- IDE のモデルピッカーまたは起動後の applyFlagSettings を通じて変更された場合でも、モデルの選択が適用されない不具合を修正しました
- 再開されたセッションでは、別のセッションの /model 設定を引き継ぐのではなく、使用していたモデルを保持するようになりました
- Bedrock および Vertex ユーザーが /model ピッカーから「Opus (1M context)」を選択できないという不具合(v2.1.129 で導入された回帰)を修正しました
- forceLoginMethod と forceLoginOrgUUID が設定されているユーザーで、リモートセッションログイン時に「この組織にアクセスできません」というエラーが発生する不具合を修正しました
- ページネーションされたツールリスト応答を持つ MCP サーバーが最初のページのみを返してしまい、他のツールを静かにドロップしていた不具合を修正しました
- 対応していない MIME タイプ(例:SVG)の MCP 画像により会話が破損する不具合を修正し、現在はディスクに保存してツール結果で参照するようにしました
- スキルディレクトリ内でビルドが実行された際にファイル記述子が枯渇する不具合を修正し、非 .md ファイルによるスキルの再読み込みトリガーを防止しました
- ユーザーの最初のプロンプトではなく、プラグインモニターの出力からセッションタイトルが生成されていた不具合を修正
- ヘッドレスモードで権限エラーが発生して Skill ツールが失敗する不具合(v2.1.141 で導入された回帰)を修正
- 新規マシンでの初回ロード後に「キャッシュされていない」というエラーが表示される、ユーザー設定で有効化されているプラグインの問題を修正。プロジェクトの .claude/settings.json によってのみ有効化されたプラグインについては、実行可能な Claude プラグインインストールのヒントを表示するように変更
- .mcp.json の解析に失敗した場合(例:VS Code の「servers」キーを使用している場合など)、サーバーが検出されないことを静かに報告していた claude mcp list の不具合を修正。現在は設定エラーを表示するようになりました
- カスタム ANTHROPIC_BASE_URL 設定や Bedrock Mantle で Haiku が使用されていない背景のサイドクエリに関する不具合を修正。ファーストパーティ API キーが設定されている場合、または Haiku モデルが設定されていない場合に正しくフォールバックするように変更
- Windows 上で添付された背景セッションでのスクロール操作(PgUp/PgDn、マウスホイール、Ctrl+O を使用したトランスクリプトナビゲーション)が動作しない不具合を修正
- 背景セッションに接続している状態でターミナルを閉じた際にクラッシュする不具合を修正
- ! exec セッションで添付中に Ctrl+C が効かない不具合を修正。現在は実行中のコマンドを中断できるようになりました
- エージェントビューの shell-command 行が完了後に「Working」の下に残り続ける問題、および完了した行で Enter キーを押すと出力期限切れ後もコマンドが再実行される問題を修正
- Windows で claude agents のリスト内で←キーを押すと、そのリストがキーボード入力に応答しなくなる不具合を修正
- CJK 内容を含む場合、Windows Terminal でエージェントビューのパン切り替え時に左端にゴースト文字が表示される不具合を修正
- /bg および ←-detach コマンドは、/add-dir で追加されたディレクトリを現在も保持します
- すでにその場で編集されていたセッションをデタッチした直後に、"背景セッションがまだ変更を分離していません"というエラーで編集/書き込み拒否される不具合を修正しました
- 停止している背景セッション上で claude が再 Spawn された際、"running" ではなく "stopped" と表示される不具合を修正しました
- 背景セッションからフォークされたセッションが /resume ピッカーに表示されない不具合を修正しました
- 背景サービスが応答しない場合に、claude エージェントからのセッション開封や claude ログの実行がフリーズする不具合を修正しました。現在は 10 秒でタイムアウトし、回復のヒントが表示されます
- サブエージェントによって生成された背景 Bash タスクが、プロセス終了後も SDK のタスクリストパネル上で "Running" と表示され続ける不具合を修正しました
- 完了または停止した背景セッションが一時的に起動できない場合でも、永続的にスタートアップクラッシュとマークされる不具合を修正しました
- claude エージェントにアタッチされたセッション内の Markdown リンクが、クリック可能なハイパーリンクとしてではなくプレーンテキストとしてレンダリングされる不具合を修正しました
- カスタム spinnerVerbs がターン終了後のメッセージにも適用されてしまう不具合を修正しました。過去形の組み込みコマンド(例:"Worked for 5s")はここで復元されます
- claude エージェントの / --bg 拒否メッセージが、一般的なメッセージではなく、特定のゲート(非 TTY、環境変数、または設定)を明示するように変更されました
- claude --bg --name コマンドは、spawn 後の確認メッセージで指定された名前をエコー表示するようになりました
- claude エージェントにおいて、Ctrl+R を使用して背景セッションの名前を変更すると、アタッチされているセッションのバナーが即座に更新されるようになりました
- 背景セッションのワークツリー分離ガードは、WorktreeCreate フックが設定された非 Git VCS ユーザーにも適用されるようになりました
- プラグインマーケットプレイスの追加/更新処理において、CLAUDE_CODE_PLUGIN_PREFER_HTTPS 設定を尊重するようになりました
- /plugin コマンドは、プラグインの有効化・無効化またはアンインストール後、インストール済みリストへ自動的に戻ります
- /doctor コマンドは、コマンドフックに「command」フィールドが欠落している場合、実行形式の例を示すようになりました
- スキル一覧の切り捨て表示は、起動時の通知として不再現します。詳細な内訳については /doctor を実行してください
- 稀に発生する応答前ストリーム停止からの回復機能を改善し、低速な非ストリーミングリクエストへフォールバックする代わりに、ストリーミングを 1 回再試行するようにしました
- SDK/ヘッドレス MCP の起動処理を改善:事前待機(pre-wait)が最初のターン前にブロックするのではなく、起動プロセスと並列実行されるようになりました(低速な MCP サーバーでは最大 2 秒高速化)
- ポスト調査フォローアップのヒントは、コンテキストに応じたコピーと共に、非削除されたすべての調査回答後に表示され、/feedback を通じてより詳細を共有しやすくなりました
原文を表示
What's changed
- Added /resume support for background sessions — sessions started via claude --bg or agent view now appear alongside interactive ones, marked with bg
- Added elapsed duration to background subagent completion notifications (e.g. "Agent completed · 3h 2m 5s")
- The /plugin browse and discover panes now show when a plugin was last updated
- /model now changes the model for the current session only; press d in the model picker to set a default for new sessions
- Renamed "extra usage" to "usage credits" across CLI copy; /extra-usage is now /usage-credits (old name still works)
- Fixed startup hanging up to 75s when api.anthropic.com is unreachable (captive portal, firewall, VPN issues) — side-channel API calls now time out after 15s
- Fixed garbled terminal output after a missed window-resize event (e.g. dragging a VS Code split-pane divider) — now self-heals on the next frame instead of requiring Ctrl+L
- Fixed progressive terminal display corruption (stale/garbled glyphs) that could appear in very long sessions and only cleared on terminal resize or restart
- Reduced terminal rendering glitches in VS Code by reducing spinner animation color count
- Fixed macOS background sessions crashing with "exit 1 before init" when the project lives under a Full Disk Access-protected folder (regression in 2.1.143)
- Fixed an unrecoverable conversation when reading a file whose image extension doesn't match its contents (e.g. HTML saved as .png) — now falls back to text
- Fewer spurious tool errors during search: head/tail file views now satisfy the read-before-edit check, and a "no matches" result (exit code 1) from egrep, fgrep, git grep, or git diff is no longer reported as a command failure
- Fixed /branch failing with "No conversation to branch" after entering a worktree or in some background sessions
- Fixed pressing Escape in the AskUserQuestion notes field aborting the turn instead of returning to answer selection
- Fixed model selection not applying when changed via the IDE model picker or applyFlagSettings after startup
- Resumed sessions now keep the model they were using instead of picking up another session's /model choice
- Fixed Bedrock and Vertex users unable to select "Opus (1M context)" from the /model picker (regression in v2.1.129)
- Fixed remote-session login failing with "Can't access this organization" for users with forceLoginMethod and forceLoginOrgUUID set
- Fixed MCP servers with paginated tools/list responses only returning the first page, silently dropping tools
- Fixed MCP images with unsupported MIME types (e.g. SVG) breaking the conversation — now saved to disk and referenced in the tool result
- Fixed file descriptor exhaustion when a build runs inside a skill directory — non-.md files no longer trigger skill reloads
- Fixed session title being generated from plugin monitor output instead of the user's first prompt
- Fixed Skill tool failing with permission error in headless mode (regression in v2.1.141)
- Fixed plugins enabled in your own settings showing "not cached" errors after first load on a fresh machine; plugins enabled only by a project's .claude/settings.json now show an actionable claude plugin install hint
- Fixed claude mcp list silently reporting no servers when .mcp.json can't be parsed (e.g. using VS Code's "servers" key instead of "mcpServers") — now shows configuration errors
- Fixed background side-queries on custom ANTHROPIC_BASE_URL setups and Bedrock Mantle not using Haiku — now falls back correctly when a first-party API key is configured or no Haiku model is set
- Fixed scrolling in attached background sessions on Windows — PgUp/PgDn, mouse wheel, and Ctrl+O transcript navigation now work
- Fixed a crash when closing the terminal while attached to a background session
- Fixed ! exec sessions not responding to Ctrl+C while attached — now interrupts the running command
- Fixed agent view shell-command rows lingering under Working after completion, and pressing Enter on a completed row re-running the command after its output expired
- Fixed on Windows, pressing ← in claude agents leaving the list unresponsive to keyboard input
- Fixed ghost characters at the left edge when switching panes in Agent View on Windows Terminal with CJK content
- /bg and ←-detach now preserve directories added via /add-dir
- Fixed Edit/Write refusing with "background session hasn't isolated its changes yet" right after detaching a session that was already editing in place
- Fixed claude respawn on a stopped background session showing "stopped" instead of running
- Fixed /resume picker not showing sessions forked from a background session
- Fixed opening a session from claude agents or running claude logs hanging when the background service is unresponsive — now times out after 10s with a recovery hint
- Fixed background Bash tasks spawned by subagents staying "Running" in SDK task panels after the process exits
- Fixed completed or stopped background sessions briefly failing to wake being permanently marked as a startup crash
- Fixed markdown links in claude agents attached sessions rendering as plain text instead of clickable hyperlinks
- Fixed custom spinnerVerbs applying to the post-turn duration message — past-tense built-ins like "Worked for 5s" are restored there
- claude agents / --bg rejection messages now name the specific gate (non-TTY, env var, or setting) instead of a generic message
- claude --bg --name now echoes the name in the post-spawn confirmation
- claude agents: renaming a background session with Ctrl+R now updates the attached session's banner immediately
- Background session worktree isolation guard now applies for non-git VCS users with WorktreeCreate hooks configured
- Plugin marketplace add/update now respects CLAUDE_CODE_PLUGIN_PREFER_HTTPS
- /plugin now returns to the Installed list after enabling, disabling, or uninstalling a plugin
- /doctor now shows an exec-form example when a command hook is missing the command field
- Skill-listing truncation is no longer shown as a startup notification — run /doctor for the full breakdown
- Improved recovery from rare pre-response stream stalls — now retries streaming once instead of falling back to a slower non-streaming request
- Improved SDK/headless MCP startup: pre-wait now overlaps startup instead of blocking before the first turn (up to 2s faster with slow MCP servers)
- The post-survey follow-up hint now appears after every non-dismiss survey response with context-aware copy, making it easier to share more detail via /feedback.
この記事をシェア
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み