feat: add Slack channel adapter (Phase 3b)

Implement ChannelAdapter for Slack using @slack/bolt with Socket Mode:
- Thread-aware peer IDs (channelId:threadTs)
- Bot message and channel allowlist filtering
- Bot mention stripping (<@U\w+> pattern)
- Message chunking at 4000 chars for readability
- Error handling in connect/disconnect lifecycle
- Typed SlackMessageEvent interface
- 22 tests covering all behaviors
This commit is contained in:
William Valentin
2026-02-06 14:24:17 -08:00
parent 00db84f6a1
commit eeaec53893
3 changed files with 596 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
export { SlackAdapter, type SlackAdapterConfig } from './adapter.js';