Skip to content

Jev directory

Fast Jev OpenCode

An OpenCode plugin that prunes stale tool calls and truncates bulky results on the outgoing V2 request using Jev, leaving stored history untouched and failing open when Jev is unreachable.
Stars
8
Language
TypeScript
License
MIT
Reading time
2 min
Published by
Community
Author
nrdz-labs
Last verified
Oct 2026

Highlights

  • Prunes stale tool calls and bulky results from OpenCode V2 requests through the context hook.
  • Fails open: a missing key, timeout, transport error, malformed answer or unreadable config leaves the request unmodified.
  • Ships observe-only with dryRun: true; live mode is one edit, and config.json is re-read on mtime change.
  • No build and no runtime dependency: only node: builtins and its own files; the key comes from TYPESAFE_API_KEY or OpenCode's .env.
  • Built and validated against OpenCode v2.0.7, with CI type-checking against @opencode/plugin 2.0.7 and 2.0.8.

Watch out

MIT, but young: validation is pinned to OpenCode v2.0.7 and plugin 2.0.7-2.0.8, so newer context-hook payloads may need updates. Going live needs a TypeSafe key, and the fail-open design means a broken Jev path silently leaves requests unpruned.

Questions about this entry

Short answers drawn from the linked project or page.

Reactions & coverage

Posts, threads, and videos about this entry from around the web.

X: Jev Day recap: four times the context and the danger zone

X: The compaction plugin, in Chinese

X: The compaction plugin, in Spanish

From the Jev guides

Original write-ups on what this entry is for.

From the Jev AI model community

Posts from builders shipping with Jev right now.

Follow @typesafeai