Repository navigation
Conversation
- Read each account's plan and organization from OMP's cached usage reports and show them as badges. - Show an Anthropic organization named after the account's email as Personal. - Show reset countdowns a day or more away as days and hours.
- Move plan and organization badges into the account heading row and its accessibility label.
- Accounts cards show the plan and organization badges the quota popover shows, from OMP's cached usage report, and drop OMP's parenthesized organization from the label once a badge shows it. - One tag rule in shared/account-tags.ts serves both views; `tags` defaults to an empty list.
…ve session - Paseo shows an OMP Plugin agent's model as an opaque id, so the quota pill and popover could not tell its provider and summarized every provider. - New RPC paseo-omp.session-model-provider asks the agent's live session, which maps the id back to OMP's model; a closed or unknown agent answers null and keeps the old summary. - The pill asks only for agents that are not closed and reuses the answer until the agent's model or status changes; the open popover asks again on the same changes.
- The quota popover lists the session's OMP logins (get_logout_accounts, or the stored session pin for a bundled omp agent), marks the one in use IN USE, a provider's only stored credential ONLY LOGIN, and offers Switch, which sends `/session pin OAuth credential #<id>`. - Logins link to recorded usage server-side by OMP's identity rule within the agent's own store. - The composer pill shows the in-use account's usage; dividers separate accounts and redundant notices are gone.
…ion account review gaps - Switch is disabled while the agent is running or initializing: Paseo interrupts a running turn on send, and OMP does not pin while it streams. Its accessible name uses the login label and its hit area grows by 8px. - Two logins sharing a usage account keep IN USE on the one in use. - The pill falls back to the provider peak when the account in use has no usage value, and its tooltip then says all accounts. - Tests cover Paseo's agent lookup through the registered RPC; a comment names the two parts of OMP's identity rules the matcher leaves out. - README lists what reaches the client and the limit of the Copilot single-login link.
…an unlinked login in use - Drop the rule that linked a provider's single identity-less login to its single usage account: one login and one usage key do not prove ownership, so a replaced Copilot login no longer inherits its predecessor's usage. - A login OMP names in use, or the provider's only one, that no usage row matches is named at the top of its provider with IN USE or ONLY LOGIN and no limits, for every provider alike. - Switch's hit slop brings its touch target to 44px; test fixtures drop token- and host-shaped values.
…s login in use - OMP's get_logout_accounts decides `active` by identity, so a pinned Copilot login reads as not in use in a live OMP Plugin session; the popover keeps OMP's answer.
- Ship the Claude, OpenAI, Copilot, Antigravity and Grok marks Paseo uses as currentColor SVG. - Keep Lucide icons for other providers; severity still tints the mark.
…th provider marks - Provider headings on the Accounts tab show the provider's brand mark. - Account cards share a row by the width available: one, two or three per row.
- Cards wrap into columns away from their provider heading, so each shows the provider mark before its name.
- Measuring the grid's own width fed back into the card widths, so resizing flipped between two and three columns. - Cards are now 440px wide and wrap as many to a row as the page fits; a narrower page shrinks the card.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 59 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
| Topic | Details | |||
|---|---|---|---|---|
| Credential resolution | Add server-side RPCs and store-aware resolution for live session providers and OAuth logins, securely link credentials to hashed usage-account keys using OMP identity rules, support profile-specific stores and sticky-session fallback, and avoid exposing raw account identifiers.Modified files (4)
Latest Contributors(0)
| |||
| Branding and layout | Render currentColor vendor marks for supported providers and arrange account cards into fixed 440px wrapping columns that shrink on narrow pages, while preserving fallback Lucide icons.Modified files (8)
Latest Contributors(0)
| |||
| Runtime integration | Extend the OMP runtime protocol and provider session lifecycle to report the model’s underlying provider and active logout accounts, including validation, unsupported-command handling, closed-session behavior, and runtime error boundaries.Modified files (4)
Latest Contributors(0)
| |||
| Regression coverage | Update state, account, quota, provider-pill, popover, runtime-control, store, and server tests to cover branding, responsive rendering, account badges, active-login ordering, switching safeguards, opaque provider lookup, profile isolation, identity matching, cache failures, and protocol fallbacks.Modified files (9)
Latest Contributors(0)
| |||
| Session-aware quotas | Enrich quota and account models with plan, organization, provider, identity, and session-account metadata; display badges, active-login markers, account dividers, reset durations, account-scoped summaries, provider resolution, and safe account switching in the pill and popover.Modified files (6)
Latest Contributors(0)
| |||
| Behavior documentation | Document provider marks, account badges, session/account matching rules, store isolation, switching behavior, provider resolution, quota semantics, and reset formatting so the expanded user-facing flow and its privacy guarantees are explicit.Modified files (1)
Latest Contributors(0)
|
| {sessionAccounts.error ? ( | ||
| // The host wraps handler errors in transport details; only a short notice belongs here. | ||
| <Text style={styles.muted}>Could not read which account this session uses.</Text> | ||
| ) : null} | ||
| {switchError ? <Text style={styles.error}>{switchError}</Text> : null} |
There was a problem hiding this comment.
Account errors stay silent to assistive technology
Screen readers do not announce session-account or switch errors because both are rendered as ordinary Text; render them with accessibilityRole="alert" or an equivalent live-region mechanism.
Want Baz to fix this for you? Activate Fixer
Prompt for AI Agents
Before applying, verify this suggestion against the current code. In
paseo-omp/client/quota-popover.tsx around lines 358-362, update the `QuotaPopover` error
rendering for `sessionAccounts.error` and `switchError` so failures are announced to
assistive technology. Add `accessibilityRole="alert"` to both error messages, or use the
repository’s equivalent live-region mechanism if that is the established convention.
| return await withOmpStore(storeForProvider(agent.provider), async () => { | ||
| const databasePath = defaultDatabasePath(); | ||
| const logins = await sessionLogins(input, registry, agent.sessionId, databasePath); |
There was a problem hiding this comment.
Session logins read from daemon default store
Agents with no live session can show the wrong logins—or none—because resolveListOmpSessionAccounts reads the default agent.db and store even when providerOptions.command launches OMP with a different agent directory; derive the database from the agent’s effective launch environment, or don’t attribute default-store data to the non-live agent.
Want Baz to fix this for you? Activate Fixer
Prompt for AI Agents
Before applying, verify this suggestion against the current code. In
`paseo-omp/server/quota.ts` around lines 391-393, fix `resolveListOmpSessionAccounts` so
it does not always use `defaultDatabasePath()` for non-live agents. Derive the database
path from the agent’s effective launch environment/provider options, including
env-wrapper commands such as `PI_CODING_AGENT_DIR=/custom/agent`; if the path cannot be
determined reliably, return no accounts instead of reading unrelated default-store data.
Last part of the split of #631: provider marks and the Accounts card layout. Stacked on #634; it waits for your licence decision on the marks.
Changes
currentColorSVG inshared/provider-icons/, the same paths Paseo's own provider list draws, and appear in the quota pill, the popover headers and the Accounts tab. Other providers keep their Lucide icon.Licence
The marks are the vendors' logos. This repository is MIT and Paseo's icon files carry no licence header, so please decide whether the repository should carry them. Dropping
shared/provider-icons/andclient/provider-brand.tsleaves the Lucide icons and the card layout intact.Verification
npm run check,npm run typecheck: passed.npm test: 100 files passed, 1 skipped; 1515 tests passed, 8 skipped.Isolated daemon with fictional logins on
example.invalid:Accounts tab at 1900px, before:
After, fixed-width cards wrapping three to a row with provider marks: