@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 12 lines 479 Bytes
Raw
1 import type * as Effect from "effect/Effect";
2
3 /** A WebSocket client for a chat room (the test's side of the conversation). */
4 export interface Socket {
5 send(text: string): Effect.Effect<void>;
6 readonly receive: Effect.Effect<string>;
7 }
8
9 export declare const connect: (url: string) => Effect.Effect<Socket>;
10
11 /** A room's archived messages, waiting until the queue has delivered them. */
12 export declare const history: (url: string, room: string) => Effect.Effect<string[]>;