Skip to content

v2.1.178

Choose a tag to compare

@marckrenn marckrenn released this 15 Jun 21:46
· 53 commits to main since this release

2.1.178

(☝ Click to see full diff.)

Highlights:

  • Tool descriptions now recommend a ripgrep-based Grep to make code searches faster and more consistent
  • Permission rules accept Tool(param:value) with * wildcard to block specific tool inputs
  • Auto mode runs classifier checks before spawning subagents, preventing them from bypassing permission rules

CLI changelog

  • Added Tool(param:value) syntax for permission rules to match a tool's input parameters (with * wildcard), e.g. Agent(model:opus) to block Opus subagents
  • Fixed a crash (out-of-memory) when the CLI inherits a stale websocket/OAuth file-descriptor environment variable from a parent process
  • Fixed Claude in Chrome silently failing to connect when the OAuth token belongs to a different account than the Claude Code login
  • Fixed nested .claude/skills skills with directory-qualified names being blocked by permission prompts in non-interactive runs
  • Fixed several subagent issues: viewing a subagent's transcript now shows tool results and live progress, messages sent while it finishes its turn are no longer dropped, and backgrounding a running subagent (ctrl+b) no longer restarts it from scratch
  • Fixed claude agents workers failing with 401 Invalid bearer token when the daemon was started from a shell with a custom API gateway via ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN
  • Fixed compaction not honoring --fallback-model: compaction now falls back to the configured fallback model chain on overload or model-availability errors
  • Fixed model requests continuing to fail with auth errors after credentials were refreshed outside the session, due to a stale cached request configuration
  • Fixed background sessions created with /bg or ←← after a turn finished showing "Working" forever in the agents list
  • Fixed CLAUDE_CODE_PLUGIN_KEEP_MARKETPLACE_ON_FAILURE=1 preventing fresh marketplace installs from cloning
  • Fixed MCP server-level specs (mcpserver, mcpserver*, mcp*) in subagent disallowedTools being silently ignored
  • Fixed vim mode undo: u now steps through NORMAL/VISUAL-mode commands one at a time instead of merging commands in quick succession into a single undo step
  • … +10 more CLI changelog entries

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

Metadata

  • Time since 2.1.177 release: 2d 16h 35m 10s

  • Bundle file size: +103.0 kB (+0.3%)

  • Prompt files: +3 (+4.1%)

  • Prompt tokens: +6,705 (+6.2%)

Prompt token mix by kind:

  • tools: 89.5%→90.1%
  • system-reminder: 7.8%→7.4%
  • system-data: 1.2%→1.2%
  • skill: 0.6%→0.6%
  • system: 0.5%→0.5%
  • agent: 0.3%→0.3%

Files: