import { Command } from 'commander'; /** * A brand-new agent's TODO.md. * * Two things here are load-bearing, both learned the hard way: * * 1. The heading MUST be "## Todo" — that is what appendTask() looks for * (todo.ts). It used to say "## Tasks", so appendTask never found a section * and created a SECOND one below, leaving every new workspace with two task * lists. * * 2. There is NO example checkbox. The old template shipped * "- [ ] Example task — replace with your real task", which is a real, * executable task: pickNextTask() takes the first `todo` in file order, so a * brand-new agent spent its FIRST LLM call doing nothing of value, and the * customer's actual task ran second. The guidance below is prose for exactly * this reason — the parser (/^\s*(?:-\s*)?\[\s+\]\s*(.+)$/) is whitespace- * tolerant, so an example checkbox is executed even indented inside a comment. */ export declare const TODO_TEMPLATE = "# TODO\n\n## Todo\n\n\n\n"; interface InitOpts { provider: string; force?: boolean; ide?: string; launch?: boolean; extension?: boolean; hooks?: boolean; git?: boolean; fileBrowser?: boolean; profile?: string; sessionName?: string; } export declare function runInit(workspacePath: string | undefined, opts: InitOpts): void; export declare function initCommand(program: Command): void; export {};