hermes-agent/gateway/platforms
alt-glitch 67bc441099 refactor(types): simplify pass on P1 batch
Follow-up to 15ac253b per /simplify review:

- gateway/platforms/discord.py:3638 - move self.resolved = True *after*
  the `if interaction.data is None: return` guard. Previously the view
  was marked resolved before the None-guard, so a None data payload
  silently rejected the user's next click.
- agent/display.py:732 - replace `if self.start_time is None: continue`
  with `assert self.start_time is not None`. start() sets start_time
  before the animate thread starts, so the None branch was dead; the
  `continue` form would have busy-looped (skipping the 0.12s sleep).
- tests/hermes_cli/test_config_shapes.py - drop __total__ dunder
  restatement test (it just echoes the class declaration); trim commit
  narration from module docstring.
- tests/agent/test_credential_pool.py, tests/tools/test_rl_training_tool.py -
  drop "added in commit ..." banners (narrates the change per CLAUDE.md).
2026-04-21 20:40:12 +05:30
..
qqbot fix: resolve all invalid-return-type ty diagnostics across codebase 2026-04-21 14:55:09 +05:30
__init__.py feat(gateway): unify QQBot branding, add PLATFORM_HINTS, fix streaming, restore missing setup functions 2026-04-14 00:11:49 -07:00
ADDING_A_PLATFORM.md docs: finish cron terminology cleanup 2026-03-14 19:20:58 -07:00
api_server.py fix: resolve all invalid-return-type ty diagnostics across codebase 2026-04-21 14:55:09 +05:30
base.py Merge remote-tracking branch 'origin/main' into sid/types-and-lints 2026-04-21 20:28:45 +05:30
bluebubbles.py fix(types): batch P1 ty hotfixes + run_agent.py annotation pass 2026-04-21 20:20:13 +05:30
dingtalk.py feat(dingtalk): AI Cards streaming, emoji reactions, and media handling 2026-04-17 19:26:53 -07:00
discord.py refactor(types): simplify pass on P1 batch 2026-04-21 20:40:12 +05:30
email.py fix(types): batch P1 ty hotfixes + run_agent.py annotation pass 2026-04-21 20:20:13 +05:30
feishu.py feat(feishu): show processing state via reactions on user messages 2026-04-20 02:04:57 -07:00
feishu_comment.py feat: add Feishu document comment intelligent reply with 3-tier access control 2026-04-17 19:04:11 -07:00
feishu_comment_rules.py fix(feishu-comment): use get_hermes_home(); drop dead asyncio wrapper; AUTHOR_MAP 2026-04-17 19:04:11 -07:00
helpers.py fix: enforce TTL in MessageDeduplicator + use yaml for gateway --config (#10306, #10216) (#10509) 2026-04-15 13:35:40 -07:00
homeassistant.py fix(gateway): add request timeouts to HA, Email, Mattermost, SMS adapters (#3258) 2026-03-26 14:36:07 -07:00
matrix.py fix(types): batch P1 ty hotfixes + run_agent.py annotation pass 2026-04-21 20:20:13 +05:30
mattermost.py refactor: remove redundant local imports already available at module level 2026-04-21 00:50:58 -07:00
signal.py fix(gateway): prevent scoped lock and resource leaks on connection failure 2026-04-20 01:44:36 -07:00
slack.py fix: resolve all invalid-return-type ty diagnostics across codebase 2026-04-21 14:55:09 +05:30
sms.py Add TYPE_CHECKING imports to fix unresolved-reference type bugs 2026-04-21 13:16:25 +05:30
telegram.py Merge remote-tracking branch 'origin/main' into sid/types-and-lints 2026-04-21 20:28:45 +05:30
telegram_network.py fix: resolve all invalid-return-type ty diagnostics across codebase 2026-04-21 14:55:09 +05:30
webhook.py fix(webhook): validate HMAC signature before rate limiting (#12544) 2026-04-19 22:45:08 -07:00
wecom.py fix: resolve not-subscriptable ty diagnostics across codebase 2026-04-21 16:59:13 +05:30
wecom_callback.py fix: activate WeCom callback message deduplication (#10305) (#10588) 2026-04-15 17:22:58 -07:00
wecom_crypto.py feat(gateway): add WeCom callback-mode adapter for self-built apps 2026-04-11 15:22:49 -07:00
weixin.py Fix Weixin media uploads and refresh lockfile 2026-04-17 06:50:36 -07:00
whatsapp.py refactor: remove remaining redundant local imports (comprehensive sweep) 2026-04-21 00:50:58 -07:00