Memory & contextAppears in · Background / ToastAdded

fast-jev-compaction

Replace lossy compaction summaries with verbatim Jev keep-or-drop decisions.

fast-jev-compaction · Effect preview · IllustrationIllustrative
> Add pagination to the order list
⏺ I’ll look at the list component first.
fast-jev-compaction: kept 42/68 messages, no summary
Jev dropped stale Read/Bash results below 0.5
❯ /compact
toast · fallback to built-in summary (too little reduction)

Runs in the background, with no interface. These are illustrative logs.

❯

Illustration. Actual results depend on the mod, terminal and environment.

Install

/plugin marketplace add tamaratran/fast-jev-compaction
/plugin install fast-jev-compaction@fast-jev-compaction
/reload-plugins

Run these commands one at a time in a Claude Code session.

What it accesses

Based on the author’s documentation, checked when listed; use claude plugin validate to check for yourself.

Reads

Yes

Reads session messages and tool calls/results to build Jev state.

Writes files

Unspecified

Runs commands

Unspecified

Network

Yes

Sends compaction decision requests to the TypeSafe Jev API with an API key.

Introduction

fast-jev-compaction is a Claude Code function-hooks mod. On /compact and auto-compaction it sends conversation state to TypeSafe Jev, which scores each tool call and result and drops or truncates stale ones while keeping user and assistant text verbatim. It needs a TypeSafe API key. The README targets early-access 2.1.274+ with CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1. Not run-tested here. Preview is illustrative.

Who it is for

  • People who want compaction that keeps verbatim details instead of lossy summaries

Requirements

  • Claude Code ≥ 2.1.274
  • README still documents early-access and CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1.
  • Needs TYPESAFE_API_KEY or the plugin apiKey setting.