@aliou/pi-neuralwatt 0.1.0 → 0.1.2

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ![banner](assets/banner.png)
1
+ ![banner](https://assets.aliou.me/pi-extensions/banners/pi-neuralwatt.png)
2
2
 
3
3
  # Pi Neuralwatt Extension
4
4
 
@@ -60,6 +60,8 @@ The quota command shows three tabs:
60
60
  - **Credits** — credit balance with progress bar, accounting method
61
61
  - **Usage & Key** — monthly usage (cost, requests, tokens, energy), API key info, key allowance, rate limits
62
62
 
63
+ https://github.com/user-attachments/assets/a8994940-c467-4744-a0f2-833cb63923ff
64
+
63
65
  ### Quota Warnings
64
66
 
65
67
  When enabled, the extension notifies you when credits or energy are running low. When you have an active subscription, only energy warnings fire (credits are on-demand top-up only). Warnings use escalation on severity transitions and have a cooldown for `warning` level.
@@ -70,29 +72,14 @@ When a Neuralwatt model is active, the footer status bar shows live quota usage
70
72
 
71
73
  ## Settings
72
74
 
73
- Configure features via `/neuralwatt:settings` or `pi config`:
75
+ Configure features with `/neuralwatt:settings`:
74
76
 
75
- ```
76
- /neuralwatt:settings
77
- ```
78
-
79
- Available settings:
80
- - **Quota command** (`quotaCommand`) — Show/hide `/neuralwatt:quota`
81
- - **Quota warnings** (`quotaWarnings`) — Enable/disable low quota notifications
82
- - **Sub-bar integration** (`subBarIntegration`) — Show/hide usage in status bar
77
+ - **Quota command** — Show/hide `/neuralwatt:quota`
78
+ - **Quota warnings** — Enable/disable low quota notifications
79
+ - **Sub-bar integration** — Show/hide usage in status bar
83
80
 
84
81
  The provider itself cannot be disabled — it is always loaded.
85
82
 
86
- ## Disabling Features
87
-
88
- Each feature is a separate Pi extension. You can disable individual features using `pi config`:
89
-
90
- ```
91
- pi config extensions.disabled add @aliou/pi-neuralwatt/quota-warnings
92
- ```
93
-
94
- This prevents the quota-warnings extension from loading while keeping the rest active. Replace `quota-warnings` with `command-quotas` or `sub-bar-integration` to disable other features.
95
-
96
83
  ## Adding or Updating Models
97
84
 
98
85
  Models are hardcoded in `src/extensions/provider/models.ts` and validated against the live API. To update:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aliou/pi-neuralwatt",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "private": false,
@@ -19,7 +19,8 @@
19
19
  "./src/extensions/command-quotas/index.ts",
20
20
  "./src/extensions/quota-warnings/index.ts",
21
21
  "./src/extensions/sub-bar-integration/index.ts"
22
- ]
22
+ ],
23
+ "video": "https://assets.aliou.me/pi-extensions/demos/pi-neuralwatt.mp4"
23
24
  },
24
25
  "publishConfig": {
25
26
  "access": "public"
@@ -159,6 +159,49 @@ export const NEURALWATT_MODELS: NeuralwattModelConfig[] = [
159
159
  maxTokensField: "max_tokens",
160
160
  },
161
161
  },
162
+ // Kimi K2.6 - MoonshotAI
163
+ {
164
+ id: "moonshotai/Kimi-K2.6",
165
+ name: "Kimi K2.6",
166
+ reasoning: true,
167
+ input: ["text", "image"],
168
+ cost: {
169
+ input: 0.69,
170
+ output: 3.22,
171
+ cacheRead: 0,
172
+ cacheWrite: 0,
173
+ },
174
+ contextWindow: 262144,
175
+ maxTokens: 65536,
176
+ compat: {
177
+ supportsDeveloperRole: false,
178
+ supportsReasoningEffort: true,
179
+ reasoningEffortMap: NEURALWATT_REASONING_EFFORT_MAP,
180
+ maxTokensField: "max_tokens",
181
+ },
182
+ },
183
+ // Kimi K2.6 Fast - MoonshotAI
184
+ {
185
+ id: "kimi-k2.6-fast",
186
+ name: "Kimi K2.6 Fast",
187
+ reasoning: true,
188
+ fast: true,
189
+ input: ["text", "image"],
190
+ cost: {
191
+ input: 0.69,
192
+ output: 3.22,
193
+ cacheRead: 0,
194
+ cacheWrite: 0,
195
+ },
196
+ contextWindow: 262144,
197
+ maxTokens: 65536,
198
+ compat: {
199
+ supportsDeveloperRole: false,
200
+ supportsReasoningEffort: true,
201
+ reasoningEffortMap: NEURALWATT_REASONING_EFFORT_MAP,
202
+ maxTokensField: "max_tokens",
203
+ },
204
+ },
162
205
  // MiniMax M2.5 - MiniMax
163
206
  {
164
207
  id: "MiniMaxAI/MiniMax-M2.5",
@@ -242,30 +285,10 @@ export const NEURALWATT_MODELS: NeuralwattModelConfig[] = [
242
285
  maxTokensField: "max_tokens",
243
286
  },
244
287
  },
245
- // Qwen3.6 35B Fast (qwen3.5-35b-fast) - Qwen
246
- {
247
- id: "qwen3.5-35b-fast",
248
- name: "Qwen3.6 35B Fast",
249
- reasoning: false,
250
- fast: true,
251
- input: ["text"],
252
- cost: {
253
- input: 0.05,
254
- output: 0.1,
255
- cacheRead: 0,
256
- cacheWrite: 0,
257
- },
258
- contextWindow: 131072,
259
- maxTokens: 32768,
260
- compat: {
261
- supportsDeveloperRole: false,
262
- maxTokensField: "max_tokens",
263
- },
264
- },
265
288
  // Qwen3.6 35B Fast (qwen3.6-35b-fast) - Qwen
266
289
  {
267
290
  id: "qwen3.6-35b-fast",
268
- name: "Qwen3.6 35B Fast (alt)",
291
+ name: "Qwen3.6 35B Fast",
269
292
  reasoning: false,
270
293
  fast: true,
271
294
  input: ["text"],