@linxiraos/pi-stats 1.4.13 → 1.5.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 (32) hide show
  1. package/CHANGELOG.md +14 -5
  2. package/dist/client/index.js +86 -86
  3. package/dist/types/client/data/formatters.d.ts +9 -0
  4. package/dist/types/client/i18n/messages/common.d.ts +2 -2
  5. package/dist/types/client/i18n/messages/en.d.ts +2 -2
  6. package/dist/types/client/i18n/messages/models.d.ts +2 -2
  7. package/dist/types/client/i18n/messages/overview.d.ts +1 -1
  8. package/dist/types/client/ui/RequestDrawer.d.ts +2 -2
  9. package/dist/types/server.d.ts +3 -1
  10. package/dist/types/shared-types.d.ts +4 -3
  11. package/dist/types/trace.d.ts +8 -5
  12. package/package.json +4 -4
  13. package/src/client/data/formatters.ts +47 -6
  14. package/src/client/i18n/messages/common.ts +2 -2
  15. package/src/client/i18n/messages/models.ts +2 -2
  16. package/src/client/i18n/messages/overview.ts +1 -1
  17. package/src/client/routes/CostsRoute.tsx +24 -28
  18. package/src/client/routes/ErrorsRoute.tsx +57 -55
  19. package/src/client/routes/GainRoute.tsx +54 -54
  20. package/src/client/routes/ModelsRoute.tsx +7 -5
  21. package/src/client/routes/OverviewRoute.tsx +73 -62
  22. package/src/client/routes/ProvidersRoute.tsx +188 -176
  23. package/src/client/routes/RequestsRoute.tsx +98 -96
  24. package/src/client/routes/ToolsRoute.tsx +11 -10
  25. package/src/client/routes/TracesRoute.tsx +2 -1
  26. package/src/client/traces/SpanDrawer.tsx +2 -2
  27. package/src/client/traces/TimelineCanvas.tsx +16 -12
  28. package/src/client/traces/TraceView.tsx +18 -14
  29. package/src/client/ui/RequestDrawer.tsx +16 -6
  30. package/src/server.ts +7 -3
  31. package/src/shared-types.ts +4 -3
  32. package/src/trace.ts +43 -13
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [1.5.1] - 2026-11-10
4
+
5
+ - Released as part of Zeta 1.5.1; no package-specific user-visible changes.
6
+
7
+ ## [1.5.0] - 2026-11-09
8
+
9
+ ### Fixed
10
+
11
+ - Stats dashboard language switch: option lists, table headers, token-mix and agent labels built at module load no longer keep the boot language. Switching to English now leaves no Chinese labels behind.
12
+ - Dashboard language now follows the host CLI/desktop setting (including `/stats` and trace links); the browser preference is only a fallback.
13
+ - Compact units (`K`, `M`, `B`) and the `Token` term stay English in the Chinese dashboard, and chart dates use the dashboard locale instead of the browser's.
14
+ - Fixed `/stats` and `zetacode stats` failing when another dashboard was syncing sessions or the configured port was already in use; busy dashboards are now reused, and a free port is selected when necessary.
15
+
3
16
  ## [1.4.13] - 2026-11-08
4
17
 
5
18
  - Released as part of Zeta 1.4.13.
@@ -29,11 +42,7 @@
29
42
 
30
43
  ### Changed
31
44
 
32
- - Improved `omp stats` session synchronization performance by approximately 2–5× on large histories. The first sync after upgrading may take up to a minute while the stats database is optimized.
33
-
34
- ### Fixed
35
-
36
- - Fixed `/stats` and `omp stats` failing when another dashboard was syncing sessions or the configured port was already in use; busy dashboards are now reused, and a free port is selected when necessary.
45
+ - Improved `zetacode stats` session synchronization performance by approximately 2–5× on large histories. The first sync after upgrading may take up to a minute while the stats database is optimized.
37
46
 
38
47
  ## [1.4.5] - 2026-10-28
39
48