codeburn/app/renderer/components
Resham Joshi e42f1e5db3
Explain why one session cost what it did (CLI + app session view) (#1645)
* feat(sessions): explain why one session cost what it did

`codeburn sessions --id <id> --why` reads one Claude Code transcript on
demand and returns where the money went: a verdict, findings ranked by
dollars, spend by prompt with helper (sub-agent) cost stacked, and every
prompt's model calls and tool steps with timing, cost parts and step detail.
Money comes from the parser's own dedupe, turn grouping and calculateCost,
so the session total matches its `sessions` row.

The desktop app opens this as a focused session view when a Claude Code
session is clicked. Transcript content is read on demand only: never cached,
never routed through serve's output memo, never synced or sent in telemetry.

* fix(sessions): audit fixes for the session cost view

Recovery after a failed step stays inside its prompt; neutral note when the
view and the row differ (forked/resumed transcripts); starting-context
estimate compares against the cached prefix; local dates with the end date
when the session spans days; idle gaps that end with a helper reporting back
say so; savings are the difference of the shown figures; singular counts;
more secret patterns (sk_live_/sk_test_, aws_secret_access_key, URL
credentials); a note when the prompt count differs from the row's turns.
2026-10-06 11:49:58 +02:00
..
AboutModal.test.tsx fix(windows): Store installs get no GitHub update offer, and codeburn menubar opens the Store copy by its app id (#1520) (#1549) 2026-09-24 19:51:04 +02:00
AboutModal.tsx fix(windows): Store installs get no GitHub update offer, and codeburn menubar opens the Store copy by its app id (#1520) (#1549) 2026-09-24 19:51:04 +02:00
ActivityHeatmap.test.tsx Desktop: measured polish pass, new frame, card system, motion, onboarding (#1459) 2026-09-16 19:48:33 +02:00
ActivityHeatmap.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
AnchoredSurface.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
BranchBreakdown.test.tsx Add Spend By branch lens (renderer -> IPC -> branch-json report) 2026-09-12 13:09:00 -07:00
BranchBreakdown.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
ChartTip.tsx Compare periods: lead sentence, three tiles, day bars, top movers (#1446) 2026-09-15 23:12:12 +02:00
CliErrorPanel.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
ConnectAffordance.tsx 0.9.25 round 2: fixes found testing the built apps (#1517) 2026-09-21 13:53:45 +02:00
CursorSyncLine.test.tsx feat(cursor): show the Cursor sync status and an on/off switch in the apps (#1638) 2026-10-05 17:11:41 +02:00
CursorSyncLine.tsx feat(cursor): show the Cursor sync status and an on/off switch in the apps (#1638) 2026-10-05 17:11:41 +02:00
Dropdown.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
EmptyState.tsx polish(app): spacing scale, unified insets, shared banner classes, scrollbar cues 2026-07-16 04:02:21 -07:00
ErrorBoundary.test.tsx feat(app): error boundary so a crashing screen shows the error, not a blank 2026-07-11 14:33:16 -07:00
ErrorBoundary.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
FilterChips.test.tsx fix(app): key investigation chips by identity, not by their label 2026-09-13 06:41:04 -07:00
FilterChips.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
FlameMark.tsx Desktop: measured polish pass, new frame, card system, motion, onboarding (#1459) 2026-09-16 19:48:33 +02:00
Hint.tsx feat(app): window chrome, sidebar nav, and Overview smoke view 2026-07-10 15:17:11 -07:00
icons.tsx Desktop: measured polish pass, new frame, card system, motion, onboarding (#1459) 2026-09-16 19:48:33 +02:00
ListRow.tsx Desktop: measured polish pass, new frame, card system, motion, onboarding (#1459) 2026-09-16 19:48:33 +02:00
Onboarding.test.tsx 0.9.25: correctness, energy, menu bar and installer fixes (#1511) 2026-09-21 00:16:21 +02:00
Onboarding.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
Panel.tsx polish(app): spacing scale, unified insets, shared banner classes, scrollbar cues 2026-07-16 04:02:21 -07:00
ProviderLogo.test.tsx fix(app): provider logos key on internal ids + monogram fallback 2026-07-16 09:27:46 -07:00
ProviderLogo.tsx chore: remove Roo Code support (#1551) 2026-09-24 21:34:39 +02:00
ProviderPop.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
Punchcard.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
RangeCalendar.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
RootDeepProjectLabels.test.tsx fix(usage): preserve project identity and qualify incomplete session counts 2026-09-07 22:02:54 +05:30
Sankey.tsx Windows menu bar and Capacity Dock as a Plugins card, plus desktop fixes (#1507) 2026-09-19 18:43:27 -07:00
SegTabs.tsx polish(app): shared empty states, type ladder, AA contrast, honest affordances, a11y semantics 2026-07-16 02:27:41 -07:00
SessionDrawer.tsx Explain why one session cost what it did (CLI + app session view) (#1645) 2026-10-06 11:49:58 +02:00
Sidebar.test.tsx Windows menu bar and Capacity Dock as a Plugins card, plus desktop fixes (#1507) 2026-09-19 18:43:27 -07:00
Sidebar.tsx Windows menu bar and Capacity Dock as a Plugins card, plus desktop fixes (#1507) 2026-09-19 18:43:27 -07:00
Skeleton.test.tsx feat(app): motion layer (gsap) — count-ups, chart grow-in, section fade, skeletons, toasts 2026-07-16 04:39:09 -07:00
Skeleton.tsx feat(app): motion layer (gsap) — count-ups, chart grow-in, section fade, skeletons, toasts 2026-07-16 04:39:09 -07:00
Splash.test.tsx fix: hydration completeness markers, cold-only splash, honest switching, prefetch 2026-07-16 14:05:11 -07:00
Splash.tsx 0.9.25: correctness, energy, menu bar and installer fixes (#1511) 2026-09-21 00:16:21 +02:00
StackedBars.test.tsx Classify GLM-5.3 and Flash spend tiers (#1598) 2026-10-02 10:47:05 +02:00
StackedBars.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
StaleBanner.test.tsx fix(app): accuracy batch A — provider scoping, honest chart axes, range threading, stale-error banner 2026-07-16 01:14:41 -07:00
StaleBanner.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
Stat.tsx polish(app): shared empty states, type ladder, AA contrast, honest affordances, a11y semantics 2026-07-16 02:27:41 -07:00
TeamRegistry.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
ToastHost.test.tsx feat(app): motion layer (gsap) — count-ups, chart grow-in, section fade, skeletons, toasts 2026-07-16 04:39:09 -07:00
ToastHost.tsx Desktop: measured polish pass, new frame, card system, motion, onboarding (#1459) 2026-09-16 19:48:33 +02:00
TopBar.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
UpdateBanner.test.tsx feat(app): update-available notifications 2026-07-17 04:58:13 -07:00
UpdateBanner.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
Usd.test.tsx desktop: light theme default, refreshed type and spacing, plugin and plan cards (#1485) 2026-09-18 15:09:01 -07:00
Usd.tsx desktop and menu bar: six-language localization (#1493) 2026-09-19 03:25:46 -07:00
Window.tsx feat(app): window chrome, sidebar nav, and Overview smoke view 2026-07-10 15:17:11 -07:00