omp packages

@leo_aifirst/pi-accounts1.0.0

Pi extension for switching named provider-owned OAuth accounts.

leo_aifirst Published 16 days ago MIT ~189 downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

@leo_aifirst/pi-accounts

Our maintained fork, sourced from https://github.com/zenenznze/pi-accounts. The original MIT license and upstream attribution remain intact. Version 1.0.0 is being prepared; installation below is usable only after npm publication.

pi install npm:@leo_aifirst/pi-accounts@1.0.0

Do not load this fork alongside the upstream accounts plugin.

Save and switch named OAuth accounts for Pi's built-in providers. Each Pi session keeps its own selection for every provider, and choosing default restores Pi's normal authentication only for that session without deleting saved accounts.

Active OAuth-only bridge providers stay visible while Pi resolves its initial scoped or saved default model, and fail closed if runtime authentication cannot be restored.

Startup default accounts

Open /accounts → Startup default accounts, then select a saved account to turn its startup default on or off. A ✓ marks the enabled account; ○ marks an account that is off. Each provider has at most one startup default, so turning one account on replaces that provider's previous default. Turning the current default off makes new sessions use the provider's normal Pi login.

The main menu shows Active accounts (this session) separately from Startup defaults (new sessions). Changing a startup default does not switch any open session, rewrite resumed sessions, or delete saved credentials. Use the existing Switch … account action to change only the current session.

The preference uses the existing provider active field in pi-accounts.json; no migration or account re-login is required.