// Entry point for the Preact rewrite of the per-agent terminal page
// (replacing app.js's imperative DOM). Landed in small, reviewable
// slices (component by component) per mara's "one pr != one commit"
// note on the issue; now the sole page — app.js is deleted,
// `index.html`'s `<script>` tag points here.
//
// Mounts to `#preact-root`, the only content `index.html`'s `<body>`
// declares now — no more coexisting-with-legacy-markup sibling div,
// that was only needed while both pages built in parallel.
import { render } from 'preact';
import { Root } from './Root.js';

const root = document.getElementById('preact-root');
if (root) render(<Root />, root);
