Follow Discord
Sweep 09 Oct 2026 · 17:27Z Build v2.1.296 517 read Stable v2.1.287 Latest v2.1.296 Next v2.1.296 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.296 ·

Headless runs report an error when a turn is stopped before its prompt is checked

In headless and SDK runs, a turn stopped before its prompt check finished now ends as an error rather than a success

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

In headless runs, where Claude Code runs without its interactive screen, usually driven by the SDK (the library for calling Claude Code from your own program), Claude Code checks a prompt before running it. If that check interrupts a turn that was not going to send a request, the result is now reported as a failure:

  • error_during_execution as the result type
  • prompt_check: the turn was stopped before its prompt was checked in the errors list
  • aborted_streaming as the terminal reason

Before, the same situation came back as a success with is_error set to false.

There is also a new onPromptCheckInterrupted callback. Messages that were cut from a batch at that point are put back in the queue so they can run later.

Why

Programs built on the SDK can now tell that a turn did not really run, where before it looked like it had succeeded. If your code treats every non-success result as fatal, it may need to handle this case.

See this entry in the whole of v2.1.296 →

Feedback