/** * KHAELOR * File: src/daemon/index.ts * Description: Public surface of the daemon module (v2 design ยง7). * * Author: Simon-Pierre Boucher * Contact: contact@spboucher.ai */ export { parseCron, nextCronRun, parseActiveHours, withinActiveHours } from "./cron.js"; export type { CronSpec } from "./cron.js"; export { GoalStore } from "./goals.js"; export type { Goal, GoalEscalation, GoalEvent, GoalStatus, GoalType } from "./goals.js"; export { BudgetGuard, DEFAULT_BUDGET } from "./budget.js"; export type { BudgetConfig } from "./budget.js"; export { ApprovalQueue } from "./approvals.js"; export type { ApprovalRequest, ApprovalStatus } from "./approvals.js"; export { ChannelRouter, CommandChannel, WebhookChannel } from "./channels.js"; export type { ChannelAdapter, ChannelNotification } from "./channels.js"; export { DEFAULT_DAEMON_CONFIG, daemonDirFor, loadDaemonConfig } from "./config.js"; export type { DaemonConfig, DaemonPricing } from "./config.js"; export { KhaelorDaemon, readDaemonStatus } from "./daemon.js"; export type { CheckExec, DaemonDeps, GoalRunResult, GoalRunner } from "./daemon.js"; export { buildGoalRunner, costFromUsage } from "./runner.js"; export { daemonRequest, pidAlive } from "./client.js";