/** * kosha-discovery — TypeSafe (System One / Jev) provider discoverer. * * TypeSafe is not a chat provider. Its System One models answer a *question* * about supplied state and return a typed value — a choice with a probability * distribution, a boolean-ish probability (Noul), or a score on described * levels. Nothing is generated; output tokens are free because there are none * to bill. That is why these cards carry `mode: "judgment"` rather than * `"chat"`: a router that treats Jev as a chat model will send it prompts it * cannot answer. * * The list endpoint is `GET /v1/models`, which returns its own envelope — * `{ models: [{ name, description, release_date }] }` — not the OpenAI * `{ data: [...] }` shape, so this discoverer does not extend * {@link OpenAICompatibleDiscoverer}. * @module */ import type { CredentialResult, ModelCard } from "../types.js"; import { BaseDiscoverer } from "./base.js"; /** * Discovers TypeSafe System One models. * * The API lists moving aliases (`jev-latest`, `jev-preview`) rather than pinned * versions, so the static seed supplies the pinned ID as filler and the API * result stays authoritative for what the key can actually reach. */ export declare class TypeSafeDiscoverer extends BaseDiscoverer { readonly providerId = "typesafe"; readonly providerName = "TypeSafe"; readonly baseUrl = "https://api.typesafe.ai"; discover(credential: CredentialResult, options?: { timeout?: number; }): Promise; /** Build a card from a live API entry. */ private toModelCard; /** `jev-latest` → `Jev (latest)`; `jev-1.13.0` → `Jev 1.13.0`. */ private displayName; /** Curated fallback used when no credential is present. */ private staticFallbackModels; } //# sourceMappingURL=typesafe.d.ts.map