rtk-rewrite.yaml 1.1 KB

1234567891011121314151617181920212223242526
  1. name: rtk-rewrite
  2. repo: https://github.com/kerrz2020/hermes-rtk-rewrite
  3. sha: 4c5f8a5abdfd7980cba5ef02df86b8efe52c00d6
  4. description: >-
  5. Community (non-official) plugin that rewrites Hermes terminal commands through
  6. RTK (rtk-ai/rtk, Apache-2.0) before execution, so the model sees compact output
  7. instead of raw command spam — cutting tokens on common dev commands. Adds a
  8. fail-open pre_tool_call hook (2s timeout, unexpected exits leave the command
  9. untouched), an optional desktop pane, and update scripts. Disclosure — every
  10. terminal tool command is passed to the rtk binary found on PATH (rtk-ai/rtk,
  11. installed separately) and replaced with rtk's rewrite before approval and
  12. execution; fail-open when rtk is missing or errors. Community mirror of
  13. upstream's hooks/hermes/rtk-rewrite, not affiliated with rtk-ai.
  14. scripts/update.sh downloads the pinned RTK release binary (v0.49.0,
  15. checksum-verified).
  16. maintainer: kerrz2020
  17. tier: community
  18. category: tools
  19. version: "1.0.1"
  20. platforms: []
  21. capabilities:
  22. provides_tools: []
  23. provides_hooks:
  24. - pre_tool_call
  25. provides_middleware: []
  26. requires_env: []