/** * pi-bus Cron Extension — OS-scheduled task delivery via bus inbox. * * Three tools: * - schedule_cron: register a cron task via launchd plist (inline-gate: * first call prompts for confirmation, second with * confirmed=true creates the plist). * - list_cron: list all registered cron jobs. * - remove_cron: remove a cron job (unload plist + delete file + drop * from registry). * * Storage: `.pi-mind/cron/jobs.json` — flat JSON array of job records. * * Scheduling: each job gets a macOS launchd plist under * `~/Library/LaunchAgents/`. The plist executes `node /cron-trigger.mjs` * which imports from `@shog-lab/pi-bus/lib/deliver` and writes a message * into the target agent's bus inbox. If the target agent isn't online, the * session directory doesn't exist and the write fails silently. * * Cron expression parsing is intentionally minimal — handles common patterns * (specific time, weekday, day-of-month). Complex expressions that launchd * can't represent are rejected with a helpful error. */ import type { ExtensionAPI } from "@earendil-works/pi-coding-agent"; export default function cronExtension(pi: ExtensionAPI): void; //# sourceMappingURL=index.d.ts.map