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

@4242labs/pi-tron-clu

v0.1.1

Published

TRON-CLU for Pi — a supervisor extension that drives a fleet of Pi seats through a build/review/merge pipeline.

Readme

@4242labs/pi-tron-clu

Project Status: WIP Maintenance License: Apache-2.0 npm

TRON-CLU for Pi — a supervisor extension that drives a fleet of Pi seats through a build → review → merge pipeline, one block at a time, and stops at every merge to ask you.

Pre-v1. The driver, the seats, the law and the memory adapter are built and tested, and one three-block pilot has run end to end on a private sandbox. Seats are not contained yet — see docs/containerization.md before pointing it at work you care about.

What it does

You give CLU a mandate: an ordered list of blocks. Each block is a task, a branch, and a set of acceptance criteria — where every criterion carries the command that decides it, so "done" is never a judgement call.

For each block, in order:

  1. a worker seat builds it in its own git worktree and commits;
  2. the gates run in a fresh detached checkout of what was committed — never in the worker's live worktree, so uncommitted work cannot reach a gate;
  3. a reviewer seat reads the diff, the evidence, and the protected paths the change touched, and returns APPROVED or REJECTED with its reasons;
  4. the branch is pushed and the run parks. Nothing merges until you say so.

A rejection sends the block back to the same worker seat with the reviewer's own words as its brief. A wall the driver cannot clear — a retry cap, a spent budget, a block file edited underneath it — parks an escalation with a fixed set of answers, and waits.

The one rule

A seat never lands work. That is held three ways, in order of strength: the tool allowlist Pi enforces from the parent process, the parked merge that no code path can clear, and a pattern-matching deny extension that is bypassable and documented as such. docs/law.md states exactly where each stops working, and which one is load-bearing (it is you).

Install

pi install npm:@4242labs/pi-tron-clu

Then, in a Pi session at the root of a git repository:

/tron-clu init                 # gates, branch, merge strategy — written to .pi/tron-clu.json
/tron-clu ./blocks/mandate.json # start a mandate
/tron-clu status               # where it is
/tron-clu approve <block>      # the merge. TUI only, always
/tron-clu reject <block> <why>
/tron-clu answer <item> <choice>

approve, reject, answer and starting a mandate are TUI-only: there is no programmatic path to starting a run or approving a merge.

A block

{
  "id": "b1-titlecase",
  "task": "Add a titleCase function to src/kit.js and export it…",
  "reviewerClass": "code",
  "acceptance": [
    { "criterion": "titleCase is exported", "verify": "node -e \"…\"" },
    { "criterion": "the whole suite passes", "verify": "npm test" }
  ]
}

A criterion with no verify command is refused: a criterion no command can check is not a criterion. So is an unknown field — a typo is a reason not to run.

What it does not do

  • It does not decide. No timeout resolves a merge or an escalation. Silence keeps a run parked forever, on purpose.
  • It does not contain its seats. A worker seat has bash, and bash reaches the network and the filesystem. See docs/containerization.md — evaluated, deferred, with the conditions for adopting it named.
  • It does not run seats in parallel. One block at a time, in the mandate's order.

Documentation

| | | |:--|:--| | docs/law.md | what a seat cannot do, and where that stops being a guarantee | | docs/drills.md | every failure this design claims to survive, and the test that proves it | | docs/pi-api.md | the verified Pi contract this is built against | | docs/memento-adapter.md | what the supervisor remembers, and what it must not | | docs/containerization.md | seat containment: evaluated and deferred | | docs/publishing.md | how this reaches npm and Pi's gallery |

Requirements

  • pi 0.84.1 or later (the verified baseline)
  • git 2.5+ (worktrees)
  • gh, for the pr and squash merge strategies

License

Open source — Apache-2.0.


If it earned its keep, coffee is appreciated. ☕