feat: add internal hooks system

This commit is contained in:
Peter Steinberger committed 2026-01-17 01:31:57 +00:00
1 parent a76cbc43bb
commit faba508fe0
39 files changed
+4241 -28

No files matched your search

+5
View File
@@ -75,6 +75,11 @@ export type MsgContext = {
* The chat/channel/user ID where the reply should be sent.
*/
OriginatingTo?: string;
/**
* Messages from internal hooks to be included in the response.
* Used for hook confirmation messages like "Session context saved to memory".
*/
HookMessages?: string[];
};
export type TemplateContext = MsgContext & {