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

minddiff

v1.1.5

Published

> Preserving cognitive traces alongside repository evolution.

Readme

MindDiff

Preserving cognitive traces alongside repository evolution.

MindDiff is a Developer Continuity Engine for AI-assisted and terminal-heavy engineering workflows. It captures the session around a change, preserves the reasoning and constraints behind it, and links that context back to the Git history you already trust.

MindDiff does not replace Git. Git remains the canonical record of code state. MindDiff adds the missing continuity layer: the prompts, failed attempts, debugging loops, tool output, and architectural reasoning that usually disappear once a commit lands.


Why MindDiff exists

1. Generation is accelerating faster than comprehension

AI tools have dramatically increased how fast code can be generated. Human understanding has not accelerated at the same rate. Teams still need to maintain, debug, review, and extend systems long after the original session is over.

Generation speed != comprehension speed.

2. Git alone is insufficient for engineering memory

Git is excellent at preserving what changed: snapshots, chronology, diffs, merges, and branches.

But Git only stores the outcome of reasoning. It usually loses:

  • the exploratory paths that did not work
  • the linter or compiler constraints that shaped the final solution
  • the intent behind a refactor
  • the reasoning thread connecting multiple commits in one session

MindDiff complements Git by attaching those cognitive traces to the repository's actual evolution.

3. The product promise: Remember. Understand. Continue.

  • Remember accurately with high-fidelity PTY capture and transcript reconstruction
  • Understand what mattered by compiling logs into semantic memories, episodes, and handoffs
  • Continue without reloading everything by revisiting a session, a commit, or the latest continuity state

What MindDiff gives you

  • Captured sessions for AI agents or arbitrary CLI workflows
  • Commit-linked context so minddiff commit <sha> can explain why a change happened
  • Narrative session views that group low-level terminal activity into meaningful goal episodes
  • Compiled memories and handoffs for resuming work without starting from zero
  • Local-first project history stored inside .minddiff/

Getting started

Install

npm install -g minddiff

Quick start

# 1. Initialize MindDiff in your repository
minddiff init

# 2. Start a captured engineering session
minddiff run gemini

# 3. Work and commit normally
git commit -m "Refactor parser logic"

# 4. Revisit the reasoning behind that commit
minddiff commit HEAD

If you prefer a guided experience, run minddiff with no arguments to open the interactive terminal dashboard.


Two ways to work

Interactive launcher

minddiff

Open a keyboard-driven terminal dashboard to launch commands, browse history, read help, and explore project context interactively.

Direct CLI

minddiff history
minddiff commit <sha>

Use direct commands when you want speed, scripts, or a more traditional CLI workflow.


Core commands

| Command | Purpose | | --- | --- | | minddiff | Open the interactive launcher dashboard | | minddiff init | Initialize .minddiff/ and install Git hooks | | minddiff run <agent> [args...] | Capture an agent or arbitrary CLI command in a PTY session | | minddiff status | Show active sessions and process details | | minddiff watch | Tail the active session's live output | | minddiff history | Browse recorded sessions | | minddiff view <session-id> | Read the narrative story of a session | | minddiff log <session-id> | Print the reconstructed clean transcript | | minddiff commit <sha> | Explain why a commit happened | | minddiff memories [--tag <tag>] | Browse compiled memories across sessions | | minddiff sync | Synchronize commits with recorded sessions | | minddiff help [command] | Show manuals and command-specific help |

Examples

minddiff run gemini
minddiff run npm test
minddiff view session-2026-06-30-qqc5
minddiff view session-2026-06-30-qqc5 --raw
minddiff view session-2026-06-30-qqc5 --json
minddiff log session-2026-06-30-qqc5
minddiff memories --tag debugging

How it fits with Git

MindDiff treats Git as the canonical timeline of code changes and augments it with session continuity:

  • one session can span multiple commits
  • one commit can be linked back to the active session that produced it
  • post-commit synchronization keeps commit metadata and session metadata aligned

That means your repository keeps its normal Git workflow while gaining an inspectable memory layer.


Documentation


Project links