pi-plan
v0.1.1
Published
Plan mode for pi — read-only exploration with plan-then-execute workflow
Maintainers
Readme
pi-plan
Plan mode for pi — read-only exploration and structured plan execution.
Install
pi install npm:pi-planUsage
Toggle plan mode
/planOr press Ctrl+Alt+P, or start with --plan flag:
pi --planWorkflow
- Run
/planto enter read-only plan mode - Ask the agent to analyze your code and create a plan
- The agent outputs a numbered
Plan:section - Choose to Execute, Stay in plan mode, or Refine
- During execution, progress is tracked via
[DONE:n]markers - Widget shows completion status in real time
Commands
| Command | Description |
|---------|-------------|
| /plan | Toggle plan mode |
| /plan:status | Show current plan and progress |
What gets restricted in plan mode
- Tools: Only
read,bash,grep,find,lsare available - Bash: Only read-only commands (cat, grep, git status, etc.)
- Blocked: File modifications, git writes, package installs, sudo, editors
License
MIT
