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.

448 B
Raw Blame
import * as ecr from "@distilled.cloud/aws/ecr";
import * as Layer from "effect/Layer";
import { makeEcrRepositoryHttpBinding } from "./BindingHttp.ts";
import { PutImage } from "./PutImage.ts";

/** HTTP implementation of {@link PutImage} over the ECR API. */
export const PutImageHttp = Layer.effect(
  PutImage,
  makeEcrRepositoryHttpBinding({
    capability: "PutImage",
    operation: ecr.putImage,
    iamActions: ["ecr:PutImage"],
  }),
);