hermes-bsd/agent
kshitijk4poor 8a11b0a204 feat(account-usage): add per-provider account limits module
Ports agent/account_usage.py and its tests from the original PR #2486
branch. Defines AccountUsageSnapshot / AccountUsageWindow dataclasses,
a shared renderer, and provider-specific fetchers for OpenAI Codex
(wham/usage), Anthropic OAuth (oauth/usage), and OpenRouter (/credits
and /key). Wiring into /usage lands in a follow-up salvage commit.

Authored-by: kshitijk4poor <82637225+kshitijk4poor@users.noreply.github.com>
2026-04-21 01:56:35 -07:00
..
transports
__init__.py
account_usage.py
anthropic_adapter.py
auxiliary_client.py
bedrock_adapter.py
codex_responses_adapter.py
context_compressor.py
context_engine.py
context_references.py
copilot_acp_client.py
credential_pool.py
credential_sources.py
display.py
error_classifier.py
file_safety.py
gemini_cloudcode_adapter.py
gemini_native_adapter.py
gemini_schema.py
google_code_assist.py
google_oauth.py
insights.py
manual_compression_feedback.py
memory_manager.py
memory_provider.py
model_metadata.py
models_dev.py
nous_rate_guard.py
prompt_builder.py
prompt_caching.py
rate_limit_tracker.py
redact.py
retry_utils.py
shell_hooks.py
skill_commands.py
skill_utils.py
subdirectory_hints.py
title_generator.py
trajectory.py
usage_pricing.py