zelari-code 1.32.0 → 1.33.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -52759,7 +52759,15 @@ async function runHeadlessKrakenGraph(opts, provider, model) {
52759
52759
  const planDir = path48.join(cwd, ".zelari", "radio");
52760
52760
  const planPath = path48.join(planDir, `plan-${planId}.json`);
52761
52761
  await fs29.mkdir(planDir, { recursive: true });
52762
- await fs29.writeFile(planPath, JSON.stringify(graph, null, 2), "utf8");
52762
+ await fs29.writeFile(
52763
+ planPath,
52764
+ JSON.stringify(
52765
+ { id: graph.id, nodes: [...graph.nodes.values()] },
52766
+ null,
52767
+ 2
52768
+ ),
52769
+ "utf8"
52770
+ );
52763
52771
  log(`plan-only: wrote ${planPath} (${graph.nodes.size} nodes)`);
52764
52772
  log(
52765
52773
  `re-run with ZELARI_KRAKEN_RUN_PLAN=${planId} to execute (or --run-plan <id> when the desktop wiring is in place)`