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

yuocean-xiaota-openclaw-plugin

v0.2.0

Published

OpenClaw 小沓渠道插件(本地开发版)

Readme

小沓 OpenClaw 插件(本地骨架)

这个插件用于给 OpenClaw 增加一个新渠道:xiaota(小沓)。

0.2.0 开始包含可用 Bridge 能力:

  • Webhook 入站:POST /xiaota/inbound
  • 健康检查:GET /xiaota/healthz
  • 调用本地小龙虾 API
  • 可选回推到你的 Chat Server
  • 支持 message_id 幂等去重(内存 5 分钟窗口)
  • 支持 x-xiaota-signature HMAC-SHA256 验签(可选)

本地安装

openclaw plugins install /Users/yokaiyou/Desktop/1data/chatclaw/xiaota-openclaw-plugin

启用渠道

openclaw config set channels.xiaota.enabled true
openclaw gateway restart

可选配置

openclaw config set channels.xiaota.name "小沓"
openclaw config set channels.xiaota.dmPolicy pairing
openclaw config set channels.xiaota.allowFrom '["*"]'
openclaw config set channels.xiaota.inboundPath "/xiaota/inbound"
openclaw config set channels.xiaota.healthPath "/xiaota/healthz"
openclaw config set channels.xiaota.xlxApiUrl "http://127.0.0.1:8080/xiaolongxia/chat"
openclaw config set channels.xiaota.xlxTimeoutMs 60000
openclaw config set channels.xiaota.inboundSecret "<YOUR_HMAC_SECRET>"
openclaw config set channels.xiaota.chatCallbackUrl "http://127.0.0.1:7001/chat/send_message"
openclaw config set channels.xiaota.chatCallbackToken "<OPTIONAL_BEARER_TOKEN>"

入站请求格式

{
  "message_id": "msg_123456",
  "sender_id": "user_001",
  "session_id": "sess_user_001",
  "content": "你好,小龙虾"
}

入站联调命令

curl -X POST "http://127.0.0.1:3000/xiaota/inbound" \
  -H "content-type: application/json" \
  -d '{
    "message_id":"msg_001",
    "sender_id":"user_001",
    "session_id":"sess_user_001",
    "content":"你好"
  }'