import { render } from "preact"; import { testControls } from "./app/debug.ts"; import { boot, resumeBrain } from "./app/lifecycle.ts"; import { App } from "./components/App.tsx"; await boot(); const root = document.getElementById("pet-root"); if (!root) throw new Error("Missing #pet-root mount element"); render(, root); document.documentElement.classList.add("pet-js"); window.tokenling = testControls(); void resumeBrain();