@oh-my-pi/omp-stats 17.2.2 → 17.2.4

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
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [17.2.4] - 2026-08-01
6
+
7
+ ### Fixed
8
+
9
+ - Fixed provider usage window stats silently showing no data during SQLite contention by installing a five-second busy timeout on read-only agent database connections ([#7300](https://github.com/can1357/oh-my-pi/issues/7300)).
10
+
5
11
  ## [17.1.2] - 2026-07-24
6
12
 
7
13
  ### Added
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@oh-my-pi/omp-stats",
4
- "version": "17.2.2",
4
+ "version": "17.2.4",
5
5
  "description": "Local observability dashboard for pi AI usage statistics",
6
6
  "homepage": "https://omp.sh",
7
7
  "author": "Can Boluk",
@@ -39,9 +39,9 @@
39
39
  "fmt": "biome format --write ."
40
40
  },
41
41
  "dependencies": {
42
- "@oh-my-pi/pi-ai": "17.2.2",
43
- "@oh-my-pi/pi-catalog": "17.2.2",
44
- "@oh-my-pi/pi-utils": "17.2.2",
42
+ "@oh-my-pi/pi-ai": "17.2.4",
43
+ "@oh-my-pi/pi-catalog": "17.2.4",
44
+ "@oh-my-pi/pi-utils": "17.2.4",
45
45
  "@tailwindcss/node": "^4.3.2",
46
46
  "chart.js": "^4.5.1",
47
47
  "date-fns": "^4.4.0",
@@ -59,6 +59,7 @@ export function readUsageSnapshots(sinceMs: number, dbPath = getAgentDbPath()):
59
59
  let db: Database | null = null;
60
60
  try {
61
61
  db = new Database(dbPath, { readonly: true });
62
+ db.run("PRAGMA busy_timeout = 5000");
62
63
  const rows = db
63
64
  .prepare(
64
65
  `SELECT recorded_at, provider, account_key, email, account_id, limit_id, label, window_label, used_fraction, status