fix(subagent): complete output selection contract

This commit is contained in:
Hypatia May
2026-08-10 22:19:14 +08:00
parent 084638af47
commit 4f23fa84cc
32 changed files with 113 additions and 93 deletions

View File

@@ -85,7 +85,7 @@ export interface SubagentFinishedNotification {
status: SdkRunStatus
/** The provider-reported stop reason. */
stopReason: SubagentStopReason
/** The child's final assistant message, when it produced one. */
/** The child's selected assistant output; absent when the child produced none. */
lastAssistantMessage?: ContentBlock[]
}