fix(discord): add batched reply mode

This commit is contained in:
Peter Steinberger
2026-04-05 20:55:26 +01:00
parent 8206328a94
commit 6b627d4707
47 changed files with 300 additions and 56 deletions

View File

@@ -108,7 +108,7 @@ export function shouldInitializeSlackDraftStream(params: {
}
export function resolveSlackStreamingThreadHint(params: {
replyToMode: "off" | "first" | "all";
replyToMode: "off" | "first" | "all" | "batched";
incomingThreadTs: string | undefined;
messageTs: string | undefined;
isThreadReply?: boolean;

View File

@@ -13,7 +13,7 @@ export type PreparedSlackMessage = {
channelConfig: SlackChannelConfigResolved | null;
replyTarget: string;
ctxPayload: FinalizedMsgContext;
replyToMode: "off" | "first" | "all";
replyToMode: "off" | "first" | "all" | "batched";
isDirectMessage: boolean;
isRoomish: boolean;
historyKey: string;