repospend 0.0.8 → 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 +14 -0
- package/README.md +13 -5
- package/dist/cli.js +506 -166
- package/package.json +1 -1
- package/web-dist/assets/{index-CcjRLAsK.css → index-D9bkUUxw.css} +1 -1
- package/web-dist/assets/index-L2zVlSNd.js +306 -0
- package/web-dist/index.html +2 -2
- package/web-dist/assets/index-CruklDZf.js +0 -306
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
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
|
+
|
|
5
19
|
## 0.0.8
|
|
6
20
|
|
|
7
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`.
|
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
|
|
75
|
-
|
|
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
|
|
|
@@ -246,12 +247,18 @@ RepoSpend-owned settings:
|
|
|
246
247
|
```text
|
|
247
248
|
~/.repospend/pricing.json
|
|
248
249
|
~/.repospend/config.json
|
|
250
|
+
~/.repospend/cache/
|
|
249
251
|
```
|
|
250
252
|
|
|
251
253
|
The Settings page includes a reset action for RepoSpend-owned files under
|
|
252
254
|
`~/.repospend/`. It does not delete or edit anything under `~/.codex` or
|
|
253
255
|
`~/.claude`.
|
|
254
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
|
+
|
|
255
262
|
## Commands
|
|
256
263
|
|
|
257
264
|
Most users only need:
|
|
@@ -293,8 +300,9 @@ browser.
|
|
|
293
300
|
token usage are shown when present in local JSONL files.
|
|
294
301
|
- Claude Code sessions without local token details are shown with unknown
|
|
295
302
|
tokens/cost.
|
|
296
|
-
- Cursor support is experimental: local transcript/session
|
|
297
|
-
best-effort, and Cursor may omit token/cost details or change
|
|
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.
|
|
298
306
|
- Cost estimates do not represent subscription billing, credits, regional
|
|
299
307
|
pricing, or account-specific terms.
|
|
300
308
|
- Budget alerts are not available yet.
|