fix(cron): auto-deliver agent output to explicit targets

This commit is contained in:
Peter Steinberger
2026-01-20 17:56:12 +00:00
parent 40968bd5e0
commit d298b8c16b
5 changed files with 166 additions and 14 deletions

View File

@@ -127,6 +127,11 @@ Isolated jobs can deliver output to a channel. The job payload can specify:
If `channel` or `to` is omitted, cron can fall back to the main sessions “last route”
(the last place the agent replied).
Delivery notes:
- If `to` is set, cron auto-delivers the agents final output even if `deliver` is omitted.
- Use `deliver: true` when you want last-route delivery without an explicit `to`.
- Use `deliver: false` to keep output internal even if a `to` is present.
Target format reminders:
- Slack/Discord targets should use explicit prefixes (e.g. `channel:<id>`, `user:<id>`) to avoid ambiguity.
- Telegram topics should use the `:topic:` form (see below).