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-meridian-extension

v0.1.2

Published

Meridian proxy provider for pi — use your Claude Max subscription through the Meridian local proxy

Readme

pi-meridian-extension

Use your Claude Max subscription through pi via Meridian — a local proxy that bridges the Anthropic Messages API with Claude Code SDK authentication.

Without this extension, pi's default system prompt triggers an "You're out of extra usage" error on Claude Opus 4.6 (and potentially other models) when routed through Meridian. This extension rewrites the system prompt only for Meridian requests to avoid that issue, while leaving all other providers untouched.

What it does

  • Registers a meridian provider with 5 Claude models (Sonnet 4.5, Opus 4.5, Sonnet 4.6, Opus 4.6, Haiku 4.5)
  • Rewrites the system prompt for Meridian requests to avoid the extra-usage error, preserving project context and working directory
  • Auto-starts Meridian on session start if the proxy isn't running
  • Adds commands: /meridian (health check), /meridian start, /meridian version

Models

| ID | Name | |----|------| | meridian/claude-sonnet-4-5 | Claude Sonnet 4.5 | | meridian/claude-opus-4-5 | Claude Opus 4.5 | | meridian/claude-sonnet-4-6 | Claude Sonnet 4.6 | | meridian/claude-opus-4-6 | Claude Opus 4.6 | | meridian/claude-haiku-4-5 | Claude Haiku 4.5 |

Use them with --model, e.g. --model meridian/claude-opus-4-6:high.

Install

pi install npm:pi-meridian-extension

Requires Meridian installed globally:

npm install -g @rynfar/meridian

Configuration

| Env var | Default | Description | |---------|---------|-------------| | MERIDIAN_BASE_URL | http://127.0.0.1:3456 | Meridian proxy URL |

Switch to Meridian

After installing, switch your model in pi:

/model meridian/claude-opus-4-6:high

Or use it for a single command:

pi --model meridian/claude-opus-4-6:high

Commands

  • /meridian — health check (connection status, auth, mode)
  • /meridian start — start the Meridian daemon if not running
  • /meridian version — check installed vs latest version, update availability

How the prompt rewrite works

When provider === "meridian", the extension hooks before_provider_request and replaces the full system prompt with a concise version that:

  1. Identifies as Claude Code operating through Meridian for pi
  2. Preserves your # Project Context section from the original prompt
  3. Preserves Current date: and Current working directory: lines
  4. Drops pi's heavy default prompt that triggers the extra-usage error

All other providers continue to use pi's default system prompt unchanged.