-
-
Notifications
You must be signed in to change notification settings - Fork 0
Release 0.8.0
Provider routing note: v0.8.2 supersedes the Jev credential/endpoint setup documented below. Current installs support OpenRouter (
OPENROUTER_API_KEY) or direct TypeSafe (TYPESAFE_API_KEY), one key at a time.
Released: 2026-09-26
Token Terminator 0.8.0 adds an optional TypeSafe Jev semantic context gate without replacing any existing Token Terminator mechanism.
- Jev runs after the normal request compiler and deterministic context compactor.
- Existing RTK rewriting, temporal deltas, native compression, SkillGate, vaulting, exact recovery, and tokenizer-aware acceptance remain active when Jev is enabled.
- One batched System One request evaluates bounded prior plain-text user/assistant messages against the current user request.
- Each candidate receives a relevance probability and a guard probability.
- A candidate is eligible for compaction only when both probabilities are below the configured threshold.
- Jev does not generate a replacement summary. Token Terminator exact-vaults the original and substitutes a compact recovery receipt.
- Exact-token measurement can veto a character-saving Jev reduction.
- Network errors, timeouts, malformed answers, storage errors, and failed size gates leave the already-reduced non-Jev request unchanged.
Jev is off by default.
export TOKEN_TERMINATOR_JEV=true
export TYPESAFE_API_KEY="..."Or provide the key through TOKEN_TERMINATOR_JEV_API_KEY.
No API key is stored in GitHub, the Token Terminator vault, metrics, or status output.
When Jev is enabled, the current user request plus selected prior plain-text user/assistant candidates are sent to TypeSafe's API. System/developer messages, tool messages/results, tool-call-bearing messages, structured/multimodal content, and the current user message as a removal candidate are excluded.
See Jev Semantic Context Gate and Security and Trust Model.
HERMES_PY="$HOME/.hermes/hermes-agent/venv/bin/python"
hermes plugins disable token-terminator
"$HERMES_PY" -m pip uninstall -y token-terminator
"$HERMES_PY" -m pip install \
'git+https://github.com/AronAxe/Token-Terminator.git@v0.8.0'
hermes plugins enable token-terminator --no-allow-tool-overrideStart a fresh Hermes session and inspect:
/token-terminator status
The jev status block reports whether the feature is enabled/configured and its public limits. It never returns the API key.
Token Terminator v0.11.0 · Repository · Releases · crates.io · MIT
Documentation is source-controlled from the repository wiki/ directory.
Token Terminator · v0.11.0
Context & evidence
- Selectable ContextEngine
- Learned omission-risk policy
- Context IR
- JEV Semantic Context Gate
- Vault & Exact Recovery
- Temporal Delta Compression
- Request Compiler & Context Compaction
- Async & Adapter Integration
Observatory & operations
- Dashboard & Desktop counter
- Metrics & Experiments
- Security & Trust Model
- Migration & Rollback
- Troubleshooting
Development & history