ApprovalUI

Clickable HTML approval pages for UI fixes in terminal agents

View the Project on GitHub floomhq/approvalui

Troubleshooting

approvalui command not found

Install the package:

pip install approvalui

Or, if running from the repo:

pip install -e ".[dev]"

Screenshot does not show up

The "screenshot" path in the JSON spec is passed directly to the <img src> attribute. Make sure the path is relative to the generated HTML file or an absolute URL.

{
  "screenshot": "screenshot.png"
}

Generated page is blank

Open the browser console and check for JavaScript errors. The most common cause is an invalid items structure. Run approvalui from the command line — it validates the spec and prints a clear error.

Validation errors

ApprovalUI requires:

Optional fields must be strings if provided.