hermes-agent/tests/e2e
Hermes Agent 74c997d985 fix(gateway): move quick-command dispatch before built-in handlers
Quick commands of type "alias" that target built-in slash commands
(e.g. /h -> /model) were processed too late in _handle_message — after
the if-canonical=="model" checks. This meant alias expansion never
reached the target handler and fell through to the LLM as raw text.

Two fixes:
1. Move the quick_commands block before built-in dispatch so alias
   targets (like /model) hit the correct handler after expansion.
2. Extract bare command name from target_command via .split()[0] to
   feed _resolve_cmd() correctly (was using the full arg-string).
2026-05-04 01:39:23 -07:00
..
matrix_xsign_bootstrap matrix: e2e test for cross-signing auto-bootstrap 2026-04-27 21:22:44 -07:00
__init__.py test(e2e): add telegram gateway e2e test infrastructure 2026-04-01 15:23:52 -07:00
conftest.py fix(gateway): coerce plaintext "restart gateway" DMs to /restart 2026-04-28 01:40:28 -07:00
test_discord_adapter.py fix: follow-up for salvaged PRs #6293, #7387, #9091, #13131 2026-04-20 14:56:04 -07:00
test_platform_commands.py fix(gateway): move quick-command dispatch before built-in handlers 2026-05-04 01:39:23 -07:00