@aliou/pi-neuralwatt 0.1.0 → 0.1.1
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 +7 -20
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-

|
|
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
|
|
75
|
+
Configure features with `/neuralwatt:settings`:
|
|
74
76
|
|
|
75
|
-
|
|
76
|
-
/
|
|
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.
|
|
3
|
+
"version": "0.1.1",
|
|
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"
|