Ettore Di Giacinto
36c405b321
feat(addons): add the Discord connector add-on
...
People talk to a saved agent from Discord, in direct messages and where the
bot is mentioned in a channel or thread. The add-on keeps one Gateway link
per bot token (discordgo runs hello, identify, heartbeats and resume), queues
the messages that address the bot, and hands them to the host's poll. It
sends, edits, splits at 2000 characters, moves files by handle (10 MB), and
reads thread history.
Safe defaults: guild channels answer only on a mention or reply, or in a
thread the bot follows; bots, webhooks and system messages are never read;
every message carries allowed_mentions with an empty parse list and mentions
in model text are broken up; a thread's chat is its parent channel so an
allowlist of channels covers it. No typing indicator, no reactions, no
embeds, no slash commands.
Tests use a fake Gateway (hello, identify, ready, resume, heartbeat ack,
message and thread events, reconnect, close codes) and a fake REST server
(429 with Retry-After, create, edit, upload, history, CDN). The page has its
own node tests and a browser spec.
Assisted-by: Claude:claude-sonnet-5-5 go
2026-11-04 15:01:02 +00:00
..
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-11-03 10:15:03 +00:00
2026-10-08 22:03:07 +02:00
2026-11-03 09:21:06 +00:00
2026-11-03 08:40:00 +00:00
2026-11-03 08:34:58 +01:00
2026-11-02 23:50:40 +00:00
2026-10-24 15:56:39 +02:00
2026-11-03 16:15:07 +00:00
2026-11-01 12:08:23 +01:00
2026-11-03 23:14:30 +00:00
2026-11-03 21:45:05 +00:00
2026-11-03 22:53:34 +00:00
2026-11-04 10:19:45 +00:00
2026-10-23 15:25:37 +02:00
2026-11-01 12:08:23 +01:00
2026-10-23 12:35:44 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-02 22:47:17 +01:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 08:40:07 +00:00
2026-11-04 10:17:25 +00:00
2026-11-04 10:17:25 +00:00
2026-11-02 21:03:50 +01:00
2026-11-03 10:57:02 +00:00
2026-11-02 00:52:44 +01:00
2026-08-16 11:57:31 +02:00
2026-11-01 12:08:23 +01:00
2026-11-02 23:50:40 +00:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 22:30:01 +00:00
2026-11-03 22:46:22 +00:00
2026-11-01 12:08:23 +01:00
2026-11-04 10:19:45 +00:00
2026-11-03 22:33:28 +00:00
2026-11-01 12:08:23 +01:00
2026-11-03 21:28:48 +00:00
2026-11-01 12:08:23 +01:00
2026-11-03 10:58:46 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-02 23:50:40 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 11:41:13 +00:00
2026-11-03 11:41:13 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 20:53:02 +00:00
2026-11-03 10:15:03 +00:00
2026-11-03 08:40:00 +00:00
2026-11-02 21:03:50 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-02 23:50:40 +00:00
2026-11-01 12:08:23 +01:00
2026-11-04 10:17:25 +00:00
2026-11-04 10:19:45 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-02 23:50:40 +00:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-04 14:54:15 +00:00
2026-11-04 13:19:09 +00:00
2026-10-08 22:03:07 +02:00
2026-05-28 13:43:15 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 10:57:02 +00:00
2026-11-04 15:01:02 +00:00
2026-10-25 19:13:41 +01:00
2026-10-22 17:57:19 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-11-03 08:40:07 +00:00
2026-09-27 07:42:21 +00:00
2026-10-08 22:03:07 +02:00
2026-11-03 21:43:57 +00:00
2026-10-22 17:57:19 +02:00
2026-11-03 23:14:30 +00:00
2026-11-03 11:41:13 +00:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-10 08:29:48 +02:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-08-11 12:00:59 +02:00
2026-08-11 12:00:59 +02:00
2026-08-11 12:00:59 +02:00
2026-08-11 12:00:59 +02:00
2026-08-11 12:00:59 +02:00
2026-11-01 12:08:23 +01:00
2026-08-16 11:57:31 +02:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-02 23:50:40 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-02 18:48:39 +01:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-05-26 22:06:10 +02:00
2026-11-01 12:08:23 +01:00
2026-11-02 23:50:40 +00:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-07-28 19:33:48 +02:00
2026-06-22 18:26:19 +02:00
2026-08-16 11:57:31 +02:00
2026-11-01 12:08:23 +01:00
2026-11-03 08:40:07 +00:00
2026-10-08 22:03:07 +02:00
2026-11-03 13:49:04 +00:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-11-02 23:50:40 +00:00
2026-11-02 23:50:40 +00:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-02 23:50:40 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 10:57:02 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-07-28 19:33:48 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-03 08:40:07 +00:00
2026-11-03 08:40:07 +00:00
2026-10-08 22:03:07 +02:00
2026-11-03 08:40:07 +00:00
2026-11-03 16:57:04 +00:00
2026-11-01 12:08:23 +01:00
2026-11-04 10:33:22 +00:00
2026-11-03 08:40:07 +00:00
2026-11-02 23:50:40 +00:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-02 21:03:50 +01:00
2026-11-03 15:36:21 +00:00
2026-11-01 12:08:23 +01:00
2026-11-02 23:50:40 +00:00
2026-08-19 08:45:59 +02:00
2026-11-04 15:01:02 +00:00
2026-11-02 23:50:40 +00:00
2026-11-02 23:50:40 +00:00
2026-10-22 17:57:19 +02:00
2026-11-02 23:50:40 +00:00
2026-11-02 23:50:40 +00:00
2026-11-02 23:50:40 +00:00
2026-11-02 23:50:40 +00:00
2026-11-02 23:50:40 +00:00
2026-11-02 23:50:40 +00:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-02 23:50:40 +00:00
2026-11-02 23:50:40 +00:00
2026-11-04 13:35:18 +00:00
2026-08-03 00:16:08 +02:00
2026-11-03 10:57:02 +00:00
2026-11-02 23:50:40 +00:00
2026-10-08 22:03:07 +02:00
2026-07-22 22:51:25 +02:00
2026-07-22 22:51:25 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-10 08:30:02 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-10-08 22:03:07 +02:00
2026-11-03 15:38:07 +00:00
2026-11-01 12:08:23 +01:00
2026-11-02 22:47:17 +01:00
2026-10-08 22:03:07 +02:00
2026-11-01 12:08:23 +01:00
2026-10-08 22:03:07 +02:00
2026-05-28 13:43:15 +02:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 18:30:08 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00
2026-11-01 12:08:23 +01:00