@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

main
ts 16 lines 424 Bytes
Raw
1 import * as Cloudflare from "@alchemy.run/cloudflare";
2 import * as Alchemy from "alchemy";
3 import * as Effect from "effect/Effect";
4 import AuthApi from "./src/worker.ts";
5
6 export default Alchemy.Stack(
7 "BetterAuthTutorial",
8 {
9 providers: Cloudflare.providers(),
10 state: Alchemy.localState(),
11 },
12 Effect.gen(function* () {
13 const worker = yield* AuthApi;
14 return { url: worker.url.as<string>() };
15 }),
16 );