teyrebaz33
|
1404f846a7
|
feat(cli,gateway): add user-defined quick commands that bypass agent loop
Implements config-driven quick commands for both CLI and gateway that
execute locally without invoking the LLM.
Config example (~/.hermes/config.yaml):
quick_commands:
limits:
type: exec
command: /home/user/.local/bin/hermes-limits
dn:
type: exec
command: echo daily-note
Changes:
- hermes_cli/config.py: add quick_commands: {} default
- cli.py: check quick_commands before skill commands in process_command()
- gateway/run.py: check quick_commands before skill commands in _handle_message()
- tests/test_quick_commands.py: 11 tests covering exec, timeout, unsupported type, missing command, priority over skills
Closes #744
|
2026-03-09 07:38:06 +03:00 |
|