Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

SDK/structured-IO internals: first-turn gate, prompt settle refactor, nested-chain cleanup

Internal changes to how SDK messages, prompts and session state are handled, including a new firstTurnGate option that does nothing by default

Under the hood Internal Changes
JSON All of v2.1.281
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SDKArea: what it touches
Internal ChangesKind: in v2.1.281,
Internal ChangesSection of the release
What

Several internal parts of how Claude Code exchanges messages with programs that drive it were reorganised:

  • firstTurnGate is a new option on the incoming message handler, and it does nothing unless something turns it on.
  • The cleanup step after a user dialog now runs through a single settlePublishedPrompt step.
  • Removing a nested chain from session state now goes through one removeChain step, and state change notices are sent through a helper meant to avoid errors.
  • Governed git now works out whether a hooksPath is configured.
  • Artifact calls now clean up their session state even when they fail.
Why

These are mostly tidy-ups, with no visible change for most people using Claude Code.

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 doubtThe finding does not say what `firstTurnGate` holds back or what turns it on.

See this entry in the whole of v2.1.281 →

Feedback