cctally 1.87.0 → 1.87.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_dashboard_envelope.py +33 -11
- 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.87.1] - 2026-07-30
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- 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.
|
|
12
|
+
|
|
8
13
|
## [1.87.0] - 2026-07-30
|
|
9
14
|
|
|
10
15
|
### Fixed
|
|
@@ -1787,11 +1787,39 @@ def _overlay_claude_source_session_titles(
|
|
|
1787
1787
|
|
|
1788
1788
|
|
|
1789
1789
|
def _codex_source_session_rows(envelope: dict) -> list:
|
|
1790
|
-
"""Return
|
|
1790
|
+
"""Return every request-local Codex session row list.
|
|
1791
|
+
|
|
1792
|
+
Besides the merged parent used by ``All accounts``, decorated Codex data
|
|
1793
|
+
carries one ``account_scopes[*].sessions`` child per account. The client
|
|
1794
|
+
swaps that child into view when an account chip is focused, so the private
|
|
1795
|
+
label overlay must cover it under the same per-request transcript gate.
|
|
1796
|
+
"""
|
|
1791
1797
|
sources = envelope.get("sources")
|
|
1792
1798
|
if not isinstance(sources, Mapping):
|
|
1793
1799
|
return []
|
|
1794
1800
|
out = []
|
|
1801
|
+
|
|
1802
|
+
def append_rows(data) -> None:
|
|
1803
|
+
if not isinstance(data, Mapping):
|
|
1804
|
+
return
|
|
1805
|
+
sessions = data.get("sessions")
|
|
1806
|
+
if isinstance(sessions, Mapping):
|
|
1807
|
+
rows = sessions.get("rows")
|
|
1808
|
+
if isinstance(rows, list):
|
|
1809
|
+
out.append(rows)
|
|
1810
|
+
account_scopes = data.get("account_scopes")
|
|
1811
|
+
if not isinstance(account_scopes, Mapping):
|
|
1812
|
+
return
|
|
1813
|
+
for child in account_scopes.values():
|
|
1814
|
+
if not isinstance(child, Mapping):
|
|
1815
|
+
continue
|
|
1816
|
+
sessions = child.get("sessions")
|
|
1817
|
+
if not isinstance(sessions, Mapping):
|
|
1818
|
+
continue
|
|
1819
|
+
rows = sessions.get("rows")
|
|
1820
|
+
if isinstance(rows, list):
|
|
1821
|
+
out.append(rows)
|
|
1822
|
+
|
|
1795
1823
|
candidates = [(sources.get("codex") or {}).get("data")]
|
|
1796
1824
|
all_data = (sources.get("all") or {}).get("data")
|
|
1797
1825
|
if isinstance(all_data, Mapping):
|
|
@@ -1799,14 +1827,7 @@ def _codex_source_session_rows(envelope: dict) -> list:
|
|
|
1799
1827
|
if isinstance(providers, Mapping):
|
|
1800
1828
|
candidates.append(providers.get("codex"))
|
|
1801
1829
|
for data in candidates:
|
|
1802
|
-
|
|
1803
|
-
continue
|
|
1804
|
-
sessions = data.get("sessions")
|
|
1805
|
-
if not isinstance(sessions, Mapping):
|
|
1806
|
-
continue
|
|
1807
|
-
rows = sessions.get("rows")
|
|
1808
|
-
if isinstance(rows, list):
|
|
1809
|
-
out.append(rows)
|
|
1830
|
+
append_rows(data)
|
|
1810
1831
|
return out
|
|
1811
1832
|
|
|
1812
1833
|
|
|
@@ -1818,8 +1839,9 @@ def _overlay_codex_source_session_labels(
|
|
|
1818
1839
|
``state_5.sqlite.threads.title`` is derived from transcript prompt content.
|
|
1819
1840
|
The frozen source state therefore retains it only in a server-private key
|
|
1820
1841
|
map, outside the published ``data`` tree. Closed requests return before
|
|
1821
|
-
consulting that map; open requests match labels to
|
|
1822
|
-
their opaque resource keys. A missed call
|
|
1842
|
+
consulting that map; open requests match labels to merged-parent,
|
|
1843
|
+
account-scoped, and All rows by their opaque resource keys. A missed call
|
|
1844
|
+
fails closed.
|
|
1823
1845
|
"""
|
|
1824
1846
|
if not transcripts_visible:
|
|
1825
1847
|
return
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cctally",
|
|
3
|
-
"version": "1.87.
|
|
3
|
+
"version": "1.87.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": {
|