mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-08-25 08:22:42 +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. |
||
|---|---|---|
| .. | ||
| CodeBurnMenubar | ||