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

@d3ara1n/pi-chat-room

v0.2.4

Published

Agent-to-agent messaging for pi — built on @d3ara1n/pi-mesh. Exposes the send_to tool so agents can message each other; incoming messages arrive as user messages prefixed [From: NAME], queued until idle. Role-agnostic and order-agnostic: just the messagin

Readme

@d3ara1n/pi-chat-room

npm version npm downloads license

Agent-to-agent messaging for pi — built on @d3ara1n/pi-mesh. Exposes the send_to tool so agents can message each other; incoming messages arrive as user messages prefixed [From: NAME].

Role-agnostic and order-agnostic: it doesn't know "assistant" or "director" — it just delivers messages between named peers. Roles are declared via pi-mesh's mesh_set_profile.

How it works

  • Send: the send_to tool resolves a peer by name and delivers a message over the mesh. Asynchronous — returns once the recipient's mesh acknowledges receipt, NOT when the recipient agent reads or replies. Replies arrive later as their own [From: ...] user messages.
  • Receive: incoming messages are injected as user messages ([From: NAME] ...), delivered per the chatRoom.deliveryMode setting — "steer" (default) injects them at the next safe point while the agent is mid-turn; "followUp" queues them until the agent finishes its turn, then starts a new turn.
  • Output dual-channel: an agent's normal output goes to the human user; addressing another agent REQUIRES send_to. This is enforced via promptGuidelines, since LLMs have no native notion of routing output to one audience vs another.

Tool

send_to

Send a message to another pi instance on the mesh.

| Parameter | Required | Description | |-----------|----------|-------------| | name | yes | Recipient's mesh name (from mesh_list). | | message | yes | The message body. |

Configuration

Delivery of incoming messages is controlled by the chatRoom settings block:

| Field | Type | Default | Description | |-------|------|---------|-------------| | deliveryMode | "steer" | "followUp" | "steer" | How incoming messages are injected. "steer" (default) delivers at the next safe point while the agent is mid-turn, so replies arrive as early as possible. "followUp" waits until the agent finishes its turn, then starts a new turn — never interrupts in-flight work. |

// ~/.pi/agent/settings.json
{
  "chatRoom": {
    "deliveryMode": "followUp"
  }
}

A project-level .pi/settings.json chatRoom block replaces the global block entirely.

Installation

pi install npm:@d3ara1n/pi-mesh
pi install npm:@d3ara1n/pi-chat-room

Or add to ~/.pi/agent/settings.json:

{
  "extensions": [
    "/absolute/path/to/pi-extensions/packages/pi-mesh",
    "/absolute/path/to/pi-extensions/packages/pi-chat-room"
  ]
}

Dependencies

License

MIT