openclaw/docs/concepts
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
..
agent-loop.md
agent-workspace.md
agent.md
architecture.md
compaction.md
context.md
features.md
markdown-formatting.md
memory.md
messages.md
model-failover.md
model-providers.md
models.md
multi-agent.md
oauth.md
presence.md
queue.md
retry.md
session-pruning.md
session-tool.md
session.md feat(cron): support custom session IDs and auto-bind to current session (#16511) 2026-03-14 16:48:46 +11:00
streaming.md
system-prompt.md
timezone.md
typebox.md
typing-indicators.md
usage-tracking.md