flagon-io/g1t

public

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

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

45 lines1,663 bytesCodeBlame
1import { env } from "cloudflare:workers";
2
3import {
4 accountsClient,
5 actionsClient,
6 agentsClient,
7 billingClient,
8 contextClient,
9 deploymentsClient,
10 memoryReviewClient,
11 projectsClient,
12 eventsClient,
13 guardrailsClient,
14 identityClient,
15 integrationsClient,
16 reposClient,
17 searchClient,
18 securityClient,
19 webhooksClient,
20 workClient,
21} from "@g1t/contracts";
22
23export const identity = identityClient(env.IDENTITY);
24/** A person's email addresses and account security: methods of identity. */
25export const accounts = accountsClient(env.IDENTITY);
26export const repos = reposClient(env.REPOS);
27export const work = workClient(env.WORK);
28export const billing = billingClient(env.BILLING);
29export const events = eventsClient(env.EVENTS);
30export const integrations = integrationsClient(env.INTEGRATIONS);
31export const webhooks = webhooksClient(env.WEBHOOKS);
32export const actions = actionsClient(env.ACTIONS);
33export const deployments = deploymentsClient(env.DEPLOYMENTS);
34export const projects = projectsClient(env.PROJECTS);
35export const security = securityClient(env.SECURITY);
36/** Agent runs, sessions and memory: methods of the work service. */
37export const agents = agentsClient(env.WORK);
38/** What agents may do in a sandbox: methods of the work service. */
39export const guardrails = guardrailsClient(env.WORK);
40/** The context hub: catalog, search and scorecards. */
41export const context = contextClient(env.CONTEXT);
42/** Search across all of g1t, and Explore. */
43export const search = searchClient(env.SEARCH);
44/** Memory candidates and their review: methods of the work service. */
45export const memoryReview = memoryReviewClient(env.WORK);