From 1d9f230be40738e6e57f6d3058f024cae7f2e99f Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 23 Jan 2026 05:27:50 +0000 Subject: [PATCH] docs: expand slack replyToModeByChatType examples --- docs/channels/slack.md | 50 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/docs/channels/slack.md b/docs/channels/slack.md index 1eb88a459..b112612e1 100644 --- a/docs/channels/slack.md +++ b/docs/channels/slack.md @@ -379,7 +379,55 @@ You can configure different threading behavior per chat type by setting `channel } ``` -When a chat-type override is set, it takes precedence for that chat type. Otherwise the top-level `replyToMode` is used. Legacy `channels.slack.dm.replyToMode` is still accepted as a fallback for `direct` when no chat-type override is set. +Supported chat types: +- `direct`: 1:1 DMs (Slack `im`) +- `group`: group DMs / MPIMs (Slack `mpim`) +- `channel`: standard channels (public/private) + +Precedence: +1) `replyToModeByChatType.` +2) `replyToMode` +3) Provider default (`off`) + +Legacy `channels.slack.dm.replyToMode` is still accepted as a fallback for `direct` when no chat-type override is set. + +Examples: + +Thread DMs only: +```json5 +{ + channels: { + slack: { + replyToMode: "off", + replyToModeByChatType: { direct: "all" } + } + } +} +``` + +Thread group DMs but keep channels in the root: +```json5 +{ + channels: { + slack: { + replyToMode: "off", + replyToModeByChatType: { group: "first" } + } + } +} +``` + +Make channels thread, keep DMs in the root: +```json5 +{ + channels: { + slack: { + replyToMode: "first", + replyToModeByChatType: { direct: "off", group: "off" } + } + } +} +``` ### Manual threading tags For fine-grained control, use these tags in agent responses: