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.

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

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