Skip to content

Documentation / @agentick/core / TimelineContextValue

Interface: TimelineContextValue ​

Defined in: core/src/jsx/components/timeline.tsx:53

Context value for Timeline provider.

Properties ​

budget ​

budget: TokenBudgetInfo | null

Defined in: core/src/jsx/components/timeline.tsx:67

Token budget info (present when maxTokens is set)


byRole() ​

byRole: (role) => COMTimelineEntry[]

Defined in: core/src/jsx/components/timeline.tsx:64

Filter entries by role

Parameters ​

role ​

"user" | "assistant" | "system" | "tool"

Returns ​

COMTimelineEntry[]


entries ​

entries: COMTimelineEntry[]

Defined in: core/src/jsx/components/timeline.tsx:55

All timeline entries (history)


messageCount ​

messageCount: number

Defined in: core/src/jsx/components/timeline.tsx:61

Number of messages in timeline


pending ​

pending: ExecutionMessage[]

Defined in: core/src/jsx/components/timeline.tsx:58

Pending messages queued for next tick

Released under the ISC License.