ChartRequest
Defined in: packages/protocol/src/lib/request.ts:150
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:152
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:159
All Vessel instances with their current variant state
layout
Section titled “layout”
readonlylayout:GridLayout|TilingLayout
Defined in: packages/protocol/src/lib/request.ts:163
Current layout (mode-specific)
skipReply?
Section titled “skipReply?”
readonlyoptionalskipReply?:boolean
Defined in: packages/protocol/src/lib/request.ts:174
When true, the caller writes the user-facing reply itself, so the
Planner may omit userMessage or return a NeedsClarification
that asks the user a question, optionally with the layout and Actions it
could already settle. Absent means false: the response carries a
userMessage. Clients rendering the reply leave it unset. Engine.handle
ships a replyless response with userMessage absent. It still refuses a
NeedsClarification result with a ValidationError on field
skipReply, because a chart_response has no shape for a question.
readonlytype:"chart_request"
Defined in: packages/protocol/src/lib/request.ts:151
vessels
Section titled “vessels”
readonlyvessels: readonlyobject[]
Defined in: packages/protocol/src/lib/request.ts:161
All registered Vessel definitions