feat: unify provider history context

This commit is contained in:
Peter Steinberger committed 2026-01-10 19:16:25 +01:00
1 parent 8c1d39064d
commit d41372b9d9
19 files changed
+718 -80

No files matched your search

+5 -1
View File
@@ -13,9 +13,13 @@ export type MsgContext = {
Body?: string;
/**
* Raw message body without structural context (history, sender labels).
* Used for command detection. Falls back to Body if not set.
* Legacy alias for CommandBody. Falls back to Body if not set.
*/
RawBody?: string;
/**
* Prefer for command detection; RawBody is treated as legacy alias.
*/
CommandBody?: string;
From?: string;
To?: string;
SessionKey?: string;