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

@tencent-weixin/openclaw-weixin-cli

v2.0.1

Published

Lightweight installer for the OpenClaw Weixin channel plugin

Readme

openclaw-weixin-installer

OpenClaw 微信消息通道插件的统一安装器。自动检测宿主 OpenClaw 版本,安装兼容的插件版本。

快速开始

npx -y @tencent-weixin/openclaw-weixin-cli install

安装器会自动完成以下步骤:

  1. 检测本地 openclaw --version
  2. 根据兼容矩阵选择合适的插件版本(dist-tag)
  3. 调用 openclaw plugins install 安装对应版本
  4. 引导扫码连接微信
  5. 重启 OpenClaw Gateway

无需手动指定版本号。

兼容矩阵

| openclaw-weixin | 支持的 OpenClaw | dist-tag | 说明 | |-----------------|---------------------|----------|------------| | 1.0.x | >=2026.3.0 <2026.3.22 | legacy | 旧宿主维护线 | | 2.0.x | >=2026.3.22 | latest | 新宿主线 |

从 2.0.0 开始,插件采用独立 semver 版本号,不再对齐宿主 OpenClaw 版本号。

手动安装

如果需要手动指定版本,可以直接使用 openclaw 命令:

# 查看当前 OpenClaw 版本
openclaw --version

# 新宿主 (>=2026.3.22):安装 latest 线
openclaw plugins install @tencent/openclaw-weixin@latest

# 旧宿主 (<2026.3.22):安装 legacy 线
openclaw plugins install @tencent/openclaw-weixin@legacy

运行时版本校验

插件在启动时会自动检查宿主版本兼容性。如果版本不匹配,将立即抛出错误:

[openclaw-weixin] 宿主版本不兼容!
  当前 OpenClaw 版本: 2026.3.10
  当前插件支持范围:   >=2026.3.22
  请安装 openclaw-weixin@legacy (1.0.x (旧宿主线))
  或运行: npx @tencent-weixin/openclaw-weixin-cli install (自动选择兼容版本)

故障排查

宿主版本不兼容

症状:插件启动时报 宿主版本不兼容 错误。

解决

# 1. 确认 OpenClaw 版本
openclaw --version

# 2. 用统一安装器重新安装(自动匹配版本)
npx -y @tencent-weixin/openclaw-weixin-cli install

如何安装 legacy 线

# 方式一:统一安装器(自动判断)
npx -y @tencent-weixin/openclaw-weixin-cli install

# 方式二:手动指定 dist-tag
openclaw plugins install @tencent/openclaw-weixin@legacy

如何查看当前 openclaw 版本

openclaw --version

发布策略

dist-tag 说明

| dist-tag | 对应版本线 | 说明 | |----------|-----------|------| | latest | 2.x | 新宿主线,npm install / openclaw plugins install 默认安装 | | legacy | 1.x | 旧宿主维护线,需显式指定 @legacy |

发布命令

# 发布新宿主线 (2.x)
npm run publish:external:latest -- patch
npm run publish:internal:latest -- patch

# 发布旧宿主维护线 (1.x)
npm run publish:external:legacy -- patch
npm run publish:internal:legacy -- patch

# dry run 预检
npm run publish:external:latest -- patch --dry-run

开发

# 安装开发依赖
npm install

# 本地测试 install 命令
node cli.mjs install