Commit 00184a8
fix: re-parse 0-token Grok rows, hide Gemini from usage ledger
Two follow-ups from the live app:
- Grok rows indexed by the earlier broken parser (0 tokens) were being
pinned by the incremental mtime-skip, so the corrected estimate never
re-applied. SessionMeta now carries total_input_tokens and the Grok +
Cursor-Agent skips re-parse any 0-token row.
- Gemini still appeared in the Provider usage ledger (separate table from
the account list filtered earlier). Exclude google from
list_provider_usage_ledger too.
Combined with the all-time real-compute bar (1.1.61), after re-index the
split shows Claude dominant (all-time) with Grok/Cursor present and no
Gemini anywhere.
Bumps desktop app to 1.1.62.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 9c0e88d commit 00184a8
5 files changed
Lines changed: 17 additions & 5 deletions
File tree
- apps/desktop
- src-tauri
- src
- commands
- db
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
| 325 | + | |
325 | 326 | | |
326 | 327 | | |
327 | 328 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1309 | 1309 | | |
1310 | 1310 | | |
1311 | 1311 | | |
1312 | | - | |
| 1312 | + | |
| 1313 | + | |
| 1314 | + | |
| 1315 | + | |
| 1316 | + | |
| 1317 | + | |
1313 | 1318 | | |
1314 | 1319 | | |
1315 | 1320 | | |
| |||
1462 | 1467 | | |
1463 | 1468 | | |
1464 | 1469 | | |
1465 | | - | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
1466 | 1474 | | |
1467 | 1475 | | |
1468 | 1476 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| 352 | + | |
352 | 353 | | |
353 | 354 | | |
354 | 355 | | |
| |||
366 | 367 | | |
367 | 368 | | |
368 | 369 | | |
369 | | - | |
| 370 | + | |
| 371 | + | |
370 | 372 | | |
371 | 373 | | |
372 | 374 | | |
| |||
376 | 378 | | |
377 | 379 | | |
378 | 380 | | |
| 381 | + | |
379 | 382 | | |
380 | 383 | | |
381 | 384 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
0 commit comments