2.1.153
Claude Code 2.1.153 - リリースノート
2026年5月28日
Claude Code
日本語サマリー
Claude Code v2.1.153 リリースノート要約
※破壊的変更 / セキュリティ修正
- API認証情報の誤送信(修正): カスタム API ゲートウェイに対して、誤ってユーザーの Anthropic OAuth 認証情報が送信されていた回帰バグを修正しました。
- キーバインド設定の変更:
modelPicker:setAsDefaultキーバインドをmodelPicker:thisSessionOnlyにリネームする必要があります(dアクションがsに変更されました)。
主な変更点・新機能
/modelコマンドの挙動変更: 選択したモデルが新規セッションのデフォルトとして保存されるようになりました。現在のセッションでのみ変更したい場合はsキーを押します。- Git LFS のスキップ:
github/gitプラグインのマーケットプレイスソースに、クローンやアップデート時の Git LFS ダウンロードをスキップするskipLfsオプションが追加されました。 - 自動アップデートの通知: npm によるグローバルインストールの自動アップデートが不可な場合、通知が表示されるようになりました(
/doctorでも確認可能)。 - ステータスラインの改善: ステータスラインコマンドが端末幅に合わせた出力を行えるよう、
COLUMNSおよびLINES環境変数が渡されるようになりました。 - バックグラウンド処理の改善: Claude応答中に
/bgを実行した際、応答を破棄せずバックグラウンドセッションで継続するようになりました。また、EnterWorktreeがバックグラウンドセッションですぐに利用可能になりました。
重要なバグ修正
- MCPサーバー関連: stateful MCPサーバーの再接続ループ、サブエージェントでの
--strict-mcp-configやエンタープライズ設定の無視、進捗通知の非表示など、複数の重大なバグを修正しました。 - メモリ・プロセス問題: セッション再開時の過剰なメモリ消費(数GB規模)、
stream-jsonモードでのCLI終了時ハングアップ、古いデーモンでの実行問題などを修正しました。 - Agentツール:
subagent_type: 'claude'が一時的なワークツリーで実行され、出力が見知らぬパスに破棄される可能性があった問題を修正しました。 - 各種環境の修正: Windows向けインストーラやアップデートの安定性向上、macOS/WindowsでのバックグラウンドセッションのUI描画や権限関連の問題、VS Code 終了時のプロセス残留問題を修正しました。
原文(Release Notes)
What's changed
- Added
skipLfsoption togithub/gitplugin marketplace sources to skip Git LFS downloads during clone and update- Claude Code now shows a one-time notice when your npm global install can't auto-update;
/doctorlists the fixes- Status line commands now receive
COLUMNSandLINESenvironment variables so scripts can size output to the terminal widthclaude agents: autocomplete in the dispatch input now suggests native slash commands and bundled skills, not just project skillsclaude agents: PR column now showsPR #Nfor a single PR orN PRsfor multipleclaude doctornow shows the result of your last update attempt- Combined the separate "needs authentication" startup notifications for MCP servers and connectors into a single message
- macOS: background agents now appear as "Claude Code" in Privacy & Security and keep their permission grants across upgrades
- Fixed stateful MCP servers without the optional GET SSE stream reconnect-looping on
tools/list(regression in v2.1.147)- Fixed a regression where a custom API gateway could receive the user's Anthropic OAuth credential instead of the gateway's own token
- Fixed subagent (Agent tool) frontmatter MCP servers ignoring
--strict-mcp-config,--bare, remote mode, enterprise managed MCP config, and managed-settings MCP server allow/deny policies--strict-mcp-configno longer strips inlinemcpServersfrom explicitly-passed agent definitions (--agents/ SDKagents), and blocked subagent MCP servers now surface a visible warning- Fixed the Windows PowerShell installer reporting "Installation complete!" when installation actually failed
- Fixed
claude updateinstalling the latest version instead of the configured release channel's version for npm installations- Fixed excessive memory usage (multiple GB) when resuming a session by transcript file path on machines with many stored sessions
- Fixed
claude agentsandclaude --bgrunning on a stale daemon started before binary-takeover support, even after upgrading- Fixed a hang where the CLI could fail to exit when stdin was closed without EOF in stream-json mode, leaving a stale session marker behind
- Fixed malformed
file://links in Claude's responses not being clickable in the terminal- Fixed
claude --helprendering unwrapped output on terminals narrower than 92 columns- Fixed MCP tool progress notifications not rendering in the collapsed tool view
- Fixed
Agenttool withsubagent_type: 'claude'running in an undocumented temporary worktree, which could silently discard outputs written to gitignored paths/bgwhile Claude is responding now continues the response in the background session instead of dropping it- Fixed
/btwkeyboard shortcuts becoming unresponsive in background sessions while a task is running- Fixed background sessions writing temp files to
$CLAUDE_JOB_DIRtriggering a "sensitive file" permission prompt- Fixed recovering a background agent whose working directory was deleted showing a truncated stack trace instead of a clear error message
- Fixed
EnterWorktreenot being available immediately in background sessions (previously requiredToolSearchfirst)- Fixed
cmd+kin iTerm2/Terminal.app not repainting attached background sessions- Fixed the IME candidate window appearing at the bottom of the screen instead of next to the input caret in attached background sessions on Windows
- Fixed background-color bleed when attaching to a background agent from 256-color-only terminals after the agent had rendered file diffs
- Fixed
/copyand copy-on-select silently failing to update the system clipboard when attached to a background session inside tmux- Fixed opening
claude agentswith Remote Control enabled leaving zombie session entries on the Code tab after exiting- Fixed
/renamein background sessions not updating the session banner immediately- Fixed Windows update rollback: if a Windows update fails, Claude Code now restores the original executable by copy and tells you how to recover
- [VSCode] Fixed Claude Code processes not shutting down cleanly when VS Code closed on Windows, causing false "unclean exit" reports and orphaned MCP servers
/modelnow saves your selection as the default for new sessions (matching the IDE). Presssin the picker to switch models for the current session only.- If you customized the
modelPicker:setAsDefaultkeybinding, rename it tomodelPicker:thisSessionOnlyin keybindings.json (thedaction was replaced bys)