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, 04:45 UTC
| 1 | import { Runtime } from "foldkit"; |
| 2 | import "./styles.css"; |
| 3 | |
| 4 | import { Message, Model, init, update, view } from "./main"; |
| 5 | |
| 6 | const application = Runtime.makeApplication({ |
| 7 | Model, |
| 8 | init, |
| 9 | update, |
| 10 | view, |
| 11 | container: document.getElementById("root"), |
| 12 | routing: { |
| 13 | onUrlRequest: (request) => Message.ClickedLink({ request }), |
| 14 | onUrlChange: (url) => Message.ChangedUrl({ url }), |
| 15 | }, |
| 16 | devTools: { |
| 17 | Message, |
| 18 | }, |
| 19 | }); |
| 20 | |
| 21 | Runtime.hydrate(application); |