Skip to content

@pgege/kaboo-react


Type Alias: TimelineEntry

TimelineEntry = { text: string; type: "text"; } | { tool: ToolCall; type: "tool"; }

Defined in: types.ts:25

One chronological entry in an agent's timeline: either a streamed text segment or a tool call, interleaved in the order they occurred.

Union Members

Type Literal

{ text: string; type: "text"; }

text

text: string

The streamed text for this segment.

type

type: "text"

Discriminator: a streamed text segment.


Type Literal

{ tool: ToolCall; type: "tool"; }

tool

tool: ToolCall

The tool call for this entry.

type

type: "tool"

Discriminator: a tool call.