/**
 * Dispatcher script: check-due-events
 *
 * Standalone dispatcher. Not fired automatically on a running install — the
 * installer-registered cron entry was removed and the replacement
 * surface (Claude Code's desktop scheduled tasks, per maxy-code-prd.md
 * §Scheduled tasks) is not yet wired. Until that lands, this binary runs only
 * when invoked manually or by a future scheduled-task dispatcher. Finds events
 * whose time has arrived and marks them appropriately:
 *
 * - One-time events: set eventStatus = 'due'
 * - Recurring events: set lastTriggered, advance nextRun, append trigger note
 *   (status stays 'scheduled' to avoid orphaning)
 *
 * If an event carries an action (actionPlugin + actionTool), the corresponding
 * MCP tool is dispatched after the event is updated. Dispatch happens AFTER
 * the nextRun/status update so a failed dispatch never blocks the event.
 *
 * PID lock at $HOME/{configDir}/check-due-events.lock prevents overlapping runs.
 *
 *   PLATFORM_ROOT=... node dist/scripts/check-due-events.js
 */
export {};
//# sourceMappingURL=check-due-events.d.ts.map