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

@valdo766hi/pi-fast

v0.1.2

Published

Pi extension for OpenAI priority service-tier requests

Readme

Pi fast mode extension

Install it with:

pi install npm:@valdo766hi/pi-fast

This extension registers /fast, which opts the current session into OpenAI's priority service tier.

Commands

/fast       # toggle
/fast on    # enable
/fast off   # disable

State is in-memory by default. Every new or resumed session starts off, so a session never inherits a paid tier from an earlier one. To explicitly opt a process or spawned Pi session in, start it with PI_FAST=1; otherwise enable /fast on separately in that session. The footer shows a nerd-font bolt (nf-fa-bolt, U+F0E7) followed by FAST: ON or FAST: OFF.

The glyph is a private-use codepoint, so fast.ts writes it as the escape "\u{f0e7}" rather than a literal — editors and pipelines have silently replaced the literal with a space. fast.test.ts pins the codepoint.

Provider behavior

While fast mode is on, the before_provider_request hook adds "service_tier": "priority" to the request payload, but only when all of the following hold:

  • the active model's provider is openai or openai-codex
  • the active model's api is openai-responses or openai-codex-responses, the two apis that serialize a service_tier field
  • the payload is a plain object that does not already carry service_tier

Everything else — other providers, OpenAI-compatible third parties such as groq or openrouter, Azure, and any explicitly set tier — is left unchanged. For Codex, the extension also applies Pi's priority multiplier to reported costs, because Codex reports the response tier as default.

Tests

node --test packages/fast/fast.test.ts

The same test runs in the repository's Node.js and devenv checks.