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.

413 B
Raw Blame
import * as sqs from "@distilled.cloud/aws/sqs";
import * as Layer from "effect/Layer";
import { makeQueueUrlHttpBinding } from "./BindingHttp.ts";
import { ReceiveMessage } from "./ReceiveMessage.ts";

export const ReceiveMessageHttp = Layer.effect(
  ReceiveMessage,
  makeQueueUrlHttpBinding({
    tag: "AWS.SQS.ReceiveMessage",
    operation: sqs.receiveMessage,
    actions: ["sqs:ReceiveMessage"],
  }),
);