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 Plugins/diffs: migrate to scoped plugin-sdk imports 2026-03-04 02:35:12 -05:00
config.test.ts refactor(extensions): reuse shared helper primitives 2026-03-07 10:41:05 +00:00
config.ts Plugins/diffs: migrate to scoped plugin-sdk imports 2026-03-04 02:35:12 -05:00
http.test.ts test: dedupe diffs http local get setup 2026-03-13 23:35:27 +00:00
http.ts Secrets: harden SecretRef-safe models.json persistence (#38955) 2026-03-07 11:28:39 -06:00
prompt-guidance.ts Diffs: restore system prompt guidance (#36904) 2026-03-05 19:46:39 -05:00
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 Plugins/diffs: migrate to scoped plugin-sdk imports 2026-03-04 02:35:12 -05:00
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 Plugins/diffs: migrate to scoped plugin-sdk imports 2026-03-04 02:35:12 -05:00
types.ts Diffs: extend image quality configs and add PDF as a format option (#31342) 2026-03-02 04:38:50 -05:00
url.test.ts fix(diffs): harden viewer security and docs 2026-03-02 05:07:09 +00:00
url.ts Plugins/diffs: migrate to scoped plugin-sdk imports 2026-03-04 02:35:12 -05:00
viewer-assets.test.ts diffs plugin 2026-02-28 18:38:00 -05:00
viewer-assets.ts diffs plugin 2026-02-28 18:38:00 -05:00
viewer-client.ts refactor(diffs): dedupe functions 2026-03-02 10:46:45 -05:00
viewer-payload.test.ts Diffs: add viewer payload validation and presentation defaults 2026-03-01 22:38:14 -05:00
viewer-payload.ts Diffs: add viewer payload validation and presentation defaults 2026-03-01 22:38:14 -05:00