What
A subagent is a helper Claude starts to work on part of a task. The messages Claude Code sends about subagents to apps built on it have changed:
- A new optional field,
waiting_on_agents, marks a subagent that finished its turn but is waiting on agents it started itself. In that state its summary is not its result. It is also added to the completion result. - The
task_updatedmessage for a background subagent can carry an optionalreview_warning, with a kind of flagged, refused or unavailable and some text, when auto mode reviewed its work. - A
task_updatedmessage whose change containsreview_warningis now filtered the same way as other message types. - Several of these messages gain a
written_atfield. - A permission denial can now carry
byEscapewhen you rejected it by pressing Escape. Before, a denial only said whether it interrupted. - Short-lived progress messages now replace the previous one in a subagent's transcript instead of piling up.
- The message about a stalled subagent now shows seconds without rounding.
- A wait that held back stall handling while scripts ran in the REPL, the interactive command area, was removed.
Why
Apps can now tell a finished subagent from one still waiting on its own helpers, show when auto mode flagged a subagent's work, and see whether a denial came from Escape. Subagent transcripts also grow less from progress updates.
Names in the bundlereview_warning