fast-jev-output

Reviewed at commit edbc602

Sends data to TypeSafe Jev (api.typesafe.ai)

Trim long Bash output with Jev before the model sees it (Claude Code plugin)

Made by
tamaratran
What we checked

When a Bash command prints more than about 10,000 tokens, it asks TypeSafe's Jev service which parts matter and gives Claude only those parts, with a note where the full output is saved. The output, the command and your conversation history are sent to TypeSafe, not redacted. The full output is saved in your project.

Review details

Static review of the source at the pinned commit; not run. Registers one handler, tool.call for Bash, which runs after the command and may replace the result's stdout (and clear stderr and the persisted-output fields). It skips denied or errored calls, output under the threshold (minimum 10000 estimated tokens), binary output, structured or document-like output (JSON, XML, diffs, cat/jq/git diff and similar), and commands that read its own archive. Otherwise it reads $.session.messages(), builds state with the last three user prompts, the whole earlier conversation including tool inputs and results, the command and output chunks, and POSTs it in several requests to https://api.typesafe.ai/v1/systemone via $.http.fetch with a Bearer TypeSafe key (plugin option, TYPESAFE_API_KEY, EVAL_TYPESAFE_API_KEY, or the env block of $.settings.read; only these are used). The baseUrl option can point requests, and the key, to any http(s) endpoint. No redaction is applied before sending; looksSecret only stops the archive file from being written. Unless the command or output looks secret, it writes the full output to .claude/fast-jev-output/bash-<id>.txt with a .gitignore of '*' ($.fs.write) before the first request, and reads the engine's persisted output file when output is large. Errors, warnings and results are always kept; any failure returns the original output. Toast and log lines show how much was trimmed. No shell hooks, commands or MCP servers.

What it uses
  • Reads your prompts: yes
  • Sees tool calls: yes
  • Blocks or changes tool calls: yes
  • Reads or writes files: yes
  • Runs programs on your machine: no
  • Calls the model (uses tokens): no
  • Sends data over the network: yes
  • Stores data: no
  • Shows something on screen: yes
Hooked events
Made this mod? Add a badge to your README

modsforClaude badge for fast-jev-output

Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.

[![Listed on modsforClaude](https://modsforclaude.com/badge/fast-jev-output.svg)](https://modsforclaude.com/mods/fast-jev-output/)

← All mods