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.

452 B
Raw Blame
import * as mq from "@distilled.cloud/aws/mq";
import * as Layer from "effect/Layer";
import { makeMqBrokerHttpBinding } from "./BindingHttp.ts";
import { Promote } from "./Promote.ts";

export const PromoteHttp = Layer.effect(
  Promote,
  makeMqBrokerHttpBinding<
    Omit<mq.PromoteRequest, "BrokerId">,
    mq.PromoteResponse,
    mq.PromoteError
  >({
    capability: "Promote",
    operation: mq.promote,
    iamActions: ["mq:Promote"],
  }),
);