2.1.219
Claude Code 2.1.219 - リリースノート
2026年7月24日
Claude Code
日本語サマリー
本リリースに伴う破壊的変更や重大なセキュリティ修正はありません。主な変更点は以下の通りです。
-
新機能・追加
- 新モデル Claude Opus 5 (
claude-opus-5) がデフォルトのOpusモデルとして追加(1Mコンテキスト、fast mode対応)。 - サンドボックスコマンドに対し、許可リスト外のホストをプロンプトなしで拒否する
sandbox.network.strictAllowlist設定を追加。 - セッション途中の作業ディレクトリ追加時に発火する
DirectoryAddedhook を追加。 - サブエージェントのネスト生成上限がデフォルトで深さ3まで拡張(以前は1)。無効化するには
CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH=1を設定。 - stream-json において、深さ2以上で生成されたネストされたサブエージェントの転送(
--forward-subagent-text使用時)を追加。
- 新モデル Claude Opus 5 (
-
改善・仕様変更
- fast mode の対象モデルを更新。Opus 5 と Opus 4.8 が対象となり、Opus 4.7 は除外。
- 動的ワークフローのデフォルトサイズを「中(15エージェント未満を目標)」に変更(
/configから変更可能)。 - 環境変数
${VAR}を用いたマネージドMCPの許可/拒否リストが、設定ファイルではなく起動時環境や managed-settings env から解決されるように変更。 claude mcp listや/mcpにおいて、接続失敗時のHTTPステータスやエラー詳細の表示、および設定値の前後に隠れた空白文字がある場合の警告を追加。
-
バグ修正
claude -p実行中のAPIエラー発生時、それまでに生成済みの出力がドロップされる問題を修正。- Windows環境にて、
CLAUDE_CODE_GIT_BASH_PATHのパスが不適切な場合に警告を出して無視するよう修正。 - Self-hosted runner の再起動中に承認したパーミッションが失われる問題や、起動時の SIGTERM による古い状態が残り続ける問題を修正。
- Vimモードの空プロンプトでの ← キー挙動、GNU screen 内での copy-on-select、およびスクリーンリーダーモードでの入力エコー時の挙動を修正。
原文(Release Notes)
What's changed
- Added Claude Opus 5 (
claude-opus-5), now the default Opus model — 1M context, fast mode at $10/$50 per Mtok- Added
sandbox.network.strictAllowlistsetting to deny non-allowlisted hosts for sandboxed commands without prompting- Added
DirectoryAddedhook that fires after/add-diror the SDKregister_repo_rootcontrol request registers a new working directory mid-session- Added
mcp_server_errorsto the headless stream-json init event, listing--mcp-configentries skipped by config validation; terminal runs print a startup warning- Added the
workflowSizeGuidelinesettings key so the advisory Dynamic workflow size guideline can be set from any settings file; the/configrow is hidden while one does- Added nested subagent forwarding in stream-json: subagents spawned at depth-2+ now appear when
--forward-subagent-textis set, keyed by their spawning Agenttool_useid- Fixed
claude -ptext output dropping the answer already produced when a turn dies on a mid-stream API error- Added HTTP status and error text to
claude mcp listand/mcpwhen a server fails to connect, and a warning for MCP config values with hidden leading or trailing whitespace- Fixed a permission you approved while a self-hosted runner was restarting being dropped when the session resumed, so the approved action now runs
- Fixed the Fable model row showing "Requires usage credits" for plans that include it, when a stale cache had baked the label in
- Fixed a SIGTERM arriving while a self-hosted runner was starting up leaving a stale active row until the lease expired; it now deregisters cleanly
- Added structured failure categories to self-hosted runner spawn and session failures, so hook errors, runner crashes and config errors can be told apart
- Fixed the
/modelpicker showing the merged Opus row as plain "Opus" instead of "Opus (1M context)"- Fixed copy-on-select inside GNU screen printing base64 into the terminal instead of copying the selection
- Fixed Remote Control clients keeping a stale fast-mode status after a model switch, reconnect, or failed org check
- Fixed
CLAUDE_CODE_GIT_BASH_PATHon Windows exiting or being used as bash when the path isn't a bash/sh binary; it's now ignored with a warning- Fixed Vim mode: pressing ← on an empty prompt now returns to the agent view from NORMAL mode, not just INSERT
- Fixed screen-reader mode rewriting the entire input line on every keystroke instead of echoing only the typed character
- Improved the "Remote Control is only available via api.anthropic.com" error to name the specific setting that caused it
- Improved
claude --teleportto show which repo your current checkout points at when it doesn't match the session's repo- Changed dynamic workflows to default to a medium size guideline (aim for fewer than 15 agents); pick another size or unrestricted with Dynamic workflow size in
/config- Changed managed MCP allowlist/denylist
${VAR}entries to resolve from the startup environment and managed-settings env instead of settings-file env- Changed the
/modelpicker to highlight only the newest model's name, so the highlight marks the new release rather than an arbitrary subset of the list- Added the current default workflow size to the running-workflow status line, with a pointer to
/configfor changing it- Removed Opus 4.7 from fast mode;
/fastnow applies to Opus 5 and Opus 4.8- Updated the claude-api skill to default to Claude Opus 5, with a migration path from Opus 4.8
- Subagents can now spawn nested subagents up to depth 3 by default (was 1); set CLAUDE_CODE_MAX_SUBAGENT_SPAWN_DEPTH=1 to disable nesting