feat(cron): require job name

This commit is contained in:
Peter Steinberger
2025-12-20 19:56:49 +00:00
parent 9ae73e87eb
commit 2bcdf741f9
13 changed files with 150 additions and 25 deletions

View File

@@ -201,7 +201,7 @@ export async function runCronIsolatedAgentTurn(params: {
});
const base =
`[cron:${params.job.id}${params.job.name ? ` ${params.job.name}` : ""}] ${params.message}`.trim();
`[cron:${params.job.id} ${params.job.name}] ${params.message}`.trim();
const commandBody = base;