---
title: "Claude Code v2.1.219 Released: Defaults to Opus 5 and Introduces Nested Subagents"
source: "Claude Code：GitHub Releases（RSS）"
source_tier: "t1_5"
url: "https://github.com/anthropics/claude-code/releases/tag/v2.1.219"
permalink: "https://feed.astralor.com/items/itm_0be0b416a36745903a8529f7"
published: "2026-07-24T17:14:23.000Z"
score: 79
channel: "ai"
tags: ["Anthropic","Claude Code","Claude Opus 5","Dynamic Workflows","Subagent Nesting"]
---

# Claude Code v2.1.219 Released: Defaults to Opus 5 and Introduces Nested Subagents

## AI commentary

> As an AI coding tool enthusiast, I believe the biggest highlights of this update are the default enablement of Opus 5 and the increased subagent nesting depth. For engineers using Claude Code on complex projects, these improvements will directly enhance multi-step task handling. The new allowlist setting also provides better control for enterprise users. Overall, this is a stable version worth deploying immediately.

## At a glance

Claude Code v2.1.219 updates the default Opus model to Claude Opus 5 with 1M context and fast mode pricing at $10/$50 per million tokens. It adds a strict network allowlist for sandboxed commands, increases default subagent nesting depth to 3, introduces workflow size guidelines, and fixes numerous bugs including improved MCP error reporting. This release enhances developer productivity and security.

## Key points

- Default model upgraded to Claude Opus 5 with 1M context and fast mode.
- New sandbox.network.strictAllowlist setting restricts network access for sandboxed commands.
- Subagent nesting depth increased from 1 to 3 by default, enabling complex multi-agent collaboration.
- Dynamic workflows now default to a medium size guideline aiming for fewer than 15 agents.

## Full text

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.strictAllowlist setting to deny non-allowlisted hosts for sandboxed commands without prompting Added DirectoryAdded hook that fires after /add-dir or the SDK register_repo_root control request registers a new working directory mid-session Added mcp_server_errors to the headless stream-json init event, listing --mcp-config entries skipped by config validation; terminal runs print a startup warning Added the workflowSizeGuideline settings key so the advisory Dynamic workflow size guideline can be set from any settings file; the /config row is hidden while one does Added nested subagent forwarding in stream-json: subagents spawned at depth-2+ now appear when --forward-subagent-text is set, keyed by their spawning Agent tool_use id Fixed claude -p text 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 list and /mcp when 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 /model picker 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_PATH on 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 --teleport to 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 /model picker 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 /config for changing it Removed Opus 4.7 from fast mode; /fast now 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

---

Verify against the original before citing; curated by Astral Feed: https://feed.astralor.com/items/itm_0be0b416a36745903a8529f7
