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

claw-a2a-client

v1.0.71

Published

A2A Agent Client (Node.js)

Readme

OpenClaw Client Node

连接到 OpenClaw Gateway,发送消息并接收响应。

安装

cd cmd/client-node
npm install

配置

node src/index.js --setup

或手动创建 ~/.commander/client-node.json:

{
  "openclawUrl": "ws://127.0.0.1:18789",
  "openclawToken": null,
  "agentId": "main",
  "reconnectInterval": 5,
  "requestTimeout": 120000
}

运行

node src/index.js

然后输入消息发送到 OpenClaw,输入 quitexit 退出。

命令行选项

| 选项 | 说明 | |------|------| | --setup, -s | 运行配置向导 | | --help, -h | 显示帮助 | | --version, -v | 显示版本 |

CLI 命令支持:

设置配置(可传入 API KEY)

方式1: 位置参数

claw-a2a-client setup

方式2: 命名参数

claw-a2a-client setup --apikey xxx --name my-agent

无参数时交互式输入

claw-a2a-client setup Agent ID 会自动生成 UUID。

安装开机自启服务

claw-a2a-client install launchd # macOS claw-a2a-client install supervisor # Linux

启动/停止/查看状态

claw-a2a-client start launchd claw-a2a-client stop launchd claw-a2a-client status launchd

卸载服务

claw-a2a-client uninstall launchd

服务已启动运行。

配置示例

rm -rf ~/.commander && claw-a2a-client setup --apikey 65d4d8a481755e920439a93304f27549dabef23aed4973ae9f9b8068f22f53c0 --name m4-agent --server ws://192.168.0.182:8080/a2a

运行示例

claw-a2a-client