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 | /** `AWS.Lambda.MicrovmImage` bootstrap on the bun runtime. */ |
| 2 | import { BunServices } from "@effect/platform-bun"; |
| 3 | import { BunHttpServer } from "alchemy/Http"; |
| 4 | import { bootstrapMicrovm, type MicrovmBootstrapOptions } from "./Microvm.ts"; |
| 5 | |
| 6 | export const bootstrap = (entrypoint: unknown, options: MicrovmBootstrapOptions): Promise<void> => |
| 7 | bootstrapMicrovm( |
| 8 | { services: BunServices.layer, httpServer: BunHttpServer() }, |
| 9 | entrypoint, |
| 10 | options, |
| 11 | ); |