@linxiraos/pi-stats 1.4.4 → 1.4.6

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,13 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [1.4.6] - 2026-10-28
4
+
5
+ - Released as part of Zeta 1.4.6; no package-specific user-visible changes.
6
+
7
+ ## [1.4.5] - 2026-10-28
8
+
9
+ - Synced with upstream OMP v18.13.2; see UPDATE-LOG.md (1.4.5).
10
+
3
11
  ## [1.4.4] - 2026-10-26
4
12
 
5
13
  - Released as part of Zeta 1.4.4; no package-specific user-visible changes.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@linxiraos/pi-stats",
4
- "version": "1.4.4",
4
+ "version": "1.4.6",
5
5
  "description": "Local observability dashboard for omp AI usage statistics",
6
6
  "homepage": "https://linxira-os.github.io/zeta/",
7
7
  "author": "Linxira-OS",
@@ -39,9 +39,9 @@
39
39
  "fmt": "oxfmt --no-error-on-unmatched-pattern 'src/**/*.{ts,tsx}' '{test,bench,examples,scripts}/**/*.ts' '*.ts'"
40
40
  },
41
41
  "dependencies": {
42
- "@linxiraos/pi-ai": "1.4.4",
43
- "@linxiraos/pi-catalog": "1.4.4",
44
- "@linxiraos/pi-utils": "1.4.4",
42
+ "@linxiraos/pi-ai": "1.4.6",
43
+ "@linxiraos/pi-catalog": "1.4.6",
44
+ "@linxiraos/pi-utils": "1.4.6",
45
45
  "lucide-react": "^1.24.0",
46
46
  "react": "19.2.7",
47
47
  "react-dom": "19.2.7"
package/src/aggregator.ts CHANGED
@@ -288,7 +288,16 @@ async function orderForIngest(files: string[]): Promise<string[]> {
288
288
  });
289
289
  }
290
290
  }
291
- ranked.sort((a, b) => a.tier - b.tier || a.born - b.born || a.index - b.index);
291
+ ranked.sort(
292
+ (a, b) =>
293
+ a.tier - b.tier ||
294
+ a.born - b.born ||
295
+ // A filesystem that cannot rank birth times (or gives them the same
296
+ // coarse stamp) must not fall back to readdir's arbitrary order: the
297
+ // session file name carries its creation order, and first writer wins.
298
+ (a.file < b.file ? -1 : a.file > b.file ? 1 : 0) ||
299
+ a.index - b.index,
300
+ );
292
301
  return ranked.map(entry => entry.file);
293
302
  }
294
303