@xynogen/pix-todo
Pi tool — durable execution checklist (todo)
Package details
Install @xynogen/pix-todo from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@xynogen/pix-todo- Package
@xynogen/pix-todo- Version
0.1.16- Published
- Jul 18, 2026
- Downloads
- 2,667/mo · 439/wk
- Author
- xynogen
- License
- MIT
- Types
- extension
- Size
- 48.1 KB
- Dependencies
- 3 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"src/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pix-todo
Pi tool — durable execution checklist (todo).
What it does
Registers the todo tool, which gives the agent a persistent task checklist that survives context compaction and session restore. The checklist is seeded by the model via the set action and tracks items through four statuses: pending (○), in_progress (◐), done (●), and blocked (⊘). State is persisted via Pi's appendEntry("todo-state") so the agent can recover its position after long runs or compaction events. The agent calls todo(action:"list") to resume where it left off. Actions: list, set, add, update, clear.
Auto-collapse
The checklist card uses the shared @xynogen/pix-data/collapse state machine and auto-collapses after a configurable delay (default 10 seconds) to a row such as ✓ todo #2 release prep · 1/2 done. Expanding an elapsed card restores the immutable checklist snapshot for that result, with its colored status glyphs, without restarting the timer. Failed actions keep their exact diagnostic instead of rendering a checklist. The delay and per-tool toggle are read from ~/.pi/agent/pix.json:
{
"collapse": {
"enabled": true,
"delaySec": 10,
"tools": { "todo": true }
}
}
Set collapse.tools.todo: false to keep the checklist always expanded. See @xynogen/pix-data/collapse for the full API.
Install
pi install npm:@xynogen/pix-todo
Also included in
@xynogen/pix-core:pi install npm:@xynogen/pix-core
Full distro
Source: github.com/xynogen/pix-mono
To install the complete pix suite (all packages + Pi itself):
curl -fsSL https://raw.githubusercontent.com/xynogen/pix-mono/main/scripts/install.sh | sh
License
MIT