omp packages

pi-plan0.2.0

Plan mode for pi — read-only exploration with plan-then-execute workflow

zx06 Published 1 month ago MIT ~1.4K downloads/mo

Untested on omp

This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.

Did it work for you?

Result

One report per person. A new report replaces your old one.

Reports 0

No reports yet.

Readme

pi-plan

Plan mode for pi — read-only exploration and structured plan execution.

Install

pi install npm:pi-plan

Usage

Toggle plan mode

/plan

Or press Ctrl+Alt+P, or start with --plan flag:

pi --plan

Workflow

  1. Run /plan to enter read-only plan mode
  2. Ask the agent to analyze your code and create a plan
  3. The agent outputs a numbered Plan: section
  4. Choose to Execute, Stay in plan mode, or Refine
  5. During execution, progress is tracked via [DONE:n] markers (rendered as ✓ step n)
  6. Widget shows completion status in real time
  7. Plan messages render as expandable checklist cards

Completion is detected after the agent fully settles, so retries, compaction, and queued follow-ups do not trigger a premature "plan complete" prompt.

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, ls are available
  • Bash: Only read-only commands (cat, grep, git status, etc.)
  • User shell: ! / !! commands are checked against the same whitelist
  • Blocked: File modifications, git writes, package installs, sudo, editors

License

MIT