openclaw/extensions/diffs/src
kkhomej33-netizen e7d9648fba
feat(cron): support custom session IDs and auto-bind to current session (#16511)
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>
2026-03-14 16:48:46 +11:00
..
browser.test.ts test: deduplicate diffs extension fixtures 2026-03-10 20:22:56 +00:00
browser.ts
config.test.ts
config.ts
http.test.ts test: dedupe diffs http local get setup 2026-03-13 23:35:27 +00:00
http.ts
prompt-guidance.ts
render.test.ts feat(cron): support custom session IDs and auto-bind to current session (#16511) 2026-03-14 16:48:46 +11:00
render.ts feat(cron): support custom session IDs and auto-bind to current session (#16511) 2026-03-14 16:48:46 +11:00
store.test.ts test: deduplicate diffs extension fixtures 2026-03-10 20:22:56 +00:00
store.ts
test-helpers.ts test: deduplicate diffs extension fixtures 2026-03-10 20:22:56 +00:00
tool.test.ts feat(cron): support custom session IDs and auto-bind to current session (#16511) 2026-03-14 16:48:46 +11:00
tool.ts
types.ts
url.test.ts
url.ts
viewer-assets.test.ts
viewer-assets.ts
viewer-client.ts
viewer-payload.test.ts
viewer-payload.ts