@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 17 lines 564 Bytes
Raw
1 import * as AWS from "@alchemy.run/aws";
2 import * as Effect from "effect/Effect";
3
4 /** Turn a room's messages into a one-paragraph summary (stands in for an LLM call). */
5 export const summarize = (room: string) => Effect.succeed(`Summary of ${room}`);
6
7 /** The same two steps as Lambda functions, for the Step Functions version. */
8 export const Summarize = AWS.Lambda.Function(
9 "Summarize",
10 { main: import.meta.url },
11 Effect.succeed({}),
12 );
13 export const SaveDigest = AWS.Lambda.Function(
14 "SaveDigest",
15 { main: import.meta.url },
16 Effect.succeed({}),
17 );