A new hook event type SubagentStop has been added to the available hook events. This allows you to configure commands that run when a subagent completes its execution.
Available hook events now include:
PreToolUse- Before a tool is executedPostToolUse- After a tool completesNotification- For notification eventsStop- When the main process stopsSubagentStop- When a subagent completes (NEW)