- Download direct audio links server side (web page and /play), refusing
internal and special addresses at connection time and after every
redirect, with size and time limits.
- /play takes an attachment, a direct link or a library track
(autocomplete), and can keep the file in the library; /skip and /queue
control and show the shared queue.
- Share one ingest path between uploads, links and Discord attachments.
- Answer 413 instead of 500 when the library is full.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- POST /api/notifications/dm takes a user id and a text, sends it as a direct message with no active mentions, and answers 204, 400, 404 or 422.
- The send logic lives in src/features/directMessages.js with its own tests; the route gets its own per-minute rate limit behind the existing API key.
- Sokko TCG uses it for its opt-in Expedition alerts.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>