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

@alexeiled/pi-provider-compat

v0.1.3

Published

Bridge Pi custom providers into the legacy pi-ai compat dispatcher

Readme

@alexeiled/pi-provider-compat

npm version CI license

Temporary compatibility bridge for Pi extensions that call the legacy pi-ai dispatcher.

Problem

Pi >=0.80.8 keeps custom provider handlers registered through pi.registerProvider() inside their provider runtime. The legacy global @earendil-works/pi-ai/compat registry no longer receives those handlers.

Directly selecting a custom-provider model still works. An extension that calls stream() or streamSimple() from pi-ai/compat for that model fails instead:

No API provider registered for api: <custom-api>

Solution

This extension mirrors registered custom providers with streamSimple into the legacy compat registry. It routes each request by model.provider to the matching provider-scoped handler.

It does not use provider-specific names or allowlists. It never replaces an existing compat provider, and removes only registrations it created.

Install

pi install npm:@alexeiled/pi-provider-compat

Then reload Pi:

/reload

Temporary migration bridge

This package is a workaround, not the durable design. Affected extensions should use the selected provider's registered streamSimple handler from Pi's model registry, with the legacy compat dispatcher only as a fallback for built-in APIs.

Migration is tracked here:

| Extension | Issue | | --- | --- | | @yeliu84/pi-model-router | #19: Custom provider targets fail on Pi >= 0.80.8 | | pi-subagents | #527: Watchdog review fails with custom providers on Pi >= 0.80.8 |

Remove this bridge once the extensions you use have released those migrations.

Requirements

  • Pi 1.x starting at 1.0.2 (tested with Pi 1.0.2)
  • A custom provider registered with pi.registerProvider(..., { streamSimple })

This package does not provide credentials, implement a provider, or change Pi's normal model routing. It cannot help when the selected provider has no registered streamSimple handler.

Development

npm install
npm run test:all

License

MIT