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

@jerryan/pi-todo-lite

v1.0.1

Published

A lightweight task tracker extension for the pi coding agent.

Readme

@jerryan/pi-todo-lite

A lightweight task tracker for the pi coding agent.

Design philosophy: intentional minimalism

The pi ecosystem already has capable task tracking extensions (rpiv-todo, @tintinweb/pi-tasks). This extension exists for a different user: someone who wants task tracking without the architectural weight.

What "lite" means

| Heavy approaches (rpiv-todo, pi-tasks) | pi-todo-lite | |---|---| | pending → in_progress → completed status machine | Boolean done — LLMs rarely explicitly mark tasks "in-progress" | | blockedBy dependency graphs with cycle detection | Dropped — LLMs execute tasks in order naturally | | Subagent execution, background process tracking | Not needed for most single-session work | | File-backed persistence with locking, shared lists | Session branch replay only — no external files | | i18n (8 locales) | English only | | owner, metadata, activeForm fields | Dropped — only subject + description | | 7 tools, 2000+ lines | 6 tools, ~1150 lines | | Massive prompt descriptions (Claude Code-style) | One-sentence descriptions, tight schemas |

What was kept (the good parts)

  • Multi-tool design — todo_create, todo_update, todo_list, todo_get, todo_delete, todo_clear. Each has a tight schema with no dead-weight parameters.
  • Persistent overlay widget — Shows pending tasks and recently completed tasks above the editor, filtered by completion order.
  • Branch-aware replay — State stored in tool result details, reconstructed from the session branch on start/tree/compact. Forking and tree navigation always show the correct task list for that point in history.
  • Custom TUI rendering — Compact renderCall/renderResult with status glyphs.
  • /todos command — Quick user inspection grouped by pending/done.
  • appendNote — Add paragraphs without replacing the full description.
  • Periodic reminder — Injects a bookkeeping <system-reminder> when pending tasks have been idle past a token-usage threshold, nudging the agent to mark tasks done only if already completed during the conversation.

When to use this

  • You want task tracking but don't want 7 tools competing for the LLM's attention.
  • Your work fits in a single session and doesn't need cross-session persistence.
  • You find in_progress states and dependency graphs create more ceremony than value.

When to use something else

  • You need subagent execution or background process tracking → @tintinweb/pi-tasks
  • You need shared task lists across multiple sessions → @tintinweb/pi-tasks
  • You need full status machines, dependency graphs, or i18n → rpiv-todo

Install

pi install npm:@jerryan/pi-todo-lite

Or test directly:

pi -e ./extension.ts

Usage

The LLM can call the todo tools automatically. You can also prompt it explicitly:

"Track these tasks: refactor auth, update tests, deploy"

Reminder system

If pending tasks exist and no todo tool has been used for a while, a <system-reminder> nudge is injected to remind the agent that a task is still pending. It does not prompt the agent to start working on it — only to mark it done if it was already completed earlier in the conversation. The agent can otherwise ignore the reminder and continue its current focus.

Reminders are triggered by accumulated token usage, not by a fixed turn count.

Override the threshold with the environment variable:

PI_TODO_REMINDER_TOKENS=12000 pi -e ./extension.ts

User commands:

  • /todos — Show all tasks grouped by status

Project structure

pi-todo-lite/
├── core.ts           # Pure logic — types, reducer, replay, formatting (no pi deps)
├── extension.ts      # Pi integration — widget, event handlers, tool/command reg
├── core.test.ts      # Vitest tests for the reducer
├── package.json
└── vitest.config.ts

Running tests

npm install
npm test

License

MIT