@marshal/pi-turn-stats 0.1.11
“pi extension: per-exchange duration, token & cost stats for conversations (stream card + status bar + /turnstats command)”
Archive has member larger than 10 MBPackage.json declares a files allowlist
SHA-256f4010b3e120d3b7749f94af53e1107fc705f67915ec8b1ae80f4752f50824f2e
MaleculeH(Db₂)Md₂(BkPa)
Evidence
⋯11 lines
30// ===== i18n: auto-detect locale from system environment =====
31
32type Locale = "zh" | "en";
33
34function detectLocale(): Locale {
35 const env = process.env.LANG ?? process.env.LC_ALL ?? "";
36 if (env.startsWith("zh")) return "zh";
37 try {
38 const resolved = Intl.DateTimeFormat().resolvedLocales();
39 if (resolved.length > 0 && resolved[0].startsWith("zh")) return "zh";
40 } catch { /* Intl not available � …
10:84… d on your system locale (`LANG` / `LC_ALL` / `Intl`).
11
12## Demo
13
14
15
16## Screenshots
⋯4 lines
⋯7 lines
8 "type": "module",
9 "license": "MIT",
10 "files": [
11 "extensions",
12 "README.md",
⋯10 lines
No evidence locations were recorded for this file. Raw result