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.

360 B
Raw Blame
import * as kms from "@distilled.cloud/aws/kms";
import * as Layer from "effect/Layer";
import { makeKmsKeyHttpBinding } from "./BindingHttp.ts";
import { Encrypt } from "./Encrypt.ts";

export const EncryptHttp = Layer.effect(
  Encrypt,
  makeKmsKeyHttpBinding({
    tag: "AWS.KMS.Encrypt",
    operation: kms.encrypt,
    actions: ["kms:Encrypt"],
  }),
);