Skip to content

v0.2.0 - dual host, own engine

Choose a tag to compare

@roshan-shaik-ml roshan-shaik-ml released this 26 Sep 20:51
· 24 commits to main since this release

Dual-host release, and the point where the engine became ours.

OpenCode v1 and v2 from one package. v2 calls setup(), v1 calls server(), per the official migration guide.

Own engine. src/engine/ is this project's own implementation - no third-party compaction engine is vendored or depended on.

What that bought, over the library everyone else uses:

  • Split thresholds - keepCallThreshold 0.5 / keepResultThreshold 0.25. A single 0.5 makes keep unreachable, because Jev scores a call and its output on different scales; upstream reports the same defect as #56.
  • Keep-signal guard - a pass that scores >= minScored calls and keeps none is refused. A blanket removal is a bad answer, not a decision.
  • Credential redaction - tool inputs lose credential-named fields and secret-shaped strings before anything is sent to Jev.
  • Result peeks - peekChars shows Jev a head/tail excerpt of each output instead of a byte count.
  • Stub removal by default - a call rated no longer needed keeps its place with the output cut short, so narration never loses its evidence (#65).
  • Fail-open everywhere - missing key, timeout, transport error, malformed answer, unfittable history, unreadable config.

Evidence. v1 36 checks, v2 19 checks, engine-to-adapter consistency 24/24, a token-savings sweep, and a size-equalised head+tail baseline (4/5 needed calls kept versus 2/5). CI on Node 22 and 24.