From b437be4d729769356645f8e723c464487a1834ea Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Fri, 6 Mar 2026 00:39:11 -0500 Subject: [PATCH] Auto-reply context: track explicit deliver routes --- src/auto-reply/templating.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/auto-reply/templating.ts b/src/auto-reply/templating.ts index 9c9a7f4d430..ae6a7917ff8 100644 --- a/src/auto-reply/templating.ts +++ b/src/auto-reply/templating.ts @@ -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.