@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 07:15 UTC

main
ts 17 lines 448 Bytes
Raw
1 import { Runtime } from "foldkit";
2 import "./styles.css";
3
4 import { Flags, init, Message, Model, update, view } from "./main.ts";
5
6 const application = Runtime.makeApplication({
7 Model,
8 Flags,
9 init,
10 update,
11 view,
12 container: document.getElementById("root"),
13 });
14
15 // The document arrives rendered: adopt it rather than rebuild it. The build
16 // id is what hydration compares against the one the server stamped.
17 Runtime.hydrate(application);