import type { AiPromptId } from './ai-prompts.data' export const monitoringAgents = { health: { id: 'health', name: 'Health monitor', promptId: 'monitoring-agent-health' as AiPromptId, schedule: { cadence: 'once per hour', intervalMinutes: 60, scheduled: 'Run it once per hour on a schedule.', onDemand: 'Run it on demand after a deployment, or whenever you need a health check outside that interval.', }, }, security: { id: 'security', name: 'Security monitor', promptId: 'monitoring-agent-security' as AiPromptId, schedule: { cadence: 'once per day', intervalMinutes: 1440, scheduled: 'Run it once per day on a schedule.', onDemand: 'Run it on demand after you change Auth, RLS, or other access controls.', }, }, performance: { id: 'performance', name: 'Performance monitor', promptId: 'monitoring-agent-performance' as AiPromptId, schedule: { cadence: 'once per hour', intervalMinutes: 60, scheduled: 'Run it once per hour on a schedule.', onDemand: 'Run it on demand after a latency regression or a schema change.', }, }, usage: { id: 'usage', name: 'Capacity monitor', promptId: 'monitoring-agent-usage' as AiPromptId, schedule: { cadence: 'once each morning', intervalMinutes: 1440, scheduled: 'Run it once per day on a schedule.', onDemand: 'Run it on demand after an unexpected traffic change.', }, }, all: { id: 'all', name: 'Generalist', promptId: 'monitoring-agent-all' as AiPromptId, schedule: { cadence: 'once per day', intervalMinutes: 1440, scheduled: 'Run it once per day at the start of your day or shift.', onDemand: 'Run it on demand after a deployment or whenever you want a full project health check.', }, }, } as const export type MonitoringAgentId = keyof typeof monitoringAgents export type MonitoringAgent = (typeof monitoringAgents)[MonitoringAgentId]