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

@luxusai/pi-hindsight

v0.5.0

Published

Pi extension for durable Hindsight-backed long-term memory.

Readme

Pi Hindsight Extension

Persistent memory for Pi backed by Hindsight.

Documentation: https://luxus.github.io/pi-hindsight/

Pi Hindsight recalls relevant project memory before model calls, retains structured session deltas after completed agent runs, and exposes explicit memory tools for direct retain/recall/reflect operations.

Install

Install the published npm package:

pi install npm:@luxusai/pi-hindsight

You can still install from GitHub when you want the current repository source instead of the latest npm release:

pi install https://github.com/luxus/pi-hindsight

Package name: @luxusai/pi-hindsight.

For local checkout installs, see Development.

Quick start

  1. Start or choose a Hindsight server:
  2. Open Pi in your repo and run /hindsight.
  3. Configure the Hindsight API URL. The default self-hosted URL is http://localhost:8888.
  4. Choose the narrowest memory profile that fits the repo: Project + User, Project Only, User Only, or Recall Only.
  5. Start coding. Recall happens before provider calls; retain happens after completed agent runs when the selected profile allows automatic retain.

See the getting started guide for setup details.

Safety defaults

  • Project memory stays in a project bank by default.
  • User memory is opt-in and explicitly configured.
  • Recall injection is ephemeral; recalled memory is not written back into transcripts.
  • Automatic retain redacts common secrets before writing memory.
  • Exact document deletion requires exact bank ID, exact document ID, and confirm: true.

See memory behavior and session memory modes for details.

Documentation

  • Start — install and first setup
  • Concepts — memory model, banks, queue, imports, safety
  • Guides — task workflows for setup, diagnostics, imports, and recovery
  • Reference — tools, commands, config, hooks, generated surface
  • Development — contributor setup, checks, release, docs workflow

Development

npm install
npm run check

npm run check includes npm run docs:check, which verifies generated surface-reference freshness, generated code-map freshness, internal docs links/sidebar routes, packaged Markdown links, GitHub Pages base-prefixed docs links, and docs-site build.

Run Pi with the local extension:

pi -e ./extensions/index.ts

Install a local checkout into Pi when you need to test package loading from your working tree:

pi install /path/to/pi-hindsight

For maintainer details, see Development setup and Release process.

Prior art

Pi Hindsight is inspired by noctuid/pi-hindsight. This package keeps the same useful idea, then tightens project isolation, queue durability, diagnostics, and release hardening.