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

@aeondave/pi-persona-mind

v0.9.7

Published

Local memory for Pi with pi-persona — durable project and persona facts, session notes, bounded retrieval, and supervised automatic consolidation.

Readme

Local memory for Pi and pi-persona. Save a decision once and recall it the next time you open the repository. Keep temporary constraints on the current session branch and carry personal preferences across projects with the same persona.

CI npm version License

Features

| What you can do | How it works | |---|---| | Choose who remembers | Save a fact for one session branch, one repository, one persona across projects, or explicitly share it across personas. | | Recover context after compaction | After Pi compacts a tool loop, Mind refreshes the supervisor’s reference from the active branch and scoped stores. It can include a fact saved moments earlier. | | Find and inspect a decision | Search by words, code identifiers, tags or paths. Press F10 to browse complete records, see the last context Mind prepared, or read the active-branch timeline. | | Give workers relevant context | Delegated workers get a short memory selection alongside their assigned skills. The supervisor keeps the session notes and memory-writing tools. | | Pick up unfinished work | Save a handoff with the goal, progress, next step and references. Open it in a later session with the same project and persona. | | Defer a task | Add it to the project backlog with a reminder. Pi notifies you while it is open without waking the model. | | Maintain saved knowledge | Consolidate related facts, inspect the history of a changed decision, or review a fact against evidence you select. |

Quick start

Mind requires Pi 1.7.0, Node.js 22.19.0+ and a compatible pi-persona 1.18.1+ release loaded in the same Pi instance. Install the current companion release for this Pi version. pi-persona releases

pi install npm:@aeondave/pi-persona
pi install npm:@aeondave/pi-persona-mind

Restart Pi or run /reload. For an existing installation, run pi update <source> for each package, using the same npm: sources shown above. Mind stores project, persona and shared facts in the active Pi profile, selected by pi --agent-dir <dir> or PI_CODING_AGENT_DIR.

Try this in a repository:

  1. Ask “Save this as a durable project decision: every database schema change needs a migration.”
  2. Open a fresh Pi session in the same repository and ask “What did we decide about schema changes?”
  3. Press F10 → Memories to read the full saved record. Context shows which excerpts Mind selected for the turn. Use /mind doctor to inspect the active settings or a storage warning.

Choose what persists

Automatic capture turns strong cues such as “remember this” into provisional session notes. Repeating the same capture reuses the existing note on that branch. Session notes survive compaction and resuming the saved branch. A new session starts with its own notes.

For durable memory, name the destination when asking the agent to save a fact. Project keeps a repository decision available across personas. Persona carries a preference across projects. Shared makes a fact available across personas. These facts have no automatic expiry. Mind selects relevant excerpts within a context budget and sends them to the session model. Ask for the complete record when you need an exact command or the conditions under which a workaround applies.

Working project memory and backlog items expire after 48 hours by default. A reminder set for a later date extends the item's expiry. For longer work, ask the agent to save a handoff. Use /mind handoff list and /mind handoff show <id> to consult it when you return.

Maintenance and model usage

Browsing, recall and full-record reads use local data and need no additional model call. Automatic consolidation is on by default. After eligible saves and once the foreground settles, a visible Persona worker can use the current session model to consolidate saved facts. Use /mind optimize auto status to check or /mind optimize auto off to disable it for this session. Set PI_PERSONA_MIND_OPTIMIZE=off to start with it disabled.

Explicit consolidation and evidence-grounded review also use the current model. Use /mind optimize history to inspect consolidation changes. Guarded undo restores them when conflict checks pass. Explicit fact replacements retain a before/after history for inspection. To check a fact against trusted repository files or recent user messages, start /mind review in the TUI, choose the evidence and approve any proposed correction before it is applied.

Learn more