async function boot() { const params = new URLSearchParams(window.location.search); const embedded = params.get("embedded") === "1"; if (embedded) { // Running inside host iframe - load embed logic const { main } = await import("./embed.ts"); await main(); } else { // Standalone mode - mount the host shell const { mountHost } = await import("@pollen-robotics/reachy-mini-sdk/host"); mountHost({ appName: "Reachy Conversation", }); } } void boot().catch((err) => { console.error("[dispatch] Boot failed:", err); });