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

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

API and MCP server, Rust identity service, registration, site redesign1import { env } from "cloudflare:workers";
2
Integrations: your own model provider, alerts that open issues, tickets agents read3import {
GitHub Actions on g1t, part three: .g1t/workflows, the pages, the docs4 actionsClient,
Agents and memory, checks and conflicts, profiles, slug renames, custom domains5 agentsClient,
Integrations: your own model provider, alerts that open issues, tickets agents read6 billingClient,
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API7 contextClient,
Deployments: a preview for every pull request, production on g1t.page8 deploymentsClient,
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API9 memoryReviewClient,
Projects: what a workspace builds and runs, first on every page10 projectsClient,
Integrations: your own model provider, alerts that open issues, tickets agents read11 eventsClient,
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API12 guardrailsClient,
Integrations: your own model provider, alerts that open issues, tickets agents read13 identityClient,
14 integrationsClient,
15 reposClient,
Search across all of g1t, Explore, and a command palette16 searchClient,
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API17 securityClient,
Webhooks: every event, to your own addresses, signed and retried18 webhooksClient,
Integrations: your own model provider, alerts that open issues, tickets agents read19 workClient,
20} from "@g1t/contracts";
API and MCP server, Rust identity service, registration, site redesign21
22export const identity = identityClient(env.IDENTITY);
Rust repos service with shipping; pull requests kept in the model23export const repos = reposClient(env.REPOS);
Work service in Rust, with RFC 3339 timestamps24export const work = workClient(env.WORK);
Agents as a team: lifecycle, merge queue, billing and a new shell25export const billing = billingClient(env.BILLING);
What happened across an outcome, as a feed beside its graph26export const events = eventsClient(env.EVENTS);
Integrations: your own model provider, alerts that open issues, tickets agents read27export const integrations = integrationsClient(env.INTEGRATIONS);
Webhooks: every event, to your own addresses, signed and retried28export const webhooks = webhooksClient(env.WEBHOOKS);
GitHub Actions on g1t, part three: .g1t/workflows, the pages, the docs29export const actions = actionsClient(env.ACTIONS);
Deployments: a preview for every pull request, production on g1t.page30export const deployments = deploymentsClient(env.DEPLOYMENTS);
Projects: what a workspace builds and runs, first on every page31export const projects = projectsClient(env.PROJECTS);
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API32export const security = securityClient(env.SECURITY);
Agents and memory, checks and conflicts, profiles, slug renames, custom domains33/** Agent runs, sessions and memory: methods of the work service. */
34export const agents = agentsClient(env.WORK);
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API35/** 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);
Search across all of g1t, Explore, and a command palette39/** Search across all of g1t, and Explore. */
40export const search = searchClient(env.SEARCH);
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API41/** Memory candidates and their review: methods of the work service. */
42export const memoryReview = memoryReviewClient(env.WORK);