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

ranni-cli

v0.7.0

Published

Ranni 2: the work frontier agents leave behind, derived from Relic, Git and the Git host

Readme

Ranni

The work frontier agents leave behind. Ranni keeps the living state of in-flight work as ordinary Relic records, so any agent, harness or human can pick it up. It never runs agents, keeps no queue and stores no status: ranni status derives the board from Relic, Git and the Git host every time you ask.

Spec: .relic/specs/001-work-frontier/index.html

Requirements

  • Relic 2.4.0 or later, with structured search (relic search --kind <kind> --json, formatVersion 1). Ranni consumes Relic's read model and never parses the corpus. In a federation, Relic 2.4.0's projects list gives each member's root, so Git and gh evidence is read in each member's own repository (members sharing one repository share one read). Older Relic still works, with root-repository evidence only and a note.
  • git. gh is optional: without it (or without auth or network) status shows Git evidence only and says what is missing.
  • Bun.

Install

bun add -g ranni-cli

The 0.1 MCP orchestrator was published as ranni-mcp; Ranni 2 is published as ranni-cli, and the command is ranni.

ranni init

relic init && relic install   # once, if the project has no Relic yet
ranni init [--kind <kind>]

Idempotent. It requires an existing relic.yaml (it never creates one). It declares the work kind in topology.records if it is not declared yet (comments and formatting are kept), names it in the shared document <shared>/ranni.md (id: SHARED-ranni, ranni-kind: <kind>), and installs the Ranni skill next to every installed Relic skill (<dot-dir>/skills/ranni/).

The kind is --kind, else the one ranni.md already names, else work when relic.yaml already declares it (projects from Ranni 0.2), else ticket. The kind sets the identities, branches and trailer: ticket gives TICKET-042, ticket/TICKET-042-push and Ticket: TICKET-042. ranni.md is an ordinary Relic document, so the name lives in the corpus without a Ranni configuration file or a Ranni key in relic.yaml. Changing the kind later leaves the previous kind's records where they are. Running init again only refreshes the skill and prints what changed.

ranni status

ranni status [id...] [--json] [--kind <kind>]

Without --kind, the kind is the one ranni.md names (found with relic search --kind shared --meta ranni-kind --json), else work.

A read-only board grouped by the first label that applies, with the age of the last activity and links to related work items (-> TICKET-041 in review):

  1. Waiting on you: the waiting frontmatter key is set.
  2. Ready to close: a pull request mentioning it is merged (or, without gh, a branch fully merged).
  3. In review: an open pull request, with requested changes, unresolved threads, failing checks or approval.
  4. In flight: branches or commits, no pull request yet.
  5. Not started: no traces.

An open pull request in a GitHub stack shows its place in it (stack #24 3 of 6, and the branch the stack targets when it is not the default branch): the ones below land first.

After the board, status lists the open pull requests no work item claims (Pull requests with no ticket), with author, head branch, last update and review evidence, so work done outside Ranni still shows up. Bot and app authors, merged and closed pull requests are left out, and narrowing to ids drops the list. In --json it is untracked. Ranni never turns one into a work item; write one that names the pull request to adopt it.

There is no staleness threshold and no computed blocking; the reader decides.

Agents usually work in their own Git worktrees, so status also reads every worktree of the repository whose branch names an identity of the kind. The copy of a work item in the worktree whose branch names it (ticket/TICKET-042-push for TICKET-042) replaces the checkout's, and one that exists only there is added. In --json, such an item carries source: { root, branch }: its path is relative to that worktree's project folder.

The executor contract

Any agent or human leaves traces the board can read. With the ticket kind:

  • the branch name contains the identity, for example ticket/TICKET-042-push;
  • commits carry a trailer named after the kind, Ticket: TICKET-042;
  • the pull request title or head branch mentions the identity, or its body carries Ticket: TICKET-042;
  • the current frontier section of the work item is rewritten at natural stopping points.

Development

bun install
bun test
bun run typecheck
bun run ranni -- status

Contributing, security and license

See CONTRIBUTING.md. Report vulnerabilities privately as described in SECURITY.md. Ranni is released under the MIT License.