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

@superdad/xiaochuang

v0.0.6

Published

OpenClaw Xiaochuang channel plugin — real-time AI integration via Bridge

Readme

@superdad/xiaochuang

OpenClaw channel plugin for Xiaochuang — real-time AI interaction via xcai-cli Bridge.

Quick Start

One command to install, activate, and configure:

npx -y @superdad/xiaochuang@latest install

For test environment:

npx -y @superdad/xiaochuang@latest install-test

The install script will:

  1. Check OpenClaw is installed
  2. Install the plugin via openclaw plugins install
  3. Download the xcai-cli Bridge binary for your platform
  4. Prompt for an activation code (from the Xiaochuang miniprogram)
  5. Activate and save the token
  6. Enable the plugin and restart the gateway

Architecture

OpenClaw ── xiaochuang plugin ── stdio ── xcai-cli Bridge ── WebSocket ── xcai-server
  • Plugin spawns xcai-cli bridge as a subprocess, communicates via NDJSON over stdin/stdout
  • Bridge manages the WebSocket connection, heartbeat, reconnection, token rotation, and offline queue
  • Token/auth managed by xcai-cli (~/.xcai/config.yaml), not by OpenClaw config

CLI Commands

npx -y @superdad/xiaochuang@latest install        # Install + setup (production)
npx -y @superdad/xiaochuang@latest install-test    # Install + setup (test environment)
npx -y @superdad/xiaochuang@latest status          # Check connection status
npx -y @superdad/xiaochuang@latest help            # Show help

Configuration

Most configuration is managed automatically. These optional settings can be set in openclaw.json:

| Key | Description | Default | |-----|-------------|---------| | channels.xiaochuang.enabled | Enable/disable the channel | true | | channels.xiaochuang.bridgePath | Path to xcai-cli binary (auto-detected) | — | | channels.xiaochuang.dmPolicy | DM policy: open / pairing / allowlist | open | | channels.xiaochuang.allowFrom | Allowed sender IDs when dmPolicy is allowlist | — | | channels.xiaochuang.blockStreaming | Enable streaming replies | true |

xcai-cli configuration (~/.xcai/config.yaml):

| Key | Description | |-----|-------------| | bridge_token | API token (auto-populated after activation) | | bridge_ws_url | WebSocket server URL (set by install script) | | api_key | OpenAPI key (auto-populated by server on connect) | | endpoint | OpenAPI endpoint URL |

Updating

  • Plugin update: openclaw plugins update xiaochuang
  • xcai-cli update: Re-run npx -y @superdad/xiaochuang@latest install (auto-detects and downloads new version)

License

MIT