hermes-agent/gateway/platforms
teknium1 153ccbfd61 fix: strip user: prefix from Discord allowed user IDs in onboarding
Users sometimes paste Discord IDs with prefixes like 'user:123456',
'<@123456>', or '<@!123456>' from Discord's UI or third-party tools.
This caused auth failures since the allowlist contained 'user:123' but
the actual user_id from messages was just '123'.

Fixes:
- Added _clean_discord_id() helper in discord.py to strip common prefixes
- Applied sanitization at runtime when parsing DISCORD_ALLOWED_USERS env var
- Applied sanitization in hermes setup and hermes gateway setup input flows
- Handles user:, <@>, and <@!> prefix formats
2026-03-13 09:35:46 -07:00
..
__init__.py Enhance CLI with multi-platform messaging integration and configuration management 2026-02-02 19:01:51 -08:00
ADDING_A_PLATFORM.md docs: add platform integration checklist for new gateway adapters 2026-03-08 21:20:06 -07:00
base.py fix: improve gateway secret capture guidance message 2026-03-13 04:10:22 -07:00
discord.py fix: strip user: prefix from Discord allowed user IDs in onboarding 2026-03-13 09:35:46 -07:00
email.py feat: add email gateway platform (IMAP/SMTP) 2026-03-11 06:32:01 -07:00
homeassistant.py fix: Home Assistant event filtering now closed by default (#1169) 2026-03-13 07:40:38 -07:00
signal.py fix(signal): align send() signature with base class (content, reply_to, metadata) 2026-03-10 15:18:26 -07:00
slack.py fix: slack file upload fallback loses thread context 2026-03-13 04:26:27 +03:00
telegram.py fix: add **kwargs to base/telegram media send methods for metadata routing 2026-03-11 03:24:39 -07:00
whatsapp.py fix: replace blocking time.sleep with await asyncio.sleep in WhatsApp connect 2026-03-11 02:51:49 -07:00