omp packages

@kkkiio/pi-web-ui0.4.0

Web UI for Pi coding agent — view and control your Pi session from the browser

GitHub Actions Published 1 day ago MIT ~932 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 Web UI

Coverage Status

Pi Web UI showing a DIL card with a cache strategy selector and a diagram of how the page is served and refreshed

An interactive agent UI for the Pi coding agent.

Install

Install from GitHub:

pi install git:github.com/kkkiio/pi-web-ui

Or from npm:

pi install npm:@kkkiio/pi-web-ui

Usage

  1. Start Pi in terminal
  2. Enter /webui to start the server and open the browser.

Or add an alias to your shell:

# type `piw` to start Pi Web UI
alias piw='pi /webui'

Use /webui-stop to stop the server while Pi is running. The server will also stop when Pi exits.

See docs/configuration.md for environment variables, settings.json, and remote access setup.

Features

  • Real-time bidirectional sync with Pi TUI
  • Git Diff Panel
  • Edit Message (inline rollback & resend; enabled by /webui)
  • Add to Chat
  • Git Diff Comment
  • Generative UI (DIL)
  • BTW / Ask in Side Chat

Generative UI

Pi uses Dynamic Interface Language (DIL) to show diagrams, side-by-side comparisons, and interactive previews in chat.

Pi Web UI comparing a rolling deploy with a blue-green deploy side by side

Git Diff

Review what the agent changed on disk without leaving the conversation.

Git Diff panel showing the agent's dry-run edit next to the chat

How it works

Pi Web UI is a Pi extension. Running /webui starts an HTTP + WebSocket server inside the Pi process. The extension forwards Pi events to the browser, and browser commands execute through Pi's extension API.

graph LR
    A[Pi TUI<br/>terminal] <-->|Pi events| B[Pi Process<br/>pi-web-ui extension]
    B <-->|HTTP + WS :3001| C[Browser]