Follow Discord
Sweep 04 Dec 2026 · 17:52Z Build v2.1.337 554 read Stable v2.1.332 Latest v2.1.337 Next v2.1.337 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.337 ·

Headless runs track permission denials differently and leave some usage out of totals

Headless turns now record permission denials as they happen, block disallowed tools from the start, and leave some usage out of the reported totals

You'll notice Improvements
JSON All of v2.1.337
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.337,
ImprovementsSection of the release

Unclear Which usage counts as following unbilled usage, and so is now left out of the totals, is not clear.

What

A headless run is Claude Code working without its interactive screen, for example when another program drives it through the SDK (the developer kit for building on Claude Code). Several things in how a headless turn runs are different now:

  • Permission denials, the times a tool call is refused, are recorded as they happen.
  • Tools that are not allowed are blocked at the start of each turn.
  • The order of attached files and the list of saved files are passed along with your input when it is processed.
  • A certain kind of usage, recorded as following unbilled usage, is no longer added to the usage totals. Before, all usage was added.
  • If the turn is cancelled, it now stops through one extra step.

A tool call is Claude using one of its tools, such as reading a file or running a command.

Why

If you read usage or billing figures from headless or SDK sessions, the totals can now differ from before because some usage is left out.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhich usage counts as following unbilled usage, and so is now left out of the totals, is not clear.

See this entry in the whole of v2.1.337 →

Feedback