Skip to content

claude-code

Subagents in Claude Code 2.1.296 can compact early

Claude News

A subagent chewing through long logs can fill its context well before your main chat does. Version 2.1.296 gives it a separate compaction trigger, plus a few more knobs:

• autoCompactWindow in subagent frontmatter and --agents definitions makes a subagent auto-compact earlier than the main conversation. • CLAUDE_CODE_WORKFLOW_SUBAGENT_MODEL puts every workflow agent on one model, and other subagents keep theirs. • The Read tool gets allow_large for reading an oversized text file in one call, if the context has room. • /cost and the SDK price Sonnet 5.5 cache reads at $0.10 per million tokens, down from $0.20.

The catch for older repos: Edit used to mangle non-ASCII characters in Windows-1252 or Shift-JIS files, and it refuses such edits instead.

Related stories

  1. Claude Code 2.1.295 hooks can fail closed when they break
  2. Claude Code 2.1.292 gives sub-agents their own effort dial
  3. Claude Code 2.1.290 gives mod hooks the subagent's ID
  4. A Claude Code sideagent now flags what you might miss
  5. Claude Code 2.1.288 brings back the prompt you Ctrl+C'd
  6. Claude Code ships mods, the same tool behind its /diff

Comments

No comments yet. Be the first.

Join the conversation

Sign in with Google to leave a comment. Your name and avatar come from your Google profile, and the comment appears after moderation.

We only use your name and avatar from Google. We never store your email address.