@plurnk/plurnk-providers 0.11.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/SPEC.md
CHANGED
|
@@ -134,7 +134,7 @@ This package's exported resolution surface:
|
|
|
134
134
|
|
|
135
135
|
**Two-tier provider resolution — owned entirely by this package.** A provider name resolves in this order:
|
|
136
136
|
|
|
137
|
-
1. **Standard provider** (`§11`) — if `isStandardProvider(name)`, instantiated directly via `standardProviderFromEnv(name, env, model)`. No package is imported. Covers every plain OpenAI-compatible endpoint (`openai`, `groq`, `deepseek`, `mistral`, `together`, `fireworks`, `deepinfra`, `anthropic`, `bedrock`, `plurnk`, …) — including first-party Claude (Anthropic's compat endpoint, bearer auth, the `thinking` reasoning param), AWS Bedrock (its compat endpoint, Bedrock-API-key bearer, region-templated `BEDROCK_BASE_URL`), and the **`plurnk` hosted model** (a
|
|
137
|
+
1. **Standard provider** (`§11`) — if `isStandardProvider(name)`, instantiated directly via `standardProviderFromEnv(name, env, model)`. No package is imported. Covers every plain OpenAI-compatible endpoint (`openai`, `groq`, `deepseek`, `mistral`, `together`, `fireworks`, `deepinfra`, `anthropic`, `bedrock`, `plurnk`, …) — including first-party Claude (Anthropic's compat endpoint, bearer auth, the `thinking` reasoning param), AWS Bedrock (its compat endpoint, Bedrock-API-key bearer, region-templated `BEDROCK_BASE_URL`), and the **`plurnk` hosted model** (a deliberately plain remote OpenAI endpoint at `model.plurnk.ai`, overridable via `PLURNK_BASE_URL` — it reads its *server-controlled* context window from upstream but sends no grammar and no tuning; the backend's model/window/grammar are the router's concern, invisible to the open-source client, so a 32k→48k or grammar change is a one-line server decision, never a client release); none needs a daughter. An entry may carry a custom `headersFromEnv` builder for auth the single-var bearer can't express — `plurnk` uses it for two optional credentials, `PLURNK_KEY` (bearer) and `PLURNK_ACCOUNT` (sent as the `Plurnk-Account` header), each included only when set. The standard table is **authoritative**: a scanned package whose name duplicates a standard one is shadowed (tier 1 returns first).
|
|
138
138
|
2. **Discovered package** — otherwise, a **scope-agnostic `node_modules` scan** (`discover()`) maps the provider name to the installed package that declares `plurnk: { kind: "provider", name }`, which is dynamic-imported and `fromEnv(env, model)`-called. Covers first-party daughters with real runtime surface (`openrouter`, `ollama`, `google`, `xai`, `cloudflare`, the planned `vertex`/`cohere`) **and any third-party provider published under its own scope** (`@acme/llm-provider-foo`) — no involvement from us, no `@plurnk` scope assumption. Two installed packages claiming the same name → fail-hard naming both. Unknown name → fail-hard. The scan runs once per process and is memoized.
|
|
139
139
|
|
|
140
140
|
Discovery honors the host **trust gate** `PLURNK_PLUGINS_TRUSTED_ONLY` — the same env var the execs/mimes/schemes families read (plurnk-service#229, #15). OFF (unset/empty/`0`) trusts every installed provider; ON (any value) trusts `@plurnk/*` plus a comma-separated allowlist and declines the rest. A declined package is recorded in `skipped` (never registered, never thrown), so requesting its name yields a precise *untrusted* error rather than *unknown*.
|
|
@@ -280,7 +280,7 @@ The `TelemetryEvent` shape is mirrored **locally** (`./telemetry.ts`), structura
|
|
|
280
280
|
**Native reasoning and the grammar are mutually exclusive; in-DSL reasoning is the working pattern.** The GBNF masks every sampled token. With NATIVE thinking live (llama-server's own `--reasoning-budget` default, or `enable_thinking: true`), the server auto-gates the grammar past the think block — reasoning flows free — but content-channel enforcement then **leaks** (unconstrained prose, degenerates) or content never arrives; explicit `grammar_lazy`/`grammar_triggers` are ignored on the chat-completions path. The constrained configuration therefore requires the native channel **explicitly closed** — `PLURNK_PROVIDERS_REASONING_BUDGET=0`, which the `template` style emits as `enable_thinking: false`; mere field omission leaves the server default live, and think-inviting tasks then break the loop. With the channel closed, the model willingly reasons **inside the DSL**: the grammar's `PLAN` statement is a free-text body the model fills with genuine step-by-step reasoning before acting (probed live, b894+gemma: correct chain-of-thought inside `<<PLAN:…:PLAN`, then a clean `SEND`, `finish_reason: stop`). Channeling reasoning through `PLAN` is consumer/prompt policy; the provider's job is closing the native channel deterministically.
|
|
281
281
|
|
|
282
282
|
**Grammar transport — same GBNF, different wire shapes (`grammarStyle`, default `"none"`).** Backends carry the *same* grammar string differently:
|
|
283
|
-
- **`"llamacpp"`** — top-level `grammar` field + the repeat-penalty floor (§9). Detected from the §11 probe: only llama-server rows on `GET /v1/models` carry a `meta` block. This is `model.plurnk.ai` and
|
|
283
|
+
- **`"llamacpp"`** — top-level `grammar` field + the repeat-penalty floor (§9). Detected from the §11 probe: only llama-server rows on `GET /v1/models` carry a `meta` block. This is any local llama-server (e.g. the generic `openai` provider fronting llama.cpp). `model.plurnk.ai` deliberately opts out via `detectLlamaServer: false` — it reads a window but is treated as a plain OpenAI endpoint, so it is never fingerprinted and never receives a grammar (the router injects its own).
|
|
284
284
|
- **`"response_format"`** — `response_format: { type: "grammar", grammar }`. **Fireworks** (set statically, `grammarStyle: "response_format"`). Verified live: a forcing grammar constrains the output. ⚠️ Fireworks' *streamed* response mislabels grammar-constrained output as `reasoning_content`, so `generate` drops streaming **for that request only** when a grammar is attached under `response_format` — the non-streamed JSON returns it as `content` (the contract is atomic either way). Grammarless calls on the same provider still stream. Live-confirmed on `deepseek-v4-flash`/`-pro`.
|
|
285
285
|
- **`"none"`** — the grammar is **not sent** (never silently — a constrained consumer must not mistake unconstrained output for enforced).
|
|
286
286
|
|
|
@@ -17,6 +17,7 @@ type StandardProviderSpec = {
|
|
|
17
17
|
tokenizerDefault: TokenizerFamily;
|
|
18
18
|
tokenizerEnvVar: string;
|
|
19
19
|
probeNctx?: boolean;
|
|
20
|
+
detectLlamaServer?: boolean;
|
|
20
21
|
};
|
|
21
22
|
export declare const STANDARD_PROVIDERS: Readonly<Record<string, StandardProviderSpec>>;
|
|
22
23
|
export declare const isStandardProvider: (name: string) => boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"standardProviders.d.ts","sourceRoot":"","sources":["../src/standardProviders.ts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,QAAQ,EAAiB,MAAM,YAAY,CAAC;AAC1D,OAA6B,E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AAC,CAAC;IAGpE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,QAAQ,EAAE,MAAM,CAAC;IAIjB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,cAAc,CAAC;IAK/B,YAAY,CAAC,EAAE,YAAY,CAAC;IAK5B,SAAS,CAAC,EAAE,OAAO,CAAC;IAKpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAOrB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,gBAAgB,EAAE,eAAe,CAAC;IAClC,eAAe,EAAE,MAAM,CAAC;IAOxB,SAAS,CAAC,EAAE,OAAO,CAAC;IAQpB,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAGF,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,oBAAoB,CAAC,CAuF5E,CAAC;AAEH,eAAO,MAAM,kBAAkB,GAAI,MAAM,MAAM,KAAG,OAAqC,CAAC;AAoExF,eAAO,MAAM,uBAAuB,GAAU,MAAM,MAAM,EAAE,KAAK,MAAM,CAAC,UAAU,EAAE,OAAO,MAAM,KAAG,OAAO,CAAC,QAAQ,GAAG,IAAI,CA+E1H,CAAC"}
|
|
@@ -77,11 +77,18 @@ export const STANDARD_PROVIDERS = Object.freeze({
|
|
|
77
77
|
baseUrlVar: "BEDROCK_BASE_URL", chatPath: "/chat/completions",
|
|
78
78
|
reasoningStyle: "none", tokenizerDefault: "heuristic", tokenizerEnvVar: "BEDROCK_TOKENIZER",
|
|
79
79
|
},
|
|
80
|
-
// The plurnk hosted model —
|
|
81
|
-
//
|
|
82
|
-
//
|
|
83
|
-
//
|
|
84
|
-
//
|
|
80
|
+
// The plurnk hosted model — deliberately the most boring OpenAI-compatible
|
|
81
|
+
// client we can ship. The open-source ecosystem must not know or care what
|
|
82
|
+
// sits behind model.plurnk.ai (model, window, grammar, tuning are the
|
|
83
|
+
// router's business). So: no reasoning param ("none"), an agnostic tokenizer
|
|
84
|
+
// (heuristic), and NO grammar — the endpoint "doesn't support" GBNF here only
|
|
85
|
+
// because the router injects its own. It DOES read its context window from
|
|
86
|
+
// upstream (probeNctx), so a 32k→48k change is a one-line server decision,
|
|
87
|
+
// never a client release — but `detectLlamaServer: false` keeps it a plain
|
|
88
|
+
// remote OpenAI server that can't be flipped into grammar/slot behavior.
|
|
89
|
+
// Base URL defaults to model.plurnk.ai, overridable via PLURNK_BASE_URL. Two
|
|
90
|
+
// optional credentials: bearer PLURNK_KEY + the Plurnk-Account header, each
|
|
91
|
+
// sent only when set. firstPartyMetadata forwards attribution/client headers.
|
|
85
92
|
plurnk: {
|
|
86
93
|
baseUrl: "https://model.plurnk.ai/v1", baseUrlVar: "PLURNK_BASE_URL", chatPath: "/chat/completions",
|
|
87
94
|
headersFromEnv: (env) => {
|
|
@@ -94,8 +101,8 @@ export const STANDARD_PROVIDERS = Object.freeze({
|
|
|
94
101
|
h["Plurnk-Account"] = account;
|
|
95
102
|
return h;
|
|
96
103
|
},
|
|
97
|
-
reasoningStyle: "
|
|
98
|
-
probeNctx: true, firstPartyMetadata: true,
|
|
104
|
+
reasoningStyle: "none", grammarStyle: "none", tokenizerDefault: "heuristic", tokenizerEnvVar: "PLURNK_TOKENIZER",
|
|
105
|
+
probeNctx: true, detectLlamaServer: false, firstPartyMetadata: true,
|
|
99
106
|
},
|
|
100
107
|
});
|
|
101
108
|
export const isStandardProvider = (name) => name in STANDARD_PROVIDERS;
|
|
@@ -179,7 +186,9 @@ export const standardProviderFromEnv = async (name, env, model) => {
|
|
|
179
186
|
let contextSize = parseOptionalInt(env.PLURNK_PROVIDER_CONTEXT_SIZE, "PLURNK_PROVIDER_CONTEXT_SIZE", name);
|
|
180
187
|
// Grammar shape: a static spec choice (e.g. fireworks → "response_format"),
|
|
181
188
|
// upgraded to "llamacpp" when the probe fingerprints a llama-server. Slot
|
|
182
|
-
// pinning is llama-server-only, so it keys on that same fingerprint.
|
|
189
|
+
// pinning is llama-server-only, so it keys on that same fingerprint. A spec
|
|
190
|
+
// can opt out of the fingerprint entirely (detectLlamaServer: false → plurnk)
|
|
191
|
+
// to read the window but stay a plain remote OpenAI server.
|
|
183
192
|
let grammarStyle = spec.grammarStyle ?? "none";
|
|
184
193
|
let supportsSlotPinning = false;
|
|
185
194
|
let slotCount = null;
|
|
@@ -187,7 +196,7 @@ export const standardProviderFromEnv = async (name, env, model) => {
|
|
|
187
196
|
if (spec.probeNctx === true) {
|
|
188
197
|
const probe = await probeModels(url, headers, wireModel, fetchTimeoutMs);
|
|
189
198
|
contextSize ??= probe.nCtx;
|
|
190
|
-
if (probe.llamaServer) {
|
|
199
|
+
if (probe.llamaServer && spec.detectLlamaServer !== false) {
|
|
191
200
|
grammarStyle = "llamacpp";
|
|
192
201
|
supportsSlotPinning = true;
|
|
193
202
|
slotCount = await probeSlotCount(url, headers, fetchTimeoutMs);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"standardProviders.js","sourceRoot":"","sources":["../src/standardProviders.ts"],"names":[],"mappings":"AAAA,8EAA8E;AAC9E,8EAA8E;AAC9E,2EAA2E;AAC3E,8EAA8E;AAC9E,6DAA6D;AAC7D,EAAE;AACF,4EAA4E;AAC5E,6EAA6E;AAC7E,4EAA4E;AAC5E,2EAA2E;AAG3E,OAAO,oBAAgE,MAAM,mBAAmB,CAAC;AACjG,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,UAAU,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAClG,OAAO,EAAE,oBAAoB,EAAE,YAAY,EAAwB,MAAM,iBAAiB,CAAC;AAC3F,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"standardProviders.js","sourceRoot":"","s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