Add sanitizeForDiscord() in src/runtime/sanitize.ts. Router applies sanitizer to all channel.send() calls. Prevents path/token leaks into Discord channels. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| agent | ||
| commands | ||
| config | ||
| db | ||
| runtime | ||
| bot.ts | ||
| index.ts | ||
| router.ts | ||