/** * The org_task tool: creates a DAG task, optionally with `assignee: "auto"`, * which has SessionOpts.pickAssignee choose the role from the title and brief * and records how it chose on the task (OrgTask.pick). Built by session.ts's * buildOrgTools, in the same place in the tool list as before. */ import { z } from 'zod'; import type { OrgToolDef } from './agent-runner.js'; import type { SessionOpts } from './session.js'; import type { RolePick, TaskPick } from './task-match.js'; /** org_task's assignee value that asks for automatic role selection. */ export declare const AUTO_ASSIGNEE = "auto"; /** An `assignee: "auto"` pick: the chosen role with its provenance for * OrgTask.pick, or the error telling the caller to name the assignee. */ export declare function autoAssignment(picked: RolePick): { assignee: string; pick: TaskPick; } | { error: string; }; /** org_task, or undefined when the session has no createTask. `loadoutArg` * and `briefArg` are shared with org_plan_graph. */ export declare function orgTaskTool(opts: SessionOpts, loadoutArg: Record, briefArg: z.ZodType): OrgToolDef | undefined; //# sourceMappingURL=task-tools.d.ts.map