/** * Exact built files a deployable app may publish for the Ekklesia display host. * * They are file URLs relative to this package's compiled `dist/index.js`, not repository paths and * not request-derived selectors. `apps/api` reads these exact two files before binding and serves * their bytes at fixed host-owned routes; the module display artifact remains a separate, validated * publication. Nothing here exposes a directory or a generic static-file root. */ const packageRoot = new URL("../", import.meta.url); export const displayHostAssetUrls = Object.freeze({ html: new URL("dist/browser/display/index.html", packageRoot).href, script: new URL("dist/browser/display/app.js", packageRoot).href, /** The display's offline service worker (ADR 0043). A third exact file, served at a fixed * host-owned path whose directory is its scope — so it controls display pages and nothing else. */ serviceWorker: new URL("dist/browser/display/sw.js", packageRoot).href, });