hermes-agent/docs/plans
alt-glitch d869bde319 feat(billing): nous_billing http client + BillingState core (phase 2b)
Phase 2b terminal-billing client foundation:
- hermes_cli/nous_billing.py: typed client for the 4 /api/billing/* endpoints
  (state/charge/poll/auto-top-up). Raises typed errors (BillingScopeRequired,
  BillingRateLimited, BillingAuthError) mapped from the live-verified contract;
  fail-open is the caller's job. Idempotency-Key enforced client-side.
- agent/billing_view.py: surface-agnostic BillingState core + Decimal money
  parsing (server emits decimal strings, not 2dp), fail-open builder,
  idempotency-key gen, custom-amount validation.
- 51 unit tests (decimal parse/format, payload tiering, error->exception
  matrix, fail-open, amount validation).

Plan: docs/plans/2026-06-13-001-phase-2b-terminal-billing-tui-plan.md
2026-06-13 11:52:02 +05:30
..
2026-06-09-003-fix-telegram-stream-overflow-continuations-plan.md fix(gateway): recover partial Telegram overflow streams 2026-06-10 15:09:35 -07:00
2026-06-13-001-phase-2b-terminal-billing-tui-plan.md feat(billing): nous_billing http client + BillingState core (phase 2b) 2026-06-13 11:52:02 +05:30