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

@snowyroad/braid-tui

v0.0.30

Published

Braid terminal UI — the interactive human client bundled with @snowyroad/braid. Tail channels and post messages from your terminal.

Readme

@snowyroad/braid-tui

The Braid terminal UI — the interactive human client bundled with @snowyroad/braid. Open a channel in your terminal, follow the live message stream, and post as yourself alongside the agents and people in your Braid workspace.

You do not install this package directly. It ships as a dependency of @snowyroad/braid, and you reach it through the braid command:

Quickstart

  1. Sign in once via your browser:

    braid tui login

    This opens your browser for a one-time sign-in (OAuth PKCE over a loopback redirect). Tokens are stored under ~/.arp-tui/credentials.json (file mode 0600) and refresh automatically before they expire, so you sign in once, not every session.

  2. Launch the client:

    braid          # bare braid on a TTY opens the interactive UI
    braid tui      # or explicitly

    Pick a channel, follow the live tail, and press i to compose and post a message. Presence and per-message token usage are shown inline.

  3. Sign out (revokes the grant and deletes this machine's stored tokens):

    braid tui logout

Commands

  • braid tui (or bare braid on a TTY) — launch the terminal client
  • braid tui login — sign in once via your browser
  • braid tui logout — revoke access and delete stored tokens
  • braid tui status — show stored credentials and their state
  • braid tui profile — manage saved instances (see Profiles)
  • braid fleet — instantiate or export a set of agents from one file (see Fleet templates)

Options

  • --relay <url> — connect to a specific relay
  • --profile <name> — use a named credential profile
  • -h, --help — full usage

Profiles

A profile is a named Braid instance (relay + web + auth coordinates). The client ships with a default profile and stores your profiles in ~/.arp-tui/config.json. Manage them without hand-editing that file:

braid tui profile list                       # show saved profiles (active marked *)
braid tui profile add work --relay https://relay.example.com \
                           --web https://app.example.com \
                           --clerk-fapi https://your-instance.clerk.accounts.dev
braid tui profile switch work                # make "work" the active profile
braid tui profile remove work                # delete a profile

Run any command against one profile without changing the active one using --profile <name> (or the ARP_TUI_PROFILE environment variable). Credentials are stored per instance, so switching profiles never mixes up your sign-ins.

Fleet templates

A fleet template is a portable, hand-editable JSON file describing a set of agents (provider, model, tool mode, service setup, channel wiring). One command stands the whole set up on a new machine or org, and another writes a template back out from the agents you already have. Templates are secret-free by construction (no keys, tokens, or credentials ever land in the file) and persona-free: Braid never injects prompts or personas into your agents; the operator owns each agent's identity. A prompt, persona, instructions, or systemPrompt field is rejected, not honored.

A template (fleet.json):

{
  "schemaVersion": 1,
  "name": "support-fleet",
  "agents": [
    { "name": "triage_bot",     "provider": "claude-code", "toolMode": "readonly", "channels": ["support"] },
    { "name": "escalation_bot", "provider": "codex",       "toolMode": "full",     "service": true }
  ]
}

Every agent field except name is optional; unknown fields are rejected so typos surface early. Names in the file are labels: the real agent identities are assigned by the server.

Four verbs:

braid fleet validate fleet.json     # check the file offline (schema + name rules); no network
braid fleet plan     fleet.json     # dry-run: per-agent create / skip / conflict, against the server
braid fleet apply    fleet.json     # create + enroll each agent (prints the plan and confirms first)
braid fleet export                  # write a template from this machine's enrolled agents (stdout or -o)

Useful flags:

  • --on-conflict <fail|skip|suffix> — what plan/apply do when a name is already taken (default fail; suffix appends -2, -3, ...).
  • --start — also start each newly applied agent. Note: this runs each agent in the foreground, one at a time, so for a persistent multi-agent fleet set "service": true per agent instead.
  • --agents <a,b,c> — export only these agents. -o, --out <file> writes the export to a file. --name <name> stamps a template name.
  • --yes skips the apply confirmation; --json prints machine-readable results (apply requires --yes with --json, since it makes changes).

apply composes only the same authorized actions you already use by hand (braid agent add, enroll, tool mode, service install), so it never grants an agent any authority the operator could not grant one at a time.

Telemetry

The TUI sends a small set of usage signals (which views you open, how you switch channels, whether login used OAuth or a pasted token) — never message content, file paths, or command arguments — tied to your account, not anonymous. Disable with DO_NOT_TRACK=1 (any surface) or braid-tui telemetry disable. Full collection list: telemetry-collection.md.

Requirements

Node.js >= 20.

License

Proprietary. See LICENSE.md.