@tombell/pi-plan
v0.0.4
Published
Read-only planning mode for safe investigation before editing
Readme
@tombell/pi-plan
Read-only planning mode for safe investigation before making changes.
Features
- Adds a
/plancommand andCtrl+Alt+Pshortcut. - Optional auto-start via
--planflag. - Restricts available tools to a safe, read-only subset:
readgrepfindlsbash(safe command subset)
- Blocks
edit,write, and unsafe shell commands while enabled. - Forces planning-only responses through a persistent prompt.
- Persists mode state in session history across restarts.
Commands
/plan— toggle plan mode on/off
Notes
- Bash command filtering uses
isSafeReadOnlyCommandinutils.ts.
Install
- From npm:
pi install npm:@tombell/pi-plan - Local/quick test:
pi -e path/to/pi-plan
