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

@arhen/pi-core-todo

v1.0.7

Published

Minimalist pi todo extension: todo tool with 4-state machine and blockedBy dependencies, /todos command, persistent tree widget. Fork of @juicesharp/rpiv-todo, cut to the core.

Readme

@arhen/pi-core-todo

npm version license pi extension

Install

Requires the pi coding agent — install it first: npm install -g @earendil-works/pi-coding-agent.

pi install npm:@arhen/pi-core-todo

Registers the todo tool — conflicts with other todo extensions (@juicesharp/rpiv-todo). Run one at a time.

Minimalist pi todo extension: todo tool with a 4-state machine and blockedBy dependencies, /todos command, persistent tree widget. Fork of @juicesharp/rpiv-todo, cut to the core — no i18n, no branch replay, no config, no lazy-loading machinery.

Widget

Todos widget

Above-editor tree: ● Todos (2/5) heading, strikethrough for completed, for in-progress with activeForm in parens, for pending.

What's kept

  • todo tool: create / update / list / get / delete / clear
  • 4-state machine: pending → in_progress → completed, deleted tombstone (legal-transition validation)
  • blockedBy dependencies: create with initial set, addBlockedBy / removeBlockedBy additive updates, self-block and cycle rejection
  • /todos command: grouped status listing
  • Tree widget above the editor: ● Todos (n/m) heading, ├─/└─ rows, status glyphs, #id + deps when present, completed rows hide one turn after completion
  • Per-session state isolation (detached/child sessions never clobber each other)
  • Sidecar persistence (~/.pi/agent/pi-todo-state.json, debounced) — survives restarts

What's cut (vs rpiv-todo)

  • i18n/locales — inline English
  • Branch/fork replay — replaced by sidecar persistence (no replay of history across forked sessions)
  • Config dialog, collapse shortcut, guidance validation — fixed behavior
  • Lazy overlay loader + stale-module detection — direct import, register-once widget

Tool contract

Same LLM-facing schema as rpiv-todo: action (required) + per-action fields (subject, status, id, blockedBy, addBlockedBy, removeBlockedBy, activeForm, description, owner, metadata, includeDeleted). Prompt guidelines preserved verbatim (never batch completions, one task in_progress at a time, keep it in_progress on failure).

Development

bun install
npx tsc --noEmit
bun test   # pure-logic: reducer, transitions, cycles, sanitize

License

MIT.

Notes

  • Sidecar persistence assumes a single pi process per agent dir; concurrent processes overwrite each other's todo state.