@novaproto/contracts
v0.1.0
Published
Canonical AI-provider contracts (chat, embeddings, models, health) shared by llamactl, sirius-gateway, and embersynth.
Downloads
176
Readme
@novaproto/contracts
Canonical AI-provider contracts shared across the llamactl family (llamactl, sirius-gateway, embersynth): chat, embeddings, models, health, streaming, usage, and pricing schemas, plus the OpenAI-compatible provider interface.
The package is node-portable — it has no bun:* or Bun.*
dependencies and runs on Node.js and Bun alike.
Install
npm install @novaproto/contractsUsage
import { type AiProvider, type UnifiedAiRequest } from "@novaproto/contracts";Schemas are authored with zod; the package re-exports both the runtime validators and their inferred types.
License
MIT
