{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "perrylink-jevcore--send-state-through-openrouter-route",
 "repo": "PerryLink/jevcore",
 "repo_url": "https://github.com/PerryLink/jevcore",
 "repo_slug": "perrylink-jevcore",
 "title": "Route Jev calls through an OpenRouter key",
 "page_title": "How to route Jev calls through an OpenRouter key with Jevcore",
 "summary": "Point the jevcore-dsh plugin at OpenRouter when a TypeSafe key is impractical.",
 "who": "A DeepSeek Harness user with an OpenRouter key who cannot get a TypeSafe key and accepts a different third party receiving the state.",
 "problem": "Choosing a live route changes where the state goes, and the destination is not obvious from the provider name.",
 "outcome": "Jev answers come from the System One models through OpenRouter, with the endpoint named in the startup report and a cost recorded in usage.",
 "steps": [
  "Store your OpenRouter key in the environment variable OPENROUTER_API_KEY, without writing it into the configuration.",
  "Set provider to openrouter and openRouterApiKeyRef to OPENROUTER_API_KEY in the jev plugin config.",
  "Set model to jev-latest, or to a versioned id such as typesafe/jev-1.13, since typesafe/jev-latest is not accepted.",
  "Restart and read the startup report, confirming it names https://openrouter.ai/api as the endpoint and egress=ON."
 ],
 "agent_prompt": "In the PerryLink/jevcore repo, configure the jevcore-dsh plugin with provider openrouter, openRouterApiKeyRef OPENROUTER_API_KEY, and model jev-latest. Expected output: a startup report naming the openrouter.ai endpoint. Verify that the report lists which state fields are sent before any live call is made.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "A model id that is not a System One id is refused before the call, so an arbitrary chat model name in the config will fail rather than return a usable answer.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "Node 20 or later for jevcore and jevcore-mcp, or Node ^22.19.0 or >=24.0.0 for jevcore-dsh",
  "A local checkout of the repo for the DeepSeek Harness install path",
  "DeepSeek Harness, if you use the plugin or the gates",
  "A TypeSafe or OpenRouter key only if you choose a live route; the default is the offline mock"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The OpenRouter key must stay in the environment or the credential service, because the README says the key is never logged or written to configuration, and a leaked key bills your OpenRouter account."
  },
  {
   "tag": "credentials",
   "notice": "Your state is sent to OpenRouter, a third party with different retention and logging, so do not route tickets or other sensitive state there without checking that third party's terms."
  }
 ],
 "best": false,
 "score": 0.7,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/perrylink-jevcore/send-state-through-openrouter-route/",
 "md": "https://dedupedai.com/use-cases/perrylink-jevcore/send-state-through-openrouter-route/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/perrylink-jevcore--send-state-through-openrouter-route.json",
 "api_version": "v1"
}
