AIDK API Reference / aidk/com / COMTimelineEntry
Interface: COMTimelineEntry ​
Defined in: packages/core/src/com/types.ts:88
COM Timeline Entry - extends base TimelineEntry with backend-specific fields.
Extends the platform-independent TimelineEntry from aidk-shared with:
- SemanticContentBlock[] content (format-agnostic, can be rendered)
- ContentRenderer reference (for formatting)
Extends ​
Properties ​
| Property | Type | Description | Overrides | Inherited from | Defined in |
|---|---|---|---|---|---|
id? | string | Unique identifier for this timeline entry | - | TimelineEntry.id | packages/shared/src/timeline.ts:32 |
kind | "message" | "event" | Kind of timeline entry - 'message': Regular conversation message (user, assistant, system, tool) - 'event': Application event (user actions, system events, state changes) | - | TimelineEntry.kind | packages/shared/src/timeline.ts:39 |
message | Message & { content: SemanticContentBlock[]; } | The message content. Tool calls and results are embedded in message.content as blocks: - Assistant messages may contain tool_use blocks - Tool messages contain tool_result blocks | TimelineEntry.message | - | packages/core/src/com/types.ts:89 |
metadata? | Record<string, unknown> | Optional metadata | - | TimelineEntry.metadata | packages/shared/src/timeline.ts:65 |
renderer? | ContentRenderer | - | - | - | packages/core/src/com/types.ts:94 |
tags? | string[] | Tags for categorization and filtering | - | TimelineEntry.tags | packages/shared/src/timeline.ts:60 |
visibility? | "model" | "observer" | "log" | 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 | - | TimelineEntry.visibility | packages/shared/src/timeline.ts:55 |