Skip to content

v2.1.172

Choose a tag to compare

@marckrenn marckrenn released this 10 Jun 21:09
· 345 commits to main since this release

2.1.172

(☝ Click to see full diff.)

Highlights:

  • Sub-agents can spawn nested sub-agents up to five levels, enabling deeper multi-agent workflows
  • 1M-context sessions without usage credits now auto-compact to standard limits, avoiding permanent stalls
  • Marketplace plugin browser (/plugin) adds a search bar to speed plugin discovery and reduce browse time

CLI changelog

  • Added a search bar when browsing a marketplace's plugins in /plugin
  • Added model attribute to the claude_code.lines_of_code.count OTEL metric
  • Fixed sessions using 1M context without usage credits getting permanently stuck — the session now automatically compacts back under the standard context limit
  • Fixed a repeating "an image in the conversation could not be processed and was removed" error when the conversation contained multiple images
  • Fixed the agents view keeping a session under Working with a busy spinner for up to 30 seconds after the worker replied
  • Fixed background agents potentially reading another directory's project settings (.mcp.json approvals, trust) when dispatched onto a pre-warmed worker
  • Fixed background-session attach failing with EAUTH for sessions started on an older version after the daemon auto-updated
  • Fixed a background sub-agent staying stuck as "active" in the agent panel after a nested agent it spawned was stopped
  • Fixed /model suggestions in the claude agents dispatch input rendering with a misleading slash prefix and showing models disabled for your org
  • Fixed availableModels restrictions not being applied to subagent model overrides, the agent dispatch model picker, and the advisor model
  • Fixed availableModels allowlists hiding the /model picker's Opus and Sonnet 1M rows when entries use version-specific IDs like claude-opus-4-8
  • Fixed the /model picker on Bedrock offering models the provider doesn't serve — selecting one silently switched the session model and lit the selection marker on multiple rows
  • … +18 more CLI changelog entries

Source: https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md#21172

Metadata

  • Time since 2.1.170 release: 1d 1h 21m 28s

  • Bundle file size: +244.3 kB (+0.8%)

  • Prompt files: +3 (+5.5%)

  • Prompt tokens: +3,687 (+4.7%)

Prompt token mix by kind:

  • tools: 85.6%→86.2%
  • system-reminder: 10.7%→10.3%
  • system-data: 1.7%→1.6%
  • skill: 0.9%→0.8%
  • system: 0.7%→0.7%
  • agent: 0.4%→0.4%

Files:

Other prompt changes

  1. Adds a user-facing description recommending Grep (ripgrep) as the tool to use for search tasks.

Links:

  1. 19d00ac/system-prompts/tool-description-grep.md#diff-98f084cc9ae739dcef3d2c75ea5cf55429dbb647973737f30693e59689d25d58R3