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.

430 B
Raw Blame
import * as organizations from "@distilled.cloud/aws/organizations";
import * as Layer from "effect/Layer";
import { makeOrganizationsHttpBinding } from "./BindingHttp.ts";
import { ListRoots } from "./ListRoots.ts";

export const ListRootsHttp = Layer.effect(
  ListRoots,
  makeOrganizationsHttpBinding({
    capability: "ListRoots",
    iamActions: ["organizations:ListRoots"],
    operation: organizations.listRoots,
  }),
);