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.

564 B
Raw Blame
import * as neptunegraph from "@distilled.cloud/aws/neptune-graph";
import * as Layer from "effect/Layer";
import {
  makeNeptuneGraphAccountHttpBinding,
  SNAPSHOT_ARN_WILDCARD,
} from "./BindingHttp.ts";
import { GetGraphSnapshot } from "./GetGraphSnapshot.ts";

export const GetGraphSnapshotHttp = Layer.effect(
  GetGraphSnapshot,
  makeNeptuneGraphAccountHttpBinding({
    tag: "AWS.NeptuneGraph.GetGraphSnapshot",
    operation: neptunegraph.getGraphSnapshot,
    actions: ["neptune-graph:GetGraphSnapshot"],
    resources: [SNAPSHOT_ARN_WILDCARD],
  }),
);