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.