mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 02:39:13 +00:00
The app wrote the spend limit as a top-level dailyBudget in dollars. The CLI's own config type has never had that key: it reads budget.daily, in the display currency. So a limit set in the settings window did nothing for `codeburn report`, and a limit set by the CLI did nothing for the tray. The limit is budget.daily now, written as the reader typed it, in whatever currency they are looking at, which is what the CLI's other budget tiers already mean. Every comparison converts it back to dollars against the rate the app already has for the currency, because the payload is in dollars; the popover re-reads it when the currency changes, since what a limit is worth in dollars moves with the rate. An existing dailyBudget is read once more and moved across on the first read after this build, rate applied, old key removed, so a limit set before this does not silently switch off. The token budget has no CLI counterpart and stays exactly where it was. |
||
|---|---|---|
| .. | ||
| capabilities | ||
| icons | ||
| src | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| tauri.conf.json | ||