Skip to content

groundPlanBlocks

groundPlanBlocks(blocks): VisualBlock[]

Defined in: src/visual-blocks.ts:755

Ground LLM-emitted blocks for a plan (pre-change context, no real diff).

  • Drop every diff, code, and annotated-code block (no real content exists to join).
  • Pass every other block type through unchanged (including file-tree — its entries are intended paths, NOT reconciled against any diff).
  • Force inferred:true on data-model/api-endpoint/mermaid via markInferred. Pure; does not mutate inputs; returns a new array.

VisualBlock[]

VisualBlock[]