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, 06:00 UTC
| 1 | import { Function } from "@alchemy.run/railway/Function"; |
| 2 | import * as pathe from "pathe"; |
| 3 | import { Partition, Site } from "./suite-env.ts"; |
| 4 | |
| 5 | export { Site }; |
| 6 | |
| 7 | /** |
| 8 | * Async-style Function: `main` points at {@link ./async-ping.ts} and there |
| 9 | * is no `Effect.gen` implementation, so Alchemy marks it `isExternal` and |
| 10 | * bundles without the Effect bootstrap (stays under the 96KB canvas cap). |
| 11 | */ |
| 12 | export const AsyncPing = Function("AsyncPing", { |
| 13 | project: Site, |
| 14 | environment: Partition, |
| 15 | main: pathe.resolve(import.meta.dirname, "async-ping.ts"), |
| 16 | }); |