Skip to content

MaelstromResponse

Defined in: packages/protocol/src/lib/response.ts:542

Healed Chart decision whose layout is applied before its Action plan.

readonly executionPlan: readonly ActionExecution[]

Defined in: packages/protocol/src/lib/response.ts:552

Applied after layout; order is preserved only within each target Instance.


readonly layout: GridLayout | TilingLayout

Defined in: packages/protocol/src/lib/response.ts:554

Uses the same mode requested in the Chart context after successful healing.


readonly rationale: string

Defined in: packages/protocol/src/lib/response.ts:550

Engine rationale intended for diagnostics rather than user display.


readonly requestId: MessageId

Defined in: packages/protocol/src/lib/response.ts:546

Echoes the input message ID and matches the enclosing output correlation ID.


readonly type: "maelstrom_response"

Defined in: packages/protocol/src/lib/response.ts:544

Wire discriminator for a Maelstrom Chart response.


readonly userMessage: string

Defined in: packages/protocol/src/lib/response.ts:548

Assistant text intended for display and optional speech output.