Jev Decision Model (TypeSafe AI)
@idaria/decision-jevcore.decision
Decides every chat message before any language-model call, with TypeSafe AI's Jev: does it need a model at all, or does one data source (plugin, API or MCP tool) answer it — and does a learned query fit as stored? Simple lookups then run without a model; everything else goes straight to the agent. Faster and cheaper than the model check of the fast path; any failure falls back to it.
Setup fields
The operator fills these in when installing the plugin.
- jev_api_keyTypeSafe API keyAPI key of your TypeSafe account (or of the gateway set as base URL). Stored in the vault. Without a key the plugin stays active but decides nothing — the fast path keeps its model check. PRIVACY: the chat message goes to TypeSafe, after the Privacy Shield masked it when one runs; never tool results or rows.
- jev_base_urlBase URLTypeSafe API or a gateway in front of it (OpenRouter, LiteLLM, Zuplo), with or without /v1. Default: https://api.typesafe.ai
- jev_modelJev modelPinned model version as TypeSafe names it (jev-1.14.0, jev-1.13.0, or the moving alias jev-latest). A gateway prefix like jev/ is dropped for api.typesafe.ai. The fast path's confidence thresholds are tuned per version, so change it deliberately. Default: jev-1.14.0
- jev_timeout_msTimeout (ms)Per decision. Past it the fast path uses its model check. Keep it below 2000 (the fast path's own deadline). Default: 1500
- jev_tasksDecisions Jev makesComma-separated: fast-path.turn-gate (every fast-path decision of a turn in ONE request — model yes/no, simple/complex, plan needed, data source, learned query with its values), recall.relevance, memory.significance, verifier.evidence-judge, canvas.layout (table or bar/line/pie chart for planned rows on the canvas), the older single decisions fast-path.gate / fast-path.source / fast-path.direct-plan, or all. Default: all
Permissions
This is everything the plugin is allowed to access once it is installed.
- memory
- none
- none
- graph
- none
- none
- network
- api.typesafe.ai$config.jev_base_url
- filesystem
- no
Dependencies and capabilities
- decisionModel@1
Versions
| Version | Core | Size | Published | sha256 | Download |
|---|---|---|---|---|---|
| v0.4.0 | >=1.78.0 <2.0 | 25.3 KB | 30 Nov 2026 | 9823b872937c… | .zip |