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

@wxyhgk/pi-catalog

v17.2.9

Published

Model catalog for omp: bundled model database, provider discovery descriptors, model identity, classification, and equivalence

Downloads

438

Readme

@oh-my-pi/pi-catalog

oh-my-pi 的模型目录:内置模型数据库、提供商发现、模型身份标识、分类与等价关系。

内含内容

| 模块 | 用途 | | ------------------------------- | ----------------------------------------------------------------------------------------------------------- | | models.json + models | 内置模型数据库(定价、上下文窗口、模态、思考支持) | | provider-models | 提供商目录描述符(CATALOG_PROVIDERS)、按提供商的模型解析规则 | | discovery | 针对 OpenAI 兼容端点、Gemini、Codex、Cursor、Antigravity、Ollama 的运行时模型发现 | | identity | 模型 id 解析与分类(家族/版本)、引用解析、等价关系、选择优先级 | | model-thinking | 思考/推理元数据与按模型生成的策略 | | model-manager / model-cache | 带发现刷新与磁盘缓存的运行时模型注册表 | | variant-collapse | 折叠同一底层模型的不同提供商变体 | | compat | 面向 OpenAI 与 Anthropic 形态 API 的请求/响应兼容性修正 | | wire | 线级辅助:Codex、Gemini 头、GitHub Copilot | | effort | 推理强度级别定义 |

从子路径(@oh-my-pi/pi-catalog/<module>)或根 barrel 导入。

models.json 是生成的

永远不要手改 src/models.json——它由 scripts/generate-models.ts 以及 src/provider-models/ 中的解析器,根据上游来源(stencil.so、提供商目录发现、OpenCode 文档)生成。重新生成:

bun run gen:models

要修改条目,请修正来源:provider-models/openai-compat.ts 中的解析器覆盖、provider-models/descriptors.ts 中的提供商条目、scripts/generate-models.ts 中的生成器修正,或 model-thinking.ts 中的思考策略。

安装

bun add @oh-my-pi/pi-catalog

直接发布 TypeScript 源码(无构建步骤);要求 Bun ≥ 1.3.14。

参考