Plugin manifest
{
"name": "jev-router",
"version": "0.5.0",
"description": "Asks TypeSafe Jev before each task which Claude model and effort fit best, then runs the turn on it",
"types": "./types/index.d.ts",
"author": {
"name": "Dominic Rico Gómez",
"url": "https://github.com/dominicrico"
},
"icon": "./.claude-plugin/icon.png",
"userConfig": {
"router": {
"type": "string",
"title": "System One router",
"description": "jev: TypeSafe Jev (default, TYPESAFE_API_KEY). laya: self-hosted Laya on localhost:8000 (LAYA_API_KEY, optional). kev: self-hosted Kev on 127.0.0.1:8009 (KEV_API_KEY, optional)",
"options": [
"jev",
"laya",
"kev"
],
"default": "jev"
},
"routerModel": {
"type": "string",
"title": "Router model override",
"description": "Empty: the router's default (jev-latest, laya, kev-latest). Set to pin a version (jev-1.14) or match your host's model id",
"default": ""
},
"routerUrl": {
"type": "string",
"title": "Router endpoint override",
"description": "Empty: the router's default endpoint. Set for a hosted Laya or Kev, or another port. TypeSafe keys are only ever sent to api.typesafe.ai",
"default": ""
},
"apiKey": {
"type": "string",
"title": "TypeSafe API key",
"description": "Key for api.typesafe.ai (Jev). Alternatives: TYPESAFE_API_KEY env var, or /jev key <key>",
"sensitive": true,
"required": false
},
"mode": {
"type": "string",
"title": "Routing mode",
"description": "efficient: best result; balanced: quality vs cost; cheap: cheapest model that can succeed",
"options": [
"efficient",
"balanced",
"cheap"
],
"default": "balanced"
},
"models": {
"type": "string",
"multiple": true,
"title": "Allowed Claude models",
"description": "Aliases Jev may choose from: haiku, sonnet, opus, fable",
"default": [
"haiku",
"sonnet",
"opus",
"fable"
]
},
"stickiness": {
"type": "string",
"title": "Cache stickiness",
"description": "off: always follow Jev; auto: while the prompt cache is warm, only upgrade on high confidence; strict: never switch while warm",
"options": [
"off",
"auto",
"strict"
],
"default": "auto"
},
"minConfidence": {
"type": "number",
"title": "Min confidence to upgrade",
"description": "With stickiness auto, a warm-cache upgrade needs at least this Jev confidence",
"default": 0.7
},
"minContextTokens": {
"type": "number",
"title": "Min context to protect",
"description": "Below this many context tokens a switch is free and stickiness is skipped",
"default": 8000
},
"cacheTtlMs": {
"type": "number",
"title": "Cache TTL (ms)",
"description": "Time after the last request when the prompt cache counts as cold",
"default": 300000
},
"timeoutMs": {
"type": "number",
"title": "Jev timeout (ms)",
"description": "Keep the current model when Jev takes longer than this",
"default": 4000
},
"effortCap": {
"type": "string",
"title": "Effort cap",
"description": "Highest reasoning effort the router applies. medium is the default (the lean preset). Start a prompt with !full, or run /jev full, to lift it for one prompt",
"options": [
"low",
"medium",
"high",
"xhigh",
"max",
"none"
],
"default": "medium"
},
"routeSteps": {
"type": "boolean",
"title": "Route every step",
"description": "Ask Jev again before each step of a task (the cache guard still applies). Off: one call per prompt",
"default": true
},
"routeSubagents": {
"type": "boolean",
"title": "Route subagents",
"description": "Pick a model and effort for each subagent from its task description",
"default": true
},
"pauseMs": {
"type": "number",
"title": "Pause after failures (ms)",
"description": "After 3 failed Jev calls in a row, stop asking for this long and keep the current model",
"default": 60000
},
"baselineModel": {
"type": "string",
"title": "Savings baseline",
"description": "The model the savings estimate compares against (what you would use without the router)",
"options": [
"haiku",
"sonnet",
"opus",
"fable"
],
"default": "opus"
},
"escalateAfter": {
"type": "number",
"title": "Escalate after failures",
"description": "After this many failed tool calls in a row, move the rest of the task up one model. 0 turns it off",
"default": 3
},
"sendHistory": {
"type": "boolean",
"title": "Send conversation history",
"description": "Send the last messages to Jev for context. Off sends only the task text",
"default": true
},
"redact": {
"type": "boolean",
"title": "Redact secrets",
"description": "Replace API keys, tokens, private keys and KEY=value lines with [redacted] before anything is sent to Jev",
"default": true
},
"maxTaskChars": {
"type": "number",
"title": "Max task characters",
"description": "How much of the prompt is sent to Jev",
"default": 8000
},
"fallback": {
"type": "string",
"title": "Fallback when Jev is down",
"description": "session: keep the session model. heuristic: a crude local guess from the prompt length and a few words",
"options": [
"session",
"heuristic"
],
"default": "session"
},
"ceiling": {
"type": "string",
"title": "Model ceiling",
"description": "The most expensive model Jev may pick unless it is very sure (see ceilingBreak). sonnet is the default (the lean preset); none lifts it",
"options": [
"none",
"haiku",
"sonnet",
"opus",
"fable"
],
"default": "sonnet"
},
"floor": {
"type": "string",
"title": "Model floor",
"description": "The cheapest model Jev may pick. none: no floor",
"options": [
"none",
"haiku",
"sonnet",
"opus",
"fable"
],
"default": "none"
},
"ceilingBreak": {
"type": "number",
"title": "Confidence to break the ceiling",
"description": "Jev may exceed the ceiling only at or above this confidence (0 to 1)",
"default": 0.9
},
"preset": {
"type": "string",
"title": "Preset",
"description": "lean (the default settings): sonnet ceiling, effort capped at medium. balanced: no ceiling, cap high. max: no limits, efficient mode. none: use mode, ceiling and effortCap as set",
"options": [
"none",
"lean",
"balanced",
"max"
],
"default": "none"
}
},
"repository": "https://github.com/dominicrico/jev-router",
"interface": {
"displayName": "jev-router",
"developerName": "dominicrico"
},
"holManifestOrigin": "repository",
"registryIndexVersion": 9
}