fix(regression): preserve discord thread bindings for plugin commands

This commit is contained in:
Tak Hoffman
2026-03-27 19:48:18 -05:00
parent b1eeca3b00
commit b598cdf968
7 changed files with 108 additions and 1 deletions

View File

@@ -1178,6 +1178,8 @@ export type PluginCommandContext = {
accountId?: string;
/** Thread/topic id if available */
messageThreadId?: string | number;
/** Parent conversation id for thread-capable channels */
threadParentId?: string;
requestConversationBinding: (
params?: PluginConversationBindingRequestParams,
) => Promise<PluginConversationBindingRequestResult>;