Documentation / @agentick/shared / TimelineEntry
Interface: TimelineEntry ​
Defined in: timeline.ts:28
Timeline entry - represents a message or event in the conversation.
Tool calls and results are embedded in message content blocks:
- Tool calls:
tool_useblocks in assistant messages - Tool results:
tool_resultblocks in tool messages
This unified format is used by both client and backend. Backend extends this with SemanticContentBlock[] and renderer fields.
Extended by ​
Properties ​
id? ​
optionalid:string
Defined in: timeline.ts:32
Unique identifier for this timeline entry
kind ​
kind:
"message"
Defined in: timeline.ts:42
Kind of timeline entry. Currently only 'message' is supported. Additional kinds may be added in the future.
Note: Application events (user actions, system events) use role: 'event' on the message, not a separate kind. This keeps the model simple while allowing events to be distinguished from conversation messages.
message ​
message:
Message
Defined in: timeline.ts:50
The message content. Tool calls and results are embedded in message.content as blocks:
- Assistant messages may contain
tool_useblocks - Tool messages contain
tool_resultblocks
metadata? ​
optionalmetadata:Record<string,unknown>
Defined in: timeline.ts:68
Optional metadata
tags? ​
optionaltags:string[]
Defined in: timeline.ts:63
Tags for categorization and filtering
visibility? ​
optionalvisibility:"model"|"observer"|"log"
Defined in: timeline.ts:58
Visibility control - who can see this entry
- 'model': Visible to the model (default)
- 'observer': Visible to observers/logs but not model
- 'log': Only in logs, not visible to model or observers