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

@runminton/pi-parallel-batch

v0.1.1

Published

Pi extension: visualize parallel tool call batches in the TUI

Downloads

318

Readme

@runminton/pi-parallel-batch

Pi extension: visualize parallel tool call batches in the TUI.

When the model issues multiple tool calls in a single response (a parallel batch), the extension shows the batch in real time — so you can see at a glance how many tools were fired together, which ones are still running, and when the batch finishes.

Install

pi install npm:@runminton/pi-parallel-batch

Or try without installing (temporary, current run only):

pi -e npm:@runminton/pi-parallel-batch

Or load from a local checkout:

pi -e /path/to/pi-parallel-batch

Usage

No setup needed. The extension is active as soon as it loads; whenever the model fires a parallel batch of tool calls, the batch appears automatically.

| Command | Description | |---|---| | /pb-mode notify | Switch to notify mode (one-line message in the transcript; batch start/done only) | | /pb-mode widget | Switch back to widget mode (card above the editor; per-tool ✓/⟳ status, stays visible for at least 1s, then disappears when the batch finishes) — default | | /pb-demo | Simulate two parallel tool batches (self-test only; don't run while real tools are executing) |

The mode is persisted in ~/.pi/agent/parallel-batch.json and restored on the next launch. Default is widget.

To adjust the widget's minimum display time, change MIN_WIDGET_VISIBLE_MS near the top of parallel-batch.ts.

Mode semantics

  • widget: a card in the editor-adjacent area. Shows per-tool running/done status. It remains visible for at least 1 second, including for fast tool calls, then disappears when the batch finishes. It leaves no trace.
  • notify: a stream message appended to the transcript (batch start / batch done). It is an event record: stays in the transcript history after switching modes.

Known behavior

  • Notify-mode messages remain in the transcript (including after switching back to widget).
  • A batch = one assistant response's tool calls. Serial single-tool calls display as ×1.

Notes

  • Zero dependencies. Only uses Node built-ins.
  • Source: parallel-batch.ts — review before installing, it runs with full system permissions.