# TilingOrchestratorOptions
Source: https://docs.maelstrom-ai.co/dev/reference/client/interfaces/tilingorchestratoroptions/
Documentation revision: 89a8f5e9d10cedcf0b30376d7846113f06f26120
SDK manifests in this build: @maelstrom-co/react@0.2.1, @maelstrom-co/client@0.2.1, @maelstrom-co/connectors@0.2.1, @maelstrom-co/protocol@0.2.1, @maelstrom-co/engine@0.2.1
These docs follow this source revision. Manifest versions do not prove release compatibility; verify the installed package exports before using an API.

Defined in: [packages/client/src/lib/orchestrator/orchestrator.types.ts:64](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/orchestrator/orchestrator.types.ts#L64)

Options under the default tiling mode — the only mode that can seed a first screen.

## Extends

-   [`OrchestratorOptionsBase`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/orchestratoroptionsbase/)

## Properties

### agentRunStaleTimeoutMs?

> `optional` **agentRunStaleTimeoutMs?**: `number`

Defined in: [packages/client/src/lib/orchestrator/orchestrator.types.ts:39](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/orchestrator/orchestrator.types.ts#L39)

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.

#### Inherited from

[`OrchestratorOptionsBase`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/orchestratoroptionsbase/).[`agentRunStaleTimeoutMs`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/orchestratoroptionsbase/#agentrunstaletimeoutms)

* * *

### connection?

> `optional` **connection?**: `Partial`<[`ConnectionOptions`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/connectionoptions/)\>

Defined in: [packages/client/src/lib/orchestrator/orchestrator.types.ts:41](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/orchestrator/orchestrator.types.ts#L41)

Connection options for the ConnectionManager

#### Inherited from

[`OrchestratorOptionsBase`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/orchestratoroptionsbase/).[`connection`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/orchestratoroptionsbase/#connection)

* * *

### debounceDelayMs?

> `optional` **debounceDelayMs?**: `number`

Defined in: [packages/client/src/lib/orchestrator/orchestrator.types.ts:25](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/orchestrator/orchestrator.types.ts#L25)

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

#### Inherited from

[`OrchestratorOptionsBase`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/orchestratoroptionsbase/).[`debounceDelayMs`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/orchestratoroptionsbase/#debouncedelayms)

* * *

### debug?

> `optional` **debug?**: `boolean`

Defined in: [packages/client/src/lib/orchestrator/orchestrator.types.ts:23](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/orchestrator/orchestrator.types.ts#L23)

Enable debug logging (default: false)

#### Inherited from

[`OrchestratorOptionsBase`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/orchestratoroptionsbase/).[`debug`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/orchestratoroptionsbase/#debug)

* * *

### initialLayout?

> `optional` **initialLayout?**: `TilingLayout`

Defined in: [packages/client/src/lib/orchestrator/orchestrator.types.ts:89](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/orchestrator/orchestrator.types.ts#L89)

Layout applied once at construction, before any engine round-trip — a _proposed_ first screen. The engine sees it in the next chart request and may reshape or drop tiles to fit the real viewport.

Tiling-only, and typed that way: a grid layout can only reposition instances that already exist, and none do yet at construction, so [GridOrchestratorOptions](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/gridorchestratoroptions/) types `initialLayout` as `never`. The constructor repeats both rules at runtime as a backstop for untyped (JS) callers and `as` casts.

Every instance the seed names must resolve to a vessel and variant already registered via [OrchestratorOptionsBase.vessels](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/orchestratoroptionsbase/#vessels), every `tree` leaf must be declared in `instances`, and every declared instance must appear as a `tree` leaf; otherwise construction throws.

Switching to grid later via `Orchestrator.setLayoutMode('grid')` is not an error and does not undo the seed’s own validity — but the stored tiling layout can no longer be sent, so the next chart request carries a fresh empty grid layout and the arranged board is discarded (with a warning).

* * *

### intentQueue?

> `optional` **intentQueue?**: [`IntentQueueOptions`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/intentqueueoptions/)

Defined in: [packages/client/src/lib/orchestrator/orchestrator.types.ts:19](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/orchestrator/orchestrator.types.ts#L19)

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

#### Inherited from

[`OrchestratorOptionsBase`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/orchestratoroptionsbase/).[`intentQueue`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/orchestratoroptionsbase/#intentqueue)

* * *

### layoutMode?

> `optional` **layoutMode?**: `"tiling"`

Defined in: [packages/client/src/lib/orchestrator/orchestrator.types.ts:66](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/orchestrator/orchestrator.types.ts#L66)

Layout mode (default: ‘tiling’)

* * *

### maxWaitMs?

> `optional` **maxWaitMs?**: `number`

Defined in: [packages/client/src/lib/orchestrator/orchestrator.types.ts:27](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/orchestrator/orchestrator.types.ts#L27)

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

#### Inherited from

[`OrchestratorOptionsBase`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/orchestratoroptionsbase/).[`maxWaitMs`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/orchestratoroptionsbase/#maxwaitms)

* * *

### readyTimeoutMs?

> `optional` **readyTimeoutMs?**: `number`

Defined in: [packages/client/src/lib/orchestrator/orchestrator.types.ts:29](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/orchestrator/orchestrator.types.ts#L29)

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

#### Inherited from

[`OrchestratorOptionsBase`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/orchestratoroptionsbase/).[`readyTimeoutMs`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/orchestratoroptionsbase/#readytimeoutms)

* * *

### sessionId?

> `optional` **sessionId?**: [`SessionId`](https://docs.maelstrom-ai.co/dev/reference/client/type-aliases/sessionid/)

Defined in: [packages/client/src/lib/orchestrator/orchestrator.types.ts:21](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/orchestrator/orchestrator.types.ts#L21)

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

#### Inherited from

[`OrchestratorOptionsBase`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/orchestratoroptionsbase/).[`sessionId`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/orchestratoroptionsbase/#sessionid)

* * *

### vessels?

> `optional` **vessels?**: readonly `VesselDefinition`\[\]

Defined in: [packages/client/src/lib/orchestrator/orchestrator.types.ts:57](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/orchestrator/orchestrator.types.ts#L57)

Vessel definitions to register before [TilingOrchestratorOptions.initialLayout](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/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.

#### Inherited from

[`OrchestratorOptionsBase`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/orchestratoroptionsbase/).[`vessels`](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/orchestratoroptionsbase/#vessels)
