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

@wyattjoh/pi-claude-bridge

v0.1.1

Published

Opt-in Pi extension for Claude Code peer messaging over a Unix socket

Readme

@wyattjoh/pi-claude-bridge

CI npm License: MIT

A Pi extension that makes an opted-in Pi session addressable from Claude Code's cross-session peer messaging tools.

[!IMPORTANT] Pi packages run with the same system access as Pi. Review the source before installing third-party extensions.

Requirements

  • Pi 0.84.1 or newer is the tested baseline
  • Node.js 22.19.0 or newer
  • macOS or Linux with Unix domain socket support

Install

pi install npm:@wyattjoh/pi-claude-bridge

Update or remove the package with Pi's package manager:

pi update npm:@wyattjoh/pi-claude-bridge
pi remove npm:@wyattjoh/pi-claude-bridge

Usage

Start Pi with the bridge enabled:

pi --bridge

The extension always registers the CLI flag so Pi can parse it, but everything else remains opt-in. Without --bridge, it does not inspect peer records, register peer tools, create files, or open sockets.

When enabled, the extension:

  • registers list_agents and send_message
  • writes a Claude-compatible record under ~/.claude/sessions/
  • serves peer messages over a user-owned Unix socket
  • publishes Pi's current status to compatible peers

Incoming peer frames are limited to 1,048,576 bytes. An oversized frame is rejected with a warning while the bridge stays available for other peers.

If secure startup or record publication fails, Pi displays an error and continues without bridge tools. Status publication failures after startup warn once without stopping peer messaging.

At enabled startup only, the extension conservatively removes stale records that carry its ownership marker and whose Unix socket is definitely unreachable. It leaves native Claude Code records, uncertain probes, changed records, and every socket path named by a stale record untouched. Peer listing is observational and does not perform cleanup.

Security and privacy

The bridge is local-only. It does not expose a TCP listener or add remote authentication. Any process running as your user may be able to read the peer record and connect to the Unix socket, so enable the bridge only in environments you trust.

Report vulnerabilities through GitHub private vulnerability reporting. See SECURITY.md for the disclosure policy.

Development

The enabled bridge uses stable Effect 3 to own one scoped lifecycle. Its Node platform boundary makes filesystem and Unix socket failures controllable in tests, while record and protocol decisions remain deterministic.

bun install
bun run release:check
bunx lefthook install

The pre-commit hook checks staged JavaScript and TypeScript files with Oxfmt and Oxlint. To try the local extension without installing the package:

pi -e ./src/index.ts --bridge

See CONTRIBUTING.md for contribution guidance and RELEASING.md for the maintainer release process.

License

MIT