Open-source plugin · Third-party
fast-jev-compaction
Claude Code plugin and npm library that asks Jev which tool calls to keep, instead of summarizing the transcript.
- Runnable
- Runnable if you have Node, Claude Code function hooks, and a TypeSafe key. The npm API is also callable from your own code.
- Keys
- TYPESAFE_API_KEY is required for live Jev calls. This hub never stores or reads that key.
- Platforms
- Node.js, Claude Code plugin, npm library
- Primitives
- noul
npm install fast-jev-compactionMost compaction pipelines ask a language model to summarize old turns. This project refuses that path: user and assistant text stay verbatim, and Jev only decides which tool calls and tool results can drop or truncate.
The repository is both an npm package (fast-jev-compaction) and a Claude Code plugin. The plugin adapter lives in hooks/ and calls POST https://api.typesafe.ai/v1/systemone with model defaulting to jev-latest.
Use this when a long coding session is losing exact file paths or error text to summary. Do not treat star counts as a quality guarantee; inspect the keep/drop thresholds before pointing it at a private repo.
Caveats
- Third-party project, not a TypeSafe product.
- Needs CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1 for the plugin path.
- Sends conversation state to the official TypeSafe endpoint.