Claude Code v2.1.228 ·
SDK system messages report background tasks and turn context
Programs driving Claude Code through the SDK now see more detail about background work and turn context.
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
New FeaturesKind: in v2.1.228,
New FeaturesSection of the release
What
Programs driving Claude Code through the SDK get more detail about work running in the background.
Details
- A new
background_tasks_changed system message carries the list of active task ids. - Task status updates include
is_backgrounded; task_notification gains a status. turn_starting now carries a mode, plus the task_id when that mode is task-notification.
Evidence
background_tasks_changed
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.228 →