2.1.140
Claude Code 2.1.140 - リリースノート
2026年5月12日
Claude Code
日本語サマリー
以下は、Claude Code 2.1.140 のリリースノートの要約です。
破壊的変更や重要なセキュリティ修正に関する記載はありません。
主な変更点
- Agent ツールの改善: Agent ツールの
subagent_typeにおいて、大文字小文字や区切り文字(ハイフンやスペースなど)を区別せずに受け付けるように改善(例:"Code Reviewer"がcode-reviewerに解決される) - UI/表示の更新: Agent のカラーパレットを更新
/goalコマンドの修正:disableAllHooksやallowManagedHooksOnly設定時に無言でフリーズしていた問題を修正し、明確なメッセージを表示するように変更- 設定のホットリロード修正: シンボリックリンクされた設定ファイルが原因で、誤った変更イベントや不要な
ConfigChangeフックが発生していたリグレッションを修正 - バックグラウンド実行の安定性向上: アイドル状態で終了する際に
claude --bgが「connection dropped mid-request」エラーで失敗する問題や、エンタープライズ向けセキュリティ環境での起動失敗(タイムアウト)問題を修正 - 設定・ポリシーの同期修正: リモートの管理設定(managed settings)で 401 エラー時の再試行や、管理対象の
extraKnownMarketplaces自動更新ポリシーがknown_marketplaces.jsonに保存されない問題を修正 - パフォーマンス改善:
/loopによる不要なポーリングスケジュールの排除、および Windows 環境で存在しない実行可能ファイル(ghなど)を確認する際にwhere.exeが毎回同期的に起動してイベントループが停止する問題を修正 - ツール呼び出しの修正:
Readツール呼び出し時に、offsetにスペースが含まれる文字列や+接頭辞の文字列が渡されると検証に失敗する問題を修正 - ターミナル UI の修正: ターミナルがフォーカスを失った際、ネイティブのカーソルが入力キャレットの位置に留まらない問題を修正
- プラグインの警告追加:
plugin.jsonでキーが設定されているため、デフォルトのコンポーネントフォルダ(例:commands/)が暗黙的に無視されている場合に警告を表示するよう変更(/doctor,claude plugin list,/pluginで確認可能)
原文(Release Notes)
What's changed
- Improved Agent tool
subagent_typematching to accept case- and separator-insensitive values (e.g."Code Reviewer"resolves tocode-reviewer)- Updated agent color palette
- Fixed
/goalsilently hanging whendisableAllHooksorallowManagedHooksOnlyis set — now shows a clear message instead of an indicator that never resolves- Fixed a regression in settings hot-reload where symlinked settings files caused misattributed change events and spurious
ConfigChangehooks- Fixed
claude --bgfailing with "connection dropped mid-request" when the background service was about to idle-exit- Fixed background service startup failing on machines with enterprise endpoint security by allowing more time
- Fixed remote managed settings not retrying on 401 — now retries once with a force-refreshed token
- Fixed managed
extraKnownMarketplacesauto-update policy not being persisted toknown_marketplaces.json- Fixed
/loopscheduling redundant wakeups to poll for background tasks that already notify on completion- Fixed a recurring event-loop stall on Windows when a missing executable (e.g.
gh) triggered synchronouswhere.exere-spawns on every check- Fixed
Readtool calls failing validation whenoffsetis passed as a whitespace-padded or+-prefixed string- Fixed native terminal cursor not staying at the input caret when the terminal loses focus
- Plugins now warn when a default component folder (e.g.
commands/) is silently ignored becauseplugin.jsonsets the matching key. Shown in/doctor,claude plugin list, and/plugin.