Add omp profile selection and a GitHub account flag - #3
Merged
Merged
Conversation
`--profile` isolates omp usage and cache, and labels each provider with that account's email from `omp usage`. `--github` scopes MY PRS and REVIEW REQUESTED to a named gh login without switching the active account.
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.
What and why
--profile NAMEuses the same isolated omp auth asomp --profile NAME, and only that profile's authenticated providers appear. With--profile, each usage heading shows that provider's email fromomp usagein white (Codex (user@example.com)).--github USER(config:github.account) fetches MY PRS and REVIEW REQUESTED for a namedghlogin withoutgh auth switch. It does not label usage.OpenRouter per-key spend and Nous Portal credits are read through the selected omp profile's token. Emails and keys are not hardcoded.
Checklist
uv run pytestanduv run ruff check .passCHANGELOG.mdhas a line underUnreleasedfor a user-visible changeuv run python scripts/screenshot.py)Default screenshot is unchanged: emails only appear when
--profileis set.