What probably matters to youSection of the release
What
A task is a piece of work Claude Code tracks, such as a subagent (a helper agent started for one job) running in the background. Task information sent to programs built on the SDK, the kit for running Claude Code from your own code, now carries two more fields.
subagent_type, an optional field naming the agent type of a local_agent task, such as "general-purpose" or a custom agent's name, or "main-session" for a backgrounded main session. It is not set on other tasks. It is also added to the task list schema.
awaited, an optional flag on task-started and task-list entries, set to true when a local_agent has awaitedByCaller === true. Before, there was no such field.
The documentation no longer says that the payload carries ids only.
Why
Programs built on the SDK can show which agent a background task is running, and can tell tasks the caller is waiting on apart from ones running on their own.