The best way to control Claude Code, Codex and more from any computer or phone
| 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[]>; |