openclaw/src/config/sessions
Echo c415ccaed5
feat(sessions): add channelIdleMinutes config for per-channel session idle durations (#1353)
* feat(sessions): add channelIdleMinutes config for per-channel session idle durations

Add new `channelIdleMinutes` config option to allow different session idle
timeouts per channel. For example, Discord sessions can now be configured
to last 7 days (10080 minutes) while other channels use shorter defaults.

Config example:
  sessions:
    channelIdleMinutes:
      discord: 10080  # 7 days

The channel-specific idle is passed as idleMinutesOverride to the existing
resolveSessionResetPolicy, integrating cleanly with the new reset policy
architecture.

* fix

* feat: add per-channel session reset overrides (#1353) (thanks @cash-echo-bot)

---------

Co-authored-by: Cash Williams <cashwilliams@gmail.com>
Co-authored-by: Peter Steinberger <steipete@gmail.com>
2026-01-21 19:10:31 +00:00
..
group.ts refactor: prune legacy group targets 2026-01-17 09:01:47 +00:00
main-session.ts feat: add agent targeting + reply overrides 2026-01-18 22:50:51 +00:00
metadata.test.ts feat: add session origin metadata helpers 2026-01-18 02:42:11 +00:00
metadata.ts fix: resolve plugin tool meta typing 2026-01-18 04:24:16 +00:00
paths.ts feat: add matrix channel plugin 2026-01-15 08:40:37 +00:00
reset.ts feat(sessions): add channelIdleMinutes config for per-channel session idle durations (#1353) 2026-01-21 19:10:31 +00:00
session-key.ts refactor: prune legacy group prefixes 2026-01-17 08:47:25 +00:00
store.ts fix: preserve subagent thread routing (#1241) 2026-01-20 17:22:07 +00:00
transcript.test.ts feat: mirror delivered outbound messages (#1031) 2026-01-17 02:03:18 +00:00
transcript.ts feat: add experimental session memory source 2026-01-17 18:53:52 +00:00
types.ts fix: preserve subagent thread routing (#1241) 2026-01-20 17:22:07 +00:00