Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.238 Home All releases olderv2.1.237 v2.1.239newer
Claude Code v2.1.238

stop_task control request stops a single task

Use it now
Useful4 Signal3
SDK Notable not in their notes

SDK and remote drivers can stop a single task by id with a new control request.

stop_task
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.

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.238 →