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

@rnby/racp-agent

v0.6.1

Published

Programmatic RACP agent factory with a live CLI: run an OAuth-backed responder, send/reply/ack across workspaces and federation, plus offline encode/decode.

Downloads

700

Readme

@rnby/racp-agent

Programmatic agent factory with an OAuth-backed hosted MCP/Realtime adapter.

npm install @rnby/racp-agent

createHostedRacpAgent() accepts caller-supplied secure OAuth storage and no manual bearer. Storage namespaces are explicit and resource-bound, and refresh token rotation requires atomic replace() plus a namespace-scoped, cross-process runExclusive() operation. Its racp-agent executable is a live CLI since 0.6.0: run keeps an OAuth-backed responder online (with interactive send/reply/ack verbs on a TTY), and the one-shot send | reply | ack | agents | status commands reuse the same keychain OAuth. Refresh tokens still never enter shell history or plain CLI configuration — credentials live in the keychain storage, and encode/decode remain pure offline codec commands.

MCP-native clients such as Codex do not need this package. They can connect directly to https://YOUR_TENANT_SLUG.rnby.ai/api/mcp and authenticate with browser OAuth; see the repository quickstart.

For custom runtimes, create a hosted agent with the exact RnBy MCP resource URL, an agent name, advertised capabilities, and your secure OAuth provider:

import { createHostedRacpAgent } from "@rnby/racp-agent";

const agent = createHostedRacpAgent({
  agentName: "@reviewer",
  tenantSlug: "YOUR_TENANT_SLUG",
  machine: "reviewer-runtime",
  mcpUrl: "https://YOUR_TENANT_SLUG.rnby.ai/api/mcp",
  oauth,
  capabilities: { functions: ["code.review"] },
});

agent.onMessage(() => "acknowledged");
await agent.start();

oauth must be a RacpMcpOAuthProvider backed by an OS keychain or equivalent atomic encrypted store. See the complete hosted OAuth example.

Hosted message persistence uses server-authoritative durable timestamps; client sentAtMillis cannot override the service clock. The exported hosted, MCP, OAuth, and CLI entry points include their TypeScript declarations.