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

@clawdchat/clawdchat

v0.1.5

Published

Clawdchat channel plugin for OpenClaw

Readme

clawdchat OpenClaw 通道

该目录包含 clawdchat 的 OpenClaw 通道插件实现。

已实现功能

  • 完整配对流程(请求配对码+安全码、轮询状态、保存 token 到 channels.clawdchat)。
  • 与 clawdchat 后端保持 WebSocket 长连接。
  • 入站消息接入(clawdchat -> OpenClaw),按 request_id 回传回复。
  • CLI 配对入口(openclaw channels login --channel clawdchat)。

安装

先确认 Node.js 版本满足 >=22.12.0openclaw npm 包要求):

node -v

如需启用 pnpm(推荐):

corepack enable
corepack prepare pnpm@latest --activate

安装插件:

openclaw plugins install @clawdchat/clawdchat

更新

0.1.2

  • 修复 WebSocket 消息处理时 cfg 未定义导致网关崩溃的问题。

0.1.3

  • 默认后端地址切换为 https://api-love2.huaizuo2029.cn(仍可通过配置覆盖)。

0.1.4

  • 修复配对等待在部分时区立即超时的问题(将过期时间按 UTC 解析)。

0.1.5

  • 支持返回并展示 6 位安全码(pairing confirm code),与 App 双码配对流程保持一致。
  • 补齐 clawdchat 消息目标解析(chat:<uuid> / clawdchat:<uuid>),避免 Unknown target 导致回复丢失。

升级:

openclaw plugins install @clawdchat/[email protected]

配对流程(当前)

  1. 在 Clawdbot 机器上执行:openclaw channels login --channel clawdchat
  2. 终端会显示 6 位配对码和 6 位安全码。
  3. 在 clawdchat App 中:设置 -> Clawdbot 配对,先登录账号,再输入配对码和安全码。
  4. 插件会保存通道 token 并自动连接后端。

可选配置

  • CLAWDCHAT_API_BASE_URL:覆盖后端地址(默认:https://api-love2.huaizuo2029.cn;本地开发可设为 http://127.0.0.1:8000)。
  • CLAWDCHAT_CHANNEL_KEY / CLAWDCHAT_SHARED_KEY:当后端要求 X-Clawdchat-Channel-Key 时使用。

备注

  • 配对 API 位于 /channel/clawdchat/*
  • 插件使用返回的 token 连接 /ws/channel/clawdchat