feat(cron): always post isolated summaries to main

This commit is contained in:
Peter Steinberger
2025-12-13 11:33:46 +00:00
parent a5f51eadf1
commit 8d1e73edc7
5 changed files with 29 additions and 11 deletions

View File

@@ -163,7 +163,11 @@ export function registerCronCli(program: Command) {
"Do not fail the job if delivery fails",
false,
)
.option("--post-to-main", "Post a 1-line summary to main session", false)
.option(
"--post-to-main",
"Deprecated: isolated jobs always post a summary to main; use --post-prefix to customize",
false,
)
.option(
"--post-prefix <prefix>",
"Prefix for summary system event",
@@ -343,7 +347,11 @@ export function registerCronCli(program: Command) {
"Do not fail job if delivery fails",
false,
)
.option("--post-to-main", "Post a 1-line summary to main session", false)
.option(
"--post-to-main",
"Deprecated: isolated jobs always post a summary to main; use --post-prefix to customize",
false,
)
.option("--post-prefix <prefix>", "Prefix for summary system event")
.action(async (id, opts) => {
try {