repospend 0.0.7 → 0.0.9

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,9 +2,33 @@
2
2
 
3
3
  All notable changes to RepoSpend will be documented in this file.
4
4
 
5
+ ## 0.0.9
6
+
7
+ - Cache parsed Codex session summaries under `~/.repospend/cache` so unchanged large transcripts reload much faster.
8
+ - Limit local source scanning to the active dashboard date window when possible, reducing default last-7-days scan work.
9
+ - Warm a bounded last-30-days cache in the background after the default last-7-days dashboard loads, without auto-scanning all-time history.
10
+ - Make refresh/rescan/retry actions clear RepoSpend's parse cache before reloading local logs.
11
+ - Add an Advanced settings action to clear only the parse cache and reload without deleting pricing or source settings.
12
+ - Keep demo mode from reading, warming, or clearing the real local parse cache.
13
+ - Make experimental Cursor support opt-in so default scans and dashboard surfaces stay focused on Codex and Claude Code unless Cursor is explicitly enabled in Settings.
14
+ - Add a local Data Sources setting for enabling Cursor, with copy explaining that reliable Cursor tokens, model names, and costs are often unavailable from local transcript files alone.
15
+ - Hide Cursor quick links, loading-state rows, and status copy while the experimental Cursor source is disabled.
16
+ - Improve Cursor CLI metadata recovery by inferring transcript dates and repo paths from Cursor's local project/transcript paths when records omit timestamp or cwd fields.
17
+ - Avoid an unnecessary standalone Codex session pass for sessions already imported from the Codex SQLite thread index.
18
+
19
+ ## 0.0.8
20
+
21
+ - Make `repospend serve` and `npx repospend` recover when the default localhost port is already in use by trying nearby ports instead of exiting with `EADDRINUSE`.
22
+ - Print a clear message when RepoSpend falls back from the requested port to the actual dashboard port.
23
+ - Add a Models view with per-model token shape, API-equivalent cost, cache reuse, top repo, latest activity, and one-click filter into Sessions.
24
+ - Reorder the Overview so the Top repositories and Waste signals panels appear higher on the page.
25
+ - Refresh the dashboard accent color from purple to teal across nav, KPI cards, and the metric timeline.
26
+ - Replace the Sessions page mini-stats with filter-aware totals (tokens, API-equivalent cost, sessions needing review, edits, commands).
27
+ - Make the filters bar scroll with the page instead of sticking to the top.
28
+ - Collapse the "How Agent Friction is classified" explainer into a disclosure to reduce vertical noise on the Agent Friction page.
29
+
5
30
  ## 0.0.7
6
31
 
7
- - Bump RepoSpend package versions to 0.0.7.
8
32
  - Add experimental Cursor support with read-only discovery for local JSONL transcripts and SQLite/vscdb storage, keeping sessions visible when token or cost data is unavailable.
9
33
  - Include Cursor in source filters, dashboard source health, README data-source documentation, and CLI help.
10
34
  - Track known vs. unknown-cost sessions in grouped breakdowns so mixed Cursor or Claude data does not hide partial cost coverage.
package/README.md CHANGED
@@ -68,11 +68,12 @@ prints the dashboard URL. By default it runs at
68
68
  |---|---|---|
69
69
  | Codex | Most complete support | Tokens, models, sessions, repo grouping, command friction |
70
70
  | Claude Code | Initial support | Sessions, projects, models, timestamps, tokens when available |
71
- | Cursor | Experimental | Local JSONL and SQLite/vscdb discovery; tokens/cost only when local data includes them |
71
+ | Cursor | Experimental opt-in | Local JSONL and SQLite/vscdb discovery; tokens/cost only when local data includes them |
72
72
  | RTK | Optional/local | Shown only when local RTK data exists |
73
73
 
74
- RepoSpend started as a Codex-first release. Claude Code and Cursor support are
75
- newer and depend on what those tools persist locally.
74
+ RepoSpend started as a Codex-first release. Claude Code support is newer, and
75
+ Cursor is off by default because accurate Cursor token usage often requires
76
+ account-backed usage data rather than local files alone.
76
77
 
77
78
  ## Requirements
78
79
 
@@ -121,6 +122,13 @@ token intensity across projects.
121
122
  Repo detail explains why a project stands out, including cost concentration,
122
123
  warnings, token shape, sessions, and command signals.
123
124
 
125
+ ### Models
126
+
127
+ ![RepoSpend models view with fictional model usage and token shape](docs/screenshots/models-view.png)
128
+
129
+ The models view compares token shape, API-equivalent cost, cache reuse, sessions,
130
+ and repo concentration across the models used in the current scan.
131
+
124
132
  ### Sessions
125
133
 
126
134
  ![RepoSpend sessions table with fictional session titles](docs/screenshots/sessions-view.png)
@@ -239,12 +247,18 @@ RepoSpend-owned settings:
239
247
  ```text
240
248
  ~/.repospend/pricing.json
241
249
  ~/.repospend/config.json
250
+ ~/.repospend/cache/
242
251
  ```
243
252
 
244
253
  The Settings page includes a reset action for RepoSpend-owned files under
245
254
  `~/.repospend/`. It does not delete or edit anything under `~/.codex` or
246
255
  `~/.claude`.
247
256
 
257
+ RepoSpend caches parsed session summaries under `~/.repospend/cache/` so
258
+ unchanged large transcripts reload faster. Rescan actions clear this parse cache
259
+ before reading local logs again. The Advanced settings tab can clear only the
260
+ parse cache without removing pricing or source settings.
261
+
248
262
  ## Commands
249
263
 
250
264
  Most users only need:
@@ -286,8 +300,9 @@ browser.
286
300
  token usage are shown when present in local JSONL files.
287
301
  - Claude Code sessions without local token details are shown with unknown
288
302
  tokens/cost.
289
- - Cursor support is experimental: local transcript/session discovery is
290
- best-effort, and Cursor may omit token/cost details or change local schemas.
303
+ - Cursor support is experimental and off by default: local transcript/session
304
+ discovery is best-effort, and Cursor may omit token/cost details or change
305
+ local schemas.
291
306
  - Cost estimates do not represent subscription billing, credits, regional
292
307
  pricing, or account-specific terms.
293
308
  - Budget alerts are not available yet.