@linxiraos/pi-stats 1.1.12 → 1.1.13
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 +4 -0
- package/dist/client/index.js +97 -97
- package/dist/types/index.d.ts +1 -1
- package/package.json +9 -6
- package/src/index.ts +7 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { getDashboardStats, getToolDashboardStats, getTotalMessageCount, type Sy
|
|
|
3
3
|
export { closeDb } from "./db.js";
|
|
4
4
|
export { getGainDashboardStats } from "./gain-aggregator.js";
|
|
5
5
|
export { formatStatsDashboardUrl, startServer } from "./server.js";
|
|
6
|
-
export type { GainDashboardStats, GainSource, GainSourceTotals, GainTimeSeriesPoint } from "./shared-types.js";
|
|
6
|
+
export type { DailyActivityPoint, GainDashboardStats, GainSource, GainSourceTotals, GainTimeSeriesPoint, } from "./shared-types.js";
|
|
7
7
|
export type { AggregatedStats, DashboardStats, FolderStats, MessageStats, ModelPerformancePoint, ModelStats, ModelTimeSeriesPoint, TimeSeriesPoint, ToolDashboardStats, ToolModelStats, ToolTimeSeriesPoint, ToolUsageStats, } from "./types.js";
|
|
8
8
|
/** Parsed arguments for the standalone `omp-stats` entry point. */
|
|
9
9
|
export interface StandaloneStatsArgs {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@linxiraos/pi-stats",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.13",
|
|
5
5
|
"description": "Local observability dashboard for pi AI usage statistics",
|
|
6
6
|
"homepage": "https://linxira-os.github.io/zeta/",
|
|
7
7
|
"author": "Can Boluk",
|
|
@@ -32,13 +32,16 @@
|
|
|
32
32
|
"gen:stats:reset": "bun scripts/generate-client-bundle.ts --reset",
|
|
33
33
|
"build": "bun run build.ts",
|
|
34
34
|
"dev": "bun run src/index.ts",
|
|
35
|
-
"check": "
|
|
36
|
-
"check:types": "tsgo -p tsconfig.json --noEmit && tsgo -p tsconfig.client.json --noEmit"
|
|
35
|
+
"check": "oxlint . && oxfmt --check --no-error-on-unmatched-pattern 'src/**/*.{ts,tsx}' '{test,bench,examples,scripts}/**/*.ts' '*.ts' && bun run check:types",
|
|
36
|
+
"check:types": "tsgo -p tsconfig.json --noEmit && tsgo -p tsconfig.client.json --noEmit",
|
|
37
|
+
"lint": "oxlint .",
|
|
38
|
+
"fix": "oxlint --fix --fix-suggestions . && bun run fmt",
|
|
39
|
+
"fmt": "oxfmt --no-error-on-unmatched-pattern 'src/**/*.{ts,tsx}' '{test,bench,examples,scripts}/**/*.ts' '*.ts'"
|
|
37
40
|
},
|
|
38
41
|
"dependencies": {
|
|
39
|
-
"@linxiraos/pi-ai": "1.1.
|
|
40
|
-
"@linxiraos/pi-catalog": "1.1.
|
|
41
|
-
"@linxiraos/pi-utils": "1.1.
|
|
42
|
+
"@linxiraos/pi-ai": "1.1.13",
|
|
43
|
+
"@linxiraos/pi-catalog": "1.1.13",
|
|
44
|
+
"@linxiraos/pi-utils": "1.1.13",
|
|
42
45
|
"@tailwindcss/node": "^4.3.2",
|
|
43
46
|
"chart.js": "^4.5.1",
|
|
44
47
|
"lucide-react": "^1.24.0",
|
package/src/index.ts
CHANGED
|
@@ -18,7 +18,13 @@ export {
|
|
|
18
18
|
export { closeDb } from "./db";
|
|
19
19
|
export { getGainDashboardStats } from "./gain-aggregator";
|
|
20
20
|
export { formatStatsDashboardUrl, startServer } from "./server";
|
|
21
|
-
export type {
|
|
21
|
+
export type {
|
|
22
|
+
DailyActivityPoint,
|
|
23
|
+
GainDashboardStats,
|
|
24
|
+
GainSource,
|
|
25
|
+
GainSourceTotals,
|
|
26
|
+
GainTimeSeriesPoint,
|
|
27
|
+
} from "./shared-types";
|
|
22
28
|
export type {
|
|
23
29
|
AggregatedStats,
|
|
24
30
|
DashboardStats,
|