@diegopetrucci/pi-todo0.1.12
A pi extension that adds a branch-aware todo tool and /todos viewer.
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
todo
A pi extension that adds a branch-aware todo list managed by the agent.
This started from the original todo.ts example in earendil-works/pi, with small packaging and snapshot-safety tweaks.
What it adds
- a
todotool for the agent to list, add, toggle, and clear todos - a
/todoscommand for users to view todos on the current branch - todo state stored as snapshots in tool result details, so session branches reconstruct the right todo list for that point in history
Install
Standalone npm package
pi install npm:@diegopetrucci/pi-todo
Collection package
pi install npm:@diegopetrucci/pi-extensions
GitHub package
pi install git:github.com/diegopetrucci/pi-extensions
Then reload pi:
/reload
Notes
- Hooks
session_startandsession_treeto reconstruct branch-local todo state. - The
todotool supportslist,add,toggle, andclearactions. - The
/todoscommand opens an interactive viewer and requires UI mode.