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

main
ts 12 lines 427 Bytes
Raw
1 import { Function } from "@alchemy.run/neon/Function";
2 import * as Effect from "effect/Effect";
3 import { ConnectBranch } from "./connect-database.ts";
4 import { connectHandler } from "./connect-handler.ts";
5
6 export default class ConnectFunction extends Function<ConnectFunction>()(
7 "ConnectFunction",
8 Effect.gen(function* () {
9 return { branch: yield* ConnectBranch, main: import.meta.url };
10 }),
11 connectHandler,
12 ) {}