cctally 1.87.1 → 1.87.2

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
@@ -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.87.2] - 2026-07-30
9
+
10
+ ### Fixed
11
+ - The dashboard no longer freezes provider data while Claude or Codex sessions are continuously active. A completed read now publishes the coherent cache snapshot it actually built even when newer session bytes arrive before the build finishes, so Codex quota percentages and Recent Sessions keep advancing instead of remaining pinned to an older generation. Stats-side changes during a build still fail closed to the prior complete bundle.
12
+
8
13
  ## [1.87.1] - 2026-07-30
9
14
 
10
15
  ### Fixed
package/README.md CHANGED
@@ -30,9 +30,9 @@ Your Claude Code plan meters you with a percentage that creeps up all week. ccta
30
30
  </p>
31
31
 
32
32
  <!-- cctally:latest-stable:begin -->
33
- **Latest stable: v1.83.1** (2026-07-28)
33
+ **Latest stable: v1.87.1** (2026-07-30)
34
34
 
35
- - Doctor golden fixtures now pin the macOS backup/sync classifier as well as the `tmutil` response, keeping the public Linux CI matrix byte-stable across platforms.
35
+ - Codex session names now remain visible in Recent Sessions when an individual account is selected, whenever transcript visibility is enabled. Selecting an account no longer replaces every session name with an em dash; disabling transcript visibility still hides names in both the all-accounts and focused-account views.
36
36
  <!-- cctally:latest-stable:end -->
37
37
 
38
38
  ## Quick start
@@ -2808,21 +2808,33 @@ def _tui_build_source_bundle(
2808
2808
  source_order=("claude", "codex", "all"),
2809
2809
  sources={"claude": claude, "codex": codex, "all": combined},
2810
2810
  )
2811
- # End our snapshots before re-reading the cheap signatures. Seeing a
2812
- # different physical state means the build may have mixed independent
2813
- # database generations; retain only the prior complete bundle.
2811
+ # End the pinned cache snapshot before re-reading the cheap signatures.
2812
+ # New cache commits after BEGIN do not make this bundle incoherent: all
2813
+ # cache-backed reads above saw the same frozen generation, and its
2814
+ # data_version names that generation. Reject only stats-side movement,
2815
+ # whose statement-scoped autocommit reads may have mixed generations.
2816
+ # Rejecting ordinary cache advancement starves publication whenever
2817
+ # active Claude/Codex sessions append faster than this build completes.
2814
2818
  if cache_read_tx:
2815
2819
  cache_conn.rollback()
2816
2820
  cache_read_tx = False
2817
2821
  post_stats_digest = codex_stats_digest(stats_conn)
2822
+ post_accounts_digest = accounts_identity_digest(stats_conn)
2818
2823
  post_signature = c.compute_signature(
2819
2824
  cache_conn,
2820
2825
  stats_conn,
2821
2826
  generation=c.current_generation(),
2822
2827
  codex_stats_digest=post_stats_digest,
2823
- accounts_digest=accounts_identity_digest(stats_conn),
2828
+ accounts_digest=post_accounts_digest,
2829
+ )
2830
+ stats_generation_moved = (
2831
+ post_signature.max_wus_id != signature.max_wus_id
2832
+ or post_signature.max_wcs_id != signature.max_wcs_id
2833
+ or post_signature.reset_sig != signature.reset_sig
2834
+ or post_stats_digest != stats_digest
2835
+ or post_accounts_digest != accounts_digest
2824
2836
  )
2825
- if post_signature != signature:
2837
+ if stats_generation_moved:
2826
2838
  if prior_bundle is not None:
2827
2839
  return prior_bundle
2828
2840
  raise RuntimeError("source read generation moved during build")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cctally",
3
- "version": "1.87.1",
3
+ "version": "1.87.2",
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": {