g1t/apps/web/app/lib/services.server.ts
| 1 | import { env } from "cloudflare:workers"; |
| 2 | |
| 3 | import { |
| 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 | |
| 22 | export const identity = identityClient(env.IDENTITY); |
| 23 | export const repos = reposClient(env.REPOS); |
| 24 | export const work = workClient(env.WORK); |
| 25 | export const billing = billingClient(env.BILLING); |
| 26 | export const events = eventsClient(env.EVENTS); |
| 27 | export const integrations = integrationsClient(env.INTEGRATIONS); |
| 28 | export const webhooks = webhooksClient(env.WEBHOOKS); |
| 29 | export const actions = actionsClient(env.ACTIONS); |
| 30 | export const deployments = deploymentsClient(env.DEPLOYMENTS); |
| 31 | export const projects = projectsClient(env.PROJECTS); |
| 32 | export const security = securityClient(env.SECURITY); |
| 33 | /** Agent runs, sessions and memory: methods of the work service. */ |
| 34 | export const agents = agentsClient(env.WORK); |
| 35 | /** What agents may do in a sandbox: methods of the work service. */ |
| 36 | export const guardrails = guardrailsClient(env.WORK); |
| 37 | /** The context hub: catalog, search and scorecards. */ |
| 38 | export const context = contextClient(env.CONTEXT); |
| 39 | /** Search across all of g1t, and Explore. */ |
| 40 | export const search = searchClient(env.SEARCH); |
| 41 | /** Memory candidates and their review: methods of the work service. */ |
| 42 | export const memoryReview = memoryReviewClient(env.WORK); |