Follow Discord
Sweep 27 Oct 2026 · 19:04Z Build v2.1.312 531 read Stable v2.1.308 Latest v2.1.312 Next v2.1.312 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.311 ·

Programs running Claude Code can re-run a refused prompt and stream plain text

Claude Code run from another program can re-run an already stored prompt in place and pass plain-text pieces to the host as they arrive

You'll notice New Features
JSON All of v2.1.311
You'll noticeTier: how much it should matter to you
4Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
SDKArea: what it touches
New FeaturesKind: in v2.1.311,
What probably matters to youSection of the release

Unclear It is not stated whether these options are open to SDK users generally or only to particular host programs.

What

Claude Code can be run by another program without its usual screen, for example through the SDK (a library for driving Claude Code from code). The loop that handles each turn in that mode gains several things:

  • an option to re-run a prompt in place, reusing a prompt that is already stored, without processing slash commands, attachments or the hooks that run when a prompt is submitted
  • a way to pass each piece of plain text to the host program as it streams in, which is dropped if the host's handler fails
  • a record of which tools were used, passed on when processing input
  • the client platform, now recorded on user messages
Why

This points to new behaviour for programs that embed Claude Code, around prompts that were refused and run again.

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 doubtIt is not stated whether these options are open to SDK users generally or only to particular host programs.

See this entry in the whole of v2.1.311 →

Feedback