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

@jischeng/pi-provider-qoder

v0.4.12

Published

Pi extension for Qoder AI — with OAuth authentication, COSY signatures and WAF bypass

Readme

@jischeng/pi-provider-qoder

English README

Pi 的 Qoder AI Provider 扩展。它将 Qoder 国际版和中国版接入 Pi,并把 Qoder 可用的模型展示在 Pi 的模型选择器中。

主要特性

  • 双区域独立支持:同时支持 Qoder 国际版(qoder)和中国版(qoder-cn
  • 多账号渐进式支持:支持多个独立账号(如 qoderqoder-2... 与 qoder-cnqoder-cn-2...),登录上一账号后自动开启下一账号入口
  • 全链路思考深度透传:支持将 Pi 的推理等级(low/medium/high/xhigh/max/off)完整传递给 Qoder 上游,并动态展示各模型支持的思考档位
  • 128K 输出与 1M 上下文:最大输出提升至 128K(131,072),上下文窗口最大支持 1M,避免推理链截断或过早压缩
  • 动态友好模型 ID:直接使用 Qoder 服务端返回的 display_name 作为模型 ID(如 Qwen3.8-MaxLite),彻底告别硬编码映射过期问题
  • 10605 排队自动重试:当 Qoder 服务端高峰期返回 10605 排队繁忙时,自动按建议时间重试(最多 4 次),保障稳定性
  • 模型计费倍率展示:动态获取模型并在模型名称后追加倍率标签(如 [0.5x]
  • 极速热路径编码与零拷贝签名:查表预置索引 Base64 编码,优化 MD5 签名分片,消除大请求内存峰值
  • OMP 与 Pi 0.84+ 深度兼容:动态注册 qoder-api 提供者并支持 systemPrompt 格式自适应

安装

pi install npm:@jischeng/pi-provider-qoder
# 或在 OneMorePrompt 中使用
omp install npm:@jischeng/pi-provider-qoder

登录与使用

1. 国际版 (qoder)

  • 登录:/login qoder(支持浏览器 OAuth 或 PAT)
  • PAT 申请:https://qoder.com/account/integrations
  • 环境变量:QODER_API_KEYQODER_PERSONAL_ACCESS_TOKENQODER_PAT(多账号后缀 _2_3 等)

2. 中国版 (qoder-cn)

  • 登录:/login qoder-cn(PAT 登录)
  • PAT 申请:https://qoder.com.cn/account/integrations
  • 环境变量:QODERCN_API_KEYQODERCN_PERSONAL_ACCESS_TOKENQODERCN_PAT(多账号后缀 _2_3 等)

PAT(pt-...)会在启动或登录时自动交换为短期 job token。

命令行启动

pi --provider qoder --model Lite
pi --provider qoder-cn --model Qwen3.7-Plus

在 Pi 交互界面中切换模型:

/model Qwen3.8-Max
/model Lite

多账号登录

登录第一个账号后,下一个账号入口会自动出现在登录列表中:

/login qoder-2
/login qoder-cn-2

服务端点

| 端点类型 | 国际版 (qoder) | 中国版 (qoder-cn) | | --- | --- | --- | | PAT 交换 | https://openapi.qoder.sh/api/v1/jobToken/exchange | https://openapi.qoder.com.cn/api/v1/jobToken/exchange | | 用户信息 | https://openapi.qoder.sh/api/v1/userinfo | https://openapi.qoder.com.cn/api/v1/userinfo | | 用量查询 | https://openapi.qoder.sh/api/v2/quota/usage | https://openapi.qoder.com.cn/api/v2/quota/usage | | 聊天网关 | https://api3.qoder.sh/ | https://gateway.qoder.com.cn/ |

License

MIT