Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.327 ·

Headless sessions get new messages for compaction and blocked prompts

Headless runs now say when compaction is unavailable or a hook blocked a prompt, and queued messages sit next to their tool result

You'll notice Improvements
JSON All of v2.1.327
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.327,
ImprovementsSection of the release
What

A headless session is one run with -p or through the SDK, with no interactive screen. Three things change there:

  • Asking for compaction, which shortens the conversation to save space, now gives an error saying it is not yet available in a headless session.
  • Some queued messages, typed while Claude was busy, are now moved to sit next to the result of the tool call they belong to. A tool call is one action Claude takes, such as reading a file.
  • A hook is a command you set up to run automatically. When a hook blocks your prompt or could not check it, Claude Code now says "Claude did not get this message: a hook in this session blocked it or could not check it."
Why

People running Claude Code with -p or the SDK learn when a prompt never reached Claude, or when compaction is not available.

See this entry in the whole of v2.1.327 →

Feedback