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

@withnative/standby

v0.1.0

Published

Acquire and install the release-pinned Native local standby MCP runtime.

Readme

@withnative/standby

This is the release-pinned acquisition front door for the local Native standby MCP runtime. It is intentionally small and dependency-free. The wrapper selects the exact platform artifact package installed by npm, verifies the artifact SHA-256 and compatibility identity, and copies it into an immutable versioned generation under ~/.local/share/native-local (or NATIVE_STANDBY_HOME).

The MCP client must launch the installed absolute path, never npx or this package. native-standby configure writes the native-local entry with --standby while preserving an existing hosted native entry:

npx --package @withnative/[email protected] native-standby install
npx --package @withnative/[email protected] native-standby configure \
  --replica-root "$HOME/.local/share/native-local" \
  --hosted-route ROUTE_DATABASE_ID \
  --origin-database-id ndb_DATABASE_ID \
  --mcp-config "$HOME/.config/mcp/config.json"
npx --package @withnative/[email protected] native-standby verify --json

install and update are idempotent. verify reports the installed source revision, engine schema, DDL fingerprint and executable checksum. rollback atomically changes only the stable launcher to the prior checksum-verified generation. It never removes or rewrites accepted/, device/, or refresh/.

Installation uses an exclusive install.lock directory and never reclaims a pre-existing lock automatically, including locks left by a crashed process or an interrupted owner publication. If an operation reports a lock, first confirm that no installer is still active (for example, inspect the exact install.lock/owner.json PID), then remove only that exact lock path and retry:

test -d "$HOME/.local/share/native-local/install.lock"
cat "$HOME/.local/share/native-local/install.lock/owner.json" 2>/dev/null || true
# after confirming no native-standby installer is active:
rmdir "$HOME/.local/share/native-local/install.lock" 2>/dev/null || \
  rm -rf -- "$HOME/.local/share/native-local/install.lock"

Use the configured NATIVE_STANDBY_HOME path instead when one is set. Never remove a broad parent directory or a lock path belonging to another install.

The artifact package is produced by the release pipeline and must contain package.json metadata shaped like this (the binary is not built on the laptop):

{
  "version": "0.1.0",
  "nativeStandbyArtifact": {
    "contract": "native.standby-artifact.v1",
    "version": 1,
    "platform": "linux-x86_64",
    "sourceSha": "40 lowercase hex characters",
    "artifactSha256": "64 lowercase hex characters",
    "engineSchemaVersion": 57,
    "ddlSha256": "64 lowercase hex characters",
    "standbyRequired": true,
    "binary": "bin/mcp-stdio"
  }
}

The release artifact is built with NATIVE_CE_GIT_SHA set to the full source commit. A checkout build stamped dev is deliberately not a supported standby artifact. External npm/GitHub publication is a separate approval-gated release operation and is not performed by this package's tests or local commands.

Installation executes the packaged binary with --standby-identity and checks that its self-reported source SHA, engine schema, frozen DDL fingerprint, standby contract, and executable SHA-256 agree with the package metadata. A caller-supplied manifest cannot turn an unstamped, mismatched, or non-mcp-stdio file into an installable generation.

Maintainers stage the platform package from a previously built release binary; the staging command does not compile or download anything:

mkdir -p release/npm
node packages/native-standby/scripts/stage-artifact.mjs \
  --binary target/release/mcp-stdio \
  --version 0.1.0 \
  --source-sha "$NATIVE_CE_GIT_SHA" \
  --engine-schema-version 57 \
  --ddl-sha256 FROZEN_DDL_SHA256 \
  --out release/npm/standby-linux-x64-gnu

The staged package is the only input to the later, approval-gated npm publish; the wrapper's exact-version optional dependency must point to the same version.