mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-24 05:31:11 +00:00
* fix(cli): reject --channel/--to for systemEvent cron jobs with a clear error * test(cli): add regression coverage for cron-add delivery-option validation * fix(cli): fix optionSource reference and add chat-delivery guard to cron edit - Fix bare optionSource() call in cron-add guard to use cmd.getOptionValueSource() - Add equivalent resulting-job validation to cron edit: reject --channel/--to/--account/--thread-id when the resolved job is a main-session systemEvent - Add parity tests covering fast-path reject, existing-job reject, isolated allow, and clear-flag allow cases * test(cli): return a real CronJob from default cron.get mock * fix(cli): reject dropped cron delivery targets Co-authored-by: Peter Lee <li.xialong@xydigit.com> --------- Co-authored-by: Peter Steinberger <steipete@gmail.com>