reachy-conversation / src /dispatch.ts
ReachyMaster
feat: initial Reachy conversation app with animations and Ollama
bfcd703
Raw History Blame Contribute Delete
565 Bytes
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);
});