token-stats-timer 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/README.md +2 -1
  2. package/package.json +11 -1
package/README.md CHANGED
@@ -38,6 +38,7 @@ Footer 下行:cwd + git 分支 + 其他扩展状态。
38
38
  ```bash
39
39
  pi remove npm:@carlosgtrz/pi-run-timer
40
40
  pi remove npm:@liziy/token-stats
41
+ pi install npm:token-stats-timer
41
42
  ```
42
43
 
43
- 本目录已在 `~/.pi/agent/extensions/` 下,自动发现,`/reload` 或重启 pi 生效。
44
+ `/reload` 或重启 pi 生效。
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "token-stats-timer",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "pi extension to display token usage and time spend.",
5
5
  "keywords": [
6
+ "pi-package",
6
7
  "pi-extension"
7
8
  ],
8
9
  "license": "ISC",
@@ -10,11 +11,20 @@
10
11
  "type": "module",
11
12
  "main": "index.ts",
12
13
  "files": [
14
+ "index.ts",
13
15
  "run-timer.ts",
14
16
  "token-stats.ts",
15
17
  "README.md"
16
18
  ],
17
19
  "scripts": {
18
20
  "test": "echo \"Error: no test specified\" && exit 1"
21
+ },
22
+ "pi": {
23
+ "extensions": ["./index.ts"]
24
+ },
25
+ "peerDependencies": {
26
+ "@earendil-works/pi-ai": "*",
27
+ "@earendil-works/pi-coding-agent": "*",
28
+ "@earendil-works/pi-tui": "*"
19
29
  }
20
30
  }