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

@agentproto/rendezvous

v0.2.2

Published

@agentproto/rendezvous — an untrusted ciphertext splicer for E2E daemon pairing. A deliberately dumb WebSocket broker: it matches two sockets sharing a one-time token and pipes their bytes verbatim, learning only token, IPs, sizes, and timing — never plai

Readme

@agentproto/rendezvous

An untrusted ciphertext splicer for end-to-end agentproto daemon pairing.

The rendezvous is a deliberately dumb WebSocket broker. It matches two sockets that present the same one-time token on the upgrade URL — one side=daemon, one side=client — and from then on pipes their messages byte-for-byte in both directions, parsing nothing beyond the upgrade URL.

The two peers run the pair/v1 handshake (@agentproto/secrets/pairing) and an AEAD channel (@agentproto/acp/tunnel wrapE2E) end-to-end, so the broker sees only opaque ciphertext. It learns token, IPs, message sizes, and timing — it can neither read nor forge traffic. See the repo's DESIGN.md §3.

Run

agentproto rendezvous serve --port 8788      # via the main CLI
# or the standalone bin:
agentproto-rendezvous serve --port 8788
  clients dial:  ws://<host>:8788/v1?side=client&t=<token>
  daemons dial:  ws://<host>:8788/v1?side=daemon&t=<token>

Hygiene

  • Park timeout (default 120 s) — a lone arrival is closed if its counterpart never shows.
  • Idle timeout (default 15 min) — a spliced pair with no traffic is torn down; any message resets it.
  • Max message size (default 1 MiB) — oversized frames close the socket.
  • Per-IP rate limit (default 120 attempts / 60 s) — keyed by the real socket address, never a forwardable header.
  • Concurrency guard — a token that is parked or actively spliced refuses any third socket. Permanent single-use of offer tokens is enforced by the daemon (verifyOfferToken spends them); the broker frees a token once its splice closes so day-scoped reconnect tokens can be reused.

Library

import { createRendezvousServer } from "@agentproto/rendezvous"

const server = createRendezvousServer({ parkTimeoutMs: 120_000 })
const { port } = await server.listen(8788, "0.0.0.0")
// ...
await server.close()

Self-host your own instance so no third party sits between your client and daemon — defence in depth, since the broker only ever sees ciphertext.

Hosting

See DEPLOY.md for:

  • Docker deployment (prebuilt-dist, non-root)
  • Kubernetes manifests
  • TLS/HTTPS configuration (reverse proxy)
  • Environment variables
  • Health checks (GET /healthz)
  • Scaling considerations

Quick Docker run:

# build the bundle first (standalone package, only dep is ws):
pnpm --filter @agentproto/rendezvous build
docker build -t agentproto-rendezvous packages/rendezvous
docker run -p 8788:8788 agentproto-rendezvous

Environment variables (all optional — shown with their defaults, see DEPLOY.md for the full table):

RENDEZVOUS_PORT=8788
RENDEZVOUS_HOST=0.0.0.0
RENDEZVOUS_PATH=/v1
RENDEZVOUS_PARK_TIMEOUT_MS=120000
RENDEZVOUS_IDLE_TIMEOUT_MS=900000
RENDEZVOUS_MAX_MESSAGE_BYTES=1048576
RENDEZVOUS_RATE_LIMIT_MAX=120
RENDEZVOUS_RATE_LIMIT_WINDOW_MS=60000
RENDEZVOUS_DEBUG=false          # print the effective config at startup

Every one has a matching flag (--port, --path, --rate-limit-max, …) that takes precedence over the env var; run agentproto-rendezvous --help for the list.