@ravshansbox/pi-todo

Todo list extension for pi

Packages

Package details

extension

Install @ravshansbox/pi-todo from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@ravshansbox/pi-todo
Package
@ravshansbox/pi-todo
Version
2.0.1
Published
Oct 16, 2026
Downloads
258/mo · 258/wk
Author
ravshansbox
License
MIT
Types
extension
Size
14.5 KB
Dependencies
0 dependencies · 4 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-todo

Todo list extension for pi.

Install

pi install npm:@ravshansbox/pi-todo

Add -l to install it in project settings.

Usage

Pi loads the extension from ./index.ts, adapted from pi's examples/extensions/todo.ts:

  • todo tool for the model — actions list, add, toggle, clear
  • /todos command showing the current branch's todos in a TUI overlay

Checking off the last open todo clears the list automatically, so the widget disappears instead of lingering as a wall of ticks. The completed items stay visible in the tool results that recorded them, and ids restart from #1.

State lives in tool-result details, so branching keeps the list correct.

Development

npm install
npm run check