Namespace JD.AI.Channels.Queue
Classes
- DiscordMessageBuffer
SQLite WAL-backed durable FIFO queue for ChannelMessage ingestion. All writes are transactional; the WAL ensures durability even on crash/power loss.
- DurableQueueChannelDecorator
Decorator that adds a durable SQLite WAL queue in front of any IChannel. Inbound messages are immediately written to the queue and acknowledged to Discord; a background worker drains the queue and dispatches to registered handlers.
This means Discord messages are never lost even if the agent or gateway restarts, and burst traffic is buffered safely on disk.
- QueuePeekCommand
Admin commands for inspecting and managing the durable queue. Registered via
ICommandRegistryalongside existing channel commands.
- QueuedChannelMessage
A persisted, retryable wrapper around a ChannelMessage.