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-volcengine-coding-plan

v0.1.2

Published

Pi extension for Volcengine Coding Plan, registering Volcengine as a custom OpenAI-compatible provider for domestic coding models.

Readme

pi-volcengine-coding-plan

npm version MIT License

给 pi 增加 Volcengine Coding Plan 国内版模型支持的扩展包。安装后会注册 volcengine-plan provider。

功能概览

  • 注册 Volcengine Coding Plan provider,兼容 pi 的 OpenAI 风格调用路径
  • 使用统一的 VOLCENGINE_API_KEY 环境变量访问全部模型
  • 覆盖 Volcengine Coding Plan 当前完整模型集合
  • 直接使用国内版 Coding Plan endpoint,而不是基础模型 endpoint

安装

pi install npm:pi-volcengine-coding-plan

配置

先准备 Volcengine Ark API Key,然后设置环境变量:

export VOLCENGINE_API_KEY="your-ark-api-key"

如果你想长期使用,把这一行写进 ~/.zshrc~/.bashrc

使用方式

交互式选择模型

pi

进入后执行 /model,从列表中选择 volcengine-plan 下面的模型。

命令行直接指定模型

推荐始终使用完整 provider/model 语法,避免与内置 provider 的同名模型冲突:

pi --model volcengine-plan/ark-code-latest
pi --model volcengine-plan/doubao-seed-2.0-code
pi --model volcengine-plan/glm-5.1
pi --model volcengine-plan/deepseek-v4-pro

列出当前所有可用模型:

pi --list-models

如果你要把它设成默认模型,可以参考下面的配置思路:

{
  "agents": {
    "defaults": {
      "model": {
        "primary": "volcengine-plan/ark-code-latest"
      }
    }
  }
}

可用模型

| Model ID | Context Window | Max Tokens | Input | |----------|----------------|------------|-------| | ark-code-latest | 256000 | 32000 | text, image | | doubao-seed-code | 256000 | 32000 | text, image | | glm-5.1 | 200000 | 65536 | text | | deepseek-v4-flash | 1024000 | 65536 | text | | deepseek-v4-pro | 1024000 | 65536 | text | | doubao-seed-2.0-code | 256000 | 65536 | text, image | | doubao-seed-2.0-pro | 256000 | 65536 | text, image | | doubao-seed-2.0-lite | 256000 | 65536 | text, image | | minimax-latest | 200000 | 65536 | text | | kimi-k2.6 | 256000 | 32000 | text, image |

重要说明

  • 本扩展使用的是 Volcengine Coding Plan endpoint:https://ark.cn-beijing.volces.com/api/coding/v3
  • 不要改成普通基础模型接口,否则调用路径和计费方式都可能不符合你的 Coding Plan 预期
  • 类似 glm-5.1deepseek-v4-prokimi-k2.6 这类常见模型 id,可能与其他 provider 重名,建议始终使用 volcengine-plan/模型ID

发布与维护

完整发布流程见 PUBLISHING.md

你至少需要完成这几件事:

  1. package.json 里的 authorrepository 改成你自己的信息
  2. 在 GitHub 仓库里配置 NPM_TOKEN
  3. 首次发布前执行一次 npm publish --dry-run

License

MIT