Under the hood
Useful2 Signal2
Programs driving Claude Code through the SDK now see more detail about background work and turn context.
What's wrong with this entry?
Anonymous. No account, no email.
What
Programs driving Claude Code through the SDK get more detail about work running in the background.
Details
- A new
background_tasks_changedsystem message carries the list of active task ids. - Task status updates include
is_backgrounded;task_notificationgains astatus. turn_startingnow carries amode, plus thetask_idwhen that mode istask-notification.
Evidence
background_tasks_changed
Strings lifted out of the shipped bundle, so the claim above can be checked against them.