Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.238 ·

initialize now tells a connecting client what the session is doing

Programs connecting over stream-json now learn whether the session is idle, running or waiting on you.

Use it now No documentation found New Features
JSON All of v2.1.238
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
SDKArea: what it touches
New FeaturesKind: in v2.1.238,
What probably matters to youSection of the release
What

When a program connects to Claude Code over the stream-json control protocol, the reply now includes session_state (idle, running or requires_action at the moment of connection) and hooks_applied. A client attaching to a CLI that is mid-turn can see that immediately instead of guessing.

Details
  • hooks_applied is false when a repeated initialize's hooks were ignored because another client owns the CLI's stdin.
  • Both fields are present on this build; if they are missing from a reply, the CLI on the other end is older.
Evidence

a client joining a remote session another client configured

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from
Names in the bundlesession_statehooks_applied

See this entry in the whole of v2.1.238 →

Feedback