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

@bacnh85/pi-munin

v0.4.7

Published

Pi extension that provides native Munin long-term memory tools through direct SDK integration.

Readme

pi-munin

Pi extension that exposes Munin long-term memory as native Pi tools.

Install

Install the published package from npm:

pi install npm:@bacnh85/pi-munin

From this repository checkout, install only this extension package:

cd pi-munin
npm install
cd ..

pi install ./pi-munin
# or test directly
pi -e ./pi-munin

The package manifest points Pi directly at ./extensions/index.ts, so published npm installs and local installs load the same extension entrypoint.

Configuration

The extension lazily discovers credentials on first tool use:

  • MUNIN_API_KEY (required)
  • MUNIN_PROJECT (required)
  • MUNIN_BASE_URL (optional, defaults to https://munin.kalera.ai)

It also loads environment files without overriding existing environment values, in this order: current working directory .env.local, current working directory .env, and Pi global config .env.local/.env. The Pi global config directory honors $PI_CODING_AGENT_DIR when set; otherwise it checks ~/.pi/agent and legacy ~/.pi/agents.

Tools

Individual tools:

  • munin_search
  • munin_get
  • munin_store
  • munin_list
  • munin_recent
  • munin_delete
  • munin_capabilities

Notes

  • Treat retrieved memories as leads, not authority. Verify against current repository evidence before relying on them.
  • Never store secrets, credentials, tokens, private keys, or sensitive connection strings.
  • For E2EE projects, use the official Munin setup and environment variables; this extension relies on the official SDK/server protocol.

Troubleshooting

  • Missing SDK dependency (Cannot find module '@kalera/munin-sdk'): when using this repository as a local Pi extension, install runtime dependencies in the extension directory with npm install --prefix pi-munin, then restart Pi or run /reload.
  • Missing credentials: run /munin-status or set MUNIN_API_KEY and MUNIN_PROJECT.
  • Auth/network/E2EE/stale-protocol errors are surfaced as actionable tool errors.
  • Transient network errors are retried automatically with exponential backoff (3 retries).