bodhi-realtime-agent / SubagentCompletion
Interface: SubagentCompletion
Defined in: src/runtime/subagent-completion.ts:13
Structured completion envelope for subagent workflows.
Properties
artifacts?
optionalartifacts?:SubagentArtifact[]
Defined in: src/runtime/subagent-completion.ts:25
Optional artifacts produced by the subagent.
metadata
metadata:
SubagentCompletionMetadata
Defined in: src/runtime/subagent-completion.ts:27
Timing and diagnostic metadata.
status
status:
SubagentCompletionStatus
Defined in: src/runtime/subagent-completion.ts:19
Terminal status.
summaryText
summaryText:
string
Defined in: src/runtime/subagent-completion.ts:21
Human-readable summary for the LLM to speak back to the user.
toolCallId
toolCallId:
string
Defined in: src/runtime/subagent-completion.ts:15
Unique tool call identifier that originated the workflow.
uiPayload?
optionaluiPayload?:Record<string,unknown>
Defined in: src/runtime/subagent-completion.ts:23
Optional structured UI payload for client rendering.
workflowId
workflowId:
string
Defined in: src/runtime/subagent-completion.ts:17
Workflow identifier for correlation.