Documentation / @agentick/core / TimelineProps
Interface: TimelineProps
Defined in: core/src/jsx/components/timeline.tsx:110
Props for the Timeline component.
Extends
ConversationHistoryOptions.TimelineBudgetOptions
Properties
children?
optionalchildren:Element|TimelineRenderFn
Defined in: core/src/jsx/components/timeline.tsx:115
Render prop for custom rendering. If not provided, renders default message components.
filter()?
optionalfilter: (entry) =>boolean
Defined in: core/src/jsx/components/timeline.tsx:75
Filter function for entries
Parameters
entry
Returns
boolean
Inherited from
ConversationHistoryOptions.filter
guidance?
optionalguidance:string
Defined in: core/src/jsx/components/timeline.tsx:98
Guidance string passed to custom compaction functions
Inherited from
TimelineBudgetOptions.guidance
headroom?
optionalheadroom:number
Defined in: core/src/jsx/components/timeline.tsx:104
Reserve tokens for safety margin (default: 0)
Inherited from
TimelineBudgetOptions.headroom
limit?
optionallimit:number
Defined in: core/src/jsx/components/timeline.tsx:78
Maximum number of entries to return
Inherited from
ConversationHistoryOptions.limit
maxTokens?
optionalmaxTokens:number
Defined in: core/src/jsx/components/timeline.tsx:89
Maximum tokens for timeline entries. Enables compaction.
Inherited from
TimelineBudgetOptions.maxTokens
onEvict()?
optionalonEvict: (entries) =>void
Defined in: core/src/jsx/components/timeline.tsx:95
Callback when entries are evicted
Parameters
entries
Returns
void
Inherited from
preserveRoles?
optionalpreserveRoles: ("user"|"assistant"|"system"|"tool")[]
Defined in: core/src/jsx/components/timeline.tsx:101
Roles that are never evicted (default: ["system"])
Inherited from
TimelineBudgetOptions.preserveRoles
roles?
optionalroles: ("event"|"user"|"assistant"|"system"|"tool")[]
Defined in: core/src/jsx/components/timeline.tsx:81
Only include these roles
Inherited from
ConversationHistoryOptions.roles
strategy?
optionalstrategy:CompactionStrategy
Defined in: core/src/jsx/components/timeline.tsx:92
Compaction strategy (default: "sliding-window")