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 * as Cloudflare from "@alchemy.run/cloudflare"; |
| 2 | import * as Alchemy from "alchemy"; |
| 3 | import * as Effect from "effect/Effect"; |
| 4 | import DomainToursWorker from "./tours-worker.ts"; |
| 5 | |
| 6 | export default Alchemy.Stack( |
| 7 | "DomainViewKeyStack", |
| 8 | { providers: Cloudflare.providers(), state: Cloudflare.state() }, |
| 9 | Effect.gen(function* () { |
| 10 | const worker = yield* DomainToursWorker; |
| 11 | return { url: worker.url.as<string>() }; |
| 12 | }), |
| 13 | ); |