Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.
import * as Effect from "effect/Effect";
import { createWsServices } from "./wsServices.ts";
import { createWsOrchestrationStreams } from "./wsOrchestrationStreams.ts";
import { createWsOrchestrationCommands } from "./wsOrchestrationCommands.ts";
export const createWsConnection = (...args: Parameters<typeof createWsServices>) =>
Effect.gen(function* () {
const services = yield* createWsServices(...args);
return {
...services,
...createWsOrchestrationStreams(services),
...createWsOrchestrationCommands(services),
};
});
export type WsConnection = Effect.Success<ReturnType<typeof createWsConnection>>;