feat(ENG-2045): split web UI onto stable port with PWA offline support#381
Merged
wzlng merged 1 commit intoproj/local-web-uifrom Apr 13, 2026
Merged
feat(ENG-2045): split web UI onto stable port with PWA offline support#381wzlng merged 1 commit intoproj/local-web-uifrom
wzlng merged 1 commit intoproj/local-web-uifrom
Conversation
Separate the web UI from the daemon's dynamic transport port onto a fixed port (default 7700) so users can bookmark http://localhost:7700. Add PWA with Service Worker so the app loads from cache even when the daemon is down, showing a 'Run Command "webui" not found Run "brv --help" to see available commands to start' screen. - Add WebUiServer on stable port, keep Socket.IO transport on dynamic port - Browser connects Socket.IO cross-origin to daemon via /api/ui/config - Add vite-plugin-pwa for offline caching with workbox - Add Command "webui" not found Run "brv --help" to see available commands flag to set and persist preferred port - Add webui:getPort / webui:setPort transport endpoints - Remove /ui base path (served at root since dedicated port) - Review URLs use webui port instead of transport port - Graceful fallback when webui port is occupied (daemon still runs)
ncnthien
approved these changes
Apr 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Separate the web UI from the daemon's dynamic transport port onto a fixed port (default 7700) so users can bookmark http://localhost:7700. Add PWA with Service Worker so the app loads from cache even when the daemon is down, showing a 'Run
Command "webui" not found
Run "brv --help" to see available commands to start' screen.
Run "brv --help" to see available commands flag to set and persist preferred port