openclaw/src/channels
Stefan Galescu 40f0a80208 feat(slack): add dm-specific replyToMode configuration
Adds support for separate replyToMode settings for DMs vs channels:

- Add channels.slack.dm.replyToMode for DM-specific threading
- Keep channels.slack.replyToMode as default for channels
- Add resolveSlackReplyToMode helper to centralize logic
- Pass chatType through threading resolution chain

Usage:
```json5
{
  channels: {
    slack: {
      replyToMode: "off",     // channels
      dm: {
        replyToMode: "all"    // DMs always thread
      }
    }
  }
}
```

When dm.replyToMode is set, DMs use that mode; channels use the
top-level replyToMode. Backward compatible when not configured.
2026-01-23 05:07:23 +00:00
..
allowlists refactor(channels): share allowlist + resolver helpers 2026-01-18 01:00:25 +00:00
plugins feat(slack): add dm-specific replyToMode configuration 2026-01-23 05:07:23 +00:00
web refactor!: rename chat providers to channels 2026-01-13 08:40:39 +00:00
allowlist-match.ts refactor(channels): centralize match metadata 2026-01-21 18:21:19 +00:00
channel-config.test.ts refactor(channels): centralize match metadata 2026-01-21 18:21:19 +00:00
channel-config.ts refactor(channels): centralize match metadata 2026-01-21 18:21:19 +00:00
chat-type.test.ts refactor: drop legacy room chatType 2026-01-17 05:46:40 +00:00
chat-type.ts refactor: drop legacy room chatType 2026-01-17 05:46:40 +00:00
command-gating.test.ts style: apply oxfmt 2026-01-18 02:19:35 +00:00
command-gating.ts refactor: unify channel config matching and gating 2026-01-18 01:24:00 +00:00
conversation-label.test.ts style: oxfmt format 2026-01-17 05:48:56 +00:00
conversation-label.ts refactor: prune room legacy 2026-01-17 07:41:24 +00:00
dock.ts feat(slack): add dm-specific replyToMode configuration 2026-01-23 05:07:23 +00:00
location.test.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
location.ts chore: migrate to oxlint and oxfmt 2026-01-14 15:02:19 +00:00
mention-gating.test.ts refactor: unify channel config matching and gating 2026-01-18 01:24:00 +00:00
mention-gating.ts refactor: unify channel config matching and gating 2026-01-18 01:24:00 +00:00
registry.test.ts feat!: move msteams to plugin 2026-01-16 02:59:43 +00:00
registry.ts refactor: extend channel plugin boundary 2026-01-20 12:07:54 +00:00
sender-identity.test.ts style: oxfmt format 2026-01-17 05:48:56 +00:00
sender-identity.ts style: oxfmt format 2026-01-17 05:48:56 +00:00
sender-label.ts fix: unify inbound sender labels 2026-01-17 05:21:09 +00:00
targets.test.ts fix: normalize gateway dev mode detection 2026-01-18 01:08:47 +00:00
targets.ts refactor(channels): unify target parsing 2026-01-18 00:31:42 +00:00