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 ·

Programs driving Claude Code over stream-json get a message when startup fails

When Claude Code fails to start under --input-format stream-json, it can answer with a "Claude Code didn't start" message and a result

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

Some programs control Claude Code by sending it messages as JSON, using --input-format stream-json. When Claude Code fails to start in that setup, it can answer with an assistant message beginning "Claude Code didn't start." followed by a success result whose terminal_reason is turn_setup_failed.

This happens only when all of these hold:

Why

A program driving Claude Code this way gets a readable explanation that startup failed, instead of no reply at all.

What the documentation says
--input-format Run Claude Code programmatically modified, high confidence * **Pending wakeups**: in a run whose prompt you passed as text rather than with `--input-format stream-json`, when Claude has scheduled a [self-paced `/loop` wakeup](/docs/en/scheduled-tasks#let-claude-choose-the-interval), the run waits … see the edit
--input-format Tools reference modified, high confidence In a run with the `-p` flag whose prompt you pass as text rather than with `--input-format stream-json`, both defaults are 10 minutes instead of 30, because the run [waits for background commands after its result](/docs/en/headless#backgro… see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees--input-format on Run Claude Code programmatically

See this entry in the whole of v2.1.296 →

Feedback