All plugins

tokenjuice

Compact successful terminal output locally before model consumption. Disclosure — runs the separately installed `tokenjuice` CLI (from PATH or `TOKENJUICE_BIN`; installed outside the pinned commit with `npm install --global tokenjuice`) on every successful foreground terminal command's output and replaces what the model sees with its shorter summary; the plugin sends nothing over the network.

vincentkoc533Toolsv0.10.0Updated 3 days ago

About

Compact successful terminal output locally before model consumption. Disclosure — runs the separately installed `tokenjuice` CLI (from PATH or `TOKENJUICE_BIN`; installed outside the pinned commit with `npm install --global tokenjuice`) on every successful foreground terminal command's output and replaces what the model sees with its shorter summary; the plugin sends nothing over the network.

tokenjuice Hermes plugin

This directory is a self-contained Hermes plugin. It registers the public
transform_terminal_output hook and needs Hermes 0.22.5 or newer. Optional
LangChain and FastMCP modules are not loaded by Hermes.

Install the tokenjuice CLI separately
with npm install --global tokenjuice (Node.js 22 or newer), then install this
plugin through Hermes using the repository's src/python/tokenjuice_integrations
subdirectory. Use an exact commit when installing from Git. Enable it with
hermes plugins enable tokenjuice and check hermes plugins doctor tokenjuice.
See the setup guide
for the bundled release alternative.

The plugin passes captured terminal output to the local tokenjuice compact-shell-result subprocess. It never executes the command supplied in the
hook payload. Only successful foreground output is eligible; failures, background
polls, exact file reads, and explicit raw requests retain their original output.
Missing executables, invalid responses, inputs over 2 MB, and five-second timeouts
also preserve the original output.

The CLI reads tokenjuice's local configuration and rules. Bridge calls disable
statistics and require no credentials or network service. Keep tokenjuice on
PATH, or set TOKENJUICE_BIN to its executable path. No Hermes permissions are
changed. Disable with hermes plugins disable tokenjuice; remove with
hermes plugins remove tokenjuice.

Maintained by vincentkoc. MIT-licensed; see the
repository license.

README from the reviewed commit 825eaa9; it updates when the author re-pins.