A pi package that adds a planner mode.
- pi starts in
PLANmode by default /planswitches pi into planning mode/buildswitches pi back into implementation mode- in
PLANmode, mutating system actions are blocked - the active toolset is reduced to read-only tools
- current mode is shown in the footer status line
- planner mode is restored from session history
Install from GitHub:
pi install git:github.com/bwks/pi-plannerInstall into the current project while developing from this repo:
pi install -l .Load it for one run only from GitHub:
pi -e git:github.com/bwks/pi-plannerOr load this local repo for one run only:
pi -e .After installing, reload pi if needed:
/reload
pi starts in PLAN mode by default.
Switch modes with:
/plan
/build
When PLAN mode is active:
write,edit,bash, and other non-read-only tools are blocked- user
!and!!shell commands are blocked - pi is instructed to analyze, inspect, and plan instead of making changes
Read-only tools allowed in PLAN mode:
readgrepfindls
Run tests:
npm testTest the package directly:
pi -e .