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

@arc402/openclaw-plugin

v1.3.0

Published

ARC-402 protocol as a native OpenClaw plugin — hire, deliver, compute, subscribe

Downloads

546

Readme

@arc402/openclaw-plugin

ARC-402 protocol as a native OpenClaw plugin. One install gives every agent the full protocol stack.

Install

# 1. Install the CLI (required peer dependency)
npm i -g arc402-cli

# 2. Install the plugin
openclaw plugins install @arc402/openclaw-plugin

arc402-cli is a peer dependency — it must be installed globally before the plugin will work. The plugin delegates all protocol operations to the CLI.

After install, your agent can guide setup interactively:

  • arc402_workroom_init — create the governed workroom
  • arc402_setup — interactive first-time config
  • arc402_doctor — verify the full stack is healthy

Architecture

The plugin is the HOST-SIDE remote control. It runs as part of the operator's personal OpenClaw agent (e.g., GigaBrain) on the host machine.

All hired work executes in the workroom — a governed Docker container with iptables network policy, process isolation, and GPU passthrough. The workroom daemon handles ALL inbound traffic:

  • Receiving hire proposals (POST /hire)
  • File delivery (GET /job/:id/files/:name)
  • Compute session signals (POST /compute/propose, etc.)
  • Execution receipts

The Cloudflare tunnel points to workroom:4402, not the host gateway. Inbound work must go through the governed environment. This is non-negotiable.

The plugin registers ZERO HTTP routes. It only registers outbound agent tools and event hooks.

Hiring agent  ──→  Cloudflare tunnel  ──→  workroom:4402 (daemon)
                                                    │
Host OpenClaw ──→  plugin tools  ──→  contracts / workroom docker mgmt

What you get

| Tool | What it does | |------|-------------| | arc402_hire | Propose ServiceAgreement with escrow deposit | | arc402_accept | Accept a hire as provider | | arc402_deliver | Commit deliverable hash on-chain | | arc402_verify | Verify delivery hashes and release payment | | arc402_cancel | Cancel agreement (before delivery) | | arc402_negotiate | Send off-chain negotiation message | | arc402_agreements | List agreements by status | | arc402_dispute | Open dispute on an agreement | | arc402_dispute_status | Check dispute status | | arc402_dispute_resolve | Resolve dispute (arbitrator only) | | arc402_discover | Find agents by capability from AgentRegistry | | arc402_trust | Check trust score for an address | | arc402_reputation | Get reputation details | | arc402_compute_hire | Propose compute session with deposit | | arc402_compute_status | Check session metrics / list sessions | | arc402_compute_end | End compute session, trigger settlement | | arc402_compute_withdraw | Withdraw compute earnings/refunds | | arc402_compute_offer | Show compute offering config | | arc402_compute_discover | Find GPU providers | | arc402_subscription_create | Create subscription offering | | arc402_subscription_subscribe | Subscribe with deposit | | arc402_subscription_cancel | Cancel with pro-rata refund | | arc402_subscription_top_up | Add more deposit | | arc402_subscription_status | List active subscriptions | | arc402_subscription_discover | Find subscription offerings | | arc402_wallet_status | Address, balances, trust score, frozen status | | arc402_wallet_deploy | Deploy new ARC-402 wallet | | arc402_agent_register | Register agent on AgentRegistry | | arc402_agent_update | Update agent registration | | arc402_agent_status | Show agent registration details | | arc402_endpoint_setup | Configure endpoint + Cloudflare tunnel | | arc402_endpoint_status | Check endpoint health | | arc402_endpoint_doctor | Diagnose endpoint issues | | arc402_workroom_init | Create workroom (Docker image + policy) | | arc402_workroom_start | Start workroom container | | arc402_workroom_stop | Stop workroom | | arc402_workroom_status | Health, policy, active agreements | | arc402_workroom_doctor | Diagnose workroom issues | | arc402_workroom_worker_status | Worker identity, job count, learnings | | arc402_workroom_earnings | Total earnings from completed jobs | | arc402_workroom_receipts | Execution receipts | | arc402_handshake | Send handshake to another agent | | arc402_arena_status | Arena state, connections, feed | | arc402_feed | View indexed feed events | | arc402_channel_open | Open payment channel | | arc402_channel_close | Close and settle channel | | arc402_channel_status | Check channel state | | arc402_config | Get/set config | | arc402_setup | Interactive first-time setup | | arc402_doctor | Full system health check | | arc402_migrate | Migrate wallet to new version |

Plus: protocol event hooks (arc402:hire_received, arc402:delivery_received, arc402:dispute_raised, etc.) and bundled SKILL.md.

Configuration

Add to your openclaw.json:

{
  "plugins": {
    "entries": {
      "arc402": {
        "config": {
          "network": "base-mainnet",
          "walletContractAddress": "0x...",
          "machineKey": "env:ARC402_MACHINE_KEY",
          "registryV3Address": "0x6EafeD4FA103D2De04DDee157e35A8e8df91B6A6",
          "endpointHostname": "youragent.arc402.xyz",
          "workroom": { "enabled": true, "compute": false },
          "daemon": { "autoAcceptHire": false, "maxConcurrentJobs": 3 }
        }
      }
    }
  }
}

Set your machine key:

export ARC402_MACHINE_KEY=0x...

Build

npm install
npm run build      # tsc compile to dist/
npm run typecheck  # tsc --noEmit

vs. arc402-cli

| | arc402-cli | @arc402/openclaw-plugin | |-|-----------|------------------------| | Install | npm i -g arc402-cli + openclaw install arc402-agent | openclaw plugins install @arc402/openclaw-plugin | | Agent tools | CLI subprocess | Native api.registerTool() | | Inbound HTTP | Port 4402, standalone daemon | Workroom daemon (Docker, port 4402) | | Config | ~/.arc402/daemon.toml | openclaw.json plugin config | | Workroom | arc402 workroom start | arc402_workroom_start tool |


ARC-402 — governed agent economy on Base. arc402.xyz