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

pi-yolo-auto

v0.1.6

Published

Pi provider extension for the Yolo-Auto flat-rate Qwen3.8-27B API (OpenAI-compatible, stale-while-revalidate model catalog sync, subscription usage).

Readme

pi-yolo-auto

A pi provider extension for Yolo-Auto's flat-rate Qwen3.8-27B API

Adds an OpenAI-compatible provider with auto model-catalog sync and per-session subscription (Free/Builder/Pro) usage to pi.

CI Live probe Node.js license

Run

pi --model yolo-auto/qwen3.8-27b "hello"

Loads the provider from the pi package registry and runs one turn against the Yolo-Auto endpoint. The extension serves the embedded model catalog immediately and refreshes it from GET /models on session start, so the first real prompt already has a resolved model id.

Why pi-yolo-auto?

| | Capability | What it unlocks | |:--:|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------| | ⚡ | Flat-rate LLM access | A paid Qwen3.8-27B endpoint integrated like any native pi provider, with no per-token surprise. | | 🔄 | Self-updating model catalog | Stale-while-revalidate sync keeps models.json current without downtime or manual edits. | | 📊 | Subscription visibility | The status footer shows your tier (Free/Builder/Pro) and request counters straight from /usage. | | 🪟 | Plan-aware context | Qwen3.8-27B reports 128K context on Free/Builder and 256K on Pro, matching the site tiers; the catalog hot-swaps when the detected plan changes. |

How it fits

flowchart LR
    API1[/GET /models/] --> Sync[update-models.js]
    API2[/GET /usage/] --> Footer[(status footer)]
    Sync --> Models[models.json]
    Models --> Patch[patch.json]
    Patch --> Custom[custom-models.json]
    Custom --> Ext[index.ts provider]
    Ext --> Footer

The extension entry point (index.ts) is the composition root: it registers the provider, owns the stale-while-revalidate loop over the embedded catalog, and feeds the subscription footer. The pure pipeline (models.ts, usage.ts) stays dependency-free so it is unit-testable without pi-ai.

Available Models

| Model | Context | Vision | Reasoning | Input $/M | Cache Read $/M | Output $/M | |-------------|---------|--------|-----------|-----------|----------------|------------| | Qwen3.8 27B | 131K | ✅ | ✅ | $0.00 | $0.00 | $0.00 |

Install

Install it through pi's package registry:

pi install npm:pi-yolo-auto

Then load the extension and a yolo-auto provider appears in /model:

pi update --extensions   # or restart pi

Auth

Get your API key from your Yolo-Auto account, then log in from inside pi (recommended):

/login yolo-auto

You'll be prompted to paste the key; it is stored in ~/.pi/agent/auth.json (key in the access slot) and never printed back.

The /login path is the one and only auth path. No environment variable.

Usage

pi --list-models yolo-auto
pi --model yolo-auto/qwen3.8-27b "hello"

Credentials are read from ~/.pi/agent/auth.json (written by /login) and resolved at request time; they are never stored by this package or printed.

Documentation

License

MIT, © 2026 Ryan Brosas. Third-party licenses are listed in THIRD_PARTY_NOTICES.md when they exist.