@hk_net/pi-usage-bars 0.5.0 → 0.6.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 +10 -0
- package/LICENSE +21 -21
- package/README.md +145 -139
- package/docs/provider-research.md +4 -4
- package/docs/releasing.md +104 -104
- package/extensions/usage-bars/core.ts +1341 -1274
- package/extensions/usage-bars/index.ts +781 -768
- package/package.json +75 -74
package/package.json
CHANGED
|
@@ -1,74 +1,75 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@hk_net/pi-usage-bars",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Quota, balance, and spend indicators for current Pi providers",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"pi-package",
|
|
7
|
-
"pi",
|
|
8
|
-
"extension",
|
|
9
|
-
"usage",
|
|
10
|
-
"codex",
|
|
11
|
-
"anthropic",
|
|
12
|
-
"zai",
|
|
13
|
-
"kimi",
|
|
14
|
-
"minimax",
|
|
15
|
-
"openrouter",
|
|
16
|
-
"deepseek",
|
|
17
|
-
"moonshot"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"@earendil-works/pi-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"@earendil-works/pi-
|
|
64
|
-
"@
|
|
65
|
-
"@types/
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@hk_net/pi-usage-bars",
|
|
3
|
+
"version": "0.6.0",
|
|
4
|
+
"description": "Quota, balance, and spend indicators for current Pi providers",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"pi-package",
|
|
7
|
+
"pi",
|
|
8
|
+
"extension",
|
|
9
|
+
"usage",
|
|
10
|
+
"codex",
|
|
11
|
+
"anthropic",
|
|
12
|
+
"zai",
|
|
13
|
+
"kimi",
|
|
14
|
+
"minimax",
|
|
15
|
+
"openrouter",
|
|
16
|
+
"deepseek",
|
|
17
|
+
"moonshot",
|
|
18
|
+
"baseten"
|
|
19
|
+
],
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "git+https://github.com/hknet/pi-usage-bars.git"
|
|
24
|
+
},
|
|
25
|
+
"homepage": "https://github.com/hknet/pi-usage-bars#readme",
|
|
26
|
+
"bugs": {
|
|
27
|
+
"url": "https://github.com/hknet/pi-usage-bars/issues"
|
|
28
|
+
},
|
|
29
|
+
"publishConfig": {
|
|
30
|
+
"access": "public",
|
|
31
|
+
"provenance": true
|
|
32
|
+
},
|
|
33
|
+
"type": "module",
|
|
34
|
+
"files": [
|
|
35
|
+
"extensions",
|
|
36
|
+
"docs",
|
|
37
|
+
"README.md",
|
|
38
|
+
"CHANGELOG.md",
|
|
39
|
+
"LICENSE"
|
|
40
|
+
],
|
|
41
|
+
"scripts": {
|
|
42
|
+
"test": "bun test tests",
|
|
43
|
+
"typecheck": "tsc --noEmit",
|
|
44
|
+
"check": "npm run typecheck && npm test",
|
|
45
|
+
"prepublishOnly": "npm run check"
|
|
46
|
+
},
|
|
47
|
+
"engines": {
|
|
48
|
+
"node": ">=22.19.0"
|
|
49
|
+
},
|
|
50
|
+
"peerDependencies": {
|
|
51
|
+
"@earendil-works/pi-coding-agent": "*",
|
|
52
|
+
"@earendil-works/pi-tui": "*"
|
|
53
|
+
},
|
|
54
|
+
"peerDependenciesMeta": {
|
|
55
|
+
"@earendil-works/pi-coding-agent": {
|
|
56
|
+
"optional": true
|
|
57
|
+
},
|
|
58
|
+
"@earendil-works/pi-tui": {
|
|
59
|
+
"optional": true
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"devDependencies": {
|
|
63
|
+
"@earendil-works/pi-coding-agent": "0.84.4",
|
|
64
|
+
"@earendil-works/pi-tui": "0.84.4",
|
|
65
|
+
"@types/bun": "1.3.14",
|
|
66
|
+
"@types/node": "24.13.3",
|
|
67
|
+
"typescript": "5.9.3"
|
|
68
|
+
},
|
|
69
|
+
"pi": {
|
|
70
|
+
"extensions": [
|
|
71
|
+
"./extensions/usage-bars/index.ts"
|
|
72
|
+
],
|
|
73
|
+
"image": "https://raw.githubusercontent.com/hknet/pi-usage-bars/main/assets/usage-command.png"
|
|
74
|
+
}
|
|
75
|
+
}
|