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

avtc-pi-unstuck

v1.0.3

Published

Auto-continue on empty model responses + configurable timeouts for bash and search tools

Readme

avtc-pi-unstuck

Auto-continue on empty model responses + configurable timeouts for bash and search tools

Features

Empty Response Auto-Continue

When the model ends a turn without producing a text answer (thinking-only, tool-only, or completely blank), this extension nudges it to continue:

  1. First empty response → sends continue
  2. Second empty response → sends please continue
  3. Third empty response → warns the user via UI notification

If the empty response was cut off by the token-length limit, a targeted prompt is sent instead — asking the model for a shorter, more concise response — before the escalation above kicks in.

Tool Timeouts

Stops search and bash tools from hanging indefinitely. Two timeouts, edited via /unstuck:settings (powered by avtc-pi-settings-ui) in human-readable form (2m, 1h, or Infinite):

  • Bash timeout (default 10m) — any bash command that runs past the limit is killed; only the command dies, the agent run continues. A timeout the model sets itself is always respected.
  • Search timeout (default 2m) — a tighter limit for search tools (grep/find, and search-style bash commands). For bash search commands only the command is killed; for the grep/find tools the whole agent run is aborted (they can't be stopped mid-command) and the model is told to narrow its search. It retries up to twice, then warns you instead.

Compound commands are handled correctly (cd /src && grep "foo", ls -R | xargs grep "TODO", (cd /path && find . -name "*.ts")).

Installation

pi install npm:avtc-pi-unstuck

Configuration

Run /unstuck:settings in pi to open the settings modal and adjust the timeouts (values in human-readable duration form):

| Setting | Default | Description | | ---------------- | ------- | --------------------------------------------------------------------------- | | searchTimeoutMs| 2m | Timeout for search tools (grep/find watchdog + search bash commands). | | bashTimeoutMs | 10m | Timeout for any bash command. |

Both accept Infinite to disable the limit. For a search bash command, the shorter of the two applies. Settings are persisted to ~/.pi/agent/avtc-pi-unstuck-settings.json (global) or .pi/avtc-pi-unstuck-settings.json (project) and survive /reload via the PI_SETTINGS_UNSTUCK env var.

Usage

No configuration needed. Both features activate automatically when installed.

Full suite

Check out the full suite of related extensions, avtc-pi — deterministic feature development, subagent delegation, working-memory, behavioral learning, parallel-work guardrails, durable decisions, notifications, and more.

Developed with Z.ai — get 10% off your subscription via this referral link.

License

MIT