pub fn parse_planner_output(text: &str) -> Option<PlannerOutput>Expand description
Parse structured planner output from the planner’s text response.
Tries the new DAG format first, falls back to the legacy batch format (converting batches into dependency edges).