xml-pipeline/xml_pipeline/server
dullfig d0d78a9f70 Add usage persistence for billing (SQLite)
- 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>
2026-01-27 21:58:22 -08:00
..
__init__.py Add AgentServer REST/WebSocket API 2026-01-27 20:22:58 -08:00
api.py Add usage persistence for billing (SQLite) 2026-01-27 21:58:22 -08:00
app.py Add AgentServer REST/WebSocket API 2026-01-27 20:22:58 -08:00
models.py Add usage persistence for billing (SQLite) 2026-01-27 21:58:22 -08:00
state.py Add capability introspection REST endpoints 2026-01-27 20:51:17 -08:00
websocket.py Add AgentServer REST/WebSocket API 2026-01-27 20:22:58 -08:00