pi-plan-html

Pi extension that turns AI agent plans into commentable, beautifully designed HTML pages.

Packages

Package details

extension

Install pi-plan-html from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:pi-plan-html
Package
pi-plan-html
Version
0.3.0
Published
May 26, 2026
Downloads
not available
Author
saad_z
License
MIT
Types
extension
Size
3.4 MB
Dependencies
0 dependencies · 4 peers
Pi manifest JSON
{
  "extensions": [
    "./index.ts"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

pi-plan-html

A pi extension that turns AI agent plans into commentable, beautifully designed HTML pages.

Adds /plan, /iterate, /approve, /plan-off, /plan-open slash commands to every pi session.

Install

Add to ~/.pi/agent/settings.json:

{
  "packages": ["npm:pi-plan-html"]
}

Restart pi. That's it.

Use

$ pi
> /plan add a hello endpoint to the server

A browser tab opens with the rendered plan. Plan files land in <cwd>/.pi/plans/.

Commands

Command What it does
/plan <prompt> Read-only planning mode. Model emits plan-json, extension renders + opens HTML.
/iterate Loads .pi/plans/feedback.md (your inline comments), produces v2.
/approve Restores full tools, model executes the plan with [DONE:n] progress markers.
/plan-off Cancel planning, restore full tools.
/plan-open Reopen the latest rendered plan.

Schema

See the root README for the full plan-json schema and component reference.

License

MIT. See LICENSE.