What probably matters to youSection of the release
What
A program driving Claude Code over the SDK or a remote connection can now stop one running task by id, instead of interrupting the whole turn. It joins interrupt, set_permission_mode and set_model in the accepted control requests, and only works if the host program has registered a handler for it.
Details
Takes a task_id string; a non-string id is rejected with "stop_task: task_id must be a string".
With no handler wired up, it rejects with "stop_task is not supported in this context (callback not registered)".
A task_stop_user telemetry event is emitted on the invalid-id path.
Evidence
stop_task is not supported in this context (callback not registered)
Strings lifted out of the shipped bundle, so the claim above can be checked against them.