import { executeNode } from './node-helpers.js';
import { buildPlanPrompt } from './prompts/plan.prompt.js';
/**
 * Creates the plan node that generates an implementation plan (plan.yaml)
 * and task breakdown with TDD cycles (tasks.yaml) from spec and research.
 */
export function createPlanNode(executor) {
    return executeNode('plan', executor, buildPlanPrompt);
}
