feat: add session.identityLinks for cross-platform DM session linking (#1033)

Co-authored-by: Shadow <shadow@clawd.bot>
This commit is contained in:
RubyandShadow authored and GitHub committed 2026-01-16 14:23:22 -06:00
1 parent 8ffb8cc363
commit 0cd24137e8
10 files changed
+100 -2

No files matched your search

+2
View File
@@ -57,6 +57,8 @@ export type SessionConfig = {
scope?: SessionScope;
/** DM session scoping (default: "main"). */
dmScope?: DmScope;
/** Map platform-prefixed identities (e.g. "telegram:123") to canonical DM peers. */
identityLinks?: Record<string, string[]>;
resetTriggers?: string[];
idleMinutes?: number;
heartbeatIdleMinutes?: number;