rtk-rewrite-docker.yaml 1.2 KB

1234567891011121314151617
  1. name: rtk-rewrite-docker
  2. repo: https://github.com/petertaras/hermes-rtk-rewrite-with-docker-support
  3. sha: 929c8f5f86fc544a523f94a92f95a57d4c0d7d40
  4. description: "Community plugin that rewrites Hermes terminal commands through RTK (rtk-ai/rtk, Apache-2.0) so the model sees compact output. Adds a backend gate: it rewrites only for terminal backends a profile opts in to (default local), so a Docker or remote backend without rtk never receives an rtk command. Fail-open pre_tool_call hook (2s timeout). Disclosure — every terminal command on an opted-in backend (default local) is passed to the rtk binary on the Hermes host's PATH (or RTK_BIN) and replaced with rtk's stdout before approval and execution; the plugin does not validate the rewrite, fails open on timeout or error, and downloads nothing (the repo's optional Containerfile fetches a checksum-pinned RTK release only when you build it). Not affiliated with rtk-ai."
  5. maintainer: petertaras
  6. tier: community
  7. category: tools
  8. requires_hermes: ">=0.21"
  9. version: "0.1.0"
  10. docs_url: https://github.com/petertaras/hermes-rtk-rewrite-with-docker-support#readme
  11. platforms: [linux, macos]
  12. capabilities:
  13. provides_tools: []
  14. provides_hooks:
  15. - pre_tool_call
  16. provides_middleware: []
  17. requires_env: []