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

@xaccefy/pi-xtodo

v0.9.4

Published

Simplified todo extension for tracking multi-step progress in Pi Agent

Downloads

405

Readme

pi-xtodo

Task list for step-by-step agent work: blockedBy links (a DAG), persistent widget above the editor, TUI overlay, replay from history or save to disk.

Install

pi install npm:@xaccefy/pi-xtodo

Tool: todo

| Action | Purpose | |--------|---------| | create | New task (subject needed); optional blockedBy, description, owner | | update | Change fields / status / links (id needed) | | list | Filter by status; includeDeleted for tombstones | | get | Full detail including blockedBy / blocks | | delete | Soft-delete (kept as a tombstone) | | clear | Clear all tasks |

Status lifecycle

pending ↔ in_progress → completed → deleted
                ↘ deleted
  • completed → pending is not allowed (make a new task to reopen).
  • Ids must be whole positive numbers ("1" works; "2.7" / "1e2" are rejected).

Dependencies

  • blockedBy / addBlockedBy / removeBlockedBy form a DAG; cycles are rejected.
  • Deleting a task (or update status: deleted) pulls its id out of every other task’s blockedBy, so dependents don’t hang on a tombstone.

Persistence

  • Main copy: the session’s tool-result history (replay on session_start / compact / tree).
  • If that’s empty, use the disk file ~/.pi/xtodo/<safe-session-id>.json.
  • Session ids are cleaned so they can’t escape the folder.

Display

  • A persistent widget above the editor shows the live list (Todos (done/total) header, tree rows, overflow collapses completed first). It auto-hides when no visible tasks remain and refreshes on every todo mutation, session_start, compact, and tree events.
  • Tool results render as a one-line summary (glyph + first line / task count). Expand the tool row (app.tools.expand keybinding) to see full lists and details. Errors render as ✗ <message>.

Command

  • /todos — overlay with the full list, grouped active → completed → deleted (esc/q/enter closes). Falls back to a notification when overlays are unavailable.

Development

bun test packages/pi-xtodo
bun run typecheck