Skip to content

@sqlrooms/ai-core / AgentProgressSnapshot

Type Alias: AgentProgressSnapshot ​

AgentProgressSnapshot = object

Structured snapshot of a sub-agent's progress at the time of abort. Captured recursively: when a child tool is itself an agent, its childSnapshot contains the nested agent's own progress. Used to give the parent orchestrator enough context to resume intelligently when the user types "continue".

Properties ​

agentName ​

agentName: string


completedTools ​

completedTools: object[]

NameType
toolNamestring
inputunknown
outputunknown
childSnapshot?AgentProgressSnapshot

failedTools ​

failedTools: object[]

NameType
toolNamestring
inputunknown
errorTextstring
childSnapshot?AgentProgressSnapshot

pendingTools ​

pendingTools: object[]

NameType
toolNamestring
inputunknown
childSnapshot?AgentProgressSnapshot

partialText ​

partialText: string