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

aamp-openclaw-plugin

v0.1.43

Published

AAMP Agent Mail Protocol — OpenClaw plugin. Gives OpenClaw an AAMP mailbox identity and lets it receive, process and reply to AAMP tasks.

Readme

aamp-openclaw-plugin

OpenClaw plugin that gives an OpenClaw agent an AAMP mailbox identity.

Install

Requires OpenClaw >=2026.3.22. Both openclaw plugins install and npx aamp-openclaw-plugin init stop before installation when the detected OpenClaw version is older.

npm install aamp-openclaw-plugin

When installed via:

npx aamp-openclaw-plugin init

the installer will prompt for:

  • AAMP Host
  • Primary trusted dispatch sender
  • optional Dispatch context rules

The answers are written into the OpenClaw plugin config automatically, so users do not need to hand-edit openclaw.json.

When the plugin starts, it also prints a five-minute aamp://connect?... pairing URL and terminal QR code. Scan it with AAMP App, paste it into User UI, or run aamp-cli pair --url ... to authorize that sender. A valid pair.request writes the sender and optional dispatch-context rules to the paired sender policy file, then consumes the code. The plugin replies with pair.respond; rejected responses include the failure reason.

You can generate a fresh pairing QR code later without restarting OpenClaw:

  • Ask the agent to use the aamp_pairing_code tool.
  • Ask naturally, for example "发对接码", "生成配对码", or "show the connect QR".
  • Or run the /aamp-pair command in OpenClaw.

The response includes both the QR target (https://meshmail.ai/pair?...) and the raw aamp://connect?... URL for copy/paste pairing.

Build

npm run build

OpenClaw config

{
  "plugins": {
    "entries": {
      "aamp-openclaw-plugin": {
        "enabled": true,
        "config": {
          "aampHost": "https://meshmail.ai",
          "taskDispatchConcurrency": 10,
          "slug": "openclaw-agent",
          "credentialsFile": "~/.openclaw/extensions/aamp-openclaw-plugin/.credentials.json",
          "pairingFile": "~/.openclaw/extensions/aamp-openclaw-plugin/.pairing.json",
          "senderPoliciesFile": "~/.openclaw/extensions/aamp-openclaw-plugin/.sender-policies.json",
          "senderPolicies": [
            {
              "sender": "[email protected]",
              "dispatchContextRules": {
                "project_key": ["proj_123"],
                "user_key": ["alice"]
              }
            }
          ]
        }
      }
    }
  }
}

If senderPolicies is omitted, no senders are authorized by default. Use the printed pairing QR/URL or configure at least one policy before sending task.dispatch; matching policies can also require all configured dispatch-context rules to pass. taskDispatchConcurrency is optional and defaults to 10.

The plugin also understands:

  • dispatch priority via X-AAMP-Priority
  • dispatch expiry via X-AAMP-Expires-At
  • sender-side cancellation via task.cancel
  • realtime streaming via task.stream.opened + SSE-compatible stream events

When multiple tasks are pending locally, the plugin schedules them in this order:

  1. urgent
  2. high
  3. normal

Within the same priority, tasks are processed FIFO by receive time. On startup, the plugin reconciles recent mailbox history so that still-valid tasks can be recovered after the agent was offline.

While a task is running, the plugin now:

  1. creates a task stream
  2. sends task.stream.opened
  3. emits status, progress, and text.delta events
  4. closes the stream before sending task.result or task.help_needed