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

pi-session-todo

v0.1.3

Published

Session-local live todo checklists for the Pi coding agent

Readme

pi-session-todo

Session-local live todo checklists for the Pi coding agent.

Keep the agent on track and see how well it is progressing while it investigates, edits, tests, and ships multi-step work.

Why use it?

Long agent runs can be hard to follow. The agent may skip a verification step, lose sight of the original goal, or spend several minutes working without giving you a useful indication of progress.

pi-session-todo gives the agent a visible execution contract:

  • Keeps work focused: the agent breaks the task into concrete steps and is repeatedly reminded what remains.
  • Makes progress visible: you can see what is pending, active, completed, or blocked without interrupting the run.
  • Shows execution quality: the checklist gives you a quick view of whether the agent is advancing methodically, skipping steps, or getting stuck.
  • Makes intervention easier: when priorities change, you can immediately see where the agent is and redirect it with context.
  • Separates intent from activity: durable plans describe the approach; session todos show what is actually happening now.

It is not a substitute for reviewing the result, but it makes the agent's process much easier to supervise.

Todos belong to the current conversation—not to your repository or durable project plan.

Features

  • One pi_todo tool with set, append, update, list, and clear actions.
  • Compact dim-grey progress status in Pi's footer.
  • /todo overlay for the full checklist.
  • Session persistence across restart and /reload.
  • Branch-aware restoration after /tree navigation.
  • Stable string IDs or convenient one-based indexes for updates.
  • pending, in_progress, done, and blocked states with optional notes.
  • Enforces at most one in_progress item.
  • Migrates existing state from the original project-workspaces-todos entry.
  • Works independently while integrating naturally with plan-mode extensions.

Preview

A real Pi agent creates a three-step release plan, works through it, marks the active step, and checks off each result as it completes.

pi-session-todo demo

Install

pi install npm:pi-session-todo

Then restart Pi or run /reload.

Try it without installing:

pi -e npm:pi-session-todo

Usage

The agent manages the checklist automatically for multi-step work. To inspect it yourself:

/todo

Example tool call:

{
  "action": "set",
  "items": [
    { "id": "inspect", "text": "Inspect the existing implementation", "status": "done" },
    { "id": "extract", "text": "Extract the standalone extension", "status": "in_progress" },
    { "id": "test", "text": "Run tests and package checks", "status": "pending" }
  ]
}

Update several items atomically:

{
  "action": "update",
  "items": [
    { "id": "extract", "status": "done" },
    { "id": "test", "status": "in_progress" }
  ]
}

You can also update by one-based position:

{ "action": "update", "id": "2", "status": "blocked", "note": "Waiting for credentials" }

Todos vs. durable plans

pi-session-todo tracks live execution progress for the current conversation. A project plan tracks intent and approach across sessions. They complement each other:

  • Change a todo as work advances.
  • Change a durable plan only when scope, approach, risks, or completion criteria change.

The extension does not depend on a specific workspace or plan-mode package. Plan mode can enable pi_todo when installed.

Development

git clone https://github.com/kungfusaini/pi-session-todo.git
cd pi-session-todo
npm install
npm run check
pi -e ./src/index.ts

Build the publish preview:

npm pack --dry-run

Security and storage

The extension has no runtime dependencies beyond Pi's bundled peer packages and performs no network or filesystem operations. Todo checkpoints are stored as custom entries in Pi's existing session JSONL file and do not enter the model conversation context directly.

License

MIT © Sumeet Saini