@sqlrooms/ai / ChatTurnActivityItem
Type Alias: ChatTurnActivityItem
ChatTurnActivityItem = {
kind:"reasoning";index:number;text:string; } | {kind:"tool";index:number;part:ToolPartWithId;state:AgentToolCall["state"];isAgent:boolean;agentToolCalls?:AgentToolCall[];isHoisted:boolean; }
Union Members
Type Literal
{ kind: "reasoning"; index: number; text: string; }
Type Literal
{ kind: "tool"; index: number; part: ToolPartWithId; state: AgentToolCall["state"]; isAgent: boolean; agentToolCalls?: AgentToolCall[]; isHoisted: boolean; }
| Name | Type | Description |
|---|---|---|
kind | "tool" | - |
index | number | - |
part | ToolPartWithId | - |
state | AgentToolCall["state"] | - |
isAgent | boolean | - |
agentToolCalls? | AgentToolCall[] | Live or persisted child calls when this tool represents an agent. |
isHoisted | boolean | True when this top-level tool is collected into the hoisted region. |