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

@rivus/agent-finder-core

v0.1.1

Published

Read-only local code agent discovery core for JavaScript consumers.

Readme

PerfectPan/agent-finder

Read-only local code agent discovery for Agent Task Loop and JavaScript consumers.

This directory publishes two things from one source tree:

  • MoonBit module PerfectPan/agent-finder on mooncakes.io — the provider discovery core.
  • npm package @rivus/agent-finder-core — a TypeScript wrapper that embeds the MoonBit JS output for Node.js consumers.

It models supported coding-agent providers, evaluates host probe facts, derives stable discovery statuses, records evidence for each status, and emits JSON with schema_version: "0.1".

Structure

  • agent_discovery_core/model/: public data model and JSON encoding.
  • agent_discovery_core/catalog/: provider matrix, provider constructors, and stable candidate lists.
  • agent_discovery_core/scanner/: deterministic scan, status derivation, evidence, and path helpers.
  • agent_discovery_core/diagnostics/: diagnostics derived from scan output.
  • agent_discovery_core/js_abi.mbt: minimal JSON ABI exported by the MoonBit JavaScript backend.
  • src/: npm-facing TypeScript wrapper used by JavaScript consumers and the CLI.

JavaScript Wrapper Boundary

@rivus/agent-finder-core is the npm wrapper package. It builds the MoonBit package with moon build --target js, copies the generated JavaScript backend output into src/moonbit/, and exposes JS-friendly functions from src/index.ts.

The MoonBit package owns the domain model: provider definitions, stable statuses, evidence semantics, scan rules, diagnostics, and the versioned JSON contract. The TypeScript wrapper owns npm ergonomics and host interaction: PATH lookup, executable checks, path existence checks, bounded version probes, type mapping, and CLI-friendly exports.

The CLI depends only on @rivus/agent-finder-core. It does not call MoonBit directly and does not duplicate discovery rules.

Boundary

The core does not touch the host. Callers provide a Probe containing command, path, executable, and version facts. The scanner does not execute tasks, start agent sessions, submit prompts, upload inventory data, parse tokens, or read config file contents.

Publishing

The MoonBit module metadata lives in moon.mod.json. The module name is PerfectPan/agent-finder, which must match the authenticated mooncakes.io username.

CI always packages the module with:

moon -C packages/agent-finder package

Release CI publishes to mooncakes.io from the dedicated MoonBit publish workflow when the MOONCAKES_PERFECTPAN_TOKEN GitHub Actions secret is configured. See docs/moonbit-publish.md for the release flow.

Manual publish outline:

moon login
moon publish

Published updates should use SemVer version bumps.