// Two names for one array: the ask is pushed through `ys`, the join reads `xs`. // Expected: ask#1 -> join#1 data (portless); ask#1 -> ask#2 and join#1 -> ask#2 // (relay labels are additive); ask#2 -> sink. const xs: Node[] = []; const ys = xs; ys.push(agent("writer").ask("draft")); const parts = await Promise.all(xs); return agent("reader").ask(`use ${parts.join(" ")}`);