mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 10:43:47 +00:00
The Capacity Dock's glance popover rendered the machine-wide Today block in every provider's card, so hovering Claude showed the total across every provider as if it were Claude's. CLI (add-only): ProviderCost and providerDetails now carry optional inputTokens, outputTokens and sessions, summed per provider in all three branches that build the provider list. They stay ABSENT when no day in the period reported a breakdown, so a consumer can tell "no data" from zero. STATUS_SNAPSHOT_RENDER_VERSION 4 -> 5, since a v4 snapshot's payload predates the new fields; the daily cache already holds the tokens, so its version is untouched. App: the Today row reads the hovered provider's row out of providerDetails (matched on the CLI provider id, which the dock's kimi entry bridges to kimicode). Against a CLI that omits per-provider tokens the arrows drop out rather than falling back to the global pair; a provider absent from a breakdown that IS present reads as a real $0.00. The row keeps its fixed frame, so the panel's computed height is unchanged either way. |
||
|---|---|---|
| .. | ||
| ActivitySection.swift | ||
| AgentTabStrip.swift | ||
| CapacityDockView.swift | ||
| FindingsSection.swift | ||
| FlameWordmark.swift | ||
| HeatmapSection.swift | ||
| HeroSection.swift | ||
| MenuBarContent.swift | ||
| ModelsSection.swift | ||
| PeriodSegmentedControl.swift | ||
| PullRequestsSection.swift | ||
| SectionCaption.swift | ||
| SettingsView.swift | ||
| SparklineView.swift | ||
| ToolingSection.swift | ||