mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-12-03 03:29:51 +00:00
The daily budget was always measured in dollars, so users tracking the Tokens or Total Tokens metric had no token-based budget alert. Add a separate token-denominated daily budget and route the flame tint and the hero "budget exceeded" banner through one metric-aware check. - New dailyTokenBudget (stored separately from the cost budget so switching metric never reinterprets a threshold). - Centralize the logic on AppStore: isTokenMetric, activeDailyBudget, todayMetricTotal, isOverDailyBudget, dailyBudgetLabel. - Settings shows a token-threshold picker (1M..100M) for token metrics and the existing dollar picker for the cost metric, with metric-aware help text. - Flame tint and the banner now use isOverDailyBudget / dailyBudgetLabel. |
||
|---|---|---|
| .. | ||
| ActivitySection.swift | ||
| AgentTabStrip.swift | ||
| FindingsSection.swift | ||
| HeatmapSection.swift | ||
| HeroSection.swift | ||
| MenuBarContent.swift | ||
| ModelsSection.swift | ||
| PeriodSegmentedControl.swift | ||
| SectionCaption.swift | ||
| SettingsView.swift | ||
| SparklineView.swift | ||
| ToolingSection.swift | ||