@linxiraos/pi-stats 1.5.14 → 1.5.15

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 CHANGED
@@ -1,5 +1,29 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [1.5.15] - 2026-11-27
4
+
5
+ ### Fixed
6
+
7
+ - Fixed usage stats pricing Google Antigravity and MiniMax Token Plan models at $0 when their catalog rows carry no price; they now use the catalog's pricing peer, as `xai-oauth` already did ([#16092](https://github.com/Linxira-OS/linxira-zeta/pull/16092) by [@H4vC](https://github.com/H4vC))
8
+
9
+ ### Removed
10
+
11
+ - Two suites that imported symbols no longer present in the tree
12
+
13
+ ## [1.5.15] - 2026-11-27
14
+
15
+ ### Added
16
+
17
+ - The "emotional pressure" page: the coverage card distinguishes "judged / regex / unscored" — languages the dictionary does not cover (e.g. Japanese, Korean, Cyrillic) show as **unscored** rather than being judged calm.
18
+
19
+ ### Changed
20
+
21
+ - Aligned with the OMP 19.2 runtime merge and the Zeta 1.5.15 version line.
22
+
23
+ ### Fixed
24
+
25
+ - Providers → Subscription windows no longer mixes Codex 5-hour and 7-day quotas across plans: Team and weekly-only (ProLite) accounts now share the 7-day row, the 5-hour row counts only accounts that have one, and labels no longer flip with whichever account reported last ([#15664](https://github.com/Linxira-OS/linxira-zeta/issues/15664))
26
+
3
27
  ## [1.5.14] - 2026-11-22
4
28
 
5
29
  ### Changed
@@ -26,15 +50,13 @@
26
50
 
27
51
  ## [1.5.10] - 2026-11-19
28
52
 
53
+ ### Added
54
+
55
+ - Added `readDailyActivity()`, which reads the stored daily activity through its own connection that never writes, so another process holding the stats database write lock cannot fail or delay it; it returns null when no stats database exists yet ([#19896](https://github.com/Linxira-OS/linxira-zeta/pull/19896) by [@Xytronix](https://github.com/Xytronix))
56
+
29
57
  ### Fixed
30
58
 
31
- - Fixed Traces tab timing so background jobs show their actual completion times, including accurate idle periods and turn durations.
32
- - Fixed per-model message counts on the Frustration page to include all answered messages.
33
- - Improved dashboard responsiveness by keeping other pages and Live status available while Spotlight rebuilds.
34
- - Fixed daily usage charts to group activity by the user's local calendar day instead of UTC.
35
- - Dashboard language now follows the host CLI/desktop setting (including `/stats` and trace links); the browser preference is only a fallback.
36
- - 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.
37
- - 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.
59
+ - Fixed opening an already initialized stats database taking the write lock, and daily activity trusting a rollup built by an older version instead of reading the raw rows ([#19896](https://github.com/Linxira-OS/linxira-zeta/pull/19896) by [@Xytronix](https://github.com/Xytronix))
38
60
 
39
61
  ## [1.5.2] - 2026-11-13
40
62
 
@@ -44,7 +66,7 @@
44
66
 
45
67
  ### Fixed
46
68
 
47
- - Spotlight stats count a `;`/`,` path `read` once with all its parts, and count a later read of any of its files as a re-read or a needed line ([#18713](https://github.com/can1357/oh-my-pi/pull/18713) by [@eggpeat](https://github.com/eggpeat))
69
+ - Spotlight stats count a `;`/`,` path `read` once with all its parts, and count a later read of any of its files as a re-read or a needed line ([#18713](https://github.com/Linxira-OS/linxira-zeta/pull/18713) by [@eggpeat](https://github.com/eggpeat))
48
70
 
49
71
  ## [1.5.1] - 2026-11-10
50
72
 
@@ -113,10 +135,6 @@
113
135
 
114
136
  - Model-side AI breakdown beside the user-frustration metrics: per-model turn and token counts are shown in the dashboard
115
137
 
116
- ### Removed
117
-
118
- - Two suites that imported symbols no longer present in the tree
119
-
120
138
  ## [1.3.2] - 2026-10-19
121
139
 
122
140
  - Version line moves to 1.3.2 with the rest of the suite; no user-visible change in this package.
@@ -128,7 +146,6 @@
128
146
  ### Added
129
147
 
130
148
  - The dashboard renders in the host language: the CLI's language setting (or the browser preference) is injected into the page, and the sidebar, cards, table headers, legends, empty states, and date/number formats all follow it; Simplified Chinese ships first, with English as the fallback. The language is fixed at startup (no in-page switcher) because the dashboard launches together with `zetacode stats`.
131
- - The "emotional pressure" page: the coverage card distinguishes "judged / regex / unscored" — languages the dictionary does not cover (e.g. Japanese, Korean, Cyrillic) show as **unscored** rather than being judged calm.
132
149
 
133
150
  ### Changed
134
151
 
@@ -138,9 +155,7 @@
138
155
 
139
156
  ### Fixed
140
157
 
141
- - Usage recorded at $0 for a model whose catalog price changes on a date (Gemini 4 Argon, Devin SWE-2) is now priced at the rate in force on the request's date, instead of staying $0 like peak/off-peak tariff usage ([#15620](https://github.com/can1357/oh-my-pi/pull/15620) by [@eggpeat](https://github.com/eggpeat))
142
- - Providers → Subscription windows no longer mixes Codex 5-hour and 7-day quotas across plans: Team and weekly-only (ProLite) accounts now share the 7-day row, the 5-hour row counts only accounts that have one, and labels no longer flip with whichever account reported last ([#15664](https://github.com/can1357/oh-my-pi/issues/15664))
143
- - Fixed usage stats pricing Google Antigravity and MiniMax Token Plan models at $0 when their catalog rows carry no price; they now use the catalog's pricing peer, as `xai-oauth` already did ([#16092](https://github.com/can1357/oh-my-pi/pull/16092) by [@H4vC](https://github.com/H4vC))
158
+ - Usage recorded at $0 for a model whose catalog price changes on a date (Gemini 4 Argon, Devin SWE-2) is now priced at the rate in force on the request's date, instead of staying $0 like peak/off-peak tariff usage ([#15620](https://github.com/Linxira-OS/linxira-zeta/pull/15620) by [@eggpeat](https://github.com/eggpeat))
144
159
 
145
160
  ## [1.2.0] - 2026-10-12
146
161
 
package/README.md CHANGED
@@ -41,6 +41,12 @@ zetacode stats --summary
41
41
  zetacode stats --json
42
42
  ```
43
43
 
44
+ The dashboard answers to its `--host` name, IP addresses, `localhost`, single-label names, and `.localhost`, `.local`, `.internal`, `.home.arpa`, `.lan`, `.home`, `.corp`, `.localdomain` and Tailscale `.ts.net` names. Any other host name (for example a reverse proxy's or tunnel's domain) is refused to block DNS rebinding unless listed in `ZETA_STATS_ALLOWED_HOSTS`; a `*.` entry allows that domain's subdomains:
45
+
46
+ ```bash
47
+ ZETA_STATS_ALLOWED_HOSTS=stats.example.com,*.trycloudflare.com zeta stats --host 0.0.0.0
48
+ ```
49
+
44
50
  ### Programmatic
45
51
 
46
52
  ```typescript
@@ -80,7 +86,7 @@ Range queries read `message_rollup` / `tool_rollup` / `session_rollup`, maintain
80
86
 
81
87
  ## Dashboard
82
88
 
83
- Pages: Overview, Models, Providers, Costs, Requests, Errors, Traces, Tools, Frustration, Projects and Gain. `1`–`6` pick the time range; `g` then a letter jumps to a page. Every page revalidates when the live data version moves, so there is no refresh button.
89
+ Pages: Overview, Models, Providers, Costs, Requests, Errors, Traces, Tools, Frustration, Projects and Gain. `1`–`8` pick the time range; `g` then a letter jumps to a page. Every page revalidates when the live data version moves, so there is no refresh button.
84
90
 
85
91
  The Frustration page carries two sections: user-side annoyance (judge verdicts, with regex fallback) and the model-side **AI breakdown** (`assistant_text`): per model version, the share of analyzed assistant turns showing apology/self-blame, restatement, hedged fallbacks, rambling, or a tool-failure spiral. The model side is lexicon-only, needs no judge run, and stores one prose row per text-bearing turn, capped at 4,000 characters after stripping code fences and other markup.
86
92
 
@@ -19,7 +19,7 @@ Forked application trees:
19
19
 
20
20
  | Path | Upstream | Snapshot | License | What Zeta changed |
21
21
  |---|---|---|---|---|
22
- | `packages/ main/ crates/ python/ lsp/ sdk/ types/ skills/` | oh-my-pi (OMP), https://github.com/can1357/oh-my-pi | integrated through tag `v18.22.0` (`document/upstream-sync.md`) | see upstream files | product name, paths, command names and env prefixes; branded assets; internal identifiers renamed to `__zeta*` |
22
+ | `packages/ main/ crates/ python/ lsp/ sdk/ types/ skills/` | oh-my-pi (OMP), https://github.com/Linxira-OS/linxira-zeta | integrated through tag `v18.22.0` (`document/upstream-sync.md`) | see upstream files | product name, paths, command names and env prefixes; branded assets; internal identifiers renamed to `__zeta*` |
23
23
  | `web-ui/` | OMP Web, https://github.com/17380936778/omp-web | frozen snapshot, **abandoned 2026-11-05** (`document/upstream-sync.md`) | see upstream files | third-party UI, not maintained by Zeta: frozen as received, no builds, no fixes; the product renderer is `web-app/` (`Differences from Upstream` in README) |
24
24
  | `web-app/` (`src/studio`, `src/vendor/*`) | OMP Studio, https://github.com/the-snowpear/omp-studio | official `v0.2.1` (`6d0b764bb9eac88c1671c0380229823c5630cc74`) integrated 2026-11-16; `web-ui/` is a separate frozen OMP Web snapshot | MIT | maintained by Zeta now: the host contract is reimplemented in `studio-host` (pair/CSRF/query/command/events), the renderer was rebranded (`zeta-studio` wire name, Zeta links/fixtures), and Zeta adds windowed transcripts, precompressed static serving, the plugin registry, and the usage dashboard |
25
25
  | `termide/` | TermIDE, https://github.com/termide/termide | tag `0.49.0` = `057eb55e0a7c4ee969982fab62dc83bde028e052` | MIT | deviations listed in `termide/VENDOR.md` |