@youngjurry/todo-list

Native task planning and state tracking for Pi with branch replay and a live TUI widget

Packages

Package details

extension

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

$ pi install npm:@youngjurry/todo-list
Package
@youngjurry/todo-list
Version
0.1.2
Published
Aug 31, 2026
Downloads
388/mo · 18/wk
Author
youngjurry
License
MIT
Types
extension
Size
14.1 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

@youngjurry/todo-list

Native task planning and state tracking for Pi. Array-based, branch-replayable, and displayed in a live TUI widget above the editor.

Features

  • One todo tool reads or replaces the complete task list
  • State persists in tool-result details and follows session branch replay
  • Live, width-safe TUI widget with status glyphs and task highlighting
  • Ten-segment progress bar with percentage and completed/total counts
  • At most one task may be in_progress; an all-pending draft is allowed
  • Task content is trimmed and validated before replacing state

Install

pi install npm:@youngjurry/todo-list

Then restart Pi or run /reload.

Usage

Read the current list

todo({})

Replace the complete list

todo({
  "tasks": [
    { "content": "Do something", "status": "in_progress" },
    { "content": "Do something else", "status": "pending" }
  ]
})

Clear the list

todo({ "tasks": [] })

Statuses

  • pending — not started
  • in_progress — actively working
  • completed — finished

Development

npm install
npm run check
npm test

Changelog

0.1.2

  • Restored the progress bar, percentage, highlighting, and width-safe rendering from 0.1.0
  • Kept branch replay and flexible all-pending draft support
  • Added whitespace normalization and rejected multiple active tasks
  • Fixed package documentation and repository metadata

License

MIT