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

trinity-config

v1.5.2

Published

一键把 Trinity API 接入 Claude Code、Codex、OpenCode、OpenClaw、ZCode、CodeBuddy、CC Switch;用 --name 安装 Memory / Vision MCP 插件

Readme

trinity-config

一键接入 Trinity API,或安装 Trinity MCP 插件(--name 区分)。

两类用法(不要混在一条命令)

| 目的 | 命令 | | --- | --- | | 接 API | npx -y trinity-config --type <客户端> -k xh-… --model <code> | | 装插件 | npx -y trinity-config --name <memory\|vision> --type <客户端> [-k xh-…] |

# ① 接 API
npx -y trinity-config --type claude -k xh-你的key --model gpt-5.4

# ② 装插件(--name 选插件)
npx -y trinity-config --name memory --type claude
# 已接过 API 时可省略 -k,自动复用并写入 Vision
npx -y trinity-config --name vision --type claude
npx -y trinity-config --name vision --type claude -k xh-你的key
npx -y trinity-config --name memory,vision --type claude -k xh-你的key

# CC Switch
npx -y trinity-config --type ccswitch --app claude -k xh-你的key
npx -y trinity-config --type ccswitch --app claude,codex -k xh-你的key --print-only

| --name | 插件 | 说明 | | --- | --- | --- | | memory | Trinity Memory | 代码知识图谱;可不传 -k | | vision | Trinity Vision | 识图;Key 写入插件 TRINITY_API_KEY(优先 -k,否则复用该客户端已配置 Key);会先 npm i -g @trinity-mcp/trinity-vision,MCP command 写 trinity-vision(不用每次 npx) |

别名:trinity-memory / trinity-vision。旧参数 --memory / --vision 仍可用,但会提示改用 --name

| type | 配置方式 | | --- | --- | | claude | ~/.claude/settings.json(直连) | | codex | ~/.codex/config.toml + auth.json(直连) | | opencode | ~/.config/opencode/opencode.json(直连) | | openclaw | ~/.openclaw/openclaw.json(直连) | | zcode | ~/.zcode/v2/config.json(直连) | | codebuddy | ~/.codebuddy/.mcp.json(插件) | | ccswitch | ccswitch://v1/import Deep Link |

接 API 时:协议按 GET /v1/models/{code}capabilities.text.interfaces 自动择优;模型列表来自该 Key 的 GET /v1/models?modality=text

CC Switch 注意

  • 必填 --appclaude / codex / opencode / openclaw(不支持 gemini / Universal)
  • 与直连 --type claude不要混用同一工具,以免互相覆盖
  • --print-only:只生成链接,不唤起应用

License: MIT