Sysone 0.2.0 — providers and models
Sysone 0.2.0 separates provider connections from model selection. A single provider can serve multiple evaluation models, including concurrent requests, without binding the connection to Jev.
const gateway = vercel({ apiKey });
const sys = createSysone({
provider: gateway,
model: 'typesafe-ai/jev',
});Breaking changes:
vercel(options),typesafe(options)andsystemOne(options)now return reusable providers.createSysonerequires bothproviderand an explicit model ID.- Custom integrations implement
EvaluationProviderwithidand receive{ model, state, questions }per request. The model-boundEvaluationModelcontract is replaced. systemOne's optional transport label is nowid.- Gateway extensions remain namespaced in
metadata.providerMetadata; the TypeSafe-only projection intoanswer.confidenceis removed. Native System One confidence is unchanged.
Model IDs are provider catalog IDs. Unsupported models fail without silent fallback. No additional live Gateway models are advertised by this change.
The README includes migration examples, and sysone.help uses the new configuration. Validation: 28 tests, type checks, production build and isolated package installation. Tests cover concurrent models sharing one gateway, explicit selection through every adapter, and preservation of model-specific metadata.
The initial npm publication remains pending authentication. Install the release package:
npm install https://github.com/sysone-help/sysone/releases/download/v0.2.0/sysone-0.2.0.tgzNode.js 22+ and ESM. The Vercel adapter additionally requires ai@7.0.105 and @ai-sdk/gateway@4.0.85.