Skip to content

OrchestratorOptionsBase

Defined in: packages/client/src/lib/orchestrator/orchestrator.types.ts:17

Options that apply under every layout mode.

OrchestratorOptions pairs these with the mode-specific layoutMode / initialLayout fields.

optional agentRunStaleTimeoutMs?: number

Defined in: packages/client/src/lib/orchestrator/orchestrator.types.ts:39

Silence window in ms after which an Agent Run that has seen no finished event is treated as lost, emitting conversation_lost with reason 'stale_run' (default: 150000). Pass Infinity to disable the safety net. Zero, negative, or NaN values throw at construction, as do finite values above 2147483647 (the largest delay a timer accepts). The default is the Engine’s 120 s Agent Run budget plus its 30 s Layout acknowledgement wait, so a live server normally sends finished first.


optional connection?: Partial<ConnectionOptions>

Defined in: packages/client/src/lib/orchestrator/orchestrator.types.ts:41

Connection options for the ConnectionManager


optional debounceDelayMs?: number

Defined in: packages/client/src/lib/orchestrator/orchestrator.types.ts:25

Debounce delay for update batching in ms (default: 300)


optional debug?: boolean

Defined in: packages/client/src/lib/orchestrator/orchestrator.types.ts:23

Enable debug logging (default: false)


optional intentQueue?: IntentQueueOptions

Defined in: packages/client/src/lib/orchestrator/orchestrator.types.ts:19

Mount-time bounded FIFO policy; invalid positive bounds throw at construction.


optional maxWaitMs?: number

Defined in: packages/client/src/lib/orchestrator/orchestrator.types.ts:27

Maximum wait time before forcing an update flush in ms (default: 1000)


optional readyTimeoutMs?: number

Defined in: packages/client/src/lib/orchestrator/orchestrator.types.ts:29

Max wait time for instance readiness before skipping actions in ms (default: 500)


optional sessionId?: SessionId

Defined in: packages/client/src/lib/orchestrator/orchestrator.types.ts:21

Session ID for conversation continuity. Auto-generated if omitted.


optional vessels?: readonly VesselDefinition[]

Defined in: packages/client/src/lib/orchestrator/orchestrator.types.ts:57

Vessel definitions to register before TilingOrchestratorOptions.initialLayout is validated and applied. Equivalent to calling vesselManager.registerVessel() for each immediately after construction — including its report-don’t-throw behavior: a definition that fails schema validation is skipped and logged rather than aborting construction, so one bad vessel cannot take down every other vessel. Registering here (rather than after construction) exists so an initialLayout seed can reference these vessels — the registry starts out empty otherwise. The one place this still throws is indirect: if initialLayout names an instance whose vessel failed validation (or was never listed here), construction throws naming that instance and vessel — a seed genuinely cannot be honored without the vessel it names.