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

@pincerclaw/admin

v0.1.0

Published

`pincer-admin` is the setup, diagnostics, and adapter-management CLI.

Readme

pincer-admin

pincer-admin is the setup, diagnostics, and adapter-management CLI.

Fast Path

Run from repository root:

./scripts/install-cli.sh
pincer-admin setup
pincer-admin doctor

Local (No Global Link)

npm run pincer-admin -- <command>

If your worker directory is outside the default repo path, set:

export PINCER_WORKER_DIR=/path/to/pincer-worker

Commands

Admin commands read these defaults automatically when set:

  • PINCER_WORKER_URL
  • PINCER_WORKER_NAME (used for secret updates)
  • PINCER_ADMIN_PASSPHRASE

To avoid entering the passphrase repeatedly, export both vars in your shell profile:

export PINCER_WORKER_URL="https://<your-worker>.workers.dev"
export PINCER_WORKER_NAME="<your-worker-name>"
export PINCER_ADMIN_PASSPHRASE="<your-admin-passphrase>"

setup

What it does:

  • Checks Wrangler availability and auth.
  • Creates local apps/pincer-worker/wrangler.toml from wrangler.toml.example when missing.
  • Prompts for Worker name and admin passphrase.
  • Generates runtime key + HMAC secret.
  • Writes KV config keys (meta:version, runtime:active, adapter_registry:index).
  • Writes Worker secrets and deploys the Worker.
  • Generates one-time pairing code for pincer-agent connect.
  • Saves worker URL default to ~/.pincer/admin.json for later admin commands.
  • Saves worker directory default so setup/secret commands can be run from other directories.
  • Saves runtime pairing material locally so additional pairing codes can be generated without rotating credentials.

After setup, run the printed pincer-agent connect ... --code ... command on the OpenClaw host machine. Pairing codes are one-time use and should come from the most recent setup or pairing generate run.

pairing generate

Generates a new one-time pairing code without rotating runtime credentials.

credentials rotate

Rotates runtime key + runtime HMAC secret, writes new runtime metadata to KV, updates Worker HMAC secret, and prints a new one-time pairing command. Existing runtime credentials are invalidated immediately.

doctor [--json]

What it does:

  • Calls /v1/health.
  • Calls /v1/admin/doctor with admin auth.
  • Reports runtime + registry + secret readiness.

proposals list [--json]

Lists pending adapter proposals.

proposals inspect <proposal-id> [--json]

Shows proposal metadata and full manifest for review.

proposals approve <proposal-id> [--force]

Approves and applies a pending proposal by proposal ID.

proposals reject <proposal-id> [--reason "..."]

Rejects a pending proposal, removes it from the queue, and records the rejection in audit history.

audit list [--limit <n>] [--since <iso>] [--json]

Lists proposal audit events (proposal_submitted, proposal_approved, proposal_rejected).

adapters list [--json]

Lists active/disabled adapters from registry.

adapters apply ... [--force]

Apply from exactly one source:

pincer-admin adapters apply --file ./manifest.json
pincer-admin adapters apply --url https://example.com/manifest.json

Behavior:

  • Validates manifest before apply.
  • Collects required secret inputs before confirmation.
  • Shows a summary + confirmation prompt unless --force is used.
  • Writes provided secret values to Worker secrets, then applies.
  • Warns when source is an external URL.

adapters validate --file <path> [--json]

Validates an adapter manifest locally without proposing or applying it.

adapters disable <adapter-id>

Disables adapter execution without deleting manifest snapshots.

adapters enable <adapter-id>

Re-enables a disabled adapter without re-applying a manifest.

adapters secret set <binding> [--worker-name <name>]

Updates a single Worker secret binding (useful for key rotation).

Troubleshooting

  • missing_required_secrets on apply
    • Set missing bindings via pincer-admin adapters secret set <binding> and re-run apply.
  • 401/403 on admin routes
    • Confirm admin passphrase.
  • Wrangler auth failures
    • Run wrangler login and retry.