pi-credits 0.3.1 → 0.3.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.
Files changed (2) hide show
  1. package/README.md +4 -4
  2. package/package.json +8 -17
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
  ![Screenshot](./assets/screenshot.png)
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
- Install from git:
30
+ For local development from this monorepo:
31
31
 
32
32
  ```bash
33
- pi install git:github.com/zlliang/pi-credits
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.1",
3
+ "version": "0.3.2",
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,8 @@
8
8
  ],
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "git+https://github.com/zlliang/pi-credits.git"
11
+ "url": "git+https://github.com/zlliang/pi-packages.git",
12
+ "directory": "packages/pi-credits"
12
13
  },
13
14
  "license": "MIT",
14
15
  "type": "module",
@@ -17,17 +18,13 @@
17
18
  "src",
18
19
  "docs",
19
20
  "assets",
20
- "README.md",
21
- "LICENSE"
21
+ "README.md"
22
22
  ],
23
23
  "pi": {
24
24
  "extensions": [
25
25
  "./index.ts"
26
26
  ],
27
- "image": "https://raw.githubusercontent.com/zlliang/pi-credits/main/assets/cover.png"
28
- },
29
- "scripts": {
30
- "typecheck": "tsc --noEmit"
27
+ "image": "https://raw.githubusercontent.com/zlliang/pi-packages/main/packages/pi-credits/assets/cover.png"
31
28
  },
32
29
  "dependencies": {
33
30
  "@grpc/grpc-js": "^1.14.4",
@@ -39,13 +36,7 @@
39
36
  "@earendil-works/pi-coding-agent": "*",
40
37
  "@earendil-works/pi-tui": "*"
41
38
  },
42
- "devDependencies": {
43
- "@earendil-works/pi-agent-core": "*",
44
- "@earendil-works/pi-ai": "*",
45
- "@earendil-works/pi-coding-agent": "*",
46
- "@earendil-works/pi-tui": "*",
47
- "@types/node": "*",
48
- "typebox": "*",
49
- "typescript": "^6.0.3"
39
+ "scripts": {
40
+ "typecheck": "pnpm --dir ../.. typecheck"
50
41
  }
51
- }
42
+ }