ChartRequest
Defined in: packages/protocol/src/lib/request.ts:132
Request from client to engine.
Message identity (id), session binding (sessionId), and timestamp live
on the surrounding ChartRequestMessage envelope — this payload only
carries the chart state and the reasons for the update.
Properties
Section titled “Properties”context
Section titled “context”
readonlycontext:object
Defined in: packages/protocol/src/lib/request.ts:134
chartDimensions
Section titled “chartDimensions”
readonlychartDimensions:ChartDimensions
layoutMode
Section titled “layoutMode”
readonlylayoutMode:LayoutMode
updateReasons
Section titled “updateReasons”
readonlyupdateReasons: readonlyUpdateReason[]
Reasons that triggered this update (can be batched)
instances
Section titled “instances”
readonlyinstances: readonlyVesselInstanceSnapshot[]
Defined in: packages/protocol/src/lib/request.ts:141
All Vessel instances with their current variant state
intentFacts?
Section titled “intentFacts?”
readonlyoptionalintentFacts?:Readonly<Record<string,JsonValue>>
Defined in: packages/protocol/src/lib/request.ts:161
Structured facts the caller already learned about the intent, for example values read from tool results, keyed by a name the Planner can reason about. They are inputs to planning, not instructions: the Planner still chooses the Actions and their parameters. Absent means no facts.
layout
Section titled “layout”
readonlylayout:GridLayout|TilingLayout
Defined in: packages/protocol/src/lib/request.ts:145
Current layout (mode-specific)
skipReply?
Section titled “skipReply?”
readonlyoptionalskipReply?:boolean
Defined in: packages/protocol/src/lib/request.ts:154
When true, the caller writes the user-facing reply itself, so the
Planner may omit userMessage or return a NeedsClarification
instead of a layout. Absent means false: the response carries a
userMessage. Clients rendering the reply leave it unset. Engine.handle
does not yet ship replyless outcomes: it refuses them with a
ValidationError on field skipReply.
readonlytype:"chart_request"
Defined in: packages/protocol/src/lib/request.ts:133
vessels
Section titled “vessels”
readonlyvessels: readonlyobject[]
Defined in: packages/protocol/src/lib/request.ts:143
All registered Vessel definitions