Repository navigation
v0.4.0: Ollama local decision models and OpenAI's Decisions API, both opt-in
Two new hosts, both opt-in, next to Jev on TypeSafe, OpenRouter, and Vercel AI Gateway.
Ollama, local and keyless. Ollama 0.35 and later serves decision models behind the very same API, so nothing leaves your machine:
ollama pull nimble
export JEV_CODE_PROVIDER=ollama
npx -y @french-castle/jev-code@latest doctor --liveOLLAMA_HOST points at another server; tev1, clef, and clef-flash work via TYPESAFE_DEFAULT_MODEL. Doctor says when the server is down or the model is not pulled.
OpenAI Decisions API, limited preview. Set JEV_CODE_PROVIDER=openai next to your OPENAI_API_KEY, or paste an OpenAI key when setup asks and it stores both. An ambient OPENAI_API_KEY is never adopted on its own, because that variable sits in most shells for unrelated reasons; doctor tells you it is there and how to opt in. Accounts outside the preview get 403 Decision API is not enabled for this user, which doctor --live reports in plain words. The request mapping follows traffic recorded by preview users and OpenAI's own client in the Codex repository, since OpenAI has published no reference yet; it is verified end to end against a stand-in with that shape, through the CLI and a real harness over MCP. A live decision from a preview account is the one thing still unconfirmed, and a report from anyone with access is welcome.
npx -y @french-castle/jev-code@latest setupAdded
-
Ollama's decision capability (Ollama 0.35+) as a local, keyless host:
JEV_CODE_PROVIDER=ollama
afterollama pull nimble;OLLAMA_HOSTnames another server,OLLAMA_API_KEYis sent only
when set. Same System One API, so nothing else changes.doctor --livesays when the server is
down or the model is not pulled. -
JevClientworks without a key for local hosts; no Authorization header is sent then. -
OpenAI's Decisions API (limited preview) as an opt-in host:
OPENAI_API_KEYplus
JEV_CODE_PROVIDER=openai, modelgpt-6-luna. Every tool works unchanged; the request and
response shapes are translated (src/core/wires.ts), following traffic recorded by preview
users and OpenAI's own client in the Codex repository. An ambientOPENAI_API_KEYis never
adopted by itself; doctor and the missing-key error explain how to opt in, anddoctor --live
recognises the preview's403 Decision API is not enabled for this user. -
Pasting an OpenAI key when
setupasks storesJEV_CODE_PROVIDER=openaialongside it.
Full details: CHANGELOG.md. Previous release: v0.3.0.