Skip to main content

parse_planner_output

Function parse_planner_output 

Source
pub fn parse_planner_output(text: &str) -> Result<Vec<PlannedNode>>
Expand description

Parse the planner’s reply into nodes: strict whole-text parse, then the first-[-to-last-] substring (prose-wrapped or fenced output) — the array-shaped twin of runner.rs’s parse_report leniency. Anything else is a clear error quoting the reply’s opening, never a panic.