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-relay-config

v0.1.0

Published

Configure pi to use third-party AI relay stations / coding-plan endpoints: OpenAI/Codex, Claude, GLM, Grok/xAI, Kimi, DeepSeek, Qwen. Probe protocols, write models.json, verify models.

Readme

pi-relay-config

Pi 技能:把第三方 AI 中转站 / 订阅式 coding plan 接入 pi 的完整流程。

覆盖:OpenAI/Codex、Claude、GLM 智谱、Grok/xAI、Kimi/Moonshot、DeepSeek、Qwen 中转站与官方 Anthropic 兼容端点。

功能

  • 三协议探测:chat/completions / responses / v1/messages(自动判定用哪个 api 接入)
  • 一键脚本 probe-relay.sh:模型清单 + 协议探测 + 逐模型可用性/图片支持实测
  • 各厂商速查表(baseUrl、api 选择、模型坑位)
  • Anthropic compat 矩阵与报错处置矩阵

安装

pi install npm:pi-relay-config
# 或直接从 git 安装
pi install git:github.com/Dithob/pi-relay-config

使用

触发词:codex 中转站、claude 中转站、glm coding plan、接入 pi、models.json、中转站模型不可用。

或直接运行探测脚本:

bash ~/.pi/agent/skills/pi-relay-config/scripts/probe-relay.sh <base_url> <api_key> [model...]

核心原则

一切以实测为准——中转站 /v1/models 列出的模型 ≠ 你的 key 都能用;协议形态决定 api 字段,而不是品牌。

License

MIT