/** * ScheduleWakeup + Cron* — Vigil-parity scheduling tools. * * ScheduleWakeup: in-process self-pacing. The agent calls this to * resume itself after N seconds, e.g. while waiting for a build to * finish or polling for an external state change. The wake-up arrives * as a virtual user message at the scheduled time. * * CronCreate / CronList / CronDelete: persisted recurring schedule. * Records are written to /.vigil/cron.json. The * portal mirrors them to Firestore for cross-device visibility, and * a server-side worker (AWS Lambda EventBridge) actually fires them. * * The CLI does not run the cron loop itself — it only manages the * schedule entries. Treat this tool as the registration surface. */ import type { ToolDefinition } from '../core/toolRuntime.js'; export interface CronEntry { id: string; prompt: string; schedule: string; enabled: boolean; createdAt: string; updatedAt: string; lastRunAt?: string; notes?: string; } interface PendingWakeup { id: string; delaySeconds: number; reason: string; scheduledAt: string; } export declare function isPlausibleCron(spec: string): boolean; export declare function getPendingWakeups(): readonly PendingWakeup[]; export declare function clearPendingWakeups(): void; export declare function createScheduleTools(workingDir: string): ToolDefinition[]; export {}; //# sourceMappingURL=scheduleTools.d.ts.map