/** * check_timeouts tool — Scan for overdue and failed tasks, applying * retry and escalation policies automatically. * * Three cases are handled: * 1. Overdue tasks (claimed/in_progress past timeout_minutes) → released back to pending * 2. Failed tasks eligible for retry (retry_count < max_retries) → reset to pending * 3. Failed tasks at max retries with escalation configured → escalated * * Supports dry_run mode to preview actions without making changes. */ import { z } from "zod"; import { Vault } from "../vault.js"; import { Config } from "../config.js"; export declare const checkTimeoutsSchema: { dry_run: z.ZodDefault>; }; export declare const checkTimeoutsHandler: (vault: Vault, config: Config) => (input: { dry_run?: boolean; }) => Promise<{ content: { type: "text"; text: string; }[]; isError?: boolean; }>; //# sourceMappingURL=check-timeouts.d.ts.map