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

@agent-teams/repository-mutation

v0.2.0

Published

Closed, portable repository mutation and exact recovery primitives.

Readme

Repository Mutation

@agent-teams/repository-mutation is the zero-monorepo-dependency leaf for the cooperative repository operation lock, bounded state evidence, closed known-file transactions, exact receipts, and exact-artifact recovery.

Standalone callers protect the shared lock and common transaction evidence. They do not classify an unaccompanied Engineering Foundation local-mode backup; full Foundation local-mode admission remains the responsibility of Foundation's composition wrapper.

Known-file Plan compilation rejects portable case/NFC collisions and every ancestor/descendant relationship across the complete operation set before the Plan digest, journal, or filesystem effects. The path alphabet remains ASCII-only; both composed and decomposed non-ASCII paths are rejected. Valid operation order and digest semantics remain v1-compatible. Persisted v1 evidence is never rewritten: correct journals use only their exact owner-and-kernel build recovery route. Foreign builds cannot take over; impossible, corrupt, or unknown historical bytes remain a manual-only mutation barrier. Known-file apply and recovery remain unsupported on Windows and fail before effects; pure Plan compilation remains portable.

For a valid interrupted journal, use recoverKnownFileTransaction from the recorded owner and kernel artifacts, matching each name, version, and buildIdentity: APPLYING rolls back and COMMITTED completes cleanup. A rebuilt package with the same version cannot take over. Preserve the recorded artifact for the supported recovery window. Impossible historical Plans and unknown evidence require manual resolution; no automatic bridge, schema rewrite, or cleanup is authorized. A failed recovery keeps the journal and mutation barrier.

Current JSON Schema imports use the package's ./schemas/repository-mutation/known-file-transaction-plan/v1.schema.json and ./schemas/repository-mutation/known-file-transaction-receipt/v1.schema.json exports. Their IDs have the same repository-mutation/ prefix. Both retain wire version 1 and protocol agent-teams.repository-mutation.known-file/v1; compiler, receipt digests, and the current transaction envelope (wire version 6) are unchanged. The unprefixed Plan and Receipt schema exports retain exact Foundation 0.21.0 bytes and protocol foundation.replace-known-file/v1. They describe historical data and do not enable the current compiler or journal reader to resume it.

Recover compatible historical known-file journals only through ./mutation in the retained exact @agent-teams/[email protected] artifact, matching its recorded build. Impossible Plans or ambiguous partial effects remain manual. Current public declarations and executable exports stay unchanged. The schema correction requires Authoring, Foundation, and Managed reference closure before the coordinated package set can be published.