Skip to content

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.

592 B
Raw Blame
import * as Layer from "effect/Layer";
import { ConnectWrite } from "./Connect.ts";
import {
  KAFKA_CONNECT_ACTIONS,
  KAFKA_WRITE_CLUSTER_ACTIONS,
  KAFKA_WRITE_TOPIC_ACTIONS,
  KAFKA_WRITE_TRANSACTION_ACTIONS,
  makeKafkaConnectHttpBinding,
} from "./ConnectHttp.ts";

export const ConnectWriteHttp = Layer.effect(
  ConnectWrite,
  makeKafkaConnectHttpBinding({
    tag: "AWS.Kafka.ConnectWrite",
    clusterActions: [...KAFKA_CONNECT_ACTIONS, ...KAFKA_WRITE_CLUSTER_ACTIONS],
    topicActions: KAFKA_WRITE_TOPIC_ACTIONS,
    transactionActions: KAFKA_WRITE_TRANSACTION_ACTIONS,
  }),
);