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

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