/** * Source-defined recurring schedules for Veryfront projects. * * @module schedule * * @example Run a workflow every weekday morning * ```ts * import { schedule } from "veryfront/schedule"; * * export default schedule({ * id: "daily-support-triage", * schedule: "0 9 * * 1-5", * timezone: "Europe/Stockholm", * target: { kind: "workflow", id: "escalate-ticket" }, * input: { severity: "high" }, * health: { maxStalenessSeconds: 1800 }, * }); * ``` */ import "../../_dnt.polyfills.js"; export { schedule } from "./factory.js"; export type { AgentScheduleConfig, ScheduleAgentMessage, ScheduleConcurrencyPolicy, ScheduleConfig, ScheduleDefinition, ScheduleHealth, ScheduleIntegrationRequirement, ScheduleIntegrationRequirementConfig, ScheduleIntegrationResource, ScheduleIntegrationResourceIdentity, } from "./types.js"; export { isScheduleDefinition } from "./types.js"; export { discoverSchedules } from "./discovery.js"; export type { ScheduleDiscoveryOptions, ScheduleDiscoveryResult } from "./discovery.js"; /** * Validate the legacy `input._schedule_target` channel's shape. * * Exported because `veryfront schedule run --input ` replaces the * authored input without passing back through {@link schedule}, so the CLI is * the only place that can apply this rule to an operator-supplied file. Sharing * the one implementation keeps both entry points rejecting the same shapes. */ export { legacyScheduleTargetDiagnostic } from "./validation.js"; //# sourceMappingURL=index.d.ts.map