You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using openclaw cron add --script ... --channel <ch> --to <dest> --account <id> --best-effort-deliver, the delivery-related flags are silently dropped. The script payload builder sets deliver: true but the surrounding code never attaches the delivery object ({ mode, channel, to, accountId, bestEffort }) to the job create params.
Problem
The delivery infrastructure is job-level (not payload-level). For agentTurn jobs, the CLI correctly builds and attaches the delivery object. For script jobs, this wiring was missed in PR #17. Users who add --announce --channel telegram --to 12345 to a script job get no error but no delivery config is persisted.
Acceptance Criteria
--channel, --to, --account, --best-effort-deliver flags are correctly wired to the delivery object when --script is used
Summary
When using
openclaw cron add --script ... --channel <ch> --to <dest> --account <id> --best-effort-deliver, the delivery-related flags are silently dropped. The script payload builder setsdeliver: truebut the surrounding code never attaches thedeliveryobject ({ mode, channel, to, accountId, bestEffort }) to the job create params.Problem
The delivery infrastructure is job-level (not payload-level). For
agentTurnjobs, the CLI correctly builds and attaches the delivery object. Forscriptjobs, this wiring was missed in PR #17. Users who add--announce --channel telegram --to 12345to a script job get no error but no delivery config is persisted.Acceptance Criteria
--channel,--to,--account,--best-effort-deliverflags are correctly wired to the delivery object when--scriptis used--announceis used with--scriptbut delivery pipeline isn't wired yet (until cron: delivery (announce to channel) for script payload jobs #21 lands)deliveryobject in the RPC payloadFiles Affected
src/cli/cron-cli/register.cron-add.ts(~line 213-260, delivery wiring section)Related