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.

391 B
Raw Blame
import * as S3 from "@distilled.cloud/aws/s3";
import * as Layer from "effect/Layer";
import { makeBucketHttpBinding } from "./BindingHttp.ts";
import { CopyObject } from "./CopyObject.ts";

export const CopyObjectHttp = Layer.effect(
  CopyObject,
  makeBucketHttpBinding({
    tag: "AWS.S3.CopyObject",
    operation: S3.copyObject,
    actions: ["s3:PutObject", "s3:GetObject"],
  }),
);