Repository navigation
burnrate v0.1.0: Terminal HUD, Hard Spend Caps & Cache Guard
⚡ burnrate v0.1.0 Release
Never wake up to an unexpected 0 Claude Code or Cursor bill again.
Terminal HUD, hard spend breakers, and instant prompt-cache leak alerts.
🚀 Features
- Hard Spend Circuit Breaker: Terminates runaway agent loops the moment
max_spendis breached. - Prompt-Cache Invalidation Linter: Detects byte-level prefix drift (e.g. dynamic timestamps or unsorted JSON) that bust the 90% prompt-cache discount.
- Live Terminal HUD: Renders an ANSI status bar displaying spend, burn rate ($/min), turns, and cache hit rates.
- Reverse Proxy Daemon (
burnrate serve): In-line proxy supporting Anthropic and OpenAI wire protocol formats. - Command Wrapper (
burnrate run): Easily wrapclaude,opencode, or custom agent loops with budget limits.
📦 Installation
cargo install burnrate-agent🧪 Verification & Health
- 5/5 Tests Passing in CI.
- Published to Crates.io: https://crates.io/crates/burnrate-agent