pi-credits 0.3.1 → 0.3.4
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 +4 -4
- package/package.json +14 -18
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ A [pi](https://pi.dev/) extension that shows the active model provider's credit
|
|
|
6
6
|
|
|
7
7
|

|
|
8
8
|
|
|
9
|
-
> Example with an OpenAI Codex subscription, paired with my [pi-spark](https://github.com/zlliang/pi-spark) package.
|
|
9
|
+
> Example with an OpenAI Codex subscription, paired with my [pi-spark](https://github.com/zlliang/pi-packages/tree/main/packages/pi-spark) package.
|
|
10
10
|
|
|
11
11
|
## Supported providers
|
|
12
12
|
|
|
@@ -27,12 +27,12 @@ Install from npm:
|
|
|
27
27
|
pi install npm:pi-credits
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
|
|
30
|
+
For local development from this monorepo:
|
|
31
31
|
|
|
32
32
|
```bash
|
|
33
|
-
pi install
|
|
33
|
+
pi install /path/to/pi-packages/packages/pi-credits
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
## Other pi packages
|
|
37
37
|
|
|
38
|
-
- [pi-spark](https://github.com/zlliang/pi-spark): a small, opinionated collection of pi extensions.
|
|
38
|
+
- [pi-spark](https://github.com/zlliang/pi-packages/tree/main/packages/pi-spark): a small, opinionated collection of pi extensions.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-credits",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "A pi extension that shows the active provider's credit balance or rate-limit usage",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-coding-agent",
|
|
@@ -8,7 +8,12 @@
|
|
|
8
8
|
],
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/zlliang/pi-
|
|
11
|
+
"url": "git+https://github.com/zlliang/pi-packages.git",
|
|
12
|
+
"directory": "packages/pi-credits"
|
|
13
|
+
},
|
|
14
|
+
"homepage": "https://github.com/zlliang/pi-packages/tree/main/packages/pi-credits#readme",
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/zlliang/pi-packages/issues"
|
|
12
17
|
},
|
|
13
18
|
"license": "MIT",
|
|
14
19
|
"type": "module",
|
|
@@ -17,35 +22,26 @@
|
|
|
17
22
|
"src",
|
|
18
23
|
"docs",
|
|
19
24
|
"assets",
|
|
20
|
-
"README.md"
|
|
21
|
-
"LICENSE"
|
|
25
|
+
"README.md"
|
|
22
26
|
],
|
|
23
27
|
"pi": {
|
|
24
28
|
"extensions": [
|
|
25
29
|
"./index.ts"
|
|
26
30
|
],
|
|
27
|
-
"image": "https://raw.githubusercontent.com/zlliang/pi-
|
|
28
|
-
},
|
|
29
|
-
"scripts": {
|
|
30
|
-
"typecheck": "tsc --noEmit"
|
|
31
|
+
"image": "https://raw.githubusercontent.com/zlliang/pi-packages/main/packages/pi-credits/assets/cover.png"
|
|
31
32
|
},
|
|
32
33
|
"dependencies": {
|
|
33
34
|
"@grpc/grpc-js": "^1.14.4",
|
|
34
35
|
"@grpc/proto-loader": "^0.8.1"
|
|
35
36
|
},
|
|
36
37
|
"peerDependencies": {
|
|
37
|
-
"@earendil-works/pi-agent-core": "*",
|
|
38
|
-
"@earendil-works/pi-ai": "*",
|
|
39
|
-
"@earendil-works/pi-coding-agent": "*",
|
|
40
|
-
"@earendil-works/pi-tui": "*"
|
|
41
|
-
},
|
|
42
|
-
"devDependencies": {
|
|
43
38
|
"@earendil-works/pi-agent-core": "*",
|
|
44
39
|
"@earendil-works/pi-ai": "*",
|
|
45
40
|
"@earendil-works/pi-coding-agent": "*",
|
|
46
41
|
"@earendil-works/pi-tui": "*",
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
42
|
+
"typebox": "*"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"typecheck": "pnpm --dir ../.. typecheck"
|
|
50
46
|
}
|
|
51
|
-
}
|
|
47
|
+
}
|