hermes-agent/gateway/platforms
colin-chang 06161c6ed8 fix(mattermost): resolve thread root_id and route progress to threads
Two Mattermost thread-related bugs:

1. _resolve_root_id() — Mattermost CRT requires root_id to be the
   thread root post. Using any reply's own ID as root_id causes
   '400 Invalid RootId'. Add _resolve_root_id() that walks up the
   post chain via API to find the actual root, and apply it in
   send(), _send_url_as_file(), and _send_local_file().

2. _progress_reply_to — The condition in run.py only checked
   Platform.FEISHU, missing Mattermost entirely. This caused tool
   progress messages to always land in the main channel instead of
   the thread. Add Platform.MATTERMOST to the condition so
   progress messages are routed to threads when reply_mode=thread.

Impact: Tool progress messages now appear in Mattermost threads
instead of flooding the main channel; thread replies no longer
fail with Invalid RootId when the reply target is itself a reply.
2026-05-18 20:09:08 -07:00
..
qqbot
__init__.py
_http_client_limits.py
ADDING_A_PLATFORM.md
api_server.py [agent] fix: harden api server response headers 2026-05-16 23:11:43 -07:00
base.py fix(gateway): tighten MEDIA extraction regex + silent skip on file-not-found 2026-05-18 20:07:43 -07:00
bluebubbles.py
dingtalk.py fix: add pre_start() to _IncomingHandler for dingtalk SDK compatibility 2026-05-18 19:59:42 -07:00
discord.py chore: ruff auto-fix PLR6201 resweep — tuple → set in membership tests (#27355) 2026-05-17 02:29:41 -07:00
email.py
feishu.py
feishu_comment.py
feishu_comment_rules.py
helpers.py fix(gateway): preserve underscores in plain-text identifiers 2026-05-16 23:11:43 -07:00
homeassistant.py
matrix.py fix(matrix): warn on clock-skew silent message drops (#12614) (#27330) 2026-05-17 00:28:24 -07:00
mattermost.py fix(mattermost): resolve thread root_id and route progress to threads 2026-05-18 20:09:08 -07:00
msgraph_webhook.py
signal.py
signal_rate_limit.py
slack.py
sms.py
telegram.py fix(telegram): re-trigger typing indicator after sending messages 2026-05-17 02:31:18 -07:00
telegram_network.py
webhook.py
wecom.py fix(wecom): handle WSMsgType.CLOSING to prevent CPU spin 2026-05-18 19:32:42 -07:00
wecom_callback.py
wecom_crypto.py
weixin.py
whatsapp.py
yuanbao.py
yuanbao_media.py
yuanbao_proto.py
yuanbao_sticker.py