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

@neomei/opencode-qiwei

v0.3.3

Published

OpenCode 企业微信桥接 — 让 OpenCode 接入企业微信

Readme

opencode-qiwei

OpenCode 企业微信桥接 — 让 OpenCode 接入企业微信

基于企业微信智能机器人 WebSocket 长连接通道,提供:

  • 消息收发(文本、图片、语音、文件、视频、图文混排)
  • 语音消息自动转文字处理
  • 流式回复(Markdown 渲染,非阻塞推送避免积压)
  • 模板卡片交互(按钮、投票、选择)
  • 自动权限批准
  • 用户反馈事件监听
  • 支持私有部署(自定义 WebSocket 地址)

安装

npm install -g @neomei/opencode-qiwei

配置

# 交互式配置向导
opencode-qiwei setup

# 或手动创建 ~/.config/opencode/qiwei.json
{
  "botId": "your-bot-id",
  "secret": "your-bot-secret",
  "opencodeUrl": "http://localhost:19876",
  "autoApprove": true,
  "wsUrl": "wss://openws.work.weixin.qq.com",
  "maxAuthFailureAttempts": 5,
  "nonBlockingStream": true
}

使用

opencode-qiwei doctor     # 连接预检
opencode-qiwei start      # 启动桥接
opencode-qiwei status     # 查看版本

与 AgentSoul(魂器)集成

将 opencode-qiwei 与魂器项目一起使用:

// ~/.config/opencode/opencode.jsonc
{
  "plugin": [
    "/path/to/agent-soul-framework/plugin",
    "@neomei/opencode-feishu",
    "@neomei/opencode-qiwei"
  ]
}

这样点点可以同时接入飞书和企业微信,两个 channel 共享同一个灵魂和记忆。

架构

企业微信用户 → 企微 WebSocket → opencode-qiwei → OpenCode serve → LLM
                                                      ↑
                                               魂器插件注入灵魂

对照 opencode-feishu 架构,替换飞书 SDK 为企业微信 @wecom/aibot-node-sdk