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

pi-tldr

v0.6.8

Published

A pi coding-agent extension that shows live TLDRs above the input bar.

Readme

pi-tldr

A pi extension that shows a small live tldr box above the input bar while the agent works.

It writes a TLDR of what pi is currently doing and keeps the final TLDR visible until the next prompt starts.

What it does

During a prompt, pi displays a TLDR box like:

╭ tldr ─────────────────────────────────────────────╮
│ Inspecting the extension package structure        │
╰───────────────────────────────────────────────────╯

The TLDR updates as pi works, including during tool calls and final responses.

How it works

pi-tldr records each prompt, assistant update, tool call, tool result, and final response as activity. For each activity, it asynchronously asks the selected TLDR model for a generated status checkpoint.

Each checkpoint prompt includes recent generated TLDR checkpoints as compact context plus the new raw activity that has not been summarized yet. Follow-up prompts keep this generated context, so pi-tldr can summarize continuations without starting from scratch.

The widget does not show local fallback summaries. It renders completed model output when available, shows user-prompt and final-response checkpoints immediately, and throttles ordinary activity updates to avoid flicker.

Install

Install globally:

pi install npm:pi-tldr

Try it for one session:

pi -e npm:pi-tldr

Remove it:

pi remove npm:pi-tldr

Requirements

  • A recent version of pi with package/extension support.
  • At least one configured API key for either your configured TLDR model or an automatic fallback model.

TLDR model selection

By default, auto tries these fast models in order:

  1. openai-codex/gpt-5.4-mini
  2. openai-codex/gpt-5.3-codex-spark
  3. anthropic/claude-haiku-4-5
  4. anthropic/claude-haiku-4-5-20251001

If none has a configured API key, the extension shows no tldr model authenticated above the editor instead of showing fake fallback text.

To prefer a specific TLDR model, set it in pi settings:

Global:

{
  "tldr": {
    "model": "anthropic/claude-haiku-4-5"
  }
}

Save this in:

~/.pi/agent/settings.json

Project settings override global settings. Save project settings in:

.pi/settings.json

Set the model to auto, omit the setting, or provide an invalid model string to use automatic model selection. If a configured provider/model cannot be found or authenticated, pi-tldr falls back to auto.

Commands

Show available pi-tldr commands:

/tldr
/tldr help

| Command | Description | | -------------- | -------------------------------------------------------------- | | /tldr status | Show selected and active model after auth/fallback resolution. |

Inspect pi-tldr

Check which model is selected and which model is active after auth/fallback resolution:

/tldr status

Example:

pi-tldr status
selected model: auto
active model: openai-codex/gpt-5.4-mini

If no supported model is available, the active model is none and pi-tldr shows no tldr model authenticated above the editor. If auth cannot be checked, the active model is unknown (auth check failed).

Privacy

pi-tldr sends short snippets from recent prompt, assistant, tool, and result activity to the selected TLDR model provider. Requests may also include recent generated TLDR checkpoint summaries from the current session. This activity is generally already part of the pi agent context, but auto may send it to an additional or different provider from your main pi model.

pi-tldr does not attempt to detect or redact secrets. It disables prompt caching for TLDR requests and keeps snippets short, but this is not a security boundary. Do not use pi-tldr where sending these snippets to the TLDR provider is unacceptable.

License

MIT