Skip to content

feat: add resource-aware quota and outbox APIs - #30018

Closed
edoumo wants to merge 6 commits into
NousResearch:mainfrom
edoumo:feat/codex-quota-statusbar
Closed

edoumo wants to merge 6 commits into
NousResearch:mainfrom
edoumo:feat/codex-quota-statusbar

Conversation

@edoumo

@edoumo edoumo commented May 21, 2026

Copy link
Copy Markdown

Summary

  • render the Hermes CLI account-limit badge as Acct Sxx% Wyy% for account-backed providers
  • add Codex quota resource policy endpoint with cached status payloads
  • add SQLite-backed PromptDraft outbox store plus CRUD API routes
  • add dashboard implementation plan and focused tests for quota/outbox behavior
  • preserve the prior TUI execFileNoThrow build fix included on this branch

Validation

  • /usr/local/lib/hermes-agent/venv/bin/python -m pytest tests/hermes_cli/test_account_limits_status_bar.py -q -o 'addopts='
  • /usr/local/lib/hermes-agent/venv/bin/python -m py_compile cli.py hermes_cli/commands.py tui_gateway/server.py
  • /usr/local/lib/hermes-agent/venv/bin/python -m pytest tests/test_account_usage.py tests/cli/test_gquota_command.py tests/agent/test_gemini_cloudcode.py::TestGquotaCommand -q -o 'addopts='

Dashboard companion

  • edoumo/hermes-dashboard main now includes persistent Outbox API binding in commit 4ddc6c7.

Add a compact account-limit badge to the classic CLI status bar so users can see remaining provider quota without blocking the prompt_toolkit render path.\n\nThe badge uses the existing account_usage plumbing, refreshes asynchronously, caches successful snapshots, and gracefully stays empty when usage data is unavailable.\n\nIncludes focused tests for Codex/generic formatting and status-bar rendering.
@alt-glitch alt-glitch added type/feature New feature or request P3 Low — cosmetic, nice to have comp/cli CLI entry point, hermes_cli/, setup wizard labels May 21, 2026
@edoumo edoumo changed the title feat(cli): show account usage in status bar feat(cli,tui): surface provider account quotas May 23, 2026
@edoumo edoumo changed the title feat(cli,tui): surface provider account quotas feat: add resource-aware quota and outbox APIs May 23, 2026
@edoumo

edoumo commented May 29, 2026

Copy link
Copy Markdown
Author

Closing this mixed-scope PR in favor of a focused quota/status-bar PR: #34828

@edoumo

edoumo commented May 29, 2026

Copy link
Copy Markdown
Author

Superseded by focused quota/status-bar PR #34828.

@edoumo edoumo closed this May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard P3 Low — cosmetic, nice to have type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants