Spaces:
Configuration error
Configuration error
File size: 565 Bytes
bfcd703 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | 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);
});
|