feat(codex): add multi-account support via Hermes and smart tray averaging - #56
Open
ramonpaolo wants to merge 12 commits into
Open
feat(codex): add multi-account support via Hermes and smart tray averaging#56ramonpaolo wants to merge 12 commits into
ramonpaolo wants to merge 12 commits into
Conversation
- Extracts account discovery logic into codex/accounts.rs - Adapts CodexProvider to spawn multiple UsageProvider instances based on discovered accounts - Adds native parsing for Hermes credential pool (auth.json) - Updates IPC commands and Settings to handle codex family scopes - Passes all provider test suites
Instead of only rendering the gauge for the very first pinned metric in the layout, the tray icon now averages the primary gauge of each available provider. This ensures the icon accurately reflects the overall health and quota remaining across all active accounts.
ramonpaolo
force-pushed
the
feat/multi-account-codex
branch
from
August 29, 2026 22:54
cc67687 to
8c0cd52
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces comprehensive multi-account support for the Codex provider by reading the Hermes
auth.jsonpool.Features
Weeklylimit is now the only metric pinned by default for all discovered accounts (including extra ones) to reduce tray clutter out-of-the-box while ensuring the tray icon natively reflects the multi-account average.libappindicator, the tray's context menu dynamically updates to display the average limit (e.g.Average Limit: 90% left) directly inside the menu.codex.mdexplaining the multi-account feature.All 548 automated tests continue to pass with a green build.