Commit 4e05f2f
committed
release: v0.6.0 — /status calibration, status tray, logging, accuracy fixes
Features:
- /status calibration for Claude usage: enter the session % from Claude
Code's /status and TokenWatch back-solves your real effective limit so
the displayed percentage tracks it (Settings -> Claude plan).
- Status-colored tray icon (green/amber/red) on Windows/Linux, with a
make-tray-icons script; falls back to the plain icon when absent.
- Persistent main-process log at ~/.tokenwatch/logs/main.log (1 MB
rotation) wired to global + IPC error paths; "Open logs" button in
Settings.
- Projected 30-day cost tile in Analytics.
Fixes:
- Stop showing fabricated demo data when there is no session history;
render an honest zero state instead.
- Ctrl/Cmd+2 no longer opens a blank screen; number shortcuts now map to
the four visible tabs (Dashboard/Analytics/Terminal/Settings).
- Surface in-app refresh/save toasts (were pushed into an unrendered
queue and dropped).
- Codex context-window % used cumulative session tokens (showed ~2890%);
use the latest turn, clamped to 100%.
- Analytics summary tiles now follow the 7d/30d toggle; keep the final
X-axis label on 30d.
- sessionTracker sorts sessions newest-first.
Stability / cleanup:
- Async Codex session file I/O (off the main thread) so a large archive
doesn't block the UI on its 15s refresh.
- Deterministic teardown on quit (clear timers + terminate ccusage worker).
- Remove dead code: mock-data generators, unused LiveMonitoring and
NotificationSystem components.1 parent ca5f22f commit 4e05f2f
31 files changed
Lines changed: 823 additions & 779 deletions
File tree
- assets
- scripts
- src
- components
- i18n
- services
- types
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
12 | 55 | | |
13 | 56 | | |
14 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
155 | 179 | | |
156 | 180 | | |
157 | 181 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
155 | 179 | | |
156 | 180 | | |
157 | 181 | | |
| |||
Binary file not shown.
Loading
Binary file not shown.
Loading
Binary file not shown.
Loading
0 commit comments