Skip to content

v2.3.0 Channel Monitoring & Thread-per-Session

Latest

Choose a tag to compare

@zebbern zebbern released this 02 Mar 23:07
· 3 commits to main since this release

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_ID and MONITOR_BOT_IDS env vars plus the Message Content privileged intent.
  • Thread-per-Session (#19): New /claude-thread command starts each conversation in its own Discord thread with a custom name (name + prompt options, both required).
  • Per-Channel Session Tracking: Regular /claude commands now automatically reuse the last session in the same channel — no need to manually pass session_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.tsSessionThreadManager handles thread creation, lookup, and lifecycle
  • discord/types.tsInteractionContext now exposes getChannelId()
  • core/handler-registry.tschannelSessionMap maintains channel → session mapping
  • .env.example updated with Channel Monitoring configuration section
  • All documentation updated for v2.3.0

Full Changelog: v2.2.0...v2.3.0