Skip to content

Interface: TurnEvent

Makaio Framework


Makaio Framework / ai-adapters-core / TurnEvent

Defined in: ../../../adapters/core/src/log-importer/turn-tracker.ts:27

Synthetic turn event to be emitted during log import.

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

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: 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