Interface: TurnEvent
Makaio Framework / ai-adapters-core / TurnEvent
Interface: TurnEvent
Section titled “Interface: TurnEvent”Defined in: ../../../adapters/core/src/log-importer/turn-tracker.ts:27
Synthetic turn event to be emitted during log import.
Remarks
Section titled “Remarks”These events are synthesized by the state machine when it detects turn boundaries (e.g., user message starts a turn, final text completes it).
TurnTracker - State machine that produces these events
Properties
Section titled “Properties”sessionId
Section titled “sessionId”sessionId:
string
Defined in: ../../../adapters/core/src/log-importer/turn-tracker.ts:32
Session ID for this turn (from the record that triggered the transition)
turnId
Section titled “turnId”turnId:
string
Defined in: ../../../adapters/core/src/log-importer/turn-tracker.ts:35
Unique identifier for this turn instance
type:
"turn.started"|"turn.completed"
Defined in: ../../../adapters/core/src/log-importer/turn-tracker.ts:29
Type of turn event