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-suggest

v0.1.2

Published

LLM-generated next-step suggestions for Pi autocomplete, chips, and picker UI.

Readme

pi-suggest

npm version

A Pi package that offers LLM-generated next-step suggestions after the assistant responds.

Behavior

  • No suggestions in a fresh empty session.
  • Suggestions become available after a user prompt receives a completed assistant response.
  • Suggestions are generated in the background and shown as compact chips above the editor.
  • Suggestions clear by default as soon as you submit the next prompt.
  • Shows 3 suggestions by default.
  • Use Alt+1 through Alt+3 to insert a visible chip suggestion by default.
  • Press Tab in an empty editor after a response to see the same suggestions through autocomplete.
  • Press Ctrl+Shift+N to open the explicit suggestions picker.
  • Selecting a suggestion inserts it into the editor only. It never auto-submits.

Configuration

Optional config files are loaded from:

  • ~/.pi/agent/pi-suggest/config.json
  • <project>/.pi/pi-suggest/config.json

Project config overrides global config.

Public defaults use the current active Pi model only. A complete config with every available option looks like this:

{
  "suggestionCount": 3,
  "modelPreference": [
    "current"
  ],
  "timeoutMs": 5000,
  "chips": {
    "enabled": true,
    "hint": "Alt+# insert • Ctrl+Shift+N more"
  },
  "autocomplete": {
    "enabled": true
  },
  "picker": {
    "enabled": true
  },
  "background": {
    "enabled": true
  },
  "lifecycle": {
    "clearOnSubmit": true
  }
}

Fields:

  • suggestionCount: number of suggestions to show, clamped to 1 through 5.
  • modelPreference: ordered model fallback list. Use "current", a full provider/model-id string, or a substring such as "nano" that matches the first available model id/provider path.
  • timeoutMs: generation timeout, clamped to 500 through 30000 milliseconds.
  • chips.enabled: show/hide suggestion chips above the editor.
  • chips.hint: optional text shown on the far right of the chip row. If omitted, the hint is generated from suggestionCount.
  • autocomplete.enabled: enable/disable Tab autocomplete suggestions.
  • picker.enabled: enable/disable the Ctrl+Shift+N picker.
  • background.enabled: enable/disable background suggestion generation after assistant responses.
  • lifecycle.clearOnSubmit: clear visible suggestions and cached suggestions as soon as the user submits the next prompt. Defaults to true.

Install

Public npm package:

pi install npm:pi-suggest

Source package from GitHub:

pi install git:github.com/mujuni88/pi-suggest

Development

npm install
npm run check