2.1.147
Claude Code 2.1.147 - リリースノート
2026年5月21日
Claude Code
日本語サマリー
Claude Code 2.1.147 リリースノート要約
⚠️ 破壊的変更・セキュリティ修正
- セキュリティ修正: エンタープライズ向けログイン制限(
forceLoginOrgUUIDおよびforceLoginMethod)が、サードパーティプロバイダーおよびAPIキーセッションに対して正しく適用されていなかった問題を修正。 - 破壊的変更:
/simplifyコマンドが/code-reviewに変更されました。指定したeffortレベルでバグを報告する機能(例:/code-review high)や、--commentでGitHub PRにインラインコメントを投稿する機能が追加されました。以前のクリーンアップ・修正機能は削除されています。
主な変更点・機能改善
- バックグラウンドセッションの改善: ピン留めされたセッション(
claude agents内でCtrl+T)がアイドル時も維持され、メモリ圧迫時もピン外より優先的に保護されるようになりました。 - 自動更新の改善: 一時的なネットワークエラーのリトライ、失敗時のエラー詳細カテゴリとOSエラーコードの表示、失敗時の現在のバージョン表示に対応しました。
- パフォーマンス改善: 大規模なファイル編集時の差分(diff)レンダリング性能が向上しました。
- 入力履歴の改善: 上矢印キーで呼び出した同じプロンプトを再送信しても、連続する重複エントリが記録されなくなりました。
重要なバグ修正(抜粋)
!コマンド出力内の&が&と表示され、コピー&ペーストが壊れる問題を修正(例:gcloud auth loginのURL等)。- エージェントに渡されるペーストテキストが
[Pasted text #N]プレースホルダーとなり、実際の内容が読めない問題を修正。 CLAUDE_CODE_SUBAGENT_MODELがエージェントチームの teammate プロセスに適用されていなかった問題を修正。- PowerShellツールやWindows環境固有の不具合(終了コード1で失敗する問題、NTFSジャンクションの誤った追従など)を複数修正。
- プラグインの
Agent(...)型宣言やページネーション時のMCPリソース欠落に関する不具合を修正。
原文(Release Notes)
What's changed
- Pinned background sessions (
Ctrl+Tinclaude 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
/simplifyto/code-review. It now reports correctness bugs at a chosen effort level (e.g.,/code-review high); pass--commentto post findings as inline GitHub PR comments. The old cleanup-and-fix behavior has been removed- 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 (
forceLoginOrgUUIDandforceLoginMethodmanaged-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 likegcloud auth loginon headless machines- Fixed unknown slash commands silently doing nothing in headless/SDK mode — they now show an error message
- Fixed
/helprendering 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 intools:frontmatter dropping all but the last entry- Fixed hook
ifconditions likePowerShell(git push*)never matching — onlyPowerShell(*)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
pwshis installed via winget or the Microsoft Store- Fixed
/effortopening 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
/backgroundrefusing sessions whose only typed input was a skill or custom slash command- Fixed auto mode suppressing
AskUserQuestionwhen 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 detailsand/pluginbeing 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_MODELnot 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/permissionsmenus- Fixed stripped images prompting the model to repeatedly re-read media that was no longer present