Pipeline/backend/app
null 02eb03d408 feat(usage): fix local window estimation + provider-native windows + pricing updates (#37 #38 #40)
Phase 3 (#38): Fix reset_in_ms=0 bug
- Add _oldest_active_ts() to find oldest session timestamp in 5h window
- _build_window() now anchors fallback to oldest_event_ts + 5h instead of now - 5h
- Add _parse_rate_limit_reset_value() and _extract_rate_limit_reset_at() for proper rate-limit reset parsing
- Source/confidence labeling now based on reset provenance

Phase 2 (#37): Provider-native usage windows
- ParsedClaudeUsageWindow dataclass with section-aware parsing
- Frontend ProviderNativeUsageWindow interface and provider-native usage section
- sessions.list call now has 8s timeout to avoid gateway blocking

Phase 5 (#40): Pricing fixes
- Opus cache_write corrected .75 → .75
- Added GPT-4.1/mini/nano, GPT-4.5 pricing
- Pricing override loader supports both shapes (rates_usd_per_million wrapper and direct dict)
2026-05-21 01:32:59 -05:00
..
api feat(usage): fix local window estimation + provider-native windows + pricing updates (#37 #38 #40) 2026-05-21 01:32:59 -05:00
core feat(runtime-usage): add provider usage scrapers as optional local adapters (batch 3, #32) 2026-05-20 20:55:05 -05:00
db fix(db): fix logger calls in schema drift check (standard logging API) 2026-05-20 22:41:15 -05:00
models feat(usage): fix local window estimation + provider-native windows + pricing updates (#37 #38 #40) 2026-05-21 01:32:59 -05:00
schemas feat(usage): fix local window estimation + provider-native windows + pricing updates (#37 #38 #40) 2026-05-21 01:32:59 -05:00
services feat(usage): fix local window estimation + provider-native windows + pricing updates (#37 #38 #40) 2026-05-21 01:32:59 -05:00
__init__.py feat: initialize Pipeline from Mission Control base (v0.0.4) 2026-05-19 01:17:58 -05:00
main.py feat(admin): gateway restart, config edit, logs, provider credentials (batch 6, #35) 2026-05-20 22:03:57 -05:00