mirror of https://github.com/openclaw/openclaw.git
feat(cron): support persistent session targets for cron jobs (#9765) Add support for `sessionTarget: "current"` and `session:<id>` so cron jobs can bind to the creating session or a persistent named session instead of only `main` or ephemeral `isolated` sessions. Also: - preserve custom session targets across reloads and restarts - update gateway validation and normalization for the new target forms - add cron coverage for current/custom session targets and fallback behavior - fix merged CI regressions in Discord and diffs tests - add a changelog entry for the new cron session behavior Co-authored-by: kkhomej33-netizen <kkhomej33-netizen@users.noreply.github.com> Co-authored-by: ImLukeF <92253590+ImLukeF@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| register.cron-add.ts | ||
| register.cron-edit.ts | ||
| register.cron-simple.ts | ||
| register.ts | ||
| shared.test.ts | ||
| shared.ts | ||