/** * complete_task tool — Mark a task as completed with deliverables. * * This is the preferred way to finish a task. It: * - Sets status to "completed" * - Records completed_at timestamp * - Optionally links deliverables (file paths, URLs, etc.) * - Appends a completion entry to the Agent Log * - Unblocks dependent tasks (sets them from "blocked" to "pending") * - Refreshes the dashboard */ import { z } from "zod"; import { Vault } from "../vault.js"; import { Config } from "../config.js"; export declare const completeTaskSchema: { task_id: z.ZodString; summary: z.ZodString; deliverables: z.ZodOptional>; status: z.ZodDefault>>; error_reason: z.ZodOptional; }; export declare const completeTaskHandler: (vault: Vault, config: Config) => (input: { task_id: string; summary: string; deliverables?: string[]; status?: "completed" | "failed" | "cancelled"; error_reason?: string; }) => Promise<{ content: { type: "text"; text: string; }[]; isError?: boolean; }>; //# sourceMappingURL=complete-task.d.ts.map