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.

437 B
Raw Blame
import * as rolesanywhere from "@distilled.cloud/aws/rolesanywhere";
import * as Layer from "effect/Layer";
import { makeRolesAnywhereHttpBinding } from "./BindingHttp.ts";
import { GetSubject } from "./GetSubject.ts";

export const GetSubjectHttp = Layer.effect(
  GetSubject,
  makeRolesAnywhereHttpBinding({
    capability: "GetSubject",
    iamActions: ["rolesanywhere:GetSubject"],
    operation: rolesanywhere.getSubject,
  }),
);