@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, 07:15 UTC

main
ts 20 lines 623 Bytes
Raw
1 import * as Cloudflare from "@alchemy.run/cloudflare";
2 import * as Effect from "effect/Effect";
3 import * as HttpServerResponse from "effect/http/HttpServerResponse";
4
5 /**
6 * Minimal Worker that exists only to be named by an `Email.Rule` /
7 * `Email.CatchAll` `worker` action in the same apply — the shape that
8 * reproduces alchemy-run/alchemy#1348.
9 */
10 export default class RuleTargetWorker extends Cloudflare.Worker<RuleTargetWorker>()(
11 "EmailRuleTargetWorker",
12 {
13 main: import.meta.url,
14 },
15 Effect.gen(function* () {
16 return {
17 fetch: Effect.succeed(HttpServerResponse.text("ok")),
18 };
19 }),
20 ) {}