Skip to content

feat: add Hermes Agent plugin integration#915

Open
jamieosh wants to merge 1 commit intortk-ai:masterfrom
jamieosh:feat/hermes-plugin-support
Open

feat: add Hermes Agent plugin integration#915
jamieosh wants to merge 1 commit intortk-ai:masterfrom
jamieosh:feat/hermes-plugin-support

Conversation

@jamieosh
Copy link
Copy Markdown

Summary

  • add a new hermes/ integration folder with a Hermes pre_tool_call plugin for RTK command rewriting
  • document Hermes installation and configuration in hermes/README.md
  • update the main README supported-tools section to include Hermes Agent

Details

This adds a Hermes-specific adaptation of the existing RTK integration pattern. The plugin is intentionally thin and delegates rewrite decisions to rtk rewrite.

Hermes-specific behavior included in this first pass:

  • RTK version guard (>= 0.23.0)
  • safe fallback if RTK is missing, too old, errors, or times out
  • conservative skip rules for compound commands, background terminal calls, and PTY terminal calls
  • env-based config and in-memory caching

Caveat

Hermes pre_tool_call can mutate tool arguments, but it does not currently provide a clean native way for this plugin to trigger an interactive confirmation prompt. Because of that, RTK exit code 3 (ask) is handled conservatively by leaving the original command unchanged.

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Mar 29, 2026

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants