Install
Install with PiG
pig install npm:@gfgghgftgffg/rpiv-todo-leanInstall with Pi
pi install npm:@gfgghgftgffg/rpiv-todo-leanPackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./index.ts"
]
}README
Written by the package's publisher, shown as published in version 0.1.15 (README.md). PiG does not review it.
@gfgghgftgffg/rpiv-todo-lean
Advantage
A lighter wrapper for @juicesharp/rpiv-todo. Tasks, dependencies, batch creation and /todos remain, with about 77% less tool text sent on the first call.
Features
- The model sees one
todotool:create,update,list,get,delete,clear. - If
actionis omitted, asubjectmeans create, and anidplus a mutable field means update. Anything else is reported by upstream. - Fields, validation, persistence and per-session isolation stay on the upstream engine.
/todosstays available.
Source
The facade comes from kunkun9527/rpiv-todo-lean. The engine is juicesharp/rpiv-todo. This package follows upstream releases and does not copy the engine. Both are MIT; the original LICENSE is kept. It lives in amox-pi-extensions-lean.
Usage
Create one task. A subject alone is enough:
{ "subject": "Inspect the cache" }
Create several:
{ "action": "create", "tasks": [{ "subject": "Inspect" }, { "subject": "Test" }] }
Mark one finished. An id plus a field is an update:
{ "id": "1", "status": "completed" }
List, read, delete, or empty the list:
{ "action": "list" }
{ "action": "get", "id": "1" }
{ "action": "delete", "id": "1" }
{ "action": "clear" }
New tasks start as pending. For several steps, keep one task in_progress and set it to completed when that step is done. list hides deleted tasks. clear empties the list and starts ids over. A dependency is blockedBy. Other fields are in the upstream documentation.
Installation
This is a public npm package. Install without a version pin:
pi install npm:@gfgghgftgffg/rpiv-todo-lean
pi update --extensions
For a Git fallback, run from the repository checkout:
node scripts/install-extension.mjs rpiv-todo-lean
Update a local Git installation by pulling the checkout and rerunning its installer; pi update does not update local contents. Keep one installation source. To migrate, back up settings, remove only the exact old source shown by pi list, then install the npm source. Do not load another rpiv-todo wrapper alongside it.
Context footprint (character proxy)
| Package | Registered character proxy |
|---|---|
| @gfgghgftgffg/rpiv-todo-lean | 277 |
| @juicesharp/rpiv-todo | 1222 |
Fixed ceil(characters / 4), not provider billing tokens.
Development
See the development and maintenance guide and MAINTENANCE.md for adaptation details.