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-agent-to-do-list

v0.1.0

Published

Show the Pi agent's task list and progress in the terminal.

Readme

Pi To-Do List

This Pi extension shows the agent's current tasks and how many it has finished. It asks the model to create and update the list without a separate reminder.

Table of Contents

Requirements

  • Pi 1.5.2.
  • Node.js 22.19 or later.
  • An interactive terminal for the right-hand list. An API-connected client can also receive the list if it displays Pi's extension messages.

The package is marked UNLICENSED.

↑ Back to Table of Contents

Try the extension

From a source checkout of this project, install the development dependencies and start Pi with the extension:

npm install
pi -e ./src/index.ts

The extension asks the model to write tasks in plain English or the language of the conversation. It uses the colors of the active Pi theme.

↑ Back to Table of Contents

Install the package

To add this directory as a Pi package, run the following command from this directory:

pi install .

Pi records the local directory in its settings. The directory must remain available. Use pi install . --local instead to configure only the current project.

When the package is available on npm, install it with:

pi install npm:pi-agent-to-do-list

You can create an npm package file without publishing it:

npm pack

The resulting .tgz file can also be installed with npm install /path/to/pi-agent-to-do-list-0.1.0.tgz in another Node.js project. Replace /path/to/ with the file's actual location; on Windows, use its Windows path. In that project, start Pi with pi -e ./node_modules/pi-agent-to-do-list or add that directory as a Pi package.

↑ Back to Table of Contents

Use the list

On a terminal at least 100 columns wide and 12 rows high, the list appears on the right. A check mark means a task is done, a filled circle means it is in progress, and an empty circle means it is waiting. The heading shows the number completed and the total.

  • /tasks hides or shows the list.
  • /tasks show shows it.
  • /tasks hide hides it.
  • /tasks list opens the complete list. Select any entry or press Escape to close it.

On a smaller terminal, the list appears above the input instead, provided there is enough room. If the list is too long for the available space, the display reports how many tasks are hidden; /tasks list shows them all.

↑ Back to Table of Contents

What to expect

Pi does not offer extensions a separate right-hand column. The right-hand list therefore covers part of the chat rather than moving the chat aside. Hide the list when you need to read the covered text.

The model decides which tasks to create and when to update them. The extension supplies instructions and a tool, but its instructions do not guarantee that every model will follow them or judge completion correctly. If the task tool is disabled, the model cannot update the list. It retains the latest valid list in Pi's session history and restores the list for the current branch when a session is resumed or its history is navigated.

An API-connected client receives the task list as text, but that client decides whether and where to display it. In other non-interactive modes, the task tool works without a visible list.

A subagent can maintain its own list when its Pi process loads this package. Its list is separate from the parent session; the extension does not combine them automatically.

↑ Back to Table of Contents

Development

npm install
npm test
npm run typecheck
npm pack --dry-run

The source checkout includes guides in src/README.md, tests/README.md, and doc/README.md. They explain the source files, tests, and internal design records. The package has no separate server or runtime dependency installation step inside Pi.

↑ Back to Table of Contents