- UsageStore with async SQLite persistence via aiosqlite - Background batch writer for non-blocking event persistence - Auto-subscribes to UsageTracker for transparent capture - Query methods: query(), get_billing_summary(), get_daily_usage() - REST API endpoints: /usage/history, /usage/billing, /usage/daily - Filtering by org_id, agent_id, model, time range - 18 new tests for persistence layer Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| scripts | ||
| conftest.py | ||
| test_buffer.py | ||
| test_context_buffer.py | ||
| test_crypto.py | ||
| test_hot_reload.py | ||
| test_pipeline_steps.py | ||
| test_pump_integration.py | ||
| test_sequence.py | ||
| test_server.py | ||
| test_shared_backend.py | ||
| test_todo_registry.py | ||
| test_token_budget.py | ||
| test_usage_store.py | ||