@aliou/pi-neuralwatt 0.18.0 → 0.19.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/CHANGELOG.md +624 -0
- package/README.md +40 -51
- package/dist/provider/index.d.ts +28 -0
- package/dist/provider/index.js +1142 -0
- package/extensions/_shared/config/index.ts +1 -0
- package/{src → extensions/_shared}/config/loader.ts +11 -25
- package/{src → extensions/_shared}/config/migration/02-flat-to-nested-config.ts +1 -1
- package/extensions/command-quotas/command.ts +12 -3
- package/extensions/command-quotas/components/quota-tabs.ts +1 -1
- package/extensions/command-quotas/components/quotas-display.ts +2 -1
- package/extensions/command-quotas/index.ts +15 -5
- package/extensions/provider/commands/settings/api-base-url-editor.ts +2 -6
- package/extensions/provider/commands/settings/index.ts +31 -5
- package/extensions/provider/index.ts +50 -33
- package/extensions/provider/quota-store.ts +2 -1
- package/extensions/quota-warnings/index.ts +4 -1
- package/extensions/shared/truncate.ts +292 -0
- package/package.json +27 -17
- package/schema.json +14 -0
- package/{extensions/provider → src}/api/anthropic-messages.ts +22 -8
- package/{extensions/provider → src}/api/openai-completions.ts +38 -7
- package/{extensions/provider → src}/api/system-one.ts +5 -3
- package/src/config/index.ts +1 -2
- package/src/config/resolve.ts +25 -0
- package/src/config/types.ts +11 -0
- package/{extensions/provider → src}/constants.ts +1 -0
- package/src/lib/neuralwatt-api.ts +15 -7
- package/{extensions/provider → src}/models/build.ts +10 -10
- package/{extensions/provider → src}/models/catalog.ts +1 -1
- package/{extensions/provider → src}/models/public-models.ts +0 -44
- package/{extensions/provider → src}/models/refresh.ts +16 -9
- package/{extensions/provider → src}/provider.ts +81 -46
- package/{extensions/provider → src}/sse-quotas.ts +5 -4
- package/{extensions/provider → src}/stream-simple.ts +3 -3
- /package/{src → extensions/_shared}/config/migration/03-rename-hidden-to-early-access.ts +0 -0
- /package/{src → extensions/_shared}/config/migration/04-remove-sub-bar-integration.ts +0 -0
- /package/{src → extensions/_shared}/config/migration/index.ts +0 -0
- /package/{extensions/provider → src}/api/types.ts +0 -0
- /package/{extensions/provider → src}/models/index.ts +0 -0
- /package/{extensions/provider → src}/rate-limit-error.ts +0 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,624 @@
|
|
|
1
|
+
# @aliou/pi-extension-template
|
|
2
|
+
|
|
3
|
+
## 0.19.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- d5b189c: Add a `hostedTools.enabled` setting that, when explicitly set to `false`, sends the `X-NW-Tools-Opt-Out` header on OpenAI-surface requests to disable Neuralwatt hosted tools. Unset leaves requests untouched.
|
|
8
|
+
- f029a14: Add a standalone `@aliou/pi-neuralwatt/provider` entry point with offline models, models-store-backed refresh, anonymous catalog access, and optional provenance headers. Ship built ESM and types under `dist/provider`, pin the pi-ai peer to 1.5.0, and declare typebox as an optional peer.
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- 2b34448: Ship `CHANGELOG.md` in the npm tarball so pi can show the changelog when the extension updates.
|
|
13
|
+
|
|
14
|
+
## 0.18.1
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- feb140a: Remove DeepSeek V4 Flash family from the offline fallback models. The model and its `-flex` and `-speed` variants are no longer served by the Neuralwatt API; DeepSeek V4.1 Flash remains available.
|
|
19
|
+
- 883818b: Apply project settings only after Pi trusts the project. Keep untrusted project endpoints out of catalog, quota, and prompt requests, and prevent edits to untrusted Local settings. Read quota feature toggles at runtime and apply trusted provider API selection at session startup.
|
|
20
|
+
|
|
21
|
+
## 0.18.0
|
|
22
|
+
|
|
23
|
+
### Minor Changes
|
|
24
|
+
|
|
25
|
+
- f5a2e13: Remove the built-in sub-bar integration. The `subBarIntegration` feature (live quota usage in the status bar) is no longer part of the package; it ships as a standalone one-off pi extension distributed as a GitHub gist (https://gist.github.com/aliou/9939544f3c5a4f917b0a8e5c0497cdb2) instead — installing the gist is now the opt-in. A config migration drops the dead `subBarIntegration` section and points users at the gist. The provider's internal quota events are unchanged, so the standalone bridge keeps working without any provider changes.
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- a2a9d97: Remove Kimi K2.7 Code from the offline fallback model table. The model is no longer served by the Neuralwatt API; the fallback now matches the live catalog.
|
|
30
|
+
|
|
31
|
+
## 0.17.0
|
|
32
|
+
|
|
33
|
+
### Minor Changes
|
|
34
|
+
|
|
35
|
+
- 53c4e26: Add `provider.apiBaseUrl` config. It sets the base URL for the extension's catalog and quota requests and is the fallback for models that carry no `baseUrl` of their own — models.json overrides, custom providers, and proxy routing all take precedence. Defaults to the direct upstream.
|
|
36
|
+
- bbca292: Migrate to pi 1.0.0. The provider extension now injects a per-request `options.fetch` wrapper (pi-ai >= 0.83) instead of swapping `globalThis.fetch`, so 429 rate-limit headers are still captured and successful SSE bodies are still teed for live quota comments without touching the global fetch. Stream signatures use `TranscriptContext`, the model catalog narrows `ProviderModelConfig` to its chat member (`ProviderChatModelConfig`), and the peer floor moves to `@earendil-works/pi-ai` / `@earendil-works/pi-coding-agent` `>=0.86.0`. No user-facing behavior change.
|
|
37
|
+
- 99b9ee8: Support Neuralwatt decision models as Pi classifiers. Key-scoped `/v1/models` catalogs now compile `task: "decision"` entries (e.g. `clef-flash`) into classifier models stamped with the `typesafe-system-one` classifier API, served through a new System One module that posts `{ model, state, questions }` to `/v1/systemone` and returns pi-ai `ClassifierResult` answers with per-choice probabilities. Classifiers appear in `getAllModels()` (and `models.classify()` / `models.getAvailableOfType("classifier")`) but never in the chat-only `getModels()`, so `/model` is unaffected. The offline fallback catalog stays chat-only. Requires pi 1.0.0: the peer floor for `@earendil-works/pi-ai` and `@earendil-works/pi-coding-agent` moves to `>=1.0.0`.
|
|
38
|
+
|
|
39
|
+
### Patch Changes
|
|
40
|
+
|
|
41
|
+
- 3ccee9c: Refetch the model catalog when `provider.apiBaseUrl` changes. The cached catalog was keyed only by auth scope, so after switching to a gateway pi kept the upstream catalog for up to four hours and missed models only the gateway serves, such as the `clef-flash` classifier.
|
|
42
|
+
- a8f8f15: Fix provider loading on pi 1.1.0 by replacing the deep pi-ai import with a minimal Neuralwatt System One client. Restore classifier registration.
|
|
43
|
+
|
|
44
|
+
## 0.16.3
|
|
45
|
+
|
|
46
|
+
### Patch Changes
|
|
47
|
+
|
|
48
|
+
- 03eda9d: Sync the offline fallback model table with the live API: add mimo-v2.6-pro, the nw-large/nw-flash/nw-small tracking aliases (with flex variants), and deepseek-v4.1-flash-speed.
|
|
49
|
+
|
|
50
|
+
## 0.16.2
|
|
51
|
+
|
|
52
|
+
### Patch Changes
|
|
53
|
+
|
|
54
|
+
- 4bcbe4c: Fix reasoning replay on the openai-completions surface: prior-turn chain-of-thought is replayed in the `reasoning` field (the field K3 streams), but the served chat templates only render `reasoning_content`, so the model never saw its earlier thinking on any turn after the first. The surface now renames `reasoning` to `reasoning_content` on replayed assistant messages. This is a move, not a copy — an empty `reasoning_content` next to a populated `reasoning` is preferred by the gateway and would drop the replay again.
|
|
55
|
+
- b94900e: Update the qwen3.6-35b family (standard, fast, flex) context window and max output tokens in the offline fallback table from 131056 to 262128 to match the live Neuralwatt API.
|
|
56
|
+
|
|
57
|
+
## 0.16.1
|
|
58
|
+
|
|
59
|
+
### Patch Changes
|
|
60
|
+
|
|
61
|
+
- 2dcc7ce: Model sync: add DeepSeek V4.1 Flash (+ flex) with its full reasoning ladder, raise DeepSeek V4 Flash's max output tokens to 393216, and snapshot `effort_aliases` for every reasoning family so the anthropic-messages thinking map resolves unsupported levels offline.
|
|
62
|
+
- 4a6d641: Fix reasoning replay across turns: replayed chain-of-thought is sent as `reasoning` only, matching what the gateway streams and documents, so multi-turn conversations keep the model's prior reasoning instead of silently dropping it on every turn after the first. The persisted model store scope is bumped to v2 so previously cached catalogs are invalidated.
|
|
63
|
+
|
|
64
|
+
## 0.16.0
|
|
65
|
+
|
|
66
|
+
### Minor Changes
|
|
67
|
+
|
|
68
|
+
- e7b6b5d: Add a `provider.api` setting (`/neuralwatt:settings` → **API**, default `openai-completions`) that serves the catalog on Neuralwatt's Anthropic-compatible `POST /v1/messages` endpoint (vLLM-backed) — native tool use and thinking streams with the same model ids. Applies on `/reload`.
|
|
69
|
+
|
|
70
|
+
- Thinking levels resolve per model from the catalog's `supported_efforts` + `effort_aliases` (vLLM's `output_config.effort` enum only accepts native values); reasoning off is expressed as `chat_template_kwargs.enable_thinking=false` because the endpoint accepts but ignores `thinking:{type:"disabled"}`.
|
|
71
|
+
- Usage cost on this surface is rate-derived from the model's per-MTok pricing (the adapter discards the server's `cost` field).
|
|
72
|
+
- Quota tracking works on both surfaces: `/v1/messages` streams emit the same `: energy` / `: cost` SSE comments as chat-completions, which the stream tee now feeds into the same quota events; per-response quota headers remain chat-completions-only and `/v1/quota` polling is unchanged. SSE cost comments that carry an absolute `allowance_remaining_usd` now update the credit balance directly on both surfaces.
|
|
73
|
+
|
|
74
|
+
### Patch Changes
|
|
75
|
+
|
|
76
|
+
- 2117f48: fix: remove model-id aliases that should have been dropped with the provider config section
|
|
77
|
+
|
|
78
|
+
The provider no longer appends alias entries (HuggingFace-style ids such as `zai-org/GLM-5.2-FP8`) to the catalog; only canonical ids are registered. Aliases were unconditional leftovers from the config toggles removed earlier. Sessions pinned to an alias id must re-select the canonical model. Stale alias entries persisted in `~/.pi/agent/models-store.json` age out via the existing TTL/refresh path; no store migration is needed.
|
|
79
|
+
|
|
80
|
+
- abdb896: Update the Neuralwatt fallback model catalog with the DeepSeek V4 Flash Speed variant.
|
|
81
|
+
|
|
82
|
+
## 0.15.4
|
|
83
|
+
|
|
84
|
+
### Patch Changes
|
|
85
|
+
|
|
86
|
+
- 45373d6: Take flex model pricing from the API's already-discounted values instead of applying a local 0.65 multiplier at catalog build time.
|
|
87
|
+
- 48b331e: Sync the offline fallback model table with the live Neuralwatt API: remove GLM-5.2 and its variants (gone upstream), add glm-5.3-flash(-flex) and qwen-3.8-27b(-flex), and add flex variants for glm-5.3 and qwen3.6-35b.
|
|
88
|
+
- db99586: Type the new `service_tier`, `flex_discount_multiplier` (models) and `legacy_credits_usd`, `new_credits_usd` (quota balance) API fields.
|
|
89
|
+
- 96b01f4: Resolve the overage billing rate from the subscription plan and billing interval (per-plan $7.00–$8.50/kWh, $10/kWh pay-as-you-go, Standard monthly rate as fallback) instead of a flat $5/kWh.
|
|
90
|
+
|
|
91
|
+
## 0.15.3
|
|
92
|
+
|
|
93
|
+
### Patch Changes
|
|
94
|
+
|
|
95
|
+
- 51f9dbf: fix: exclude embeddings model from catalog and harden resolveMaxTokens
|
|
96
|
+
- d15f9c8: Make the model-store cache scaffold-aware. A fresh entry persisted without a key only carries the public scope, so logged-in users never saw preview, grant-gated, or private models — and a key-scoped entry could be replayed for an anonymous user. Each refresh now stamps the persisted entry with the scope it was fetched under (`public` / `key v1`) and treats a scope mismatch as stale: keyed refreshes bypass anonymous entries, anonymous refreshes and cache-only boots no longer replay key-scoped entries, and fresh same-scope entries still skip the network. Legacy entries without a stamp re-fetch once and are restamped. Supersedes the behavior proposed in #90.
|
|
97
|
+
- 76b4464: Remove the 327,680 context-window override from the Kimi K3 family. The endpoint no longer rejects requests above 327,680 tokens; both `/v1/models` (`max_model_len`, `limits.max_context_length`) and the live endpoints now agree on 1,048,560 for `kimi-k3`, `kimi-k3-fast`, and `kimi-k3-flex`. The fallback table and drift check follow the API again.
|
|
98
|
+
|
|
99
|
+
## 0.15.2
|
|
100
|
+
|
|
101
|
+
### Patch Changes
|
|
102
|
+
|
|
103
|
+
- d11a13b: Add `glm-5.3` to the offline fallback model table to match the live Neuralwatt API: GLM-5.2 pricing parity (1.45/4.5/0.145), 1M context, mandatory reasoning with `max`/`high`/`low` efforts and no `off` level.
|
|
104
|
+
|
|
105
|
+
## 0.15.1
|
|
106
|
+
|
|
107
|
+
### Patch Changes
|
|
108
|
+
|
|
109
|
+
- bb3898c: Stop the "legacy model IDs are disabled" warning from reappearing on every startup.
|
|
110
|
+
|
|
111
|
+
The `disable-legacy-model-ids-by-default` migration gated on the absence of a top-level `includeLegacyModelIds` key instead of the stamped config version. On any already-nested config that key is always absent, so the migration re-ran each load: it re-injected the key, the flat-to-nested migration stripped it back out, the config was rewritten, and the warning fired again. The migration is removed because nothing reads `includeLegacyModelIds` anymore.
|
|
112
|
+
|
|
113
|
+
- 7a017cb: Sync the Kimi K2.7 Code fallback reasoning metadata with the live API.
|
|
114
|
+
|
|
115
|
+
The API now reports mandatory reasoning with no selectable efforts (`supported_efforts: []`) for the Kimi K2.7 Code family, so every thinking level is nulled out instead of falling back to a high-only map.
|
|
116
|
+
|
|
117
|
+
## 0.15.0
|
|
118
|
+
|
|
119
|
+
### Minor Changes
|
|
120
|
+
|
|
121
|
+
- b3caf85: Build the model catalog from the live `/v1/models` response instead of local visibility buckets.
|
|
122
|
+
|
|
123
|
+
Model refresh now fetches anonymously when no API key is configured, builds the catalog with overrides for Flex pricing, Kimi K3 context, Qwen chat-template compatibility, and aliases, persists successful results, and falls back to the bundled public models on failure. The `provider.includeLegacyModelIds`, `provider.includeAliasedModelIds`, and `provider.includeEarlyAccessModels` settings are removed because model visibility now comes from the API.
|
|
124
|
+
|
|
125
|
+
## 0.14.2
|
|
126
|
+
|
|
127
|
+
### Patch Changes
|
|
128
|
+
|
|
129
|
+
- bb8ac4f: Keep Neuralwatt listed in `/model` without an API key. `check` returned `undefined` when no key existed, so pi's availability gate filtered the provider out even though `resolve` already falls back to an anonymous credential (anonymous playground traffic authenticates at stream time, and aperture proxy mode authenticates gateway-side). `check` now returns that same anonymous credential.
|
|
130
|
+
- c02410e: Add Qwen3.8 27B FP8 as an early-access model
|
|
131
|
+
|
|
132
|
+
Qwen/Qwen3.8-27B-FP8 is a pre-release dense 27B vision-language model with
|
|
133
|
+
MTP speculative decoding and native 262K context, served on 2x H200. It is
|
|
134
|
+
returned by the authenticated /v1/models catalog but absent from the public
|
|
135
|
+
endpoint, so it is gated by `provider.includeEarlyAccessModels`. Binary
|
|
136
|
+
thinking is toggled through `chat_template_kwargs.enable_thinking`
|
|
137
|
+
(`thinkingFormat: "chat-template"`); the API exposes no `reasoning` block, so
|
|
138
|
+
the thinking level map is the high-only fallback with `off: null`.
|
|
139
|
+
|
|
140
|
+
https://huggingface.co/Qwen/Qwen3.8-27B-FP8
|
|
141
|
+
|
|
142
|
+
## 0.14.1
|
|
143
|
+
|
|
144
|
+
### Patch Changes
|
|
145
|
+
|
|
146
|
+
- 266caa8: Cap all Kimi K3 variants (`kimi-k3`, `kimi-k3-fast`, `kimi-k3-flex`) at the 327,680-token serving limit. The API advertises a 1,048,560-token context with no output cap, but the endpoint rejects requests above 327,680 total tokens with a 400, and Pi's derived `max_completion_tokens` (context window minus prompt tokens) overshot the cap. The drift check now whitelists this intentional divergence via `CONTEXT_WINDOW_OVERRIDES` and flags it as stale once the API metadata matches the serving limit again.
|
|
147
|
+
|
|
148
|
+
## 0.14.0
|
|
149
|
+
|
|
150
|
+
### Minor Changes
|
|
151
|
+
|
|
152
|
+
- 36ece2d: Register the Neuralwatt provider as a complete pi-ai `Provider` via `pi.registerProvider(provider)` instead of the name-plus-config form, with auth resolution that falls back to an anonymous credential so the model catalog refreshes without an API key.
|
|
153
|
+
|
|
154
|
+
## 0.13.0
|
|
155
|
+
|
|
156
|
+
### Minor Changes
|
|
157
|
+
|
|
158
|
+
- d58a55f: Derive reasoning levels from the endpoint's `supported_efforts`.
|
|
159
|
+
|
|
160
|
+
`thinkingLevelMap` is now built by identity from each model's
|
|
161
|
+
`metadata.reasoning.supported_efforts` (plus `mandatory`) via a single
|
|
162
|
+
`buildThinkingLevelMap` helper, instead of hand-tuned per-family constants.
|
|
163
|
+
Early-access models read the live `metadata.reasoning` block through the same
|
|
164
|
+
helper. `default_effort` and `effort_aliases` are no longer consumed.
|
|
165
|
+
|
|
166
|
+
Behavior changes for the public catalog:
|
|
167
|
+
|
|
168
|
+
- DeepSeek V4 Flash: `low` is no longer exposed (the API aliases it to `high`;
|
|
169
|
+
identity mapping drops it).
|
|
170
|
+
- Kimi K3: `off` is now exposed (`mandatory: false` upstream).
|
|
171
|
+
- Kimi K2.7 Code: high-only fallback map, unchanged in effect.
|
|
172
|
+
|
|
173
|
+
## 0.12.1
|
|
174
|
+
|
|
175
|
+
### Patch Changes
|
|
176
|
+
|
|
177
|
+
- b1547c9: Sync hardcoded model metadata with the live Neuralwatt catalog:
|
|
178
|
+
|
|
179
|
+
- `gemma-4-31b` is now a reasoning model. Its chat template takes a boolean
|
|
180
|
+
rather than a graded effort, so it exposes a single Pi thinking level at
|
|
181
|
+
`max` (the model's only depth, since every non-`none` value resolves to
|
|
182
|
+
`max`). It does not reason by default but produces reasoning traces when
|
|
183
|
+
asked.
|
|
184
|
+
- `glm-5.2-fast`, `glm-5.2-short-fast`, and `glm-5.2-short-fast-flex` are now
|
|
185
|
+
reasoning models. The `-fast` pin disables thinking by default but keeps the
|
|
186
|
+
parent's full `high`/`max`/`none` contract, so sending `reasoning_effort`
|
|
187
|
+
re-enables thinking for that request. They now inherit the family's
|
|
188
|
+
`thinkingLevelMap`; `kimi-k3-fast` stays non-reasoning because its pin
|
|
189
|
+
survives the effort parameter.
|
|
190
|
+
- Add the `kimi-k3-flex` Flex variant, billed at the 65% Flex multiplier.
|
|
191
|
+
|
|
192
|
+
## 0.12.0
|
|
193
|
+
|
|
194
|
+
### Minor Changes
|
|
195
|
+
|
|
196
|
+
- fbd1b1c: Adopt `@aliou/pi-utils-settings` 0.19.1 versioned migrations.
|
|
197
|
+
|
|
198
|
+
Bumps the dependency and adds semver `version` strings to all config migrations, leaving their content-based `shouldRun` gates intact. Switches schema generation to `pi-settings-schema`.
|
|
199
|
+
|
|
200
|
+
- 32ba87a: Add an `X-NW-Conversation-ID` header (set to the active Pi session id) to every Neuralwatt request so the gateway can correlate requests within a session.
|
|
201
|
+
|
|
202
|
+
## 0.11.4
|
|
203
|
+
|
|
204
|
+
### Patch Changes
|
|
205
|
+
|
|
206
|
+
- fcec3d3: Correct two model-catalog drifts found by the live API diff test.
|
|
207
|
+
|
|
208
|
+
- `kimi-k2.7-code-fast` now declares `reasoning: true`. K2.7 Code cannot disable thinking; the `-fast` variant caps the reasoning budget (~64 tokens) rather than turning it off. Confirmed at runtime: the response includes populated `reasoning_content`. The variant inherits the family's binary thinking map (`high: "high"`, `off: null`).
|
|
209
|
+
- Add `deepseek-v4-flash-flex`, the Flex-tier variant of DeepSeek V4 Flash. Same model, context window (1,048,560), output cap (65,536), and pricing as standard, declared with `costMultiplier: FLEX_COST_MULTIPLIER` for the 35% streaming discount. Runtime request confirmed.
|
|
210
|
+
|
|
211
|
+
No cost changes: authenticated catalog prices match the hardcoded definitions for all models.
|
|
212
|
+
|
|
213
|
+
## 0.11.3
|
|
214
|
+
|
|
215
|
+
### Patch Changes
|
|
216
|
+
|
|
217
|
+
- 07eba55: Add Pi coding-agent 0.84 compatibility for the Neuralwatt model refresh: catalog reads and persistence now go through a runtime shape-detection shim (`src/refresh-store-compat.ts`) that uses the 0.84 `context.stored` snapshot and `context.publish({ persist })` transaction when available, and falls back to the legacy `context.store` read/write on older hosts. Early-access behavior is unchanged: the baseline catalog is persisted and returned when early access is off, cached early-access models merge with the static config when offline, and the full effective catalog persists after a successful network refresh. Abort handling is preserved. The `@earendil-works/pi-coding-agent`, `@earendil-works/pi-ai`, and `@earendil-works/pi-tui` peer ranges keep their existing floors and now also support 0.84.
|
|
218
|
+
|
|
219
|
+
## 0.11.2
|
|
220
|
+
|
|
221
|
+
### Patch Changes
|
|
222
|
+
|
|
223
|
+
- b6aabd5: Sync the model lineup with the latest Neuralwatt changes.
|
|
224
|
+
|
|
225
|
+
- **Kimi K3 is now public**: graduated from early-access to the public catalog
|
|
226
|
+
(still in preview with limited concurrency). Moved from `early-access.ts`
|
|
227
|
+
to `public-models.ts` with its `-fast` variant (thinking disabled shorthand).
|
|
228
|
+
- **Kimi K2.6 retired** (8/3): removed from public models, added to legacy
|
|
229
|
+
aliases redirecting to Kimi K2.7 Code.
|
|
230
|
+
- **Qwen 3.5 retired** (8/3): removed from public models, added to legacy
|
|
231
|
+
aliases redirecting to Qwen 3.6.
|
|
232
|
+
- **DeepSeek V4 Flash 0731 weights**: updated comment to note the new
|
|
233
|
+
checkpoint; no routing change needed (automatic).
|
|
234
|
+
- **Cache pricing at 10%**: already applied in the prior sync; DeepSeek V4
|
|
235
|
+
Flash remains the exception at 20% of input rate.
|
|
236
|
+
- **Flex drift test fix**: the API now advertises flex variants at standard
|
|
237
|
+
pricing (the 35% discount is billing-time only), so the drift test skips
|
|
238
|
+
price comparisons for flex models while still checking limits and
|
|
239
|
+
capabilities.
|
|
240
|
+
|
|
241
|
+
- 117d234: Fix stale `ExtensionContext` crash in `quota-warnings` after session replacement. Both `quota-warnings` and `sub-bar-integration` captured the session ctx in a module-level variable and dereferenced it inside the shared-bus `neuralwatt:quotas:updated` handler; after `newSession`/`fork`/`switchSession`/`reload`, pi invalidates captured session-bound ctx and the deref threw. The quota subscription is now session-scoped: it subscribes in `session_start` (capturing the fresh ctx in the closure) and unsubscribes in `session_shutdown`, so the handler never runs with a stale ctx.
|
|
242
|
+
|
|
243
|
+
## 0.11.1
|
|
244
|
+
|
|
245
|
+
### Patch Changes
|
|
246
|
+
|
|
247
|
+
- 96a75e8: Move the binary-thinking families (Kimi K2.6, Kimi K2.7 Code, Qwen3.5 397B,
|
|
248
|
+
Qwen3.6 35B) off the placeholder `medium` level. Moonshot documents no
|
|
249
|
+
`reasoning_effort` support for Kimi K2.x (thinking is a binary on/off
|
|
250
|
+
toggle, always-on for K2.7 Code), and Alibaba documents no
|
|
251
|
+
`reasoning_effort` field for Qwen3.5/3.6 (hybrid `enable_thinking` only).
|
|
252
|
+
The shared binary-thinking map now exposes a single `high` level, which
|
|
253
|
+
stands in for standard full thinking, instead of an arbitrary `medium`.
|
|
254
|
+
Not yet verified against the Neuralwatt gateway (no API key available).
|
|
255
|
+
- 62d611e: Fix the DeepSeek V4 Flash thinking level map. The entry exposed Pi's
|
|
256
|
+
`minimal` and `medium` levels mapped to `low`/`medium`, but DeepSeek
|
|
257
|
+
documents V4 Flash as accepting only `low`, `high`, and `max`
|
|
258
|
+
`reasoning_effort` values (default `high`) — there is no `medium` tier.
|
|
259
|
+
Pi's `low`/`high`/`max` now map directly, `off` still disables thinking,
|
|
260
|
+
and `minimal`/`medium`/`xhigh` are unsupported holes. Not yet verified
|
|
261
|
+
against the Neuralwatt gateway (no API key available); the map follows the
|
|
262
|
+
official DeepSeek V4 thinking-mode docs.
|
|
263
|
+
- 45e5d01: Sync model pricing with the live Neuralwatt catalog.
|
|
264
|
+
|
|
265
|
+
Cache-read prices dropped across families (glm-5.2 0.3625 -> 0.145,
|
|
266
|
+
kimi-k2.6 0.1725 -> 0.069, kimi-k2.7-code 0.2375 -> 0.095,
|
|
267
|
+
qwen3.5-397b 0.1725 -> 0.069, qwen3.6-35b 0.0725 -> 0.029, gemma-4-31b
|
|
268
|
+
0.036 -> 0.0144), and DeepSeek V4 Flash moved to public pricing
|
|
269
|
+
(input 0.104 -> 0.14, output 0.207 -> 0.28, cacheRead 0.026 -> 0.028).
|
|
270
|
+
|
|
271
|
+
The drift test now also recognizes creator-scoped alias IDs from
|
|
272
|
+
`aliases.ts`, so the live `deepseek-ai/DeepSeek-V4-Flash` entry no longer
|
|
273
|
+
fails the catalog check.
|
|
274
|
+
|
|
275
|
+
- 45791ae: Fix the `kimi-k3` thinking level map. The early-access entry inherited the
|
|
276
|
+
generic "binary thinking" fallback (`medium` only), but Moonshot documents
|
|
277
|
+
K3 as always-reasoning with `reasoning_effort` values `low`, `high`, and
|
|
278
|
+
`max` (default `max`). Pi's `low`/`high`/`max` now map to the provider
|
|
279
|
+
values, and `off`, `minimal`, `medium`, and `xhigh` are unsupported holes.
|
|
280
|
+
Verified against the Neuralwatt gateway: the authenticated catalog reports
|
|
281
|
+
`capabilities.reasoning_effort: true` for `kimi-k3`, and requests with
|
|
282
|
+
`reasoning_effort` `low`/`high`/`max` succeed with reasoning traces.
|
|
283
|
+
|
|
284
|
+
## 0.11.0
|
|
285
|
+
|
|
286
|
+
### Minor Changes
|
|
287
|
+
|
|
288
|
+
- 4d10d48: Add a separate alias model ID setting for active creator-scoped Neuralwatt model IDs.
|
|
289
|
+
|
|
290
|
+
## 0.10.6
|
|
291
|
+
|
|
292
|
+
### Patch Changes
|
|
293
|
+
|
|
294
|
+
- c553f63: Price `-flex` models at the Flex tier discount.
|
|
295
|
+
|
|
296
|
+
Flex variants were priced like their standard counterparts. They are billed at
|
|
297
|
+
65% of standard (35% off), so cost estimates were overstated by more than a
|
|
298
|
+
third. Note that the discount only applies to streaming requests: a
|
|
299
|
+
non-streaming request to a `-flex` model falls back to the standard tier and the
|
|
300
|
+
standard price.
|
|
301
|
+
|
|
302
|
+
- ba8d520: Correct model output limits and restructure the model catalog.
|
|
303
|
+
|
|
304
|
+
`maxTokens` now mirrors the API rule `metadata.limits.max_output_tokens ?? max_model_len`
|
|
305
|
+
instead of defaulting to 65536. This raises the output cap on `glm-5.2`,
|
|
306
|
+
`glm-5.2-fast`, `glm-5.2-flex`, `kimi-k2.6{,-fast,-flex}`, `kimi-k2.7-code{,-flex}`,
|
|
307
|
+
`qwen3.5-397b{,-fast}`, `qwen3.6-35b{,-fast}`, and early-access `kimi-k3`; it lowers
|
|
308
|
+
`glm-5.2-short-flex` and `glm-5.2-short-fast-flex` to their real 32000 cap.
|
|
309
|
+
|
|
310
|
+
Flex variants now cost 65% of their standard counterpart, matching the documented
|
|
311
|
+
35% Flex tier discount.
|
|
312
|
+
|
|
313
|
+
Adds `kimi-k2.7-code-fast`. Public models are now declared as a family/variant
|
|
314
|
+
table built by a shared builder that early-access model discovery reuses, and the drift
|
|
315
|
+
test enforces the `maxTokens` rule and skips when the API is unreachable.
|
|
316
|
+
|
|
317
|
+
- 620ce1c: Rename "hidden models" to "early access models".
|
|
318
|
+
|
|
319
|
+
These models are not hidden, they are pre-release: Neuralwatt ships them to
|
|
320
|
+
authorized accounts first and most go public later.
|
|
321
|
+
|
|
322
|
+
`provider.includeHiddenModels` is now `provider.includeEarlyAccessModels`.
|
|
323
|
+
Existing configs are rewritten on load.
|
|
324
|
+
|
|
325
|
+
## 0.10.5
|
|
326
|
+
|
|
327
|
+
### Patch Changes
|
|
328
|
+
|
|
329
|
+
- f167e39: Add Kimi K3 to the hidden catalog, move DeepSeek V4 Flash to the public catalog
|
|
330
|
+
with Neuralwatt's published metadata, and retain Gemma 4 31B's former model ID
|
|
331
|
+
as a legacy alias.
|
|
332
|
+
|
|
333
|
+
## 0.10.4
|
|
334
|
+
|
|
335
|
+
### Patch Changes
|
|
336
|
+
|
|
337
|
+
- 576fdde: Add the early-access DeepSeek V4 Flash model to the hidden catalog and refresh
|
|
338
|
+
the public Neuralwatt model metadata.
|
|
339
|
+
|
|
340
|
+
## 0.10.3
|
|
341
|
+
|
|
342
|
+
### Patch Changes
|
|
343
|
+
|
|
344
|
+
- eb21c5c: Quota warnings now progress through the billing stages and compute overage cap progress instead of emitting a binary "in overage" alert.
|
|
345
|
+
|
|
346
|
+
- Subscribed in overage with a cap: warn about overage cap progress, derived from (kwh_used - kwh_included) at $5/kWh. Credits are skipped because a cap means they're never reached.
|
|
347
|
+
- Subscribed in overage with no cap, or cap exhausted: fall through to balance credits.
|
|
348
|
+
- Unsubscribed with a cap: warn about overage cap progress, billed at $10/kWh.
|
|
349
|
+
- Each stage uses its own alert key so a later stage suppresses the earlier one instead of re-reporting a depleted pool.
|
|
350
|
+
- Usage totals (monthly/lifetime USD) are no longer used as a threshold basis; they're not directly tied to the subscription kWh quota.
|
|
351
|
+
|
|
352
|
+
## 0.10.2
|
|
353
|
+
|
|
354
|
+
### Patch Changes
|
|
355
|
+
|
|
356
|
+
- ad8c81b: Expose Gemma 4 31B in the public Neuralwatt model catalog.
|
|
357
|
+
|
|
358
|
+
## 0.10.1
|
|
359
|
+
|
|
360
|
+
### Patch Changes
|
|
361
|
+
|
|
362
|
+
- 935def8: Add the API-omitted Gemma 4 31B model to hidden-model discovery.
|
|
363
|
+
|
|
364
|
+
## 0.10.0
|
|
365
|
+
|
|
366
|
+
### Minor Changes
|
|
367
|
+
|
|
368
|
+
- 970c4de: Expose Pi's `max` thinking level (introduced in Pi 0.80.6) on GLM-5.2 reasoning models. GLM-5.2 natively supports `high` and `max` reasoning efforts, so Pi's `max` level now maps directly to the provider's `max` value; `xhigh` is marked as an unsupported hole between `high` and `max`. Verified `reasoning_effort: "max"` against the Neuralwatt API (glm-5.2 produces extended thinking). Peer dependency range tightened to `>=0.80.6` for the Pi core packages since the source now references the `max` thinking level.
|
|
369
|
+
|
|
370
|
+
## 0.9.0
|
|
371
|
+
|
|
372
|
+
### Minor Changes
|
|
373
|
+
|
|
374
|
+
- ad515e8: Update to Pi 0.80.8 provider authentication and refreshable model catalogs. Cache the complete Neuralwatt catalog through Pi's model store and preserve stale hidden models when refresh fails.
|
|
375
|
+
|
|
376
|
+
## 0.8.1
|
|
377
|
+
|
|
378
|
+
### Patch Changes
|
|
379
|
+
|
|
380
|
+
- a3d331b: Suppress repeated Neuralwatt quota warnings by applying the 60-minute cooldown to repeated critical warnings and throttling SSE quota emissions.
|
|
381
|
+
|
|
382
|
+
## 0.8.0
|
|
383
|
+
|
|
384
|
+
### Minor Changes
|
|
385
|
+
|
|
386
|
+
- e5e562a: Migrate Neuralwatt settings to nested per-feature configuration.
|
|
387
|
+
|
|
388
|
+
Old flat config is migrated automatically, and a backup file is written next to the migrated config. Feature behavior is unchanged.
|
|
389
|
+
|
|
390
|
+
## 0.7.6
|
|
391
|
+
|
|
392
|
+
### Patch Changes
|
|
393
|
+
|
|
394
|
+
- d707a7e: Add public Neuralwatt flex model variants.
|
|
395
|
+
- ed64814: Remove deprecated Kimi K2.5 and Kimi K2.5 Fast from public model list, add as legacy aliases to Kimi K2.6
|
|
396
|
+
|
|
397
|
+
## 0.7.5
|
|
398
|
+
|
|
399
|
+
### Patch Changes
|
|
400
|
+
|
|
401
|
+
- 0d33249: Fix reasoning disable for glm-5.2 and glm-5.2-short. The `thinkingLevelMap` had no `off` entry, so turning thinking off sent no `reasoning_effort` and the model fell back to its default (reasoning on). Verified against the API that `reasoning_effort: "none"` produces zero reasoning content for both models; mapped `off: "none"` accordingly.
|
|
402
|
+
|
|
403
|
+
## 0.7.4
|
|
404
|
+
|
|
405
|
+
### Patch Changes
|
|
406
|
+
|
|
407
|
+
- cf60c30: Fix "No models match pattern" warning for models that graduated from hidden to public.
|
|
408
|
+
A stale hidden-models cache could register newly public models twice, making Pi treat the scoped model as ambiguous. Now hidden models are deduped against the public list at registration, and `session_start` always rewrites the cache (even when empty) and re-registers the provider so graduated entries are purged.
|
|
409
|
+
|
|
410
|
+
## 0.7.3
|
|
411
|
+
|
|
412
|
+
### Patch Changes
|
|
413
|
+
|
|
414
|
+
- 42012c9: Add glm-5.2-short and glm-5.2-short-fast as public models (they graduated from private/hidden to the public /v1/models list).
|
|
415
|
+
- dc41261: Fix rate-limit errors always showing the generic fallback message.
|
|
416
|
+
|
|
417
|
+
`wrapNeuralwattStreamSimple` captures 429 headers and formats a detailed,
|
|
418
|
+
layer-specific message (e.g. "Concurrent request limit reached (6/5 active,
|
|
419
|
+
user-scoped)"). But the `message_end` handler then overwrote any error
|
|
420
|
+
containing "429" with "Neuralwatt rate limit reached, but Pi did not receive
|
|
421
|
+
layer-specific rate-limit headers" — clobbering the wrap's output.
|
|
422
|
+
|
|
423
|
+
The fallback only fired because `after_provider_response` never observes 429s:
|
|
424
|
+
the OpenAI SDK throws before Pi's `onResponse` hook runs, so
|
|
425
|
+
`pendingRateLimitInfo` is always undefined for 429s.
|
|
426
|
+
|
|
427
|
+
Now skip the fallback when the wrap has already formatted a message (detected
|
|
428
|
+
via the `429 rate limit:` prefix). The fallback is retained only for genuinely
|
|
429
|
+
headerless 429s (e.g. anonymous playground limits, or infra in front of
|
|
430
|
+
Neuralwatt).
|
|
431
|
+
|
|
432
|
+
## 0.7.2
|
|
433
|
+
|
|
434
|
+
### Patch Changes
|
|
435
|
+
|
|
436
|
+
- 6338c0a: Fix "No models match pattern" warnings for scoped hidden models.
|
|
437
|
+
|
|
438
|
+
Hidden models were fetched inside `session_start`, but Pi validates scoped
|
|
439
|
+
models during startup before `session_start` fires, so saved scoped entries
|
|
440
|
+
like `neuralwatt/glm-5.2-short` warned every launch.
|
|
441
|
+
|
|
442
|
+
Switch to stale-while-revalidate: the provider extension factory synchronously
|
|
443
|
+
restores the previous session's fetch from
|
|
444
|
+
`~/.pi/agent/cache/neuralwatt-hidden-models.json` so the provider is registered
|
|
445
|
+
with hidden models at load time. `session_start` revalidates from the live API,
|
|
446
|
+
writes the cache back, and re-registers the provider. First run with no cache
|
|
447
|
+
still warns once.
|
|
448
|
+
|
|
449
|
+
## 0.7.1
|
|
450
|
+
|
|
451
|
+
### Patch Changes
|
|
452
|
+
|
|
453
|
+
- 83ad6f8: Convert `glm-5.1` into a legacy alias of `glm-5.2`. GLM-5.1 is fully deprecated on Neuralwatt and now serves the GLM-5.2 deployment via server redirect. Aliasing inherits GLM-5.2's reasoning depths (high, max) and pricing; the latter is expected to converge as the redirect rolls out. The standalone `glm-5.1` canonical entry is removed. `glm-5.1-fast` is unchanged.
|
|
454
|
+
- 5f62126: Reorganize Neuralwatt models into public, legacy, and hidden sections.
|
|
455
|
+
|
|
456
|
+
- Move model definitions into `src/extensions/provider/models/` with separate files for public models, legacy aliases, and hidden-model discovery.
|
|
457
|
+
- Add an `includeHiddenModels` setting (default `false`) that fetches accessible-but-unadvertised models from the authenticated `/v1/models` endpoint once per session start.
|
|
458
|
+
- Move Neuralwatt API client calls into `src/lib/neuralwatt-api.ts`.
|
|
459
|
+
- Update public model `cacheRead` pricing and move phased-out GLM-5.1 IDs to legacy aliases.
|
|
460
|
+
|
|
461
|
+
## 0.7.0
|
|
462
|
+
|
|
463
|
+
### Minor Changes
|
|
464
|
+
|
|
465
|
+
- 9384557: Handle Neuralwatt stream rate limits before the OpenAI SDK drops response headers. Show layer-specific 429 messages, keep Pi auto-retry detection working, and parse SSE quota comments for live quota updates.
|
|
466
|
+
|
|
467
|
+
### Patch Changes
|
|
468
|
+
|
|
469
|
+
- 57e5ac2: Sync model list with live Neuralwatt API. Remove deprecated glm-5-fast (no longer served). Fix zai-org/GLM-5.1-FP8 context window from 202736 to 1048560 (matches the GLM-5.2-backed 1048K deployment).
|
|
470
|
+
- 7ba08db: Sync model list with live Neuralwatt API. Add glm-5.2-fast and promote zai-org/GLM-5.1-FP8 from legacy alias to a standalone canonical entry (now serving a GLM-5.2 test build). Update glm-5.1 and glm-5.1-fast context windows to 1048560 (GLM-5.2-backed, 1048K).
|
|
471
|
+
|
|
472
|
+
## 0.6.3
|
|
473
|
+
|
|
474
|
+
### Patch Changes
|
|
475
|
+
|
|
476
|
+
- 53884f1: Fix GLM-5.2 thinkingLevelMap to match Neuralwatt's reasoning_effort normalization.
|
|
477
|
+
|
|
478
|
+
GLM-5.2 has two native reasoning depths (high, max) plus thinking-off. Only expose
|
|
479
|
+
the levels the model actually distinguishes: high -> high, xhigh -> max, and disable
|
|
480
|
+
thinking (null) for minimal/low/medium so users get the behavior the level name implies
|
|
481
|
+
instead of Neuralwatt silently normalizing low/medium to high.
|
|
482
|
+
|
|
483
|
+
- 56b63c1: Fix Kimi K2.7 Code model ID to match the Neuralwatt /v1/models listing.
|
|
484
|
+
|
|
485
|
+
The live API exposes this model as `kimi-k2.7-code` (lowercase, no namespace),
|
|
486
|
+
not `moonshotai/Kimi-K2.7-Code`. The previous ID caused the models validation
|
|
487
|
+
test to report it as missing and prevented requests from routing correctly.
|
|
488
|
+
|
|
489
|
+
## 0.6.2
|
|
490
|
+
|
|
491
|
+
### Patch Changes
|
|
492
|
+
|
|
493
|
+
- 1b208ed: Add GLM-5.2 model (ZhipuAI, 1M context, reasoning with reasoning_effort)
|
|
494
|
+
|
|
495
|
+
## 0.6.1
|
|
496
|
+
|
|
497
|
+
### Patch Changes
|
|
498
|
+
|
|
499
|
+
- 1dece73: Mark Kimi K2.7 Code as thinking-only by setting `off` to `null` in its `thinkingLevelMap`.
|
|
500
|
+
|
|
501
|
+
## 0.6.0
|
|
502
|
+
|
|
503
|
+
### Minor Changes
|
|
504
|
+
|
|
505
|
+
- 64a0791: Add a setting for showing legacy Neuralwatt model IDs. Legacy IDs now default to disabled, and existing config files are migrated with a notice pointing users to `/neuralwatt:settings`.
|
|
506
|
+
|
|
507
|
+
### Patch Changes
|
|
508
|
+
|
|
509
|
+
- 2d60a83: Add Kimi K2.7 Code model
|
|
510
|
+
|
|
511
|
+
## 0.5.3
|
|
512
|
+
|
|
513
|
+
### Patch Changes
|
|
514
|
+
|
|
515
|
+
- c68086f: Update Neuralwatt model metadata and keep legacy quantized model IDs as temporary aliases.
|
|
516
|
+
|
|
517
|
+
## 0.5.2
|
|
518
|
+
|
|
519
|
+
### Patch Changes
|
|
520
|
+
|
|
521
|
+
- 30805b8: Add Devstral tool-result role ordering compatibility.
|
|
522
|
+
|
|
523
|
+
## 0.5.1
|
|
524
|
+
|
|
525
|
+
### Patch Changes
|
|
526
|
+
|
|
527
|
+
- 41f28c5: Update the Neuralwatt provider API key configuration for Pi 0.77.0 env interpolation rules.
|
|
528
|
+
- 575a9e3: Update Pi package metadata and local type-checking dependencies for Pi 0.77.0.
|
|
529
|
+
|
|
530
|
+
## 0.5.0
|
|
531
|
+
|
|
532
|
+
### Minor Changes
|
|
533
|
+
|
|
534
|
+
- 3c467b3: Remove live model sync from provider endpoint. Models are now purely hardcoded in `src/extensions/provider/models.ts` and validated against the Neuralwatt `/v1/models` API at test time.
|
|
535
|
+
|
|
536
|
+
Removed:
|
|
537
|
+
|
|
538
|
+
- `src/lib/fetch-models.ts` (live model fetch + `mapApiModel`)
|
|
539
|
+
- `src/utils/is-offline.ts` and its test (only used by fetch flow)
|
|
540
|
+
- `src/extensions/provider/provider-payload.ts` (`buildModelsPayload` wrapper)
|
|
541
|
+
- `NeuralwattModelConfig` type extension (uses `ProviderModelConfig` directly)
|
|
542
|
+
- `fast` field on model entries
|
|
543
|
+
- Live re-registration on `session_start`
|
|
544
|
+
|
|
545
|
+
Simplified:
|
|
546
|
+
|
|
547
|
+
- `NEURALWATT_MODELS_CACHE` → `NEURALWATT_MODELS`
|
|
548
|
+
- Provider registers once on startup with hardcoded list
|
|
549
|
+
- Tests now fetch live API and compare prices, context windows, reasoning, vision, and model existence
|
|
550
|
+
|
|
551
|
+
### Patch Changes
|
|
552
|
+
|
|
553
|
+
- c10a189: Add `requiresReasoningContentOnAssistantMessages` compat flag for reasoning models. Neuralwatt docs confirm these models need `reasoning_content` on replayed assistant turns to preserve chain-of-thought across turns in agentic conversations.
|
|
554
|
+
|
|
555
|
+
## 0.4.2
|
|
556
|
+
|
|
557
|
+
### Patch Changes
|
|
558
|
+
|
|
559
|
+
- 391bac0: Update Qwen3.6 model pricing from live Neuralwatt metadata.
|
|
560
|
+
|
|
561
|
+
## 0.4.1
|
|
562
|
+
|
|
563
|
+
### Patch Changes
|
|
564
|
+
|
|
565
|
+
- 023320c: Update contextWindow values to match live API max_model_len for all 14 models
|
|
566
|
+
|
|
567
|
+
## 0.4.0
|
|
568
|
+
|
|
569
|
+
### Minor Changes
|
|
570
|
+
|
|
571
|
+
- 2b6e1ec: Migrate Pi core package dependencies from `@mariozechner/*` to `@earendil-works/*` namespace.
|
|
572
|
+
|
|
573
|
+
- `@mariozechner/pi-coding-agent` → `@earendil-works/pi-coding-agent` 0.74.0
|
|
574
|
+
- `@mariozechner/pi-tui` → `@earendil-works/pi-tui` 0.74.0
|
|
575
|
+
- `@aliou/pi-utils-settings` bumped to `^0.15.0`
|
|
576
|
+
- `@aliou/pi-utils-ui` bumped to `^0.4.0`
|
|
577
|
+
|
|
578
|
+
### Patch Changes
|
|
579
|
+
|
|
580
|
+
- 85389e7: Normalize Neuralwatt context overflow errors so Pi can trigger native auto-compaction and retry.
|
|
581
|
+
|
|
582
|
+
## 0.3.0
|
|
583
|
+
|
|
584
|
+
### Minor Changes
|
|
585
|
+
|
|
586
|
+
- 5e722f6: Update Pi dependencies to 0.72.0 and migrate reasoning model controls to `thinkingLevelMap`.
|
|
587
|
+
|
|
588
|
+
### Patch Changes
|
|
589
|
+
|
|
590
|
+
- 9034be4: Respect `PI_OFFLINE` environment variable. Live model fetching on session start is now skipped when `PI_OFFLINE` is set to `1`, `true`, or `yes`, keeping the hardcoded cache active.
|
|
591
|
+
|
|
592
|
+
## 0.2.0
|
|
593
|
+
|
|
594
|
+
### Minor Changes
|
|
595
|
+
|
|
596
|
+
- 6f4672e: Fetch live models from Neuralwatt API on session start. The extension registers with a hardcoded model cache immediately on startup, then fetches `/v1/models` on session start and re-registers the provider with live data (including pricing, capabilities, and limits from the new API metadata). A notification is shown when live models differ from the cache. Falls back to the hardcoded cache if the fetch fails.
|
|
597
|
+
|
|
598
|
+
### Patch Changes
|
|
599
|
+
|
|
600
|
+
- 0669972: Align model definitions with Neuralwatt API metadata: set reasoning true for GPT-OSS 20B, set reasoning false for Kimi K2.6 Fast, and remove unsupported supportsReasoningEffort from GLM-5.1, Kimi K2.5, Kimi K2.6, MiniMax M2.5, Qwen3.5 397B, and Qwen3.6 35B. Add supportsReasoningEffort to GPT-OSS 20B.
|
|
601
|
+
|
|
602
|
+
## 0.1.2
|
|
603
|
+
|
|
604
|
+
### Patch Changes
|
|
605
|
+
|
|
606
|
+
- 579e814: Add Kimi K2.6 and Kimi K2.6 Fast models, remove stale qwen3.5-35b-fast
|
|
607
|
+
|
|
608
|
+
## 0.1.1
|
|
609
|
+
|
|
610
|
+
### Patch Changes
|
|
611
|
+
|
|
612
|
+
- 236264a: Fix settings documentation in README.
|
|
613
|
+
|
|
614
|
+
## 0.1.0
|
|
615
|
+
|
|
616
|
+
### Minor Changes
|
|
617
|
+
|
|
618
|
+
- 6b95048: Initial release of pi-neuralwatt — Neuralwatt inference API provider with energy transparency.
|
|
619
|
+
|
|
620
|
+
## 0.0.1
|
|
621
|
+
|
|
622
|
+
### Patch Changes
|
|
623
|
+
|
|
624
|
+
- Initial release
|