What's New in v2.3.0
New Features
- Channel Monitoring (#17): Automatically watch a Discord channel for bot/webhook messages. When a monitored bot posts, messages are batched over a 30-second debounce window, a thread is created on the alert, and Claude streams its investigation into the thread. Requires
MONITOR_CHANNEL_IDandMONITOR_BOT_IDSenv vars plus the Message Content privileged intent. - Thread-per-Session (#19): New
/claude-threadcommand starts each conversation in its own Discord thread with a custom name (name+promptoptions, both required). - Per-Channel Session Tracking: Regular
/claudecommands now automatically reuse the last session in the same channel — no need to manually passsession_id. - Custom Thread Names:
/claude-thread name:"Fix auth bug" prompt:"Review the module"creates a thread titled Fix auth bug. - Thread-Aware Channel Detection: Bot correctly recognizes commands inside session threads and maps them to the parent channel.
Changes
- New
discord/session-threads.ts—SessionThreadManagerhandles thread creation, lookup, and lifecycle discord/types.ts—InteractionContextnow exposesgetChannelId()core/handler-registry.ts—channelSessionMapmaintains channel → session mapping.env.exampleupdated with Channel Monitoring configuration section- All documentation updated for v2.3.0
Full Changelog: v2.2.0...v2.3.0