@@ -0,0 +1,15 @@
|
||||
// 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"
|
||||
Reference in New Issue
Block a user