Skip to content

New API Plugin TypeSafe

Task plugin that puts TypeSafe's System One endpoint behind a QuantumNous/new-api channel, so clients keep posting `/v1/systemone` while new-api handles auth, routing, model mapping and token billing against either TypeSafe or the Vercel AI Gateway.

Stars
3
Language
JavaScript
License
APACHE-2.0
Published by
Community
Author
FFatTiger
Last verified
Oct 2026

TypeSafe AI System One (Jev) task plugin for QuantumNous/new-api — native /v1/systemone, synchronous evaluation, token billing

Forks
0
Last pushed
Updated Sep 2026

Repo stats from the GitHub API, cached Oct 2026.

About this project

TypeSafe AI System One / Jev task plugin for QuantumNous/new-api. Jev 是一个同步评估模型,不是聊天模型:发送 state + 类型化 questions,一次请求直接拿到带概率的类型化 answers,程序里可以直接 if / switch:. 插件走 TypeSafe 原生协议,不提供也不伪装 /v1/chat/completions、/v1/responses 兼容;同时支持两种上游(按渠道 Base URL 自动识别):. 两种上游下,客户端始终发送/接收 System One 原生格式,插件自动做 noul↔boolean、usage 命名等翻译。. NewAPI 控制台 → Task Plugins(任务插件) → Marketplace Sources → 添加:. 在 Marketplace 列表找到 TypeSafe AI → Install。.

Quoted from the project's README. Read the full README.

Highlights

  • Speaks the native System One protocol and does not fake `/v1/chat/completions` or `/v1/responses`; the upstream is auto-detected from the channel Base URL.
  • Billing settles real `input_tokens` from the upstream `usage` before responding, reserving zero at submit and reporting nothing when usage is missing.
  • Model mapping lets you keep serving a short name like `jev`, so a new Jev release is a mapping edit to `jev-latest` rather than a plugin change.
  • Call semantics are synchronous: one request, one response, no `task_id` and no polling, with the plugin itself kept to a single `plugin.js` file.

Watch out

The plugin speaks only the native System One protocol, so chat-completions clients will not work through it, and the Vercel channel needs Model Mapping configured or the gateway will not resolve the model name. Pricing is a usage expression, for example `tier("base", u("input_tokens") * 42 / 1000000)`, and without one it falls back to per-request pricing. Published version directories are immutable, `index.json` is generated rather than hand-edited, and the README is written in Chinese. Copy reviewed against the repository README on 2026-10-04, not from running it.

Questions about this entry

Short answers drawn from the linked project or page.

More Jev resources like this

6GitHub stars
MCP layer that lets an agent harness ask Jev for a bounded choice from a candidate set it already allows, while permissions and execution stay with the host.
Jev Integrations & Adapters#community#jevbest#catalog-import
2GitHub stars
A Next.js workbench that converts OpenAI-compatible Chat Completions requests into Jev state and typed questions, compares chat output against structured judgments, and publishes saved question packs as proxy routes. The interface is mainly in Chinese.
Jev Integrations & Adapters#community#jevbest#catalog-import
146GitHub stars
A self-hostable API server that fronts text, vision and data endpoints across Ollama, LM Studio, LlamaCpp and a long list of hosted providers, and also runs tool-using agents with sessions. Jev appears separately as a decision provider for typed choice, score and noul questions.
Jev Integrations & Adapters#community#jevbest
69GitHub stars
Provider-neutral TypeScript runtime for System One decisions: write choice, noul, and score code once, then run it on TypeSafe Jev, local Reflex, any compatible /v1/systemone endpoint, or a custom provider.
Jev Integrations & Adapters#community#jevbest#catalog-import
38GitHub stars
File-first project notebook where many agents share context in .context/ files while Jev only judges the next step and records it as JSON.
Jev Integrations & Adapters#community#jevbest#catalog-import
34GitHub stars
Self-hosted agent runtime that adds an optional Jev judgment layer to memory filtering, lesson dismissal, request classification, and skill selection, with inspectable context and execution.
Jev Integrations & Adapters#community#jevbest#catalog-import
Back to all resources

From the Jev community

Posts from builders shipping with Jev right now.

Follow @typesafeai