Codex review on #59 found two real gaps in the new metric switch. The provider detail chart kept calling `costChartPoints()`, which always read `point.cost` and formatted currency, so a provider tab in token mode showed a cost-scaled chart above token-scaled rows. That helper and the chart title now follow `costHistoryShowsTokens`. `spendDailyPoints()` also skipped any provider whose `currencyCode` differed from the first one. That filter is needed to sum money, but token counts carry no currency, so it silently dropped whole providers from the range chart and heatmap in token mode. It now applies in cost mode only. Both rules are pinned by new assertions in test_feature_parity.sh. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Simone committed on 8/16/2026, 2:46:27 PMparent4a5741c
3 files changedLine totals unavailable