/** * update_task tool * * Agent tool to update a task's status. * Auto-sets started_at when transitioning to "in_progress". * Auto-sets finish_at when transitioning to "done", "failed", or "removed". * * Used by: mission-orchestrator skill */ import { TaskStatus } from "../state.js"; export interface UpdateTaskParams { task_id: string; status: TaskStatus; } export interface UpdateTaskResult { success: boolean; message: string; taskId: string | null; phaseId: string | null; previousStatus: TaskStatus | null; newStatus: TaskStatus | null; startedAt: string | null; finishAt: string | null; errors: string[]; } /** * Update a task's status in the active mission run * * @param params.task_id - ID of the task to update (e.g., "phase1-task1") * @param params.status - New status ("pending" | "in_progress" | "done" | "failed" | "removed") * @returns Result with updated task info */ export declare function updateTask(params: UpdateTaskParams): UpdateTaskResult; //# sourceMappingURL=update-task.d.ts.map