Skip to content

src/orchestrator/options.ts — RunOptions / RunSummary

The declaration home for the orchestrator’s input/output types. They live in a leaf file (not the module entry) so internals like prepare.ts can import them without an upward import of the module’s index.ts — the entry must stay cycle-free.

export interface RunOptions {
/* cwd, tasks, projects?, concurrency?, noCache?, forwardArgs?,
excludeDependencies?, summarize?, profile?, log?, handleSignals? */
}
export interface RunSummary {
ok: boolean
outcomes: TaskOutcome[]
}

Both are re-exported by orchestrator/index.ts (the module contract) and by the package façade src/index.ts. See orchestrator.md for the full field-by-field documentation — this page exists to map the file, the types are documented with their consumer.

No logic, no defaults. Default resolution (concurrency, noCache, handleSignals) happens in run.ts at the use sites.