# GridOrchestratorOptions
Source: https://docs.maelstrom-ai.co/dev/reference/client/interfaces/gridorchestratoroptions/
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:95](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/orchestrator/orchestrator.types.ts#L95)

Options under grid mode, where no first screen can be seeded.

## 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?**: `undefined`

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

Unavailable under grid mode. A seed has to _create_ the instances it arranges, which only a tiling tree expresses; grid positions can merely move instances that already exist. Seed under [TilingOrchestratorOptions.initialLayout](https://docs.maelstrom-ai.co/dev/reference/client/interfaces/tilingorchestratoroptions/#initiallayout) instead.

* * *

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

> **layoutMode**: `"grid"`

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

Layout mode.

* * *

### 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)
