Skip to content
93 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.

Agents move along on private repositories too1import { env } from "cloudflare:workers";
2
3import {
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look4 accountsClient,
Agents move along on private repositories too5 actionsClient,
Agents and memory, checks and conflicts, profiles, slug renames, custom domains6 agentsClient,
Agents move along on private repositories too7 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,
Artifacts is a mode in the rail, the shell and the phone's tab bar in place of Docs: its home lists everything you can open by day or as cards under All, Yours and Shared with you, with search, filters and tiles to start a doc (slides, designs and dashboards say they are coming soon), and its sidebar holds favorites, spaces, Private, Shared, projects' docs and the trash.12 foliosClient,
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API13 memoryReviewClient,
Merge branch 'mirroring' into artifacts-mode14 mirrorsClient,
Packages, with a container registry on g1t.sh; workspaces deleted whole and kept 30 days; Members for every member15 packagesClient,
Projects: what a workspace builds and runs, first on every page16 projectsClient,
Agents move along on private repositories too17 eventsClient,
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API18 guardrailsClient,
Agents move along on private repositories too19 identityClient,
Inbox: a bell in the top bar opens it beside the page, and /inbox holds it all20 inboxClient,
Agents move along on private repositories too21 integrationsClient,
22 reposClient,
Search across all of g1t, Explore, and a command palette23 searchClient,
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API24 securityClient,
Teams and CODEOWNERS, labels and milestones, dependency updates, the security suite, and a clearer top bar25 securitySuiteClient,
Agents move along on private repositories too26 webhooksClient,
27 workClient,
Chat and workspace agents: channels, DMs and named agents you talk to28 workspaceAgentsClient,
Agents move along on private repositories too29} from "@g1t/contracts";
30
Fast pages, required checks on the branch, self-hosted runners, honest incidents31import { instrumented } from "./perf.server";
32
33/**
34 * Each binding the clients use, timed for `Server-Timing` and, for the
35 * services that read D1 with sessions, told where to read (lib/perf.ts).
36 */
37const IDENTITY = instrumented("identity", env.IDENTITY);
38const REPOS = instrumented("repos", env.REPOS);
39const WORK = instrumented("work", env.WORK);
40const BILLING = instrumented("billing", env.BILLING);
41const EVENTS = instrumented("events", env.EVENTS);
42const INTEGRATIONS = instrumented("integrations", env.INTEGRATIONS);
43const WEBHOOKS = instrumented("webhooks", env.WEBHOOKS);
44const ACTIONS = instrumented("actions", env.ACTIONS);
45const DEPLOYMENTS = instrumented("deployments", env.DEPLOYMENTS);
46const PROJECTS = instrumented("projects", env.PROJECTS);
47const SECURITY = instrumented("security", env.SECURITY);
48const CONTEXT = instrumented("context", env.CONTEXT);
49const SEARCH = instrumented("search", env.SEARCH);
Packages, with a container registry on g1t.sh; workspaces deleted whole and kept 30 days; Members for every member50const PACKAGES = instrumented("packages", env.PACKAGES);
Chat and workspace agents: channels, DMs and named agents you talk to51const CHAT = instrumented("chat", env.CHAT);
52const AGENTS = instrumented("agents", env.AGENTS);
Docs: a workspace knowledge base people and agents write together53const DOCS = instrumented("docs", env.DOCS);
Fast pages, required checks on the branch, self-hosted runners, honest incidents54
55export const identity = identityClient(IDENTITY);
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look56/** A person's email addresses and account security: methods of identity. */
Fast pages, required checks on the branch, self-hosted runners, honest incidents57export const accounts = accountsClient(IDENTITY);
58export const repos = reposClient(REPOS);
59export const work = workClient(WORK);
60export const billing = billingClient(BILLING);
61export const events = eventsClient(EVENTS);
Inbox: a bell in the top bar opens it beside the page, and /inbox holds it all62/** Each person's inbox, which the events service keeps. */
63export const inbox = inboxClient(EVENTS);
Fast pages, required checks on the branch, self-hosted runners, honest incidents64export const integrations = integrationsClient(INTEGRATIONS);
Merge branch 'mirroring' into artifacts-mode65/** Mirroring: a repository's remotes, takeovers and hand-backs, kept by integrations. */
66export const mirrors = mirrorsClient(INTEGRATIONS);
Fast pages, required checks on the branch, self-hosted runners, honest incidents67export const webhooks = webhooksClient(WEBHOOKS);
68export const actions = actionsClient(ACTIONS);
69export const deployments = deploymentsClient(DEPLOYMENTS);
70export const projects = projectsClient(PROJECTS);
71export const security = securityClient(SECURITY);
Teams and CODEOWNERS, labels and milestones, dependency updates, the security suite, and a clearer top bar72/** The security suite: patterns, bypasses, code scanning, the dependency graph, settings. */
73export const securitySuite = securitySuiteClient(SECURITY);
Agents and memory, checks and conflicts, profiles, slug renames, custom domains74/** Agent runs, sessions and memory: methods of the work service. */
Fast pages, required checks on the branch, self-hosted runners, honest incidents75export const agents = agentsClient(WORK);
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API76/** What agents may do in a sandbox: methods of the work service. */
Fast pages, required checks on the branch, self-hosted runners, honest incidents77export const guardrails = guardrailsClient(WORK);
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API78/** The context hub: catalog, search and scorecards. */
Fast pages, required checks on the branch, self-hosted runners, honest incidents79export const context = contextClient(CONTEXT);
Search across all of g1t, Explore, and a command palette80/** Search across all of g1t, and Explore. */
Fast pages, required checks on the branch, self-hosted runners, honest incidents81export const search = searchClient(SEARCH);
Packages, with a container registry on g1t.sh; workspaces deleted whole and kept 30 days; Members for every member82/** The workspace's registries: container images, and more to come. */
83export const packages = packagesClient(PACKAGES);
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API84/** Memory candidates and their review: methods of the work service. */
Fast pages, required checks on the branch, self-hosted runners, honest incidents85export const memoryReview = memoryReviewClient(WORK);
Chat and workspace agents: channels, DMs and named agents you talk to86/** Channels, direct messages and threads, where people and agents talk. */
87export const chat = chatClient(CHAT);
88/** The workspace's own agents: who they are, their limits and their desks. */
89export const workspaceAgents = workspaceAgentsClient(AGENTS);
Artifacts is a mode in the rail, the shell and the phone's tab bar in place of Docs: its home lists everything you can open by day or as cards under All, Yours and Shared with you, with search, filters and tiles to start a doc (slides, designs and dashboards say they are coming soon), and its sidebar holds favorites, spaces, Private, Shared, projects' docs and the trash.90/** The docs service's spaces (Artifacts' spaces) and projects' docs. Its old pages are no longer read. */
Docs: a workspace knowledge base people and agents write together91export const docs = docsClient(DOCS);
Artifacts is a mode in the rail, the shell and the phone's tab bar in place of Docs: its home lists everything you can open by day or as cards under All, Yours and Shared with you, with search, filters and tiles to start a doc (slides, designs and dashboards say they are coming soon), and its sidebar holds favorites, spaces, Private, Shared, projects' docs and the trash.92/** Artifacts (folios): docs, and later slides, designs and dashboards, kept by the docs service. */
93export const folios = foliosClient(DOCS);

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