Skip to content

PlanningInput

Defined in: packages/engine/src/lib/planner/stage.ts:28

What the Engine hands the first stage of a Planner for one chart_request. Stages may pass a modified copy downstream (for example a narrowed request), but the Engine always validates the final candidate against the request it received, which stays available as StageContext.origin.

readonly history: readonly LLMContextMessage[]

Defined in: packages/engine/src/lib/planner/stage.ts:36

Prior conversation as projected by the Engine’s history config. Empty without history.


readonly messageId: MessageId

Defined in: packages/engine/src/lib/planner/stage.ts:30

Envelope id of the chart_request, for correlating stage logs with Engine logs.


readonly request: ChartRequest

Defined in: packages/engine/src/lib/planner/stage.ts:34

Chart state, Vessel catalog and update reasons as the client sent them.


readonly sessionId: SessionId

Defined in: packages/engine/src/lib/planner/stage.ts:32

Session the request belongs to; the key for any per-session state a stage keeps.