The best way to control Claude Code, Codex and more from any computer or phone
| 1 | import { Runtime } from "foldkit"; |
| 2 | import { Message, Model, init, update, view } from "./main"; |
| 3 | |
| 4 | const application = Runtime.makeApplication({ |
| 5 | Model, |
| 6 | init, |
| 7 | update, |
| 8 | view, |
| 9 | container: document.getElementById("root"), |
| 10 | devTools: { |
| 11 | Message, |
| 12 | }, |
| 13 | }); |
| 14 | |
| 15 | Runtime.run(application); |