Files
2026-11-14 09:56:45 +00:00

16 lines
629 B
TypeScript

// The constants of the agent module: its job, events and audit actions.
/** The worker job that executes (or resumes) one run. */
export const RUN_JOB = "agent.run"
/** The hourly sweep that deletes finished runs past the retention (AGENT_RUN_RETENTION_DAYS), per project. */
export const RUN_EXPIRE_JOB = "agent.runs.expire"
/** Top of every hour. */
export const RUN_EXPIRE_CRON = "0 * * * *"
export const RUN_STARTED = "agent.run.started"
export const RUN_RESUME_REQUESTED = "agent.run.resume_requested"
export const RUN_CANCELLED_ACTION = "agent.run.cancelled"
export const APPROVAL_REVIEWED = "agent.approval.reviewed"