Skip to content
87 linesCodeBlameRaw

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.

Acceptance checks in sandboxes, line comments and review verdicts1import { env } from "cloudflare:workers";
2
Integrations: your own model provider, alerts that open issues, tickets agents read3import {
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look4 accountsClient,
GitHub Actions on g1t, part three: .g1t/workflows, the pages, the docs5 actionsClient,
Agents and memory, checks and conflicts, profiles, slug renames, custom domains6 agentsClient,
Integrations: your own model provider, alerts that open issues, tickets agents read7 billingClient,
Chat and workspace agents: channels, DMs and named agents you talk to8 chatClient,
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API9 contextClient,
Deployments: a preview for every pull request, production on g1t.page10 deploymentsClient,
Docs: a workspace knowledge base people and agents write together11 docsClient,
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API12 memoryReviewClient,
Packages, with a container registry on g1t.sh; workspaces deleted whole and kept 30 days; Members for every member13 packagesClient,
Projects: what a workspace builds and runs, first on every page14 projectsClient,
Integrations: your own model provider, alerts that open issues, tickets agents read15 eventsClient,
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API16 guardrailsClient,
Integrations: your own model provider, alerts that open issues, tickets agents read17 identityClient,
Inbox: a bell in the top bar opens it beside the page, and /inbox holds it all18 inboxClient,
Integrations: your own model provider, alerts that open issues, tickets agents read19 integrationsClient,
20 reposClient,
Search across all of g1t, Explore, and a command palette21 searchClient,
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API22 securityClient,
Teams and CODEOWNERS, labels and milestones, dependency updates, the security suite, and a clearer top bar23 securitySuiteClient,
Webhooks: every event, to your own addresses, signed and retried24 webhooksClient,
Integrations: your own model provider, alerts that open issues, tickets agents read25 workClient,
Chat and workspace agents: channels, DMs and named agents you talk to26 workspaceAgentsClient,
Integrations: your own model provider, alerts that open issues, tickets agents read27} from "@g1t/contracts";
Acceptance checks in sandboxes, line comments and review verdicts28
Fast pages, required checks on the branch, self-hosted runners, honest incidents29import { instrumented } from "./perf.server";
30
31/**
32 * Each binding the clients use, timed for `Server-Timing` and, for the
33 * services that read D1 with sessions, told where to read (lib/perf.ts).
34 */
35const IDENTITY = instrumented("identity", env.IDENTITY);
36const REPOS = instrumented("repos", env.REPOS);
37const WORK = instrumented("work", env.WORK);
38const BILLING = instrumented("billing", env.BILLING);
39const EVENTS = instrumented("events", env.EVENTS);
40const INTEGRATIONS = instrumented("integrations", env.INTEGRATIONS);
41const WEBHOOKS = instrumented("webhooks", env.WEBHOOKS);
42const ACTIONS = instrumented("actions", env.ACTIONS);
43const DEPLOYMENTS = instrumented("deployments", env.DEPLOYMENTS);
44const PROJECTS = instrumented("projects", env.PROJECTS);
45const SECURITY = instrumented("security", env.SECURITY);
46const CONTEXT = instrumented("context", env.CONTEXT);
47const SEARCH = instrumented("search", env.SEARCH);
Packages, with a container registry on g1t.sh; workspaces deleted whole and kept 30 days; Members for every member48const PACKAGES = instrumented("packages", env.PACKAGES);
Chat and workspace agents: channels, DMs and named agents you talk to49const CHAT = instrumented("chat", env.CHAT);
50const AGENTS = instrumented("agents", env.AGENTS);
Docs: a workspace knowledge base people and agents write together51const DOCS = instrumented("docs", env.DOCS);
Fast pages, required checks on the branch, self-hosted runners, honest incidents52
53export const identity = identityClient(IDENTITY);
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look54/** A person's email addresses and account security: methods of identity. */
Fast pages, required checks on the branch, self-hosted runners, honest incidents55export const accounts = accountsClient(IDENTITY);
56export const repos = reposClient(REPOS);
57export const work = workClient(WORK);
58export const billing = billingClient(BILLING);
59export const events = eventsClient(EVENTS);
Inbox: a bell in the top bar opens it beside the page, and /inbox holds it all60/** Each person's inbox, which the events service keeps. */
61export const inbox = inboxClient(EVENTS);
Fast pages, required checks on the branch, self-hosted runners, honest incidents62export const integrations = integrationsClient(INTEGRATIONS);
63export const webhooks = webhooksClient(WEBHOOKS);
64export const actions = actionsClient(ACTIONS);
65export const deployments = deploymentsClient(DEPLOYMENTS);
66export const projects = projectsClient(PROJECTS);
67export const security = securityClient(SECURITY);
Teams and CODEOWNERS, labels and milestones, dependency updates, the security suite, and a clearer top bar68/** The security suite: patterns, bypasses, code scanning, the dependency graph, settings. */
69export const securitySuite = securitySuiteClient(SECURITY);
Agents and memory, checks and conflicts, profiles, slug renames, custom domains70/** Agent runs, sessions and memory: methods of the work service. */
Fast pages, required checks on the branch, self-hosted runners, honest incidents71export const agents = agentsClient(WORK);
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API72/** What agents may do in a sandbox: methods of the work service. */
Fast pages, required checks on the branch, self-hosted runners, honest incidents73export const guardrails = guardrailsClient(WORK);
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API74/** The context hub: catalog, search and scorecards. */
Fast pages, required checks on the branch, self-hosted runners, honest incidents75export const context = contextClient(CONTEXT);
Search across all of g1t, Explore, and a command palette76/** Search across all of g1t, and Explore. */
Fast pages, required checks on the branch, self-hosted runners, honest incidents77export const search = searchClient(SEARCH);
Packages, with a container registry on g1t.sh; workspaces deleted whole and kept 30 days; Members for every member78/** The workspace's registries: container images, and more to come. */
79export const packages = packagesClient(PACKAGES);
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API80/** Memory candidates and their review: methods of the work service. */
Fast pages, required checks on the branch, self-hosted runners, honest incidents81export const memoryReview = memoryReviewClient(WORK);
Chat and workspace agents: channels, DMs and named agents you talk to82/** Channels, direct messages and threads, where people and agents talk. */
83export const chat = chatClient(CHAT);
84/** The workspace's own agents: who they are, their limits and their desks. */
85export const workspaceAgents = workspaceAgentsClient(AGENTS);
Docs: a workspace knowledge base people and agents write together86/** Docs: spaces, pages, history, suggestions and comments. */
87export const docs = docsClient(DOCS);

This file's history is long; its oldest lines are credited to the oldest commit read.