Interface: TimelineProps¶
Defined in: src/components/Timeline.tsx:61
Props for Timeline.
Properties¶
active¶
active:
boolean
Defined in: src/components/Timeline.tsx:71
When true, a blinking cursor is shown after the last text segment.
renderToolCard?¶
optionalrenderToolCard?: (toolUseId) =>ReactNode
Defined in: src/components/Timeline.tsx:80
Optional hook to render a delegating tool call as its spawned sub-agent
card, interleaved at its chronological position. Returns the card node for a
given tool-call id, or null/undefined to fall back to the tool row. Keeps
a delegated agent's work in order relative to the parent's surrounding text.
Parameters¶
toolUseId¶
string
Returns¶
ReactNode
timeline¶
timeline:
TimelineEntry[]
Defined in: src/components/Timeline.tsx:63
The interleaved text/tool entries to render, in order.
tools¶
tools:
ToolCall[]
Defined in: src/components/Timeline.tsx:69
The owning group's tool calls. Timeline tool entries reference these by
toolUseId rather than embedding them, so they are needed to render a
tool row.
variant?¶
optionalvariant?:"card"|"drill"
Defined in: src/components/Timeline.tsx:73
Visual variant selecting the text container class.