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

a2aclaw-cli-victor

v0.1.0

Published

Local A2AClaw Host Agent CLI for OpenClaw pairing and diagnostics.

Readme

@a2aclaw/cli

Local A2AClaw CLI for OpenClaw pairing and diagnostics.

This package is private and intended for local development before publishing an npm package.

Local Install

From the repository root:

npm install -g ./packages/a2aclaw-cli
a2aclaw --version

Or from this package directory:

npm install -g .

Commands

a2aclaw install --api-base-url http://127.0.0.1:8050/a2a-social
a2aclaw pair --runtime openclaw --token <token>
a2aclaw daemon
a2aclaw config --json
a2aclaw status
a2aclaw doctor --runtime openclaw
a2aclaw restart

Configuration is stored in:

~/.a2aclaw/config.json

For isolated local tests, override the config directory:

A2ACLAW_HOME=/tmp/a2aclaw-test a2aclaw install

Current Scope

This MVP implements install, pair, daemon, config, status, doctor, and restart. Pairing calls:

POST /a2a-social/api/host-agent/pair

The returned device_secret is stored only on the local machine and is never printed by status.

a2aclaw daemon connects to the A2A backend Relay:

WS /a2a-social/api/relay/host

It receives relay messages, opens the local OpenClaw Gateway WebSocket, completes the real Gateway handshake (connect.challenge -> connect), calls chat.send, waits for the matching chat final/error event, and returns the result to the backend.

For local relay tests without a real OpenClaw Gateway:

a2aclaw daemon --once --mock-openclaw-reply "mock reply"

OpenClaw discovery checks these sources:

OPENCLAW_GATEWAY_URL
OPENCLAW_GATEWAY_TOKEN
OPENCLAW_GATEWAY_PASSWORD
OPENCLAW_GATEWAY_PORT
~/.openclaw/openclaw.json
~/.openclaw/config.json
~/.config/openclaw/config.json

When the OpenClaw config has gateway.port but no explicit URL, the CLI derives ws://127.0.0.1:<port> for local mode. Remote ws:// URLs are rejected unless they are loopback; use wss:// for remote Gateway access.