Claude Code v2.1.265

変更項目 50 件

公式 CHANGELOG.md

v2.1.265 では、--plugin-dir がプラグインのフォルダー全体を指せるようになり、実行中の追加・削除も反映されるようになりました。また、保存されるツール結果に 1 GB の上限を設け、切り詰められたファイルは会話内プレビューでその旨が表示されます。そのほか多数の不修正が含まれ、AppContainer や制限付きトークンのサンドボックス内で Windows の Read・Write・Edit が全ファイルを拒否する問題や、http 設定の MCP サーバーがレガシー HTTP+SSE トランスポートしか話さず接続できなかった問題などが修正されています。

追加(Added)

4件
Claude Desktop と Cowork が Claude apps gateway 経由で送信するテレメトリに user.email と user.groups を追加し、ターミナルセッションと一致させた
英語原文を表示
Added user.email and user.groups to the telemetry Claude Desktop and Cowork send through a Claude apps gateway, matching terminal sessions

変更後

Claude Desktop や Cowork のテレメトリにも user.email と user.groups が付くようになり、ターミナルセッションと同じ属性で利用状況を開発者単位・グループ単位に一括集計できるようになる。

--plugin-dir でプラグインのフォルダを指定できるようになった:マニフェストを持つ各子フォルダが読み込まれ、実行中に追加・削除された子フォルダも検出する
英語原文を表示
Added support for pointing --plugin-dir at a folder of plugins: each child folder with a manifest loads, and children added or removed while running are picked up

変更後

複数のプラグインをまとめたフォルダーを一度に指定でき、マニフェストを持つ各サブフォルダーが個別のプラグインとして読み込まれる。実行中にサブフォルダーを追加や削除しても自動で反映されるため、開発中のプラグインをいちいち再起動せずに試せる。

ディスクに保存されるツール結果に 1 GB の上限を追加した。会話内のプレビューには、保存されたファイルが切り詰められた場合にその旨が表示される
英語原文を表示
Added a 1 GB cap on tool results saved to disk; the in-conversation preview says when a saved file was truncated

変更後

ツールの実行結果がディスクに保存される際に 1 GB で打ち切られるようになり、保存ファイルが会話内のプレビューで切り詰められたかどうかを確認できる。大容量の出力でディスク容量を予期せず消費する事態を避けられる。

関連ドキュメント

[VSCode] 一定期間非アクティブだったセッションを自動アーカイブする機能を追加した(新しい「非アクティブなセッションをアーカイブ」設定、デフォルトは 14 日)
英語原文を表示
[VSCode] Added automatic archiving of sessions inactive for a set period (new "Archive inactive sessions" setting, default 14 days)

変更後

使っていないセッションが自動的にアーカイブされ、セッション一覧から非アクティブなものを手動で整理する手間がなくなる。アーカイブされたセッションは「Archived sessions」から引き続き確認できる。

変更(Changed)

5件
Windows: AppContainer や制限付きトークンのサンドボックス内で実行した際に、Read・Write・Edit が全ファイルを拒否する問題を修正した(「権限チェック後にシンボリックリンクの解決が変わった」エラー)
英語原文を表示
Windows: Fixed Read, Write and Edit refusing every file ("symlink resolution changed after permission was checked") when running inside an AppContainer or restricted-token sandbox

変更後

AppContainer や restricted-token サンドボックス内で Windows 版 Claude Code を実行している環境でも、Read・Write・Edit ツールが全ファイルで拒否されることなくファイル操作を行える。

関連ドキュメント

管理対象設定に forceLoginGatewayUrl があるマシンを、起動時から forceLoginMethod: 'gateway' と同様に Claude アプリのゲートウェイセッションとして扱うよう変更した。残存する claude.ai ログインや API キーは使用されない
英語原文を表示
Changed machines with forceLoginGatewayUrl in managed settings to be Claude apps gateway sessions from startup, like forceLoginMethod: "gateway"; a leftover claude.ai login or API key is not used

変更後

管理者が forceLoginGatewayUrl を設定したマシンでも、起動時から必ず Claude アプリのゲートウェイで認証されるようになり、以前の claude.ai ログインや API キーが残っていてもそれが使われなくなるため、組織のポリシーどおりのログイン状態を確実に保てる。

画像処理をランタイムの組み込み画像サポートを使うように変更した。CLI はネイティブ画像モジュールを一時ディレクトリに展開しなくなった
英語原文を表示
Changed image processing to use the runtime's built-in image support; the CLI no longer extracts a native image module to the temp directory

変更後

ネイティブの画像モジュールを一時ディレクトリに展開しなくなったため、起動が速くなり、一時ディレクトリへの不要なファイル書き込みが減る。実行環境が標準で備える画像サポートをそのまま利用するので、画像の処理も安定して行える。

プラグインの表示メタデータを変更した。Installed タブや claude plugin details では plugin.json よりマーケットプレイスのエントリを優先し、plugin.json の不足分を補完する
英語原文を表示
Changed plugin display metadata to prefer the marketplace entry over plugin.json on the Installed tab and claude plugin details, filling gaps from plugin.json

変更後

相対パス以外のソースを持つプラグインでも、インストール前に marketplace エントリの表示情報が正しく表示される。plugin.json が表示フィールドを設定していない場合でも、インストール済みタブや claude plugin details で表示名や説明などの情報が欠けずに確認できるようになる。

Claude アプリのゲートウェイセッションについて、OpenTelemetry をゲートウェイのリレー経由ではなく、ゲートウェイの管理対象設定が OTEL_EXPORTER_OTLP_ENDPOINT に指定したコレクターへ直接エクスポートするよう変更した。コレクターが指定されていないセッションは引き続きリレーを使う
英語原文を表示
Changed Claude apps gateway sessions to export OpenTelemetry directly to a collector the gateway's managed settings name in OTEL_EXPORTER_OTLP_ENDPOINT, instead of through the gateway's relay; sessions without a named collector still use the relay

変更後

ゲートウェイ経由のセッションでも、管理ポリシーで OTEL_EXPORTER_OTLP_ENDPOINT を指定すれば、テレメトリーをリレーを経由せずに自社の OpenTelemetry コレクターへ直接送信できる。これにより、既存のコレクター環境を持つ組織は、テレメトリーの経路を自分の環境に直接統合できる。

改善(Improved)

7件
大きなリポジトリでの --worktree 起動を改善した。新しい worktree が並列でチェックアウトされるようになった(git 2.32+)
英語原文を表示
Improved --worktree startup on large repositories: the new worktree is now checked out in parallel (git 2.32+)

変更後

大きなリポジトリでも --worktree を使ったセッション開始が高速になり、作業を始めるまでの待ち時間を短縮できる。

/workflows のエージェント詳細を改善した。ツール呼び出しに実行中・失敗・完了のマークが付き、サブエージェントがタスクリストを持つ場合はそれが表示され、Enter キーで入力や結果を含む呼び出し一覧を展開できる
英語原文を表示
Improved /workflows agent detail: tool calls are marked running, failed or done, the subagent's task list is shown when it has one, and Enter unfolds the listed calls with their inputs and results

変更後

/workflows のエージェント詳細ビューで、各ツール呼び出しの実行状況(実行中・失敗・完了)を確認でき、サブエージェントがタスクリストを持つ場合はそれも表示されるため、エージェントが今何をしているかを把握しやすくなる。Enter キーでツール呼び出しを入力内容や結果ごとに展開できるため、進行状況の確認がしやすくなる。

関連ドキュメント

プロンプト入力中にタイプしたスラッシュコマンドの表示を改善した。単一のサジェストの代わりに候補がリストで表示されるようになり(フルスクリーン外では Tab キーで開く)、プラグインスキルが単独の名前でも検索されるようになった
英語原文を表示
Improved slash commands typed mid-prompt: matches now show in a list (Tab opens it outside fullscreen) instead of a single suggestion, and a plugin skill is now found by its bare name

変更後

プロンプトの途中でスラッシュコマンドを入力したとき、補完候補が一覧で表示され、目的のコマンドを矢印キーで選択しやすくなる。プラグインのスキルもプラグイン名のプレフィックスなしで名前だけで検索・呼び出せるようになる。

サインインが必要なリモート MCP サーバーの挙動を改善した。実際に認証するまで Claude Code が OAuth クライアントを登録しなくなった
英語原文を表示
Improved remote MCP servers that need sign-in: Claude Code no longer registers an OAuth client with them until you actually authenticate

変更後

サインインが必要なリモート MCP サーバーに対し、実際に認証するまで OAuth クライアントを登録しなくなったため、未認証のサーバーへの接続がより安全に行える。

関連ドキュメント

多数のファイルを読み込んだ長いセッションの再開時間を改善した
英語原文を表示
Improved the time to resume long sessions that read many files
サイズ上限を超えてデコードできない画像のエラー表示を改善した。上限の記載だけでなく、原因と修正方法が示されるようになった
英語原文を表示
Improved the error shown when an image over the size limits cannot be decoded: it now names the cause and how to fix it instead of only citing the limit

変更後

サイズ上限を超えた画像がデコードできなかった場合に、失敗の原因と対処方法(画像の形式やサイズの修正方法)がエラーメッセージに表示されるようになり、自分で判断せずにすぐ画像を修正して再送できる。

関連ドキュメント

他人が書いたアーティファクトを読む際の Artifact ツールの挙動を改善した。要約がページを信頼できないコンテンツとして扱い、埋め込まれた指示をそのまま伝えるのではなくフラグを立てるようになった
英語原文を表示
Improved the Artifact tool's read of an artifact someone else wrote: the summary now treats the page as untrusted content and flags embedded instructions rather than relaying them

変更後

他の人が書いた Artifact を Claude が読む際、ページ内に埋め込まれた指示文をそのまま実行したり中継したりせず、信頼できないコンテンツとして検出して報告するようになった。これにより、共有された Artifact に仕込まれた悪意ある指示に Claude が惑わされるリスクを減らせる。

更新(Updated)

1件
.claude フォルダの権限オプションの説明を更新し、実際に許可される内容を明示した。セッション中にプロジェクトの .claude フォルダ(または ~/.claude)内のファイルを編集できる権限を与える
英語原文を表示
Updated the .claude folder permission option to say what it actually allows: editing files in the project's .claude folder (or ~/.claude) for the session

変更後

権限の確認時に、そのオプションで実際に何が許可されるのかを正確に把握できるようになり、セッション中の .claude フォルダー内の編集を安心して許可できるようになる。

修正(Fixed)

33件
フォアグラウンドで起動されたサブエージェントの再開時にツールリストと system prompt のプレフィックスが変わり、そのエージェントのプロンプトキャッシュ再利用が壊れる問題を修正した
英語原文を表示
Fixed resuming a foreground-spawned subagent changing its tool list and system prompt prefix, which broke prompt-cache reuse for that agent
エージェントのチームメイトや再開されたサブエージェントで、後のターンで SubagentStart フックのコンテキストやプリロードされたスキルがプロンプトのプレフィックスから外れ、プロンプトキャッシュ再利用が壊れる問題を修正した
英語原文を表示
Fixed agent teammates and resumed subagents moving SubagentStart hook context and preloaded skills out of the prompt prefix on later turns, which broke prompt-cache reuse

関連ドキュメント

ツールの実行中に前のプロセスが死んだ後の再開を修正した:最後のプロンプトは書き換えられなくなり、中断されたツール呼び出しは保持され、中断済みとしてマークされる
英語原文を表示
Fixed resume after the previous process died while a tool was running: the last prompt is no longer rewritten, and the interrupted tool call is kept and marked interrupted

関連ドキュメント

/model opusplan[1m] が「Model not found」で拒否される問題を修正した
英語原文を表示
Fixed /model opusplan[1m] being rejected with "Model not found"
権限プロンプトやメッセージ内のシンタックスハイライトされたコードで、Ruby の ?、Erlang の $、Perl の $ の sigil の直後の1文字が省略されることがある問題を修正した
英語原文を表示
Fixed syntax-highlighted code in permission prompts and messages sometimes omitting a character after a Ruby ?, Erlang $, or Perl $ sigil

関連ドキュメント

スラッシュコマンドや @-file のサジェストリストの開閉のたびにフルスクリーンのトランスクリプトが1行ずれる問題を修正した
英語原文を表示
Fixed the fullscreen transcript jumping by one row whenever the slash-command or @-file suggestion list opened or closed
バックスラッシュを含むプラグインパスが、macOS と Linux でシンボリックリンクの包含チェックを回避する問題を修正した
英語原文を表示
Fixed a plugin path containing a backslash bypassing the symlink containment check on macOS and Linux
名前が2つのドットで始まるプラグインディレクトリが、プラグインルートの外として誤って拒否される問題を修正した
英語原文を表示
Fixed plugin directories whose names begin with two dots being wrongly refused as outside the plugin root
トークンの更新中にセッションを閉じると、VS Code や SDK のセッションで再ログインが必要になることがある問題を修正した
英語原文を表示
Fixed VS Code and SDK sessions occasionally requiring re-login when a session was closed while refreshing its token
Remote Control のセッションが返信の最後のメッセージの前にターン終了シグナルを送り、Claude アプリで最後の部分が届く前に返信が完了済みと表示されることがある問題を修正した
英語原文を表示
Fixed Remote Control sessions sending the end-of-turn signal before the reply's last message, which could show a reply as finished in the Claude app before its last part arrived
アイドルタイムアウトの直前にメッセージが届くと、バックグラウンド(--bg)セッションがターンの途中で終了されることがある問題を修正した
英語原文を表示
Fixed background (--bg) sessions occasionally being retired mid-turn when a message arrived just before the idle timeout

関連ドキュメント

Claude Code 自身の git status / diff のプローブが、ワークツリー内のネストされたリポジトリが設定した clean フィルターを実行してしまう問題を修正した
英語原文を表示
Fixed Claude Code's own git status and diff probes running clean filters configured by a nested repository inside the working tree
アドバイザーツールとその指示がリクエストのモデルごとに都度決定される問題を修正した。決定は一度だけ行われ、変更時には会話内で告知される
英語原文を表示
Fixed the advisor tool and its instructions being re-decided per request from the request's model; the decision is now made once and announced in the conversation when it changes

関連ドキュメント

アーティファクトの公開が、コネクタが公開していないコネクタツール名を受け入れる問題を修正した。宣言されたツールが1つも存在しない場合は公開を拒否し、一部のみ存在しない場合は警告する
英語原文を表示
Fixed artifact publish accepting connector tool names the connector doesn't expose; the publish is now refused when none of the declared tools exist, and warned when only some don't
管理設定でスキルだけがプラグインに固定されている場合に /add-dir <subdirectory> がサブディレクトリのエージェントを読み込めない問題、およびエージェントだけが固定されている場合にエージェントを約束してしまう問題を修正した
英語原文を表示
Fixed /add-dir <subdirectory> refusing to load a subdirectory's agents when managed settings lock only skills to plugins, and promising agents when only agents are locked
tmux 内などで2つ目のキーが1秒以上遅れて到着すると、2キーのキーボードショートカットが黙ってキャンセルされる問題を修正した。現在は3秒待ち、タイムアウト時には通知を表示する
英語原文を表示
Fixed two-key keyboard shortcuts cancelling silently when the second key arrived more than a second later, as happens inside tmux; they now wait 3 seconds and show a notice when they time out
フォークされたスキル(context: fork)がキックオフプロンプトをストリーミングせず、--forward-subagent-text 指定時にはそのテキストターンも stream-json の進行イベントとして配信されない問題を修正した
英語原文を表示
Fixed forked skills (context: fork) not streaming their kickoff prompt and, with --forward-subagent-text, their text turns as progress events in stream-json

関連ドキュメント

シンボリックリンクのループなど、OS がチェックできないプラグインのデフォルトコンポーネントフォルダが黙ってスキップされる問題を修正した。現在はエラーコード付きで /plugin に報告される
英語原文を表示
Fixed a plugin's default component folder that the OS cannot check, such as a symlink loop, being silently skipped; it is now reported in /plugin with the error code
Claude apps gateway の OTLP テレメトリリレーが、不正または大きすぎるペイロードを数個拒否した後、コレクターへの転送を全停止する30秒間が発生する問題を修正した
英語原文を表示
Fixed the Claude apps gateway's OTLP telemetry relay pausing all forwarding to a collector for 30 seconds after it rejected a few payloads as malformed or too large
メタデータが plugin.json のみに存在するマーケットプレイスのプラグインについて、/plugin の Discover/Browse や claude plugin list --json --available に説明や表示名が表示されない問題を修正した
英語原文を表示
Fixed /plugin Discover/Browse and claude plugin list --json --available showing no description or display name for marketplace plugins whose metadata lives only in their plugin.json
管理設定で指定された Claude apps gateway にサインイン済みのセッションで /login を再実行すると「no gateway URL is configured」と表示される問題を修正した
英語原文を表示
Fixed /login showing "no gateway URL is configured" when re-run in a session that signed in to a Claude apps gateway set by managed settings
設定ファイルに書き込めなかったにもかかわらず、/model がモデルを「デフォルトとして保存しました」と表示する問題を修正した。現在は保存の失敗とその理由を伝える
英語原文を表示
Fixed /model claiming a model was "saved as your default" when the settings file couldn't be written; it now says the save failed and why

関連ドキュメント

Remote Control からの /clear が完了前に SessionStart フックや開いているターミナルのダイアログを待ってしまう問題を修正した
英語原文を表示
Fixed /clear from Remote Control waiting on SessionStart hooks and on open terminal dialogs before completing

関連ドキュメント

/config ダイアログでタブを切り替えるたびに高さが変わる問題を修正した
英語原文を表示
Fixed the /config dialog changing height when switching between its tabs
コンテナ再起動後のワークフロー実行の再開を修正した。実行ジャーナルが欠落している場合の再開は、全エージェントを再実行する代わりに明確なエラーで失敗するようになった
英語原文を表示
Fixed resuming a workflow run after its container restarted; a resume whose run journal is missing now fails with a clear error instead of rerunning every agent

関連ドキュメント

claude-api スキルのエラーコードリファレンスを修正した:モデルアクセスの失敗は 404、利用不可のベータヘッダーは 403 ではなく 400 を返す
英語原文を表示
Fixed the claude-api skill's error-code reference: model access failures return 404 and unavailable beta headers return 400, not 403
非対話セッション(-p と stream-json 入力、Agent SDK、クラウドセッション)で、新しいユーザーメッセージごとにシェルの作業ディレクトリがリセットされる問題を修正した。cd がターンをまたいで維持されるようになった
英語原文を表示
Fixed non-interactive sessions (-p with stream-json input, Agent SDK, cloud sessions) resetting the shell working directory at each new user message; a cd now persists across turns

関連ドキュメント

レガシーな HTTP+SSE トランスポートのみを話す http として設定された MCP サーバーが一切接続できない問題を修正した。MCP 仕様に従い、Claude Code が SSE へフォールバックするようになった
英語原文を表示
Fixed MCP servers configured as http that only speak the legacy HTTP+SSE transport never connecting; Claude Code now falls back to SSE as the MCP spec describes

関連ドキュメント

クラウドセッションにおいて、claude.ai では接続済みなのに認証が必要と表示される一部の claude.ai コネクタの問題を修正した(サポートされていないリクエストに HTTP 401 を返すサーバーが対象)
英語原文を表示
Fixed some claude.ai connectors in cloud sessions showing as needing authentication even though they are connected in claude.ai (servers that answer an unsupported request with HTTP 401)

関連ドキュメント

コネクタの承認やサインインリンクの待機中に、リモートセッションがサンドボックスコンテナを保持し続ける問題を修正した
英語原文を表示
Fixed remote sessions keeping their sandbox container alive while a connector approval or sign-in link waits for you
再開したセッションにおいて、「バックグラウンドタスクが完了しなかった」通知に短いステータス行ではなく、モデル向けの長い復旧手順が表示される問題を修正した
英語原文を表示
Fixed resumed sessions showing long model-facing recovery instructions in "background task didn't finish" notices instead of a short status line

関連ドキュメント

[VSCode] 会話を 10 分以上開いた状態で Reload Window や再起動をした際に、サイドバーのチャットが空白になって戻ってくる問題を修正した
英語原文を表示
[VSCode] Fixed the sidebar chat coming back blank after Reload Window or a restart when the conversation had been open for more than 10 minutes

関連ドキュメント

[VSCode] 「Remote Control が有効」メッセージで、タイムラインのドットがテキストの下にずれて表示される問題を修正した
英語原文を表示
[VSCode] Fixed the timeline dot sitting below the text on the "Remote Control is active" message
X はてブ