Pi web UI (@mariozechner/pi-web-ui)
Grounding
pi-mono/packages/web-ui/README.md— features, installation, Quick Start snippet, APIs referenced there.pi-mono/packages/web-ui/example/— runnable minimal app (README.md,package.json, entry source).- Supporting libraries:
pi-mono/packages/ai/README.mdandpi-mono/packages/agent/README.mdwhen wiring model + Agent as shown in web-ui README.
Invariants
- README documents stack (mini-lit, Tailwind v4) and integration shape; do not substitute other component frameworks without explicit user request and README cross-check.
Workflows
- Bootstrap: Follow README Quick Start imports (
ChatPanel, storage stores,setAppStorage,defaultConvertToLlm) exactly as inpi-mono/packages/web-ui/README.md. - Compare to CLI: CLI behavior lives in
pi-coding-agent; browser concerns stay in web-ui README — cite both paths when contrasting.
Anti-patterns
- Do not invent artifact or tool names not listed in
pi-mono/packages/web-ui/README.mdwithout openingpi-mono/packages/web-ui/src/tools/for the specific renderer.