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.331,
What probably matters to youSection of the release
What
Programs that drive Claude Code through the SDK, such as IDE extensions, talk to it with control requests. This release adds one and gives refusals more precise error codes.
New request prompt_draft_activity, sent by the SDK method notePromptDraftActivity(). It tells a session that the user is typing a draft. Claude Code acknowledges it and, if no turn is running, either notes the typing or wakes the session, depending on its mode.
New error codes unavailable_in_cloud_session and unavailable_on_connection for requests that cannot be served in a cloud session or on the current connection. Before, only unsupported_request was listed for any request.
A table now rejects certain requests, including prompt_draft_activity, in cloud sessions with unavailable_in_cloud_session. The spot that does this no longer reads the remote switch tengu_serene_curry.
New error code invalid_effort_level for update_settings, new codes for end_session with reload, and new wording for stale_root_id.
Why
A host can now let a session start waking up while the user is still typing, and when a request is refused it can tell whether the reason is a cloud session, the connection, or a bad effort level.