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

@proof-computer/proof-cli-baran

v0.3.0

Published

Baran plugin for the PROOF command line interface.

Readme

PROOF CLI Baran Plugin

@proof-computer/proof-cli-switchboard adds Baran commands to the public proof CLI.

PROOF Ingress parachain

Selecting a parachain --target (for example proof-ingress-local, ws ws://127.0.0.1:9944) routes the accounting and route-lifecycle commands to the proof-ingress Substrate pallet via @polkadot/api instead of the Hub EVM relay. Signing uses an sr25519 seed (--polkadot-seed / POLKADOT_SEED); ss58 comes from the target. Every mutating command is a dry-run preview until --yes.

  • claim — withdraw your claimable balance (--mode route-credit --proof-file for a Merkle route-credit claim); claimable reads it.
  • refund / refundable — refund an unactivated or retired route by --route-id (or derive it from --hostname/--route-class-id/--salt).
  • leasecreate_route_lease (shows the precomputed route id and required payment); renew, retire — extend / retire a route.
  • route — read a route's on-chain record (status, paid-until, escrow, active generation, refund state).
proof baran lease  --target proof-ingress-local --broker-id 0 --route-class-id 42 \
                         --hostname app.example.com --lease-epochs 10 --polkadot-seed //Alice --yes
proof baran route  --target proof-ingress-local --route-id 0x... --json
proof baran claim  --target proof-ingress-local --polkadot-seed //Alice --yes

The Hub EVM commands are unchanged. test/proof-ingress-live.test.ts is a gated end-to-end shakeout (PROOF_INGRESS_LIVE=1) against a fast-epochs node.

The plugin exposes proof baran ... through native oclif commands backed by runner implementations owned by this package. Project initialization init and project init, fresh deploy, launch-demo, read-only project show, preflight, top-level status, context inspection context list and context current, local context mutation context use, context set, context add, and context dns *, accounting commands claimable, claim, refundable, refund, session refund, and session refundable, read-only session diagnostics session status, session recovery registration session register, customer hostname commands hostname status, hostname add, and hostname remove, validator script lookup validator script, validator launch validator launch, read-only catalog inspection catalog inspect and catalog verify, local catalog artifact build catalog build, local catalog state mutation catalog set-state, gateway host commands gateway setup, gateway discover, gateway status, and gateway upgrade, read-only relay diagnostics relay status, read-only relay inventory relay list/relay ls, read-only relay inventory comparison relay diff, local relay inventory sync relay sync, local relay identity diagnostics relay whoami, encrypted relay log inspection relay logs, live relay verification relay verify, local relay budget calculation relay budget, local relay processor availability and explicit spec pinning relay pick-processor, relay DNS management relay dns plan, relay dns apply, relay dns verify, and relay dns remove, local relay spec backfill relay backfill-specs, relay health transition watching relay watch, local relay key generation relay keygen, local relay spec generation relay scaffold, local relay catalog artifact build relay catalog build, local relay catalog state mutation relay catalog set-state, bootstrap helpers bootstrap, ops profile helpers ops, and the deploy recovery/diagnostic subcommands now have native oclif entrypoints that call local plugin runners. The remaining relay commands are audited/provisional diagnostics or local inventory tools. Relay lifecycle-management verbs are not being migrated: relay deploy, relay replace, relay rotate-key, relay drain, relay promote, relay deployments, relay deployment-status, and relay inspect are dropped internal subcommands, not compatibility surfaces. The standalone baran compatibility bridge has been removed from the acceptance surface. Acurast remains an internal implementation detail of the native Baran commands; the plugin does not expose a public proof baran acurast ... command family.

Install

npm install --global @proof-computer/proof-cli
proof plugins install @proof-computer/proof-cli-switchboard
proof baran --help

No standalone Baran CLI package is required for proof baran; new Baran CLI work belongs in this oclif plugin.

Development

pnpm install
pnpm typecheck
pnpm test
pnpm build
node scripts/verify-package.mjs
pnpm pack:dry-run

Local root CLI smoke, from this checkout beside ../proof-cli:

pnpm smoke:proof-plugin

Local Runner Boundary

Native commands call command-specific local runners vendored under src/switchboard-core. The oclif command files stay thin: they declare public flags/help, preserve test injection hooks, and delegate to local runner functions such as runSwitchboardDeploy(argv, options) and runSwitchboardLaunchDemo(argv, options).

Deploy and launch-demo progress is emitted through the proof plugin progress reporter. Human progress is suppressed for --json, which remains reserved for machine-readable output.