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

@deathbeam/pi-delegate

v0.0.65

Published

Background subagents for Pi with steering, isolation and a /delegate inspector

Readme

@deathbeam/pi-delegate

Run subagents in the background with delegate, and manage them with delegate_list, delegate_steer, delegate_cancel, delegate_apply, and delegate_discard. /delegate opens a fullscreen inspector for live and recent jobs.

/delegate inspector

Installation

# Choose one:
pi install npm:@deathbeam/pi-delegate            # this package
pi install git:github.com/deathbeam/pi-packages  # all my packages

Configuration

Optional delegate settings live in ~/.pi/agent/settings.json or .pi/settings.json:

{
    "delegate": {
        "agentDirs": ["../shared/agents"],
        "models": {
            "cheap": "anthropic/claude-haiku-5-5:low",
            "balanced": "anthropic/claude-sonnet-5-5:high",
            "strong": "anthropic/claude-opus-5-5:high"
        }
    }
}
  • agentDirs adds agent directories on top of the defaults: bundled, ~/.agents/agents, ~/.pi/agent/agents, .agents/agents from the working directory up to the git root, then .pi/agents. Later wins on a name clash. Project dirs and .pi/settings.json load only in a trusted project.
  • models maps alias names to a provider/model-id with an optional :<thinking> suffix. The bundled agents use cheap, balanced, and strong, so configure those. A model value with a / is a literal provider/model id, never an alias; an unset alias falls back to the session model, with a warning.

Agents are Markdown files with frontmatter. The body is appended to the delegate's system prompt.

---
name: scout
description: Explore the codebase
tools: read, grep
model: cheap
isolated: false
---

Explore the codebase and report relevant paths.
  • name is required and must be unique.
  • description is required.
  • tools is optional, a comma-separated list of tool names. Defaults to the session tools.
  • model is optional, an alias name or a provider/model[:thinking] id. Defaults to the session model.
  • isolated is optional and defaults to false. The isolated parameter on a delegate call does the same: the delegate runs in its own git clone at .pi/worktrees/<job id>, starting from the working tree including uncommitted changes. delegate_apply merges the clone back as uncommitted changes, delegate_discard drops it, and clone: <job id> lets a later delegate share it for review, tests, or follow-up work.

Development

From the repo root:

npm install
npm test -- packages/pi-delegate
pi install ./packages/pi-delegate