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

@tryinget/pi-context-overlay

v0.2.1

Published

Context inspector overlay and context-report prompt for Pi sessions

Readme


summary: "Overview and quickstart for @tryinget/pi-context-overlay." read_when:

  • "Starting work in this package workspace." system4d: container: "Monorepo package for Pi context inspection UX." compass: "Keep the overlay operator-focused and host-compatible without collapsing it into lower-level runtime packages." engine: "Template scaffold -> package-specific implementation -> validate in-package and live in Pi." fog: "Main risk is Pi host API drift across custom UI/keybinding helpers."

@tryinget/pi-context-overlay

Context inspector overlay for Pi sessions.

Why this is a standalone package

This feature started as a local operator extension under ~/.pi/agent/extensions/context-overlay. It does not belong in packages/pi-interaction/ because it is not an interaction-runtime primitive like editor ownership, trigger routing, or shared UI/runtime adapters.

@tryinget/pi-context-overlay is a higher-level operator feature:

  • registers the /c command
  • renders a context inspection overlay
  • helps open context-related files in zellij
  • ships the context-report prompt

For FCOS-M48 steward-continuity work, this package is the exact Pi wake-up presentation carrier named by ../../docs/project/2026-05-08-fcos-m48-pi-wakeup-carrier.md. That means it participates in wake-up/context presentation; it does not own canonical continuity state.

So the right monorepo home is its own package seam:

  • package path: packages/pi-context-overlay
  • release component: pi-context-overlay
  • package name: @tryinget/pi-context-overlay

This package was re-scaffolded from ~/ai-society/softwareco/owned/pi-extensions-template and then remigrated from the local-only extension implementation.

Commands

  • /c — open the context inspector overlay
  • /context-report — generate a concise context-window report

Package contents

  • extensions/context-overlay.ts — extension entrypoint
  • src/ — overlay component, snapshot store, token estimation, grouping logic
  • prompts/context-report.md — prompt template for textual context reports

Host lifecycle compatibility

The overlay keeps its in-memory snapshot aligned with the live Pi session by rebuilding from ctx.sessionManager on session_start, session_tree, and session_compact. That keeps the surface current-session-aware without depending on legacy session_switch hooks or inventing a separate history graph inside the package.

Runtime dependencies

This package expects Pi host runtime APIs and declares them as peer dependencies:

  • @earendil-works/pi-coding-agent
  • @earendil-works/pi-agent-core
  • @earendil-works/pi-ai
  • @earendil-works/pi-tui

Verify

npm install
npm run check
npm run release:check:quick

See also:

Live package activation

pi install /home/tryinget/ai-society/softwareco/owned/pi-extensions/packages/pi-context-overlay

Then in Pi:

/reload