A local-first multi-agent app development platform, built on PenguinHarness
The server names its web dist, and refuses a restored web version without index.html
- Date: 2026-08-29
- Type: fix
- Scope:
server,desktop - PR: #547
A server whose static tail had nothing to serve answered 404 on every page and said nothing about it. Three changes name the condition instead.
Details
- Startup prints
Web dist: <path>besideData root:andSQLite:, and warns when that directory has noindex.html— a wrongPENGUIN_WEB_DISTor a missingpackages/webbuild now shows up in the log rather than as a bare 404. - The packaged desktop app pins the embedded server to its own
web-dist(PENGUIN_WEB_DIST, an explicit value still winning) and checks for itsindex.htmlbefore the fork; a build packed without the web assets now fails at startup with the path named, instead of opening a window on a 404. A source run pins nothing and keeps the server's fallback topackages/web/dist. - Restoring a persisted hot-pushed version now requires the stored web dist to contain
index.html, the same floor a push is held to. A store file without it fails the restore with the ordinarypersisted version failed to restorewarning naming the file, and the packaged web dist is served instead of an in-memory version that 404s everywhere.