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-commandcode-provider

v0.1.0

Published

pi custom provider for Command Code API (commandcode.ai)

Readme

pi-commandcode-provider

A pi custom provider that connects pi to the Command Code API.

Disclaimer: This is an unofficial, community-maintained package. I am not affiliated with, endorsed by, or connected to Command Code in any way. This provider simply forwards requests to the public Command Code API using your own API key.

Note: This package only provides a model provider. It does not include an API key. You must bring your own Command Code API key or subscription.

💰 Current offer: Command Code offers 4× usage of DeepSeek V4 (Pro and Flash) at no extra cost.

Models

18 models across premium and open-source providers:

| Category | Models | | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | | Anthropic | Claude Opus 4.7, Claude Opus 4.6, Claude Sonnet 4.6, Claude Haiku 4.5 | | OpenAI | GPT-5.5, GPT-5.4, GPT-5.3 Codex, GPT-5.4 Mini | | Open-source | DeepSeek V4, DeepSeek V4 Pro, DeepSeek V4 Flash, Kimi K2.6, Kimi K2.5, GLM-5.1, GLM-5, MiniMax M2.7, MiniMax M2.5, Qwen 3.6 Max, Qwen 3.6 Plus |

Install

pi install npm:pi-commandcode-provider

Or shorthand:

pi install pi-commandcode-provider

Then reload pi:

/reload

Setup

Set your Command Code API key using one of these methods:

1. Browser login (recommended)

In pi, run:

/login

Then select Command Code from the provider list.

This opens Command Code in your browser and stores the returned API key in pi's auth file. If the browser shows "Copy your API key" because automatic transfer failed, copy that key and paste it into the pi terminal prompt.

Note: /login commandcode is not supported by pi currently; use interactive /login and select Command Code.

2. Environment variable

export COMMANDCODE_API_KEY="user_..."

3. Auth file

Create ~/.commandcode/auth.json:

{
  "apiKey": "user_..."
}

Or use pi's auth file at ~/.pi/agent/auth.json:

{
  "commandcode": "user_..."
}

Usage

After installing and setting your API key, select a Command Code model in pi:

/model deepseek/deepseek-v4-flash

Any query will then use the Command Code API. You can list available models:

pi -e index.ts --list-models

Or within pi:

/models

Publish

npm login
npm publish --access public

License

MIT