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.6.0

Published

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

Readme

@bacnh85/pi-munin

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

Install

pi install npm:@bacnh85/pi-munin

Configuration

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

Configuration precedence is explicit tool parameters, process environment, trusted project .env.local/.env, then Pi-global .env.local/.env. Project env files are read only when ctx.isProjectTrusted() is true. Env files are parsed without mutating process.env; .env.local wins over .env at each location.

The Pi global config directory honors $PI_CODING_AGENT_DIR when set; otherwise the extension checks ~/.pi/agent and legacy ~/.pi/agents. Base URLs must be HTTP(S), cannot contain credentials, and a tool-level base_url override requires a tool-level api_key so ambient credentials are never sent to a model-selected endpoint.

Always-on Memory Protocol

When Munin is configured, pi-munin injects the condensed always-on Memory Protocol (Before acting / What to store / Memory shape / Lifecycle and safety) into the system prompt via a before_agent_start hook. This travels with the package — no edits to ~/.pi/agent/AGENTS.md are required — and carries zero overhead when pi-munin is not loaded. The full deep reference is in skills/munin/SKILL.md.

Tools

  • munin_search — search memories.
  • munin_get — retrieve one memory by key.
  • munin_store — store verified durable knowledge.
  • munin_list — list stored memories.
  • munin_recent — list recently updated memories.
  • munin_delete — delete a memory after interactive confirmation.
  • munin_capabilities — inspect server capabilities.
  • munin_share — share memories with other projects after interactive confirmation.

Delete and share safely cancel in non-interactive modes, where Pi cannot obtain confirmation.

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.
  • @kalera/[email protected] exposes no client-side encryption-key or crypto-helper API. This extension does not implement or claim client-side E2EE; use a future official SDK integration when one is available.

Changelog

See CHANGELOG.md for release history.

Troubleshooting

  • Missing SDK dependency (Cannot find module '@kalera/munin-sdk'): when using this repository as a local Pi extension, install runtime dependencies 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, validation, feature, rate-limit, network, timeout, and stale-protocol errors are surfaced as typed tool errors.
  • Transient network, timeout, and rate-limit failures are retried automatically with exponential backoff (3 retries).