| 1 | import { env } from "cloudflare:workers"; |
| 2 | |
| 3 | import { |
| 4 | actionsClient, |
| 5 | agentsClient, |
| 6 | billingClient, |
| 7 | deploymentsClient, |
| 8 | projectsClient, |
| 9 | eventsClient, |
| 10 | identityClient, |
| 11 | integrationsClient, |
| 12 | reposClient, |
| 13 | webhooksClient, |
| 14 | workClient, |
| 15 | } from "@g1t/contracts"; |
| 16 | |
| 17 | export const identity = identityClient(env.IDENTITY); |
| 18 | export const repos = reposClient(env.REPOS); |
| 19 | export const work = workClient(env.WORK); |
| 20 | export const billing = billingClient(env.BILLING); |
| 21 | export const events = eventsClient(env.EVENTS); |
| 22 | export const integrations = integrationsClient(env.INTEGRATIONS); |
| 23 | export const webhooks = webhooksClient(env.WEBHOOKS); |
| 24 | export const actions = actionsClient(env.ACTIONS); |
| 25 | export const deployments = deploymentsClient(env.DEPLOYMENTS); |
| 26 | export const projects = projectsClient(env.PROJECTS); |
| 27 | /** Agent runs, sessions and memory: methods of the work service. */ |
| 28 | export const agents = agentsClient(env.WORK); |