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

@edgehero/pi-dispatch-sandbox-gateway

v5.2.0

Published

An optional, separately hosted browser attachment for an existing pi-dispatch sandbox.

Readme

pi-dispatch sandbox gateway

An optional browser terminal for an existing sandbox of pi-dispatch, which runs the pi coding agent for you in the background. You do not need this package to use pi-dispatch. Install it on the sandbox's host, then enable it with protected configuration. It is off until explicitly started:

npm install -g @edgehero/pi-dispatch-sandbox-gateway
pi-dispatch-sandbox-gateway --config /absolute/path/sandbox-gateway.json

Use the existing runtime account and an explicit Docker or rootless Podman socket. The gateway attaches only to an already running, registered sandbox. It cannot create a container, choose an image, start another shell or end the sandbox. Open in Terminal and the command-copy route remain available.

The browser workspace uses exact-pinned xterm.js and Dockview for up to four terminal tabs with split panes. Adding a terminal selects another existing shell through fresh console authorization. Moving a pane preserves its connection; closing it detaches only that pane. Run context and the return link follow the selected terminal.

A writing operator may enable read-only watching for up to three other attachments. It is off by default per terminal, with a persistent named roster and individual Remove controls. Each watcher verifies their own operator token. Watch attachments have no runtime input stream or resize capability, receive only new output at the driver's dimensions, and end on driver/consent/session loss. Stop watching leaves the driver and shell running.

The gateway needs its own hostname, separate from the console, and HTTPS for public access. Another port on the same hostname does not isolate cookies. Each browser opening requires the original console tab and operator session, fresh same-token verification, a cookie-bound one-use grant and current authorization. Closing the browser detaches and keeps the shell; the console's confirmed End action remains separate. Phones use the native terminal command.

The package contains its executable and self-hosted terminal assets. It requires Node 22.19 or newer. No repository checkout, browser build tool, provider key, forge credential or console token file belongs in the gateway deployment.

See the complete configuration and operator reference and the accepted security boundaries. The runtime socket retains its full authority if the gateway is compromised; the attach-only interface does not reduce the socket's permissions.