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

@hzttt/lucy-ai-npc

v2026.4.29

Published

OpenClaw Lucy NATS DM channel plugin (AI NPC variant)

Readme

Lucy

Lucy 是 OpenClaw 的 NATS-based Channel 插件,把 OpenClaw Gateway 接到 Lucy App 的消息链路上。插件包名是 @hzttt/lucy-ai-npc;在 OpenClaw 内部,插件 ID、配置前缀和 CLI 命令都叫 lucy

版本要求

OpenClaw 2026.3.23 及以上。

最小接入三步

# 1. 安装插件
openclaw plugins install @hzttt/lucy-ai-npc

# 2. 启用 Lucy channel
openclaw config set channels.lucy.enabled true

# 3. 生成绑定二维码
openclaw lucy auth-qrcode

在 Lucy App 中扫描二维码,完成设备绑定。绑定完成后 App 可拉取 GET /v1/channels/lucy/current-user/model-config 获取模型配置,然后推送给设备。设备自动重启后上线。

常用验证命令

# 查看 Lucy 运行状态和连接信息
openclaw channels status --probe

# 重新生成设备身份和绑定 QR 码(清空本地状态)
openclaw lucy reset-state

常见配置

最小配置(NATS 服务器地址由 lucy-server 动态返回):

{
  "channels": {
    "lucy": {
      "enabled": true
    }
  }
}

本地 USB 通知默认开启并监听 http://127.0.0.1:8000/usb-events;只有显式关掉时才需要配置:

{
  "channels": {
    "lucy": {
      "localNotify": { "enabled": false }
    }
  }
}

详细配置说明见 docs/08-operations/config-reference.md

进一步文档

完整文档按分层主题组织在 docs/ 下:

快速链接

  • 源码:extensions/lucy/src/
  • 外部组件(symlink):extensions/lucy/outside/(user-center、iOS 客户端、NATS 服务器)
  • 旧文档迁移说明:doc/README.md