Auto-reply context: track explicit deliver routes

This commit is contained in:
Vincent Koc 2026-03-06 00:39:11 -05:00
parent 07498a78e0
commit b437be4d72

View File

@ -159,6 +159,11 @@ export type MsgContext = {
* The chat/channel/user ID where the reply should be sent.
*/
OriginatingTo?: string;
/**
* True when the current turn intentionally requested external delivery to
* OriginatingChannel/OriginatingTo, rather than inheriting stale session route metadata.
*/
ExplicitDeliverRoute?: boolean;
/**
* Provider-specific parent conversation id for threaded contexts.
* For Discord threads, this is the parent channel id.