@linxiraos/pi-stats 1.2.0 → 1.2.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.
- package/CHANGELOG.md +3 -3
- package/README.md +4 -4
- package/dist/client/index.js +1 -1
- package/dist/types/client/i18n/messages/en.d.ts +2 -2
- package/dist/types/client/i18n/messages/providers.d.ts +2 -2
- package/package.json +7 -7
- package/src/client/i18n/messages/providers.ts +2 -2
- package/src/client/routes/FrustrationRoute.tsx +1 -1
- package/src/frustration.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
### Added
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
7
|
+
- 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`.
|
|
8
|
+
- 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.
|
|
9
9
|
|
|
10
10
|
### Changed
|
|
11
11
|
|
|
12
12
|
- Improved dashboard responsiveness and efficiency by reducing unnecessary data refreshes and re-rendering, speeding up session synchronization, database access, package imports, and usage, model, and time-series requests, and avoiding repeated downloads of unchanged traces.
|
|
13
13
|
- Dashboard requests are now cancelled when no longer needed, improving responsiveness when switching sessions or closing trace views during loading.
|
|
14
|
-
-
|
|
14
|
+
- Reworked the "emotional pressure" detection layer: added a Chinese and voice-input dictionary (no word boundaries and no punctuation reliance, since Chinese input often comes from speech transcription and profanity frequently appears as homophones), added emphasis signals (full-width exclamation runs, repeated characters, repeated words) for judging anger, and added a cross-language signal — **an entire message repeating the previous one**. It no longer relies on emoji (users barely type them; only models emit them); the English dictionary is unchanged. The judging prompt is now language-neutral and tolerates mixed Chinese/English within a single message.
|
|
15
15
|
|
|
16
16
|
## [1.1.25] - 2026-10-03
|
|
17
17
|
|
package/README.md
CHANGED
|
@@ -29,16 +29,16 @@ Subscription-backed models use matching public API prices when an exact public m
|
|
|
29
29
|
|
|
30
30
|
```bash
|
|
31
31
|
# Start dashboard server (default: http://localhost:3847)
|
|
32
|
-
|
|
32
|
+
zetacode stats
|
|
33
33
|
|
|
34
34
|
# Custom port
|
|
35
|
-
|
|
35
|
+
zetacode stats --port 8080
|
|
36
36
|
|
|
37
37
|
# Print summary to console
|
|
38
|
-
|
|
38
|
+
zetacode stats --summary
|
|
39
39
|
|
|
40
40
|
# Output as JSON (for scripting)
|
|
41
|
-
|
|
41
|
+
zetacode stats --json
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
### Programmatic
|