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

@alexleekt/pi-bump

v0.3.2

Published

Invisible continuation for the Pi agent. Double-tap Enter on empty chat to resume the agentic loop without sending the LLM a single token.

Downloads

309

Readme

@alexleekt/pi-bump

npm License: MIT

Invisible continuation for the Pi agent.

Resume the agentic loop without sending the LLM a single token.

Usage

Double-tap Enter (quickest)

  1. Make sure the chat editor is empty
  2. Press Enter twice within ~300 ms
  3. The agent continues — the LLM sees nothing

/continue command

| Command | What it does | |---------|-------------| | /continue | Resume the loop invisibly (or visibly if escalated) | | /continue status | Show if the agent is idle, busy, or escalated | | /continue help | Show available commands |

Both methods only fire when the agent is idle and no messages are pending.

How it works

Default (invisible): A hidden customType message is sent with display: false. The context handler replaces it with "Continue" before the LLM sees it. The LLM receives a clean semantic nudge and the chat stays uncluttered.

Escalated (visible): When loop detection notices the last two assistant responses had identical tool calls (or exact text duplicates), the next continue sends a real visible user message like "What's next?" or "Keep going" — stronger signal, same goal.

A context event handler proactively removes any leaked invisible markers as insurance. Real user input always resets escalation state.

Installation

npm install -g @alexleekt/pi-bump

Pi auto-discovers globally installed pi-package extensions.

Or copy index.ts into .pi/extensions/ (project) or ~/.pi/agent/extensions/ (global).

Debug mode

BUMP_DEBUG=1 pi

Then toggle per-session debugging with /bump-debug-keypresses:

  • Enter — triggers invisible continue + shows timing
  • Backspace, Delete — shows timing only
  • Ctrl+Enter, Alt+Enter — also monitored

Debug mode resets when the session ends. Only available when BUMP_DEBUG=1 is set.

Note: Debug mode monitors 5 keys (enter, backspace, delete, ctrl+enter, alt+enter). In normal mode, only Enter is monitored for performance. The other keys are only checked when debug mode is active for that session.

Performance

pi-bump is designed to stay out of the way:

  • Minimal keystroke overhead — In normal mode, only Enter is matched against incoming keystrokes. No matchesKey() calls for backspace, delete, or modifier keys unless debug mode is active.
  • Zero-allocation context guard — The context handler scans for invisible markers with .some() before allocating. In typical conversations (no invisible messages), no array is created.
  • Synchronous state reset — The input handler resets escalation state immediately (no microtask deferral), preventing false loop detection.

Hybrid Escalation Strategy (v0.3.1+)

pi-bump uses a two-tier strategy to keep the agent moving without polluting the chat:

  1. Invisible tier (default) — sends a hidden customType message (display: false). The context handler replaces it with "Continue" for the LLM. Chat stays clean.
  2. Visible tier (escalation) — when loop detection sees identical tool calls (or exact text duplicates) across the last two assistant responses, the next continue sends a real visible user message with a randomized nudge like "Continue", "Go deeper", or "Show me where this leads".
  3. Auto-reset — a non-loop assistant response or real user input resets back to the invisible tier.

The visible tier only triggers when the invisible tier isn't breaking the loop — so most continues stay silent and seamless.

Acknowledgments

The invisible continuation technique was adapted from pi-invisible-continue by Tom X Nguyen.

License

MIT