Who it is forA developer running long Claude Code sessions who keeps hitting context limits and losing track of earlier work.
The problemLong sessions fill the context window with old tool output, and generic summaries drop details the agent still needs.
The outcomeStale tool calls are dropped by Jev decisions and everything kept stays word for word.
What you need first
- Access to Jev through the TypeSafe waitlist, or through Vercel AI Gateway, Cloudflare Workers AI, OpenRouter (beta), or Netlify AI Gateway
- A terminal with Node.js installed for the npx command (inferred)
- An API key from the TypeSafe console or the chosen gateway
Steps
- Open https://github.com/tamaratran/fast-jev-compaction and read its setup section.
- Clone the repo and follow its install steps for Claude Code. (inferred, check the README)
- Set your Jev access key as the repo asks.
- Run a long session and check that old tool results are removed while recent ones stay.
- Compare the context size before and after compaction over the same task.
Prompt for your agent
Install the compaction tool from https://github.com/tamaratran/fast-jev-compaction into Claude Code and run it on the session for <task>. Expected output: a context size report that shows dropped stale tool results and kept verbatim entries. Verify that no recent tool result was removed.
Caveat. The README entry describes what the tool does but does not show its setup, so the steps depend on that repo's own instructions.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for valentynkit/awesome-jev-typesafe and "Keep a Claude Code session from filling its context"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer