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

main
ts 9 lines 375 Bytes
Raw
1 import handler from "vinext/server/fetch-handler";
2
3 // Deliberately not `index.ts`: Vinext's rsc environment also declares an
4 // `index` entry, which the Worker main must take over.
5 export default {
6 fetch(request: Request, env: unknown, ctx: Parameters<typeof handler.fetch>[2]) {
7 return handler.fetch(request, env as Parameters<typeof handler.fetch>[1], ctx);
8 },
9 };