@plurnk/plurnk-providers 1.0.3 → 1.0.5

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/.env.defaults CHANGED
@@ -1,24 +1,28 @@
1
- # ⚠ REFERENCE — @plurnk/plurnk-providers' shipped .env.defaults: the operative floor for the
2
- # PLURNK_PROVIDERS_* knobs (ecosystem standard, providers#44: every package owns its knobs; the
3
- # file IS the documentation). The daemon assembles every installed member's file into one floor
4
- # (set-if-unset under the operator's env) — do NOT edit this file; put YOUR config in
5
- # ~/.plurnk/.env or ./.env. A key claimed by two packages crashes boot naming both.
1
+ # REFERENCE - @plurnk/plurnk-providers' shipped .env.defaults: the operative floor for the
2
+ # PLURNK_PROVIDERS_* knobs AND the standard providers' endpoints + alias config (ecosystem
3
+ # standard, providers#44: every package owns what it reads; the file IS the documentation).
4
+ # The daemon assembles every installed member's file into one floor (set-if-unset under the
5
+ # operator's env) - do NOT edit this file; put YOUR config in ~/.plurnk/.env or ./.env. A key
6
+ # claimed by two packages crashes boot naming both.
6
7
  #
7
- # EVERY knob here is per-alias-scopable: PLURNK_PROVIDERS_<KNOB>_<alias> wins over the bare name
8
- # for that alias (suffix case-folds; SPEC §4). Set lines are the floor; commented keys are
9
- # knobs whose UNSET state is meaningful (derive/auto/off) — uncomment to pin.
10
- # Vendor facts (API keys, base URLs: XAI_API_KEY, FIREWORKS_BASE_URL, …) are NOT knobs and
11
- # carry no defaults — they stay operator-declared, fail-hard when required (SPEC §3).
8
+ # EVERY PLURNK_PROVIDERS_* knob is per-alias-scopable: PLURNK_PROVIDERS_<KNOB>_<alias> wins over
9
+ # the bare name (suffix case-folds; SPEC §4). Set lines are the floor; commented lines are values
10
+ # whose UNSET state is meaningful (derive/auto/off, or a required secret) - uncomment to pin.
11
+ #
12
+ # Base URLs are SHIPPED DEFAULTS - the canonical vendor endpoint lives HERE (overridable in your
13
+ # .env, or per-alias via PLURNK_BASEURL_<alias>), so the happy path needs ZERO endpoint config.
14
+ # The ONLY required per-provider input is the API KEY: a secret with no default, set in your own
15
+ # .env; an unset key for a provider you actually use fails hard at construction naming the var.
12
16
 
13
17
  # --- Side-channel reasoning (SPEC §4, #32/#33/#399) ---
14
18
  # ACTIVATION and BUDGET are separate so a numeric can never silently flip wire flags.
15
19
  # off | adaptive | on. The provider maps intent to each backend's native mechanism
16
- # (reasoning_effort, enable_thinking, think, …). Default ADAPTIVE (owner ruling,
20
+ # (reasoning_effort, enable_thinking, think, ...). Default ADAPTIVE (owner ruling,
17
21
  # #399): reasoning ACTIVE on a fresh install, each backend's own adaptive depth,
18
- # no shipped magnitude — a reasoning model that ships un-reasoning blind-edits and
19
- # declares done (svc#396 A/B: 25 EXECs → 0, build broken, confident SEND[200]).
22
+ # no shipped magnitude - a reasoning model that ships un-reasoning blind-edits and
23
+ # declares done (svc#396 A/B: 25 EXECs -> 0, build broken, confident SEND[200]).
20
24
  PLURNK_PROVIDERS_REASONING=adaptive
21
- # Positive int, REQUIRED iff REASONING=on — the magnitude for tier/budget mapping. On
25
+ # Positive int, REQUIRED iff REASONING=on - the magnitude for tier/budget mapping. On
22
26
  # llama.cpp the ENFORCEMENT is the box's --reasoning-budget LAUNCH flag (per-request
23
27
  # numerics are ignored): env budget and launch flag are the same number, changed together.
24
28
  # PLURNK_PROVIDERS_REASONING_BUDGET=4096
@@ -45,16 +49,24 @@ PLURNK_PROVIDERS_PROBE_DELAY=250
45
49
 
46
50
  # --- Grammar (GBNF, SPEC §13) ---
47
51
  # The grammar artifact the consumer resolves and passes per call (providers transport it
48
- # verbatim; enforcement is per-backend — see constrainsOutput). Read by the service.
49
- PLURNK_PROVIDERS_GBNF=plurnk.gbnf
52
+ # verbatim; enforcement is per-backend - see constrainsOutput). Read by the service.
53
+ # OFF by default (bare unset = off): core opts IN per alias via PLURNK_PROVIDERS_GBNF_<alias>
54
+ # (Engine §353). A GLOBAL rails default is unsafe - providers that ACCEPT a grammar quietly
55
+ # disable reasoning as a side effect, invisible to the constrainsOutput gate (it verifies rails
56
+ # are ENFORCED, not that reasoning SURVIVED). The reasoning model then blind-edits and looks
57
+ # like plurnk's fault on their platform (svc#396). Off degrades gracefully (free output, still
58
+ # verified; divergence -> grammar_unenforced telemetry, #24); rails-on-where-unsafe degrades
59
+ # silently. Turn ON per alias where rails coexist (local llama-server) or the reasoning
60
+ # tradeoff is deliberate.
61
+ # PLURNK_PROVIDERS_GBNF=plurnk.gbnf
50
62
  # Debug toggle (0/empty = off): validate a transported grammar locally, throw on malformed,
51
- # and WITHHOLD it so the model runs unconstrained — the free output is still verified and a
63
+ # and WITHHOLD it so the model runs unconstrained - the free output is still verified and a
52
64
  # divergence surfaces as grammar_unenforced telemetry. Dev aid; leave off in production.
53
65
  # PLURNK_PROVIDERS_GBNF_DEBUG=0
54
66
 
55
67
  # --- Window (SPEC §11) ---
56
- # Unset = derive: env → live endpoint probe (n_ctx) → models.dev catalog → null (surfaced
57
- # once via PLURNK_CONTEXT_UNKNOWN naming the model). Set to pin the window deliberately —
68
+ # Unset = derive: env -> live endpoint probe (n_ctx) -> models.dev catalog -> null (surfaced
69
+ # once via PLURNK_CONTEXT_UNKNOWN naming the model). Set to pin the window deliberately -
58
70
  # per-alias (_<alias>) for a box whose model the catalog doesn't know.
59
71
  # PLURNK_PROVIDERS_CONTEXT_SIZE=200000
60
72
 
@@ -64,10 +76,67 @@ PLURNK_PROVIDERS_GBNF=plurnk.gbnf
64
76
  # remote even when the fingerprint matches. Usually per-alias: _<alias>.
65
77
  # PLURNK_PROVIDERS_LLAMA_SERVER=1
66
78
 
67
- # --- Data capture (#36, SPEC §14) — OFF by default; the flag IS the isolation ---
79
+ # --- Data capture (#36, SPEC §14) - OFF by default; the flag IS the isolation ---
68
80
  # Enable ONLY on a dataset-scraping alias (append _<alias>); serving turns then request and
69
81
  # carry nothing. LOGPROB: non-negative int = top_logprobs (surfaced on assistant.logprobs;
70
- # raw model logprob, the sampling-invariant confidence). RAWBODY: truthy → verbatim wire
82
+ # raw model logprob, the sampling-invariant confidence). RAWBODY: truthy -> verbatim wire
71
83
  # body on response.rawBody (keeps sampling_logprob/token_id/bytes the digest drops).
72
84
  # PLURNK_PROVIDERS_LOGPROB_myscraper=3
73
85
  # PLURNK_PROVIDERS_RAWBODY_myscraper=1
86
+
87
+ # --- Alias cascade (SPEC §5) - declare aliases, then pick the active one ---
88
+ # First path segment is the provider name; the rest is the provider-native model id (may
89
+ # contain "/"). Operator-specific, no default - the examples are commented.
90
+ # PLURNK_MODEL_gemma=openai/macher.gguf
91
+ # PLURNK_MODEL_opus=anthropic/claude-opus-4-8
92
+ # PLURNK_MODEL_sonnet=openrouter/anthropic/claude-sonnet-latest
93
+ # PLURNK_MODEL=gemma
94
+ #
95
+ # PLURNK_BASEURL_<alias> - bind an endpoint to ONE alias (the only way to run N self-hosted
96
+ # boxes of one provider: openai=llama.cpp/vLLM, ollama). WINS over the provider's *_BASE_URL;
97
+ # a dangling override fails hard.
98
+ # PLURNK_MODEL_HAZEL1=openai/qwen2.5-coder
99
+ # PLURNK_BASEURL_HAZEL1=http://hazel1:8080/v1
100
+ # PLURNK_MODEL_NOOK=ollama/qwen2.5-coder
101
+ # PLURNK_BASEURL_NOOK=http://nook:11434
102
+
103
+ # --- Standard provider endpoints (frozen table) ---
104
+ # Base URLs ship at their canonical vendor default - zero endpoint config for the happy path.
105
+ # Override in your .env (proxy/self-host/regional twin), or per-alias with PLURNK_BASEURL_<alias>
106
+ # (which wins over these). Each provider ALSO needs its API KEY - a required secret with no
107
+ # default, set in ~/.plurnk/.env; the key var mirrors the *_BASE_URL prefix (FIREWORKS_API_KEY,
108
+ # ...) except where noted. An unset key fails hard at construction naming the var.
109
+
110
+ # Generic OpenAI-compat - OpenAI proper by default; for a local llama-server/vLLM, override the
111
+ # endpoint per-alias (PLURNK_BASEURL_<alias>). OPENAI_API_BASE is a legacy URL alias.
112
+ OPENAI_BASE_URL=https://api.openai.com/v1
113
+ GROQ_BASE_URL=https://api.groq.com/openai/v1
114
+ DEEPSEEK_BASE_URL=https://api.deepseek.com/v1
115
+ MISTRAL_BASE_URL=https://api.mistral.ai/v1
116
+ TOGETHER_BASE_URL=https://api.together.xyz/v1
117
+ FIREWORKS_BASE_URL=https://api.fireworks.ai/inference/v1
118
+ DEEPINFRA_BASE_URL=https://api.deepinfra.com/v1/openai # key aliases: DEEPINFRA_API_TOKEN, DEEPINFRA_TOKEN
119
+
120
+ # Chinese cloud hosts - base ships INTERNATIONAL; mainland operators repoint *_BASE_URL at the `.cn` twin.
121
+ MOONSHOT_BASE_URL=https://api.moonshot.ai/v1
122
+ DASHSCOPE_BASE_URL=https://dashscope-intl.aliyuncs.com/compatible-mode/v1 # Alibaba Qwen
123
+ ZHIPU_BASE_URL=https://api.z.ai/api/paas/v4 # Zhipu GLM; key ZHIPUAI_API_KEY (alias ZAI_API_KEY)
124
+ ARK_BASE_URL=https://ark.ap-southeast.bytepluses.com/api/v3 # ByteDance Doubao (BytePlus ModelArk)
125
+ HUNYUAN_BASE_URL=https://api.hunyuan.cloud.tencent.com/v1 # Tencent Hunyuan
126
+ MINIMAX_BASE_URL=https://api.minimax.io/v1
127
+ STEPFUN_BASE_URL=https://api.stepfun.com/v1 # StepFun; key STEP_API_KEY
128
+ BAICHUAN_BASE_URL=https://api.baichuan-ai.com/v1
129
+ QIANFAN_BASE_URL=https://qianfan.baidubce.com/v2 # Baidu ERNIE (Qianfan v2)
130
+ SILICONFLOW_BASE_URL=https://api.siliconflow.com/v1
131
+ MODELSCOPE_BASE_URL=https://api-inference.modelscope.cn/v1 # key alias: MODELSCOPE_TOKEN
132
+
133
+ # First-party Claude (Anthropic's OpenAI-compat endpoint).
134
+ ANTHROPIC_BASE_URL=https://api.anthropic.com/v1
135
+
136
+ # AWS Bedrock (OpenAI-compat path /openai/v1) - base is REGION-templated: leave unset to derive
137
+ # from AWS_REGION / AWS_DEFAULT_REGION, or pin explicitly. No static default. Key AWS_BEARER_TOKEN_BEDROCK.
138
+ # BEDROCK_BASE_URL=https://bedrock-runtime.us-east-1.amazonaws.com/openai/v1
139
+
140
+ # plurnk hosted model - PLURNK_API_KEY is an OPTIONAL bearer (sent only when set).
141
+ PLURNK_BASE_URL=https://plurnk.ai/v1
142
+ # PLURNK_BASE_URL=http://plurnksnr2kihuukt6v22ko72r34dxeatbsfhgow3hvnlw6btanxphad.onion/v1 # Tor
package/README.md CHANGED
@@ -5,7 +5,7 @@ Framework + contract for `@plurnk/plurnk-providers-*` sibling packages (LLM tran
5
5
  ## Documentation
6
6
 
7
7
  - [`SPEC.md`](./SPEC.md) — author-facing contract for sibling implementers.
8
- - [`.env.example`](./.env.example) — the authoritative operator config reference: every env knob the provider layer reads (all required, fail-hard, no defaults).
8
+ - [`.env.defaults`](./.env.defaults) — the shipped floor AND operator config reference: every var the provider layer reads, each with its default (canonical endpoints + measured tuning); only the API keys are secrets with no default (fail-hard). Assembled into the daemon floor at boot (#44).
9
9
  - Constellation: [plurnk-grammar](https://github.com/plurnk/plurnk-grammar) (HEREDOC + AST), [plurnk-mimetypes](https://github.com/plurnk/plurnk-mimetypes), [plurnk-schemes](https://github.com/plurnk/plurnk-schemes), [plurnk-execs](https://github.com/plurnk/plurnk-execs) (the reference family this one mirrors).
10
10
 
11
11
  ## Write a provider
package/SPEC.md CHANGED
@@ -149,7 +149,7 @@ Each provider's `fromEnv` reads these:
149
149
 
150
150
  - **`PLURNK_PROVIDERS_REASONING`** — REQUIRED, one of `off | adaptive | on` (#33). Pure ACTIVATION intent; **`PLURNK_PROVIDERS_REASONING_BUDGET`** (positive int, REQUIRED iff `on`) carries the magnitude separately, so a number can never silently flip wire flags. The provider maps intent to the active backend's mechanism — llama-server `chat_template_kwargs: { enable_thinking }` (always emitted; the explicit FALSE is the only working off-switch; the NUMERIC clamp is the box's `--reasoning-budget` LAUNCH flag — per-request numerics are ignored, so env budget and launch flag are the same number, changed together), Ollama `think`, relay `include_reasoning`, cloud `reasoning_effort` (tier from budget when `on`; `off`/`adaptive` omit), fireworks `reasoning_effort` **explicit** (`effort_explicit`: `off` SENDS `"none"` — omission is NOT off on reason-by-default models like DeepSeek V4, #30; `adaptive` OMITS the field — the backend default IS adaptive, and the literal `"adaptive"` is MiniMax-M3-only, 400 elsewhere, #403. Intent maps **identically under a transported grammar** (the former #32 clamp-to-`"none"` is lifted — it caused plan-less turns, service#331; the lift enables best-effort reasoning). BUT reasoning and hard-masked GBNF rails do **NOT reliably coexist** on fireworks (TUNING-EPIC **F9-final**, ~60 live tests). Fireworks' docs: `response_format` (which includes grammar mode) **disables reasoning output**; measured, reasoning reaches the usable `reasoning_content` channel only stochastically (~1/8) and otherwise collapses or leaks into `content` — best lever (prefill `<think>\n`) tops out at 7/10 with a runaway tail. So under a transported grammar, reasoning is **best-effort and unsegregated** (lands in `content`, not `reasoning_content`), and NOT tunable — a consumer wanting the reasoning parses the preplan region of `content`. Fireworks is rails-first; single-call reasoning+rails needs a llama.cpp lazy-grammar host. Envelope: `max_tokens` is a cost circuit-breaker (reasoning-on can run away), not a reasoning reserve), Anthropic `thinking: disabled | enabled+budget_tokens(budget) | omit`. Consumers state intent, never mechanism. (In-DSL `<<PLAN>>` reasoning has **no provider footprint** and no operator knob: `PLAN` is a required element of the canonical plurnk grammar the consumer attaches via `generate`'s `grammar`. The provider transports that grammar verbatim and never forces, prefills, or toggles `PLAN`.)
151
151
 
152
- Read via `reasoningBudgetFromEnv` and **fail hard when unset** — configuration lives in the operator's env (the consumer's `.env.example` declares every var); the framework never defaults a knob in code.
152
+ Read via `reasoningBudgetFromEnv` and **fail hard when unset**: the budget is required only when `on` and carries no floor default. Configuration lives in the operator's env over the package's `.env.defaults` floor (which declares every var and ships its default); the framework never bakes a knob default into code.
153
153
  - **`PLURNK_PROVIDERS_FETCH_TIMEOUT`** — service-wide ms ceiling on any single outbound request (**per attempt**, not shared across retries). Each `fromEnv` reads and passes as `AbortSignal.timeout`. Per-provider override envs are NOT part of the contract.
154
154
  - **`PLURNK_PROVIDERS_RETRY_ATTEMPTS`** — REQUIRED non-negative integer (read via `parseRequiredInt`). The transient-failure retry budget: **`0`** surfaces the first failure; **`N`** retries up to `N` times on a *transient* classification only (`rate_limit` / `network_failure` — 429, 5xx, timeout, connection reset). Terminal kinds (`unauthorized`, `quota_exceeded`, `invalid_response`, `model_refused`) are never retried. Backoff is exponential from a `2000ms` base (`base * 2^(attempt-1)`), unless the server sent a `Retry-After` (which wins). The caller's `signal` aborts both the in-flight request and the backoff sleep. Lives in the shared `OpenAICompatProvider` so every provider inherits it uniformly; rides on the existing `classifyProviderError` (#18).
155
155
  - **`PLURNK_PROVIDERS_CONTEXT_SIZE`** — optional positive-integer override for the model's reported context window. Resolution: this env var → provider probe/config/table → `null`.
@@ -190,7 +190,7 @@ This package's exported resolution surface:
190
190
 
191
191
  **Two-tier provider resolution — owned entirely by this package.** A provider name resolves in this order:
192
192
 
193
- 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 at the `/openai/v1` path, Bedrock-API-key bearer; the base is `BEDROCK_BASE_URL` if set, else derived as `https://bedrock-runtime.{region}.amazonaws.com/openai/v1` from the standard `AWS_REGION`/`AWS_DEFAULT_REGION`; its inference-profile model ids resolve a catalog **context window** by stripping the region and looking the model up under its publisher (#22), while cost stays unknown — bedrock marks up over the native rate), and the **`plurnk` hosted model** (a plain remote OpenAI endpoint at its `PLURNK_BASE_URL` base, `.env.example` → `https://plurnk.ai/v1`; reads its server-controlled context window from upstream, sends no grammar and no tuning); none needs a daughter. `plurnk` authenticates with a single optional bearer (`PLURNK_API_KEY`, sent only when set), like any other standard bearer. A spec's `apiKeyVar`/`baseUrlVar` may be a **list** of accepted env-var aliases — the conventional names the wild uses for one credential/base (e.g. `deepinfra` → `DEEPINFRA_API_KEY` / `DEEPINFRA_API_TOKEN` / `DEEPINFRA_TOKEN`; `openai` base → `OPENAI_BASE_URL` / `OPENAI_API_BASE`). First set non-empty wins; a required key unset across *all* aliases fails hard naming each. This is alias resolution over operator-set values, never a fabricated default. (An entry MAY instead supply a custom `headersFromEnv` builder for auth a bearer can't express — multi-header/credential schemes — or a `baseUrlFromEnv` builder to template the base from env, as bedrock does.) The standard table is **authoritative**: a scanned package whose name duplicates a standard one is shadowed (tier 1 returns first).
193
+ 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 at the `/openai/v1` path, Bedrock-API-key bearer; the base is `BEDROCK_BASE_URL` if set, else derived as `https://bedrock-runtime.{region}.amazonaws.com/openai/v1` from the standard `AWS_REGION`/`AWS_DEFAULT_REGION`; its inference-profile model ids resolve a catalog **context window** by stripping the region and looking the model up under its publisher (#22), while cost stays unknown — bedrock marks up over the native rate), and the **`plurnk` hosted model** (a plain remote OpenAI endpoint at its `PLURNK_BASE_URL` base, `.env.defaults` → `https://plurnk.ai/v1`; reads its server-controlled context window from upstream, sends no grammar and no tuning); none needs a daughter. `plurnk` authenticates with a single optional bearer (`PLURNK_API_KEY`, sent only when set), like any other standard bearer. A spec's `apiKeyVar`/`baseUrlVar` may be a **list** of accepted env-var aliases — the conventional names the wild uses for one credential/base (e.g. `deepinfra` → `DEEPINFRA_API_KEY` / `DEEPINFRA_API_TOKEN` / `DEEPINFRA_TOKEN`; `openai` base → `OPENAI_BASE_URL` / `OPENAI_API_BASE`). First set non-empty wins; a required key unset across *all* aliases fails hard naming each. This is alias resolution over operator-set values, never a fabricated default. (An entry MAY instead supply a custom `headersFromEnv` builder for auth a bearer can't express — multi-header/credential schemes — or a `baseUrlFromEnv` builder to template the base from env, as bedrock does.) The standard table is **authoritative**: a scanned package whose name duplicates a standard one is shadowed (tier 1 returns first).
194
194
  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, options?)`-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.
195
195
 
196
196
  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*.
@@ -302,7 +302,7 @@ The framework ships the transport spine every OpenAI-compatible provider had bee
302
302
  - **`parseRequiredInt` / `parseOptionalInt` / `requireEnv`** — env helpers; each takes a provider `label` for error prefixing.
303
303
  - **`effortFromBudget(budget)`** — the shared thinking-budget → `low|medium|high` breakpoints.
304
304
 
305
- A **bespoke sibling** therefore reduces to a thin class whose `fromEnv` probes whatever it needs (model catalog, pricing, context window), builds the config, and returns `new OpenAICompatProvider(config)`. A **standard provider** (§5 tier 1) needs no sibling at all — it's a frozen entry in `STANDARD_PROVIDERS` describing its key var, base-URL var, reasoning style, and tokenizer; `standardProviderFromEnv(name, env, model)` (async — returns `Promise<Provider | null>`) does the rest. The endpoint is **required operator config** — read from the base-URL var (or a `baseUrlFromEnv` deriver) with **no in-code default**; the canonical URL lives uncommented in `.env.example`, never baked into the table.
305
+ A **bespoke sibling** therefore reduces to a thin class whose `fromEnv` probes whatever it needs (model catalog, pricing, context window), builds the config, and returns `new OpenAICompatProvider(config)`. A **standard provider** (§5 tier 1) needs no sibling at all — it's a frozen entry in `STANDARD_PROVIDERS` describing its key var, base-URL var, reasoning style, and tokenizer; `standardProviderFromEnv(name, env, model)` (async — returns `Promise<Provider | null>`) does the rest. The endpoint's **canonical URL ships as a floored default** in `.env.defaults` (set-if-unset, overridable in the operator's env or per-alias); it is read from the base-URL var (or a `baseUrlFromEnv` deriver) with **no in-code default**, the value living in the shipped floor, never baked into the table. Only the API **key** is required operator config (a secret with no default; fail-hard when unset).
306
306
 
307
307
  The `plurnk` entry alone sets **`firstPartyMetadata: true`** — it forwards the consumer's per-turn `generate()` `attributions` (which installed plugin packages dispatched) and `client` (the originating frontend, e.g. `plurnk.nvim/1.4.0`) as `Plurnk-Attribution` / `Plurnk-Client` headers, and the opaque `runId` as `Plurnk-Run-Id` (#26). The gate lives on the provider, not the call site, so these first-party signals are **structurally incapable** of reaching a third-party backend. Empty values emit no header. It also alone sets **`balanceMetaKey: "balance_pico"`** — the top-level response field the plurnk endpoint reports the running account balance (pico-USD) in. `OpenAICompatProvider` surfaces the backend's extra top-level fields as `ProviderResponse.meta` for **every** provider (passed through), and for a provider that set `balanceMetaKey` it additionally normalizes that field into a validated `meta.balancePico`. So `balancePico` appears only from plurnk; the raw pass-through `meta` is general (#23).
308
308
 
@@ -60,7 +60,7 @@ export const STANDARD_PROVIDERS = Object.freeze({
60
60
  reasoningStyle: "none", tokenizerEnvVar: "DEEPINFRA_TOKENIZER",
61
61
  },
62
62
  // — Chinese cloud hosts (all OpenAI-compat, plain bearer, doc-verified 2026). —
63
- // The .env.example base is the INTERNATIONAL endpoint; mainland operators
63
+ // The .env.defaults base is the INTERNATIONAL endpoint; mainland operators
64
64
  // point the override var at the `.cn` twin noted per entry. Reasoning is left
65
65
  // "none" for the whole cohort: each host's thinking toggle is either
66
66
  // model-selected or a non-standard param that rides in `extra_body` (the
@@ -229,7 +229,7 @@ const resolveHeaders = (spec, env, label) => {
229
229
  };
230
230
  // One probe failure must never decide capability (#34). Attempts/delay are
231
231
  // operator knobs (PLURNK_PROVIDERS_PROBE_ATTEMPTS / _PROBE_DELAY, canonical
232
- // 3 / 250ms in .env.example) — the full-sweep rule: no magic numbers in code.
232
+ // 3 / 250ms in .env.defaults) — the full-sweep rule: no magic numbers in code.
233
233
  const probeModels = async (chatUrl, headers, model, fetchTimeoutMs) => {
234
234
  const modelsUrl = chatUrl.replace(/\/chat\/completions$/, "/models");
235
235
  try {
@@ -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,kBAAkB,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACxH,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAmF/C,wDAAwD;AACxD,MAAM,CAAC,MAAM,kBAAkB,GAAmD,MAAM,CAAC,MAAM,CAAC;IAC5F,yEAAyE;IACzE,wEAAwE;IACxE,wEAAwE;IACxE,MAAM,EAAE;QACJ,SAAS,EAAE,gBAAgB,EAAE,cAAc,EAAE,KAAK;QAClD,UAAU,EAAE,CAAC,iBAAiB,EAAE,iBAAiB,CAAC,EAAE,QAAQ,EAAE,sBAAsB,EAAE,aAAa,EAAE,IAAI;QACzG,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,IAAI,GAAG,CAAC,2BAA2B,KAAK,EAAE,IAAI,GAAG,CAAC,2BAA2B,KAAK,GAAG;QAC7I,4EAA4E;QAC5E,sEAAsE;QACtE,GAAG,kBAAkB,CAAC,GAAG,EAAE,IAAI,CAAC;QAChC,SAAS,EAAE,IAAI,CAAC,SAAS;QACzB,kBAAkB,EAAE,IAAI,CAAC,kBAAkB;QAC3C,cAAc,EAAE,IAAI,CAAC,cAAc;QACnC,mBAAmB;QACnB,SAAS;QACT,WAAW;QACX,WAAW;QACX,iBAAiB;KACpB,CAAC,CAAC;AACP,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plurnk/plurnk-providers",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "Framework + contract for plurnk LLM transports: built-in standard OpenAI-compatible providers plus scope-agnostic discovery of first-party and third-party provider packages.",
5
5
  "keywords": [
6
6
  "plurnk",
@@ -48,10 +48,10 @@
48
48
  "prepack": "npm run build"
49
49
  },
50
50
  "dependencies": {
51
- "@plurnk/gbnf": "1.0.3",
52
- "@plurnk/plurnk-aliases": "1.0.3",
53
- "@plurnk/plurnk-models": "1.0.3",
54
- "@plurnk/plurnk-providers-ollama": "1.0.3",
55
- "@plurnk/plurnk-meta": "1.0.3"
51
+ "@plurnk/gbnf": "1.0.5",
52
+ "@plurnk/plurnk-aliases": "1.0.5",
53
+ "@plurnk/plurnk-models": "1.0.5",
54
+ "@plurnk/plurnk-providers-ollama": "1.0.5",
55
+ "@plurnk/plurnk-meta": "1.0.5"
56
56
  }
57
57
  }