/** * The `subagent` tool's `flow` mode: a flow a file describes, run on `task`. * * It is launched the way `/run` launches one (`commands/launch.ts`): checked * at both stages against this terminal, run in a run directory of its own * under the plan's live view, its `ask` cards shown during the model's turn * when somebody is there. What differs is who reads the result: the model, * which gets the output and the line on how the run ended, with the run * directory `/run resume` takes. The tool does not resume. * * The composition fields are refused beside `flow`, rather than ignored: the * file says what runs, and a `steps` the model believed was used is a wrong * answer read as a right one. */ import type { ExecuteDeps, ToolOutput } from "./execute.ts"; import { type Params } from "./params.ts"; /** * Runs the flow `params.flow` on `params.task`. Throws, before anything is * spawned, on a field the mode does not take, on no task, and on a flow * refused at either stage; a run that fails is a result. */ export declare function executeFlow(params: Params, deps: ExecuteDeps): Promise; //# sourceMappingURL=execute-flow.d.ts.map