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

@pushpalsdev/cli

v1.2.64

Published

PushPals terminal client and local multi-service runtime supervisor

Readme

@pushpalsdev/cli

The PushPals CLI is the terminal client and optional local runtime supervisor. It submits messages through the Server session control plane, streams lifecycle events, and can start the packaged Server, LocalBuddy, RemoteBuddy, and SourceControlManager when no healthy runtime is already serving the current repository. Planning, execution, and publication remain owned by those services.

Install

npm install -g @pushpalsdev/cli

bun install -g @pushpalsdev/cli is also supported. On Windows hosts with a managed certificate store, use bun install -g --use-system-ca @pushpalsdev/cli so Bun trusts the system CAs.

The npm entrypoint requires Node.js 20+ and Bun 1.3.14+. Native binaries are also available from GitHub Releases.

Windows Bun resolution

It is possible to have more than one Bun installation on Windows, especially after installing Bun both from bun.sh and npm. The CLI checks the Bun executables reported by where.exe bun in PATH order and uses the first one that satisfies its minimum version. Global and project-local npm bun and bun.cmd shims are resolved to their native node_modules/bun/bin/bun.exe target before launch.

To inspect or repair a runtime mismatch:

where.exe bun
Get-Command bun -All
bun upgrade

For an npm-managed installation, use npm install -g [email protected]. You can also pin the launcher to a specific native executable for the current shell:

$env:PUSHPALS_BUN_BIN = "$env:APPDATA\npm\node_modules\bun\bin\bun.exe"
pushpals --version

Common Commands

Run from inside the Git repository you want PushPals to manage.

| Command | Purpose | | ----------------------------------- | ------------------------------------------------------------------------------------ | | pushpals | Connect or auto-start, then open interactive chat and event streaming. | | pushpals --runtime-tag vX.Y.Z | Pin embedded assets and binaries to a release. | | pushpals --no-auto-start | Require an existing healthy runtime. | | pushpals --runtime-only | Supervise the local runtime without interactive chat. | | pushpals --status-once | Print endpoints and readiness once, then exit. | | pushpals --version | Print CLI, Bun runtime, and platform versions, then exit. | | pushpals --open-config | Open the active local runtime configuration. | | pushpals --clear | Stop the repo's managed runtime and clear state, preserving reusable caches. | | pushpals --clear --include-caches | Also remove the configured WorkerPal sandbox image and legacy host dependency cache. |

The CLI refuses to run outside a Git repository or against a Server attached to a different repository. Embedded release assets live under ~/.pushpals/runtime; repo-specific CLI state lives in the repository's Git metadata directory.

--clear removes runtime data, state files, the managed SourceControlManager worktree, bootstrap logs, and repo-labeled WorkerPal warm containers when Docker is configured. It preserves the reusable sandbox image and legacy host dependency cache; a matching image can be reused on the next start. Use --clear --include-caches when you also want those caches removed; the next start may need to rebuild the image. --include-caches requires --clear. Neither mode removes Docker named volumes, including WorkerPal dependency snapshots and Codex state, or installed runtime assets and configuration.

On Windows, directory cleanup uses up to four concurrent, disjoint subtree removals to reduce the cost of dependency-heavy worktrees. Planning is bounded, directory links are not followed, and all started removals finish before retrying or returning. Clear targets remain sequential because configured paths can overlap. Non-Windows platforms retain native recursive removal. Cleanup is not deferred into the background; progress messages continue until it finishes. To compare removal times safely on synthetic temporary fixtures, run bun run scripts/benchmark-cli-clear.ts from a PushPals source checkout (no path arguments).

Requested Docker cleanup remains strict: --clear exits with code 1 if warm-container cleanup cannot be confirmed, and --clear --include-caches also requires confirmed image cleanup. Docker unavailability or a cleanup timeout produces an incomplete summary even if local state was successfully removed; retry when Docker is responsive. Preserved caches are not cleanup failures. Startup and shutdown cleanup remain best-effort and warn without blocking indefinitely.

Implementation Map

  • bin/pushpals.cjs - npm shim, Bun version check, bootstrap watchdog, and signal forwarding.
  • bin/bun-runtime.cjs - Windows Bun candidate discovery, version selection, and probe budgeting.
  • ../../scripts/pushpals-cli.ts - bundled CLI, preflights, runtime supervision, session transport, and interactive commands.
  • ../../scripts/sync-cli-runtime-assets.ts - packaged runtime mirror generation.
  • package.json - package payload and build contract.

For startup flow, component boundaries, and troubleshooting, see Client Surfaces.