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

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