@linxiraos/pi-stats 1.1.8 → 1.1.10
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 +8 -0
- package/package.json +79 -82
- package/src/gain-aggregator.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
## [1.1.10] - 2026-09-07
|
|
6
|
+
|
|
7
|
+
- OMP v18.1.11 sync baseline (`e3106be68f`); no package-specific user-visible changes.
|
|
8
|
+
|
|
9
|
+
## [1.1.9] - 2026-09-05
|
|
10
|
+
|
|
11
|
+
- v18.1.10 sync baseline (stats tracking panel updates).
|
|
12
|
+
|
|
5
13
|
## [1.1.8] - 2026-09-04
|
|
6
14
|
|
|
7
15
|
- OMP sync v18.1.2–v18.1.5: `/trace` tracking panel, compaction summary persistence, and stats-sync worker alignment.
|
package/package.json
CHANGED
|
@@ -1,63 +1,26 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
],
|
|
25
|
-
"main": "./src/index.ts",
|
|
26
|
-
"types": "./dist/types/index.d.ts",
|
|
27
|
-
"bin": {
|
|
28
|
-
"zeta-stats": "./src/index.ts"
|
|
29
|
-
},
|
|
30
|
-
"scripts": {
|
|
31
|
-
"gen:stats": "bun scripts/generate-client-bundle.ts --generate",
|
|
32
|
-
"gen:stats:reset": "bun scripts/generate-client-bundle.ts --reset",
|
|
33
|
-
"build": "bun run build.ts",
|
|
34
|
-
"dev": "bun run src/index.ts",
|
|
35
|
-
"check": "biome check . && bun run check:types",
|
|
36
|
-
"check:types": "tsgo -p tsconfig.json --noEmit && tsgo -p tsconfig.client.json --noEmit",
|
|
37
|
-
"lint": "biome lint .",
|
|
38
|
-
"fix": "biome check --write --unsafe .",
|
|
39
|
-
"fmt": "biome format --write ."
|
|
40
|
-
},
|
|
41
|
-
"dependencies": {
|
|
42
|
-
"@linxiraos/pi-ai": "1.1.8",
|
|
43
|
-
"@linxiraos/pi-catalog": "1.1.8",
|
|
44
|
-
"@linxiraos/pi-utils": "1.1.8",
|
|
45
|
-
"@tailwindcss/node": "^4.3.2",
|
|
46
|
-
"chart.js": "^4.5.1",
|
|
47
|
-
"lucide-react": "^1.24.0",
|
|
48
|
-
"react": "19.2.7",
|
|
49
|
-
"react-chartjs-2": "^5.3.1",
|
|
50
|
-
"react-dom": "19.2.7",
|
|
51
|
-
"tailwindcss": "^4.3.2"
|
|
52
|
-
},
|
|
53
|
-
"devDependencies": {
|
|
54
|
-
"@types/bun": "^1.3.14",
|
|
55
|
-
"@types/react": "^19.2.17",
|
|
56
|
-
"@types/react-dom": "^19.2.3",
|
|
57
|
-
"postcss": "^8.5.16"
|
|
58
|
-
},
|
|
59
|
-
"engines": {
|
|
60
|
-
"bun": ">=1.3.14"
|
|
2
|
+
"exports": {
|
|
3
|
+
"./*.js": "./src/*.ts",
|
|
4
|
+
"./client/components/*": {
|
|
5
|
+
"import": "./src/client/components/*.ts",
|
|
6
|
+
"types": "./dist/types/client/components/*.d.ts"
|
|
7
|
+
},
|
|
8
|
+
"./client/*": {
|
|
9
|
+
"import": "./src/client/*.ts",
|
|
10
|
+
"types": "./dist/types/client/*.d.ts"
|
|
11
|
+
},
|
|
12
|
+
"./client": {
|
|
13
|
+
"import": "./src/client/index.tsx",
|
|
14
|
+
"types": "./dist/types/client/index.d.ts"
|
|
15
|
+
},
|
|
16
|
+
"./*": {
|
|
17
|
+
"import": "./src/*.ts",
|
|
18
|
+
"types": "./dist/types/*.d.ts"
|
|
19
|
+
},
|
|
20
|
+
".": {
|
|
21
|
+
"import": "./src/index.ts",
|
|
22
|
+
"types": "./dist/types/index.d.ts"
|
|
23
|
+
}
|
|
61
24
|
},
|
|
62
25
|
"files": [
|
|
63
26
|
"src",
|
|
@@ -70,27 +33,61 @@
|
|
|
70
33
|
"dist/types",
|
|
71
34
|
"dist/client"
|
|
72
35
|
],
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
"
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
"
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
36
|
+
"engines": {
|
|
37
|
+
"bun": ">=1.3.14"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"postcss": "^8.5.16",
|
|
41
|
+
"@types/react-dom": "^19.2.3",
|
|
42
|
+
"@types/react": "^19.2.17",
|
|
43
|
+
"@types/bun": "^1.3.14"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@linxiraos/pi-utils": "1.1.10",
|
|
47
|
+
"@linxiraos/pi-catalog": "1.1.10",
|
|
48
|
+
"@linxiraos/pi-ai": "1.1.10",
|
|
49
|
+
"tailwindcss": "^4.3.2",
|
|
50
|
+
"react-dom": "19.2.7",
|
|
51
|
+
"react-chartjs-2": "^5.3.1",
|
|
52
|
+
"react": "19.2.7",
|
|
53
|
+
"lucide-react": "^1.24.0",
|
|
54
|
+
"chart.js": "^4.5.1",
|
|
55
|
+
"@tailwindcss/node": "^4.3.2"
|
|
56
|
+
},
|
|
57
|
+
"scripts": {
|
|
58
|
+
"check:types": "tsgo -p tsconfig.json --noEmit && tsgo -p tsconfig.client.json --noEmit",
|
|
59
|
+
"check": "tsgo -p tsconfig.json --noEmit",
|
|
60
|
+
"dev": "bun run src/index.ts",
|
|
61
|
+
"build": "bun run build.ts",
|
|
62
|
+
"gen:stats:reset": "bun scripts/generate-client-bundle.ts --reset",
|
|
63
|
+
"gen:stats": "bun scripts/generate-client-bundle.ts --generate"
|
|
64
|
+
},
|
|
65
|
+
"bin": {
|
|
66
|
+
"zeta-stats": "./src/index.ts"
|
|
67
|
+
},
|
|
68
|
+
"types": "./dist/types/index.d.ts",
|
|
69
|
+
"main": "./src/index.ts",
|
|
70
|
+
"keywords": [
|
|
71
|
+
"ai",
|
|
72
|
+
"observability",
|
|
73
|
+
"metrics",
|
|
74
|
+
"dashboard",
|
|
75
|
+
"llm",
|
|
76
|
+
"statistics"
|
|
77
|
+
],
|
|
78
|
+
"bugs": {
|
|
79
|
+
"url": "https://github.com/Linxira-OS/linxira-zeta/issues"
|
|
80
|
+
},
|
|
81
|
+
"repository": {
|
|
82
|
+
"directory": "packages/stats",
|
|
83
|
+
"url": "git+https://github.com/Linxira-OS/linxira-zeta.git",
|
|
84
|
+
"type": "git"
|
|
85
|
+
},
|
|
86
|
+
"license": "MIT",
|
|
87
|
+
"author": "Can Boluk",
|
|
88
|
+
"homepage": "https://linxira-os.github.io/zeta/",
|
|
89
|
+
"description": "Local observability dashboard for pi AI usage statistics",
|
|
90
|
+
"version": "1.1.10",
|
|
91
|
+
"name": "@linxiraos/pi-stats",
|
|
92
|
+
"type": "module"
|
|
96
93
|
}
|
package/src/gain-aggregator.ts
CHANGED
|
@@ -68,7 +68,7 @@ function matchesProject(cwd: string | undefined, project: string): boolean {
|
|
|
68
68
|
export function normalizeProjectPath(p: string): string | null {
|
|
69
69
|
const clean = canonicalProjectPath(p);
|
|
70
70
|
if (TEMP_PATH_RE.test(clean)) return null;
|
|
71
|
-
if (/\/\.
|
|
71
|
+
if (/\/\.zeta\/wt\//u.test(clean)) return null;
|
|
72
72
|
|
|
73
73
|
const worktreePatterns = [
|
|
74
74
|
/^(.+)\/\.wt\/[^/]+(?:\/.*)?$/u,
|