@gajae-code/stats 0.9.6 → 0.10.0

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.
@@ -174,7 +174,7 @@ export declare function buildTopNByModelSeries<T extends ModelKeyedPoint, B>(poi
174
174
  * chart-specific tabs (e.g. behavior metric picker); the by-model toggle and
175
175
  * empty-state are part of the frame so callers don't redeclare them.
176
176
  */
177
- export declare function ChartFrame({ title, subtitle, empty, emptyMessage, controls, byModel, onByModelChange, children }: {
177
+ export declare function ChartFrame({ title, subtitle, empty, emptyMessage, controls, byModel, onByModelChange, children, }: {
178
178
  title: string;
179
179
  subtitle: string;
180
180
  empty: boolean;
@@ -40,7 +40,7 @@ export declare function lineSeriesStyle(color: string): {
40
40
  * model row. Caller supplies the already-extracted numeric series so this
41
41
  * stays agnostic of the row's underlying data shape.
42
42
  */
43
- export declare function MiniSparkline({ timestamps, values, color }: {
43
+ export declare function MiniSparkline({ timestamps, values, color, }: {
44
44
  timestamps: number[];
45
45
  values: number[];
46
46
  color: string;
@@ -151,7 +151,7 @@ export interface TableColumn {
151
151
  align?: "left" | "right" | "center";
152
152
  }
153
153
  /** Outer card + section title used by every model table. */
154
- export declare function ModelTableShell({ title, subtitle, children }: {
154
+ export declare function ModelTableShell({ title, subtitle, children, }: {
155
155
  title: string;
156
156
  subtitle?: string;
157
157
  children: React.ReactNode;
@@ -179,7 +179,7 @@ export declare function ModelNameCell({ model, provider }: {
179
179
  * `ModelTableHeader` plus the trend cell at the end (caller controls the
180
180
  * sparkline / placeholder). `expandedContent` is the panel revealed on toggle.
181
181
  */
182
- export declare function ExpandableModelRow({ gridTemplate, cells, trendCell, isExpanded, onToggle, expandedContent }: {
182
+ export declare function ExpandableModelRow({ gridTemplate, cells, trendCell, isExpanded, onToggle, expandedContent, }: {
183
183
  gridTemplate: string;
184
184
  cells: React.ReactNode[];
185
185
  trendCell: React.ReactNode;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@gajae-code/stats",
4
- "version": "0.9.6",
4
+ "version": "0.10.0",
5
5
  "description": "Local observability dashboard for pi AI usage statistics",
6
6
  "homepage": "https://gajae-code.com",
7
7
  "author": "Yeachan-Heo",
@@ -31,14 +31,14 @@
31
31
  "build": "bun run build.ts",
32
32
  "dev": "bun run src/index.ts",
33
33
  "check": "biome check . && bun run check:types",
34
- "check:types": "tsgo -p tsconfig.json --noEmit && tsgo -p tsconfig.client.json --noEmit",
34
+ "check:types": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.client.json --noEmit",
35
35
  "lint": "biome lint .",
36
36
  "fix": "biome check --write --unsafe .",
37
37
  "fmt": "biome format --write ."
38
38
  },
39
39
  "dependencies": {
40
- "@gajae-code/ai": "0.9.6",
41
- "@gajae-code/utils": "0.9.6",
40
+ "@gajae-code/ai": "0.10.0",
41
+ "@gajae-code/utils": "0.10.0",
42
42
  "@tailwindcss/node": "^4.2.4",
43
43
  "chart.js": "^4.5.1",
44
44
  "date-fns": "^4.1.0",