mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-10 10:35:51 +00:00
316c3cbb6f
Replace custom Chat components with an iframe that embeds OpenCode's native web UI. This provides a more polished experience and automatically benefits from OpenCode improvements. Changes: - Add reverse proxy for /opencode/ route to OpenCode's web server - Simplify AIChat component to iframe wrapper with header - Add GetBaseURL() method to OpenCode service - Configure Vite proxy for development The Pulse Pro value proposition is now: managed OpenCode deployment with rich MCP tools that provide infrastructure context.
Internal API Package
This directory contains the API server implementation for Pulse.
Important Note About frontend-modern/
The frontend-modern/ subdirectory that appears here is:
- AUTO-GENERATED during builds
- NOT the source code - just a build artifact
- IN .gitignore - never committed
- REQUIRED BY GO - The embed directive needs it here
Frontend Development Location
👉 Edit frontend files at: /opt/pulse/frontend-modern/src/
Why This Structure?
Go's //go:embed directive has limitations:
- Cannot use
../paths to access parent directories - Cannot follow symbolic links
- Must embed files within the Go module
This is a known Go limitation and our structure works around it.