npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

omp-multi-auth

v1.3.0

Published

Multi-account OAuth login for omp (Oh My Pi) -- add and manage multiple accounts per provider from one place.

Downloads

1,575

Readme

omp-multi-auth

Multi-account OAuth login for omp (Oh My Pi). Add, authenticate, and switch between multiple accounts per provider. OMP's built-in fallback handles rate-limit retry and model fallback.

Install

omp install npm:omp-multi-auth

Or install from GitHub:

omp install git:github.com/tuandinh0801/omp-multi-auth

Features

  • Multiple OAuth accounts per provider
  • Switch active account with /multi-auth switch
  • Cross-provider model presets with /multi-auth-preset
  • Built-in quota checks with /multi-auth limits
  • Project affinity through .omp/multi-auth.json and allowedSubs
  • Labels for organizing accounts
  • Interactive TUI management

Commands

/multi-auth

| Command | Description | |---|---| | /multi-auth | Open account management menu | | /multi-auth list | List configured accounts | | /multi-auth add | Add an account | | /multi-auth remove | Remove an account | | /multi-auth login | Authenticate an account | | /multi-auth logout | Sign out an account | | /multi-auth switch | Switch active account/provider | | /multi-auth status | Show account and authentication status | | /multi-auth limits | Check provider quota and usage |

/multi-auth-preset

| Command | Description | |---|---| | /multi-auth-preset | Open preset menu | | /multi-auth-preset activate | Activate a preset's best available entry | | /multi-auth-preset <name> | Activate preset by name | | /multi-auth-preset create | Create a preset | | /multi-auth-preset list | List presets | | /multi-auth-preset toggle | Enable or disable a preset | | /multi-auth-preset remove | Delete a preset |

Presets select models across providers. On rate limits, requests fall through to OMP's built-in fallback.

Project-level configuration

Create .omp/multi-auth.json in a project to restrict which subscription provider names are available. allowedSubs is an exact allow-list; omit it to allow all configured accounts.

{
  "allowedSubs": ["openai-codex-2", "anthropic-2"]
}

Supported providers

OAuth

| Provider | Service | |---|---| | anthropic | Anthropic (Claude Pro/Max) | | openai-codex | ChatGPT Plus/Pro (Codex) | | github-copilot | GitHub Copilot | | google-gemini-cli | Google Cloud Code Assist | | google-antigravity | Antigravity | | kimi-code | Kimi Code | | xai-oauth | xAI Grok OAuth | | cursor | Cursor (browser PKCE OAuth or API key) |

API key

| Provider | Service | |---|---| | openai | OpenAI (API key) | | deepseek | DeepSeek | | mistral | Mistral | | groq | Groq | | xai | xAI (API key) | | google | Google Gemini (API key) | | openrouter | OpenRouter | | together | Together AI | | fireworks | Fireworks AI | | cerebras | Cerebras | | moonshot | Moonshot (Kimi) | | zai | Z.AI (GLM) | | minimax | MiniMax (Global) | | minimax-cn | MiniMax (China) | | cursor | Cursor (dashboard API key crsr_... / cursor_... or browser sign-in) |

API-key providers support full multi-account operation. Add an account with /multi-auth add, select the provider, then authenticate via /multi-auth login (or /login <name>) and paste your API key when prompted. Each account stores its own key independently in OMP auth storage.

For cursor, /multi-auth login prompts for a dashboard API key (crsr_.../cursor_...). Submit a key to use token exchange, or leave it blank to sign in via browser PKCE OAuth. Both methods refresh automatically.

Built-in quotas

Run /multi-auth limits to inspect quota and usage information for supported providers. This currently includes built-in quota checks for Codex and Google providers. Results depend on provider availability and authenticated account state.

Configuration files

| Scope | Path | Contents | |---|---|---| | Global | ~/.omp/agent/multi-auth.json | Subscriptions and presets | | Project | .omp/multi-auth.json | allowedSubs allow-list |

Credits

Originally based on pi-multi-pass.

License

MIT