Claude Code v2.1.238、キーバインド設定とプラグイン市場機能を更新
本文の状態
日本語全文を表示中
詳細モードで約8分の本文を読めます。
同じ出来事の情報源
この情報源を基点に整理
Claude Code Changelog
Claude Code のバージョン v2.1.238 は、キーバインディングの拡張やセルフホストランナー機能の強化に加え、メモリリークやパーミッションダイアログの不具合など多数の修正を含むリリースである。
AI深層分析を開く2026年8月21日 09:37
AI深層分析
キーポイント
開発者体験と設定の強化
キーバインディングに「readline」モードが追加され、Bash のような Ctrl+W 動作が可能になったほか、プラグイン市場における HTTP ヘッダー生成機能やセルフホストランナーのシャットダウン制御機能が拡張された。
パフォーマンスと安定性の改善
長時間のインタラクティブセッションにおけるメモリ成長の不具合が修正され、サブエージェントの結果が適切に解放されるようになったことでリソース管理が強化された。
UI/UX およびエラー処理の修正
パーミッションダイアログでのテキスト折り返しやエモジ表示の不具合、バックスペースキーの無視問題、およびサーバーとの通信エラー報告の改善など、ユーザビリティに関わる多数のバグが解消された。
セルフホスト環境の信頼性向上
プロキシ認証コマンドのサポート追加や、サーバー側によるランナーの誤削除防止機能の実装により、大規模なセルフホスト運用における安定性が担保された。
Remote Control の接続とセッション管理の改善
ネットワークの一時的な遅延や認証期限切れによる切断が防止され、クラッシュしたセッションも再利用可能になった。また、CLI ホストされたセッションでの停止操作や、端末でのモデル選択反映の不具合も修正された。
重要な引用
Added a keybindingFlavor setting: set it to "readline" to make Ctrl+W in the prompt delete back to the previous whitespace, as in Bash
Fixed unbounded memory growth in long interactive sessions: subagent tool results are now released once they leave the recent display window
Added claude self-hosted-runner --proxy-authorization-command / --proxy-authorization-file for egress proxies that require a freshly issued Proxy-Authorization header on every connection
Fixed Remote Control disconnecting with "login expired" when a brief network hiccup delays renewing your sign-in; it now retries and stays connected
編集コメントを表示
編集コメント
今回のアップデートは、機能追加よりも既存の運用上の課題を解決する修正に重点が置かれている。特にメモリリーク対策とプロキシ対応は、実環境での安定稼働を求めるユーザーにとって重要な要素である。
Source Article
元記事を日本語で読む
本文に関係しない購読案内、埋め込み通知、サイト内プロモーションは除いています。
変更点
keybindingFlavor設定を追加しました。これを"readline"に設定すると、プロンプトでのCtrl+WがBashと同様に前の空白文字まで削除するようになります。デフォルト("classic")は変更されていません。
- プラグインマーケットプレイス:URL マーケットプレイスやカタログエントリ上で動作する
headersHelperは、カタログおよび同一オリジンのアーカイブ取得のために HTTP ヘッダー(例:短期有効なトークン)を生成するコマンドを実行します。
カタログエントリの headersHelper は、そのプラグインをインストールまたは更新した際、かつコマンドが表示された後にのみ実行されます。claude plugin install/update コマンドでは [y/N] とプロンプトが表示されるか、-y オプションを指定して続行できます。
claude self-hosted-runner --defer-shutdown-max-minを追加:SIGTERM 信号を受け取った際、接続中のセッションは引き続き処理し、指定した分だけ待機させた後、残りのプロセスを停止して終了します。
エグレスプロキシで、接続ごとに新しく発行された Proxy-Authorization ヘッダーが必要となる環境に対応するため、claude self-hosted-runner --proxy-authorization-command および --proxy-authorization-file を追加しました。
長期間の対話セッションにおけるメモリ使用量の無制限な増加を修正しました。これにより、直近の表示ウィンドウから外れたサブエージェントツールの結果は、自動的に解放されるようになりました。
セッション中にカスタム、プロジェクト、プラグインの出力スタイルが意図せずデフォルトの声に戻ってしまう問題を修正しました。
アカウントの使用量が上限に近づいている(ただし未到達)状態でも、CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION=true を設定してもプロンプト提案が表示されなくなる不具合を修正しました。
コマンドにリダイレクトが含まれていないにもかかわらず、「リダイレクトを削除してください」というエラーメッセージが worktree-isolation の Bash 環境で表示される問題を修正しました。
自己ホスト型ランナーが、サーバーからの単一の遅延または失われたポーリング要求後に偶発的に削除される不具合を修正し、健全なセッションを別のランナーに引き継げるようにしました。
MCP によるリクエストダイアログで、4,096 文字を超える URL を入力した際に何も表示されない問題を修正しました。また、プロジェクトパスがターミナルの幅に収まらない場合に、「今後聞かない」オプションが消えてしまう不具合も解消しました。
Bash コマンドが強制終了された場合やタイムアウトした場合、あるいは中断された場合に、残存していた /tmp/claude-*-cwd ファイルを削除する機能を追加しました。
キー入力が大量にバーストして到着する場合(SSH や mosh の接続が遅い環境など)、Backspace キーが Ctrl+H として送信されるターミナルで、Backspace が保持されて無視される問題を修正しました。
権限プロンプトの差分表示におけるテキスト折り返しを改善しました。絵文字などの広幅多コードポイント文字やタブを含む行が、以前のように切り捨てられることがなくなりました。
停止中(Ctrl+Z)のセッションを強制終了した際に、ターミナルが括弧付き貼り付けモードのままになり、カーソルが表示されない不具合を修正しました。
stdio MCP サーバーが initialize リクエストの前に server/discover 要求を受け取った際、遅延起動型のサーバーがセッション開毎にバックエンドを起動させざるを得ない問題を修正しました。
プロキシによる接続拒否が、プロキシ名を明示しない一般的なネットワークエラーとして報告される不具合を修正し、正確な原因を示すようにしました。
プロンプトキャッシュの有効期限が切れているにもかかわらず、/model および /effort のキャッシュミス警告が表示される不具合を修正しました。
CLI ホストセッションにおいて、リモートコントロールタスクパネルから各タスクごとに設定した停止コマンドが無視される問題を修正しました。
クライアントから有効なロール属性を持たないユーザーメッセージが送信された際に、リモートセッションが終了してしまう不具合を修正しました。
claude remote-controlで開始されたリモートコントロールセッションが、起動元のシェルからセッション固有の環境変数を継承する問題を修正しました。
- プロセスがクラッシュした際に利用できなくなっていたリモートコントロールセッションについて、
claude remote-controlの再起動を待たずに済むように改善しました。次回のメッセージ送信時に再利用可能になりました。
- Claude が応答中(mid-turn)に Web またはデスクトップ版から送信されたリモートコントロールメッセージが、応答完了後に転記リストから消えてしまう不具合を修正しました。
- スマホや Web 版で選択したモデルがターミナル上に表示されない問題を修正しました。現在は正しく反映されるようになりました。
- 一時的なネットワークの不安定さによってサインインの更新が遅れ、「ログイン期限切れ」というエラーで切断されていたリモートコントロール接続を改善しました。現在は自動再試行を行い、接続状態を維持できるようになりました。
- ログアウト時に再接続失敗と報告していたリモートコントロールの問題を修正しました。これにより、ログアウト時にはセッションが明確なメッセージと共に終了します。
claude remote-control(サーバーモード)やデスクトップ/IDE ホストで実行されるセッションにおいて、「Remote Control is not connected」と誤って報告されていたListAgentsおよびSendMessageの問題を修正しました。これにより、リモートコントロールのピアを正常にリスト表示し、接続できるようになりました。
ListAgentsおよびSendMessageの不具合を修正しました。これらは、エージェントビューが次のバックグラウンドセッションのために事前ウォームアップしていたアイドル状態のワーカーを公開していましたが、現在はタスクがそのワーカーを引き受けるまで表示されません。
- セッション間メッセージング機能も改善されました。このマシン上の宛先セッションが受信拒否設定(例:
crossSessionInbound: "refuse")になっている場合、送信元に対して「拒否しました」というエラーを明確に返すようになりました。以前は成功したように見せかけていた不具合を解消しています。
セッション間メッセージングの改善:受信トレイでメッセージが拒否された場合(レート制限またはキューがいっぱいの状態)、従来はメッセージが静かに消えていましたが、今後はそのセッションに通知されます。
起動速度の向上:macOS において、claude コマンドのみを実行した場合の起動時間が短縮されました。
Bash ツールの権限チェック改善:シェル条件式における zsh 固有の構文に対する権限チェックが強化されました。
リモートコントロール接続の耐障害性が向上しました。ネットワークエッジ、VPN、プロキシからの一時的な HTTP 403 エラー(拒否)を最大 3 分間許容し、ブロックが継続する場合は拒否元の情報を表示します。
起動時の応答性も改善されました。自動アップデートの確認は起動直後ではなく、約 10 秒後に実行されるようになり、起動時の CPU リソース競合を防ぎました。
2023年8月19日リリースの「Managed Agents」向けに、バンドルされた claude-api スキルを更新しました。これにより、セルフホスト型サンドボックス上でウェブ検索・フェッチドメインの設定やメモリストアを扱えるようになりました。
全画面モードでの Ctrl+L と Cmd+K の動作を変更し、常に再描画のみを行うようにしました。ダブル押しで /clear を実行するショートカットは削除され、1 行表示の nvim ターミナルでも自動的な /clear ループが発生しないようになりました。
claude mcp listとclaude mcp getの挙動を変更し、無効化されたサーバーを接続して健康状態を確認するのではなく、代わりに「⊘ Disabled」と表示するようにしました。
プロジェクト内の .mcp.json ファイルにおける MCP の headersHelper や、プロジェクト内または --add-dir エージェントファイルに記述されたインライン MCP サーバーについては、該当フォルダの信頼性確認ダイアログが新たに必要となりました。
採用済み(claude -p の場合も同様)
MCP の headersHelper は、プロジェクトの .mcp.json ファイルやプラグイン、エージェントファイルから実行される際、継承された認証情報の環境変数を使用しません。また、ユーザー定義、管理型、および claude.ai スコープを持つヘルパーは、現在は Claude 設定ディレクトリから実行されます。
原文を表示
What's changed
- Added a keybindingFlavor setting: set it to "readline" to make Ctrl+W in the prompt delete back to the previous whitespace, as in Bash; the default ("classic") is unchanged
- Plugin marketplaces: headersHelper on a url marketplace or a catalog entry runs a command that mints HTTP headers (e.g. a short-lived token) for catalog and same-origin archive fetches
- A catalog entry's headersHelper runs only when you install or update that plugin, after its command is shown; claude plugin install/update ask [y/N] (or pass -y)
- Added claude self-hosted-runner --defer-shutdown-max-min : on SIGTERM, keep serving attached sessions, park what is left after that many minutes, then exit
- Added claude self-hosted-runner --proxy-authorization-command / --proxy-authorization-file for egress proxies that require a freshly issued Proxy-Authorization header on every connection
- Fixed unbounded memory growth in long interactive sessions: subagent tool results are now released once they leave the recent display window
- Fixed custom, project, and plugin output styles drifting back to the default voice mid-session
- Fixed CLAUDE_CODE_ENABLE_PROMPT_SUGGESTION=true not keeping prompt suggestions on when your account is near, but not over, its usage limit
- Fixed worktree-isolation Bash refusals telling you to remove a redirect when the command had none
- Fixed self-hosted runners occasionally being removed by the server after a single slow or lost poll request, handing their healthy session to another runner
- Fixed MCP elicitation dialogs showing nothing for URLs longer than 4,096 characters, and permission prompts dropping the "don't ask again" option when the project path didn't fit the terminal width
- Fixed leftover /tmp/claude-*-cwd files when a Bash command is killed, times out, or is interrupted
- Fixed held Backspace being ignored on terminals that send Ctrl+H for Backspace when keystrokes arrive in large bursts (slow SSH/mosh links)
- Fixed text-wrapping in permission prompt diffs: lines containing wide multi-code-point characters (such as emoji) or tabs are no longer clipped
- Fixed killing a suspended (Ctrl+Z) session sometimes leaving the terminal in bracketed-paste mode with the cursor hidden
- Fixed stdio MCP servers receiving a server/discover request before initialize, forcing lazy servers to start their backend on every session open
- Fixed a proxy's refusal of a connection being reported as a generic network error instead of naming the proxy
- Fixed the /model and /effort cache-miss warning appearing when the prompt cache had already expired
- Fixed per-task Stop from the Remote Control tasks panel doing nothing on CLI-hosted sessions
- Fixed remote sessions exiting when a client delivered a user message without a valid role
- Fixed Remote Control sessions started by claude remote-control inheriting session-scoped environment variables from the launching shell
- Fixed a Remote Control session whose process crashed staying unavailable until claude remote-control was restarted; it can now be reused when you next message it
- Fixed Remote Control messages sent from the web or Desktop while Claude is mid-turn disappearing from the transcript after the turn finishes
- Fixed Remote Control model picks made on a phone or web not updating the model shown in the terminal
- Fixed Remote Control disconnecting with "login expired" when a brief network hiccup delays renewing your sign-in; it now retries and stays connected
- Fixed Remote Control reporting a failed reconnect on sign-out; signing out now ends the session with a clear message
- Fixed ListAgents/SendMessage reporting "Remote Control is not connected" in sessions run by claude remote-control (server mode) or Desktop/IDE hosts; they now list and reach Remote Control peers
- Fixed ListAgents and SendMessage exposing the idle worker that the agent view pre-warms for your next background session; it now appears only once a task claims it
- Cross-session messaging: sending to a session on this machine that refuses inbound messages (e.g. crossSessionInbound: "refuse") now reports "refused" to the sender instead of a silent success
- Cross-session messaging: a session whose inbox drops your messages (rate limit or full queue) now tells your session, instead of the messages vanishing silently
- Improved startup: bare claude starts sooner on macOS
- Improved Bash tool permission checking for zsh-specific syntax in shell conditionals
- Improved Remote Control connection resilience: brief HTTP 403 refusals from a network edge, VPN, or proxy are now tolerated for up to 3 minutes, with the refusing party named when a block persists
- Improved startup responsiveness: the automatic update check now runs about 10 seconds after launch instead of competing with startup for CPU
- Updated the bundled claude-api skill for the Managed Agents Aug 19 release: web search/fetch domain settings and memory stores on self-hosted sandboxes
- Changed Ctrl+L and Cmd+K in fullscreen to always just repaint — the double-press /clear shortcut was removed, and 1-row nvim terminals no longer trigger automatic /clear loops
- Changed claude mcp list and claude mcp get to show disabled servers as ⊘ Disabled instead of connecting to them for a health check
- MCP headersHelper in a project .mcp.json, and inline MCP servers in project or --add-dir agent files, now require that folder's trust dialog to have been accepted (also under claude -p)
- MCP headersHelper from a project .mcp.json, plugin, or agent file runs without inherited credential env vars; user, managed and claude.ai-scope helpers now run from the Claude config dir
関連記事
News to Guide
ニュースの次に確認する
発表内容を、現在の料金や仕様と照らし合わせられる関連ガイドです。
今日のまとめ
AIデイリーブリーフで今日の重要ニュースをまとめ読み