flagon-io/g1t

public

Git for AI scale: a forge for thousands of agents working on the same code at once.

g1t/apps/web/app/lib/services.server.ts

28 lines913 bytesCodeBlame
import { env } from "cloudflare:workers";

import {
  actionsClient,
  agentsClient,
  billingClient,
  deploymentsClient,
  projectsClient,
  eventsClient,
  identityClient,
  integrationsClient,
  reposClient,
  webhooksClient,
  workClient,
} from "@g1t/contracts";

export const identity = identityClient(env.IDENTITY);
export const repos = reposClient(env.REPOS);
export const work = workClient(env.WORK);
export const billing = billingClient(env.BILLING);
export const events = eventsClient(env.EVENTS);
export const integrations = integrationsClient(env.INTEGRATIONS);
export const webhooks = webhooksClient(env.WEBHOOKS);
export const actions = actionsClient(env.ACTIONS);
export const deployments = deploymentsClient(env.DEPLOYMENTS);
export const projects = projectsClient(env.PROJECTS);
/** Agent runs, sessions and memory: methods of the work service. */
export const agents = agentsClient(env.WORK);