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.

566 B
Raw Blame
import * as schemas from "@distilled.cloud/aws/schemas";
import * as Layer from "effect/Layer";
import { makeSchemasDiscovererHttpBinding } from "./BindingHttp.ts";
import { StopDiscoverer } from "./StopDiscoverer.ts";

export const StopDiscovererHttp = Layer.effect(
  StopDiscoverer,
  makeSchemasDiscovererHttpBinding({
    tag: "AWS.Schemas.StopDiscoverer",
    operation: schemas.stopDiscoverer,
    actions: ["schemas:StopDiscoverer"],
    // StopDiscoverer disables the discoverer's managed EventBridge rule.
    ruleActions: ["events:DisableRule"],
  }),
);