cctally 1.80.0 → 1.80.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 +5 -0
- package/bin/_cctally_store.py +4 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,11 @@ based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
|
5
5
|
|
|
6
6
|
## [Unreleased]
|
|
7
7
|
|
|
8
|
+
## [1.80.1] - 2026-07-23
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- Corrupted `stats.db` indexes now auto-heal correctly on Linux: the locked re-check reads the SQLite header instead of accepting a constant-only query that could succeed without touching the damaged file.
|
|
12
|
+
|
|
8
13
|
## [1.80.0] - 2026-07-23
|
|
9
14
|
|
|
10
15
|
### Added
|
package/bin/_cctally_store.py
CHANGED
|
@@ -363,7 +363,10 @@ def _probe_stats_ok(path) -> bool:
|
|
|
363
363
|
try:
|
|
364
364
|
c = sqlite3.connect(f"file:{path}?mode=ro", uri=True)
|
|
365
365
|
try:
|
|
366
|
-
|
|
366
|
+
# Force SQLite to read the database header. A constant-only
|
|
367
|
+
# ``SELECT 1`` can succeed on Linux without touching a corrupt file,
|
|
368
|
+
# falsely reporting that a sibling already healed the index.
|
|
369
|
+
c.execute("PRAGMA schema_version").fetchone()
|
|
367
370
|
finally:
|
|
368
371
|
c.close()
|
|
369
372
|
return True
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cctally",
|
|
3
|
-
"version": "1.80.
|
|
3
|
+
"version": "1.80.1",
|
|
4
4
|
"description": "Claude Code usage tracker and local dashboard for Pro/Max subscription limits - weekly cost-per-percent trend, quota forecasts, threshold alerts. ccusage-compatible.",
|
|
5
5
|
"homepage": "https://github.com/omrikais/cctally",
|
|
6
6
|
"repository": {
|