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

d1spatch

v0.1.0

Published

Messenger-to-agent bridge for coding CLI agents (Claude, Codex)

Readme

d1spatch

Messenger-to-agent bridge for coding CLI agents (Claude, Codex).

Currently supports Signal as the messenger transport. More transports coming soon.

Why d1spatch

Turn your messenger into a remote control for local coding agents. It lets you:

  • Trigger agent runs from your phone without opening a terminal.
  • Keep conversations in Signal while agents execute locally.
  • Switch between Claude/Codex in a single session.

Prerequisites

  • Node.js 18+
  • Java 21+
  • signal-cli
  • At least one of: claude, codex

signal-cli setup

Install signal-cli:

# macOS
brew install signal-cli

# Linux — download from https://github.com/AsamK/signal-cli/releases

Link to your Signal account:

signal-cli link -n "d1spatch"

This prints a tsdevice: URI. Convert it to a QR code (or pipe to qrencode -t ANSI), then scan it in Signal on your phone under Settings > Linked Devices > Link New Device.

Verify it works:

signal-cli -a +YOUR_NUMBER receive

The phone number you linked with is your SIGNAL_ACCOUNT.

Setup

npm install
cp .env.example .env   # edit with your values
npm run build

Install (npm package)

npm install -g d1spatch
# or
npx d1spatch --config /path/to/.env

Environment variables

| Variable | Required | Description | |----------|----------|-------------| | SIGNAL_ACCOUNT | Yes | Phone number linked with signal-cli (with +) | | ALLOWED_USER_ID | Yes | Phone number allowed to use the bridge (digits only) | | WORKING_DIR | No | Working directory for agents (default: cwd) | | SKIP_PERMISSIONS | No | true to auto-approve all agent actions | | CLAUDE_ALLOWED_TOOLS | No | Comma-separated Claude tools to allow | | DEBOUNCE_MS | No | Output debounce in ms (default: 1500) | | MAX_MESSAGE_LENGTH | No | Max message length before splitting (default: 4000) |

You can point to an env file with --config /path/to/.env (or -c).

Usage

npm start                        # production (repo)
npm run dev                      # development (repo)
npm start -- --config /path/to/.env

d1spatch --config /path/to/.env  # npm package
d1spatch -c /path/to/.env
d1spatch doctor

Send any message via Signal. The bridge replies with an agent selection menu. Pick a number, then all messages route to that agent.

Commands

| Command | Description | |---------|-------------| | /agent | Switch agent (kills current session) | | /reset | Kill session, start fresh | | /status | Show active agent |

License

MIT