hermes-agent/plugins/platforms/buzz
Rob Zehner 65f52d4913 fix(plugin): strip leading @mention from Buzz channel messages
Channel messages address the agent with a leading @mention (e.g. '@Chip
/whoami'). The adapter passed the raw content through, so the gateway's
is_command() check (text.lstrip().startswith('/')) never matched and slash
commands were routed as plain chat. Strip a leading mention (name, npub, or
hex form) before dispatch in channels, mirroring the Discord adapter. Also
cleans normal prompts ('@Chip what's up?' -> 'what's up?'). DMs are untouched.

Verified live: '@Chip /whoami' -> '/whoami' after connect populates identity.

Refs #68871
2026-07-28 17:57:48 -07:00
..
__init__.py feat(plugin): add Buzz (Block/Nostr) platform adapter 2026-07-28 17:57:48 -07:00
adapter.py fix(plugin): strip leading @mention from Buzz channel messages 2026-07-28 17:57:48 -07:00
plugin.yaml feat(plugin): add Buzz (Block/Nostr) platform adapter 2026-07-28 17:57:48 -07:00