# CommandProcessorOptions
Source: https://docs.maelstrom-ai.co/dev/reference/client/interfaces/commandprocessoroptions/
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/command-processor/command-processor.types.ts:6](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/command-processor/command-processor.types.ts#L6)

Configuration for command queueing and Action execution.

## Properties

### actionExecutionTimeoutMs?

> `optional` **actionExecutionTimeoutMs?**: `number`

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

Maximum duration for one Action handler. Defaults to 30,000 milliseconds; expiry records that Action as failed.

* * *

### debug?

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

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

Enables diagnostic logging. Defaults to `false`.

* * *

### defaultActionWaitTimeoutMs?

> `optional` **defaultActionWaitTimeoutMs?**: `number`

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

Wait for a missing Action runner before skipping its Actions. Defaults to 500 milliseconds.

* * *

### initialState?

> `optional` **initialState?**: [`CommandProcessingState`](https://docs.maelstrom-ai.co/dev/reference/client/type-aliases/commandprocessingstate/)

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

Initial state override. Defaults to a fresh empty tiling state.

* * *

### resolveVessel?

> `optional` **resolveVessel?**: (`vesselId`) => `VesselDefinition` | `undefined`

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

Looks up a registered Vessel definition. With it, each Action of an `execute_actions` command resolves against its Instance’s Variant at that Action’s turn, and its `transitionsTo` applies after the handler succeeds. An Action declared `effect: 'none'` with no handler applies its transition on its own, as long as the Instance has a registered action runner. Any other Action without a handler is skipped and changes no Variant. Without it, handlers are looked up by Action name alone and no Variant changes.

#### Parameters

##### vesselId

`VesselId`

#### Returns

`VesselDefinition` | `undefined`
