Interface: TurnConfig
Makaio Framework / services-core / TurnConfig
Interface: TurnConfig
Section titled “Interface: TurnConfig”Defined in: ../../../packages/services/core/src/session/entities/turn.ts:45
Configuration for creating a Turn.
Properties
Section titled “Properties”agentIds
Section titled “agentIds”agentIds:
string[]
Defined in: ../../../packages/services/core/src/session/entities/turn.ts:49
Agents participating in this turn
initiator?
Section titled “initiator?”
optionalinitiator?:object
Defined in: ../../../packages/services/core/src/session/entities/turn.ts:57
Origin of this turn (for loop prevention and audit). Defaults to user-initiated.
source
Section titled “source”source:
"user"|"extension"|"system"
Origin category
sourceId?
Section titled “sourceId?”
optionalsourceId?:string
Identifier for the specific origin.
Examples: 'routine:validation', 'loop', 'subagent:xyz'.
sessionId
Section titled “sessionId”sessionId:
string
Defined in: ../../../packages/services/core/src/session/entities/turn.ts:47
Session this turn belongs to
startedAt?
Section titled “startedAt?”
optionalstartedAt?:number
Defined in: ../../../packages/services/core/src/session/entities/turn.ts:55
Optional start timestamp (defaults to Date.now())
turnId?
Section titled “turnId?”
optionalturnId?:string
Defined in: ../../../packages/services/core/src/session/entities/turn.ts:53
Optional turn ID (generated if not provided)
turnNumber
Section titled “turnNumber”turnNumber:
number
Defined in: ../../../packages/services/core/src/session/entities/turn.ts:51
Monotonic per-session ordinal (1-based), assigned by turn storage.