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

Docs: merge_group in the merge queue and Actions guides1import { env } from "cloudflare:workers";
2
3import {
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look4 accountsClient,
Docs: merge_group in the merge queue and Actions guides5 actionsClient,
Agents and memory, checks and conflicts, profiles, slug renames, custom domains6 agentsClient,
Docs: merge_group in the merge queue and Actions guides7 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,
Docs: merge_group in the merge queue and Actions guides17 eventsClient,
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API18 guardrailsClient,
Docs: merge_group in the merge queue and Actions guides19 identityClient,
Inbox: a bell in the top bar opens it beside the page, and /inbox holds it all20 inboxClient,
Docs: merge_group in the merge queue and Actions guides21 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,
Docs: merge_group in the merge queue and Actions guides26 webhooksClient,
27 workClient,
Agents → Skills is the workspace's skill library in the open SKILL.md format: write a skill in g1t, import a SKILL.md or zip, link a repository whose .g1t/skills folders publish on every push, or save a finished session as a skill once a person reviews it; attach a skill to an agent, a team or the whole workspace, each attachment pinned to a version. Agents see each skill's name and when to use it, and read the rest with use_skill when a request needs it; a skill never adds a permission, and scripts wait for an agent's own computer. The agent skills guide says how.28 skillLibraryClient,
Chat and workspace agents: channels, DMs and named agents you talk to29 workspaceAgentsClient,
Docs: merge_group in the merge queue and Actions guides30} from "@g1t/contracts";
31
Fast pages, required checks on the branch, self-hosted runners, honest incidents32import { instrumented } from "./perf.server";
33
34/**
35 * Each binding the clients use, timed for `Server-Timing` and, for the
36 * services that read D1 with sessions, told where to read (lib/perf.ts).
37 */
38const IDENTITY = instrumented("identity", env.IDENTITY);
39const REPOS = instrumented("repos", env.REPOS);
40const WORK = instrumented("work", env.WORK);
41const BILLING = instrumented("billing", env.BILLING);
42const EVENTS = instrumented("events", env.EVENTS);
43const INTEGRATIONS = instrumented("integrations", env.INTEGRATIONS);
44const WEBHOOKS = instrumented("webhooks", env.WEBHOOKS);
45const ACTIONS = instrumented("actions", env.ACTIONS);
46const DEPLOYMENTS = instrumented("deployments", env.DEPLOYMENTS);
47const PROJECTS = instrumented("projects", env.PROJECTS);
48const SECURITY = instrumented("security", env.SECURITY);
49const CONTEXT = instrumented("context", env.CONTEXT);
50const SEARCH = instrumented("search", env.SEARCH);
Packages, with a container registry on g1t.sh; workspaces deleted whole and kept 30 days; Members for every member51const PACKAGES = instrumented("packages", env.PACKAGES);
Chat and workspace agents: channels, DMs and named agents you talk to52const CHAT = instrumented("chat", env.CHAT);
53const AGENTS = instrumented("agents", env.AGENTS);
The artifacts service is services/artifacts, the Worker g1t-artifacts, bound as ARTIFACTS by the API, the site and the agents; its live rooms move to it with a Durable Object transfer from g1t-docs-service, and its database, bucket, indexes and queue keep their names. The git store's binding and settings are GITSTORE, its ops scripts gitstore-*, and workflow run artifacts keep their compatible API under run_artifacts modules. The deploy tool puts a Worker that has never deployed before the Workers in its stage that bind to it, and the deploy guide gives the cutover runbook.54const ARTIFACTS = instrumented("artifacts", env.ARTIFACTS);
Fast pages, required checks on the branch, self-hosted runners, honest incidents55
56export const identity = identityClient(IDENTITY);
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look57/** A person's email addresses and account security: methods of identity. */
Fast pages, required checks on the branch, self-hosted runners, honest incidents58export const accounts = accountsClient(IDENTITY);
59export const repos = reposClient(REPOS);
60export const work = workClient(WORK);
61export const billing = billingClient(BILLING);
62export const events = eventsClient(EVENTS);
Inbox: a bell in the top bar opens it beside the page, and /inbox holds it all63/** Each person's inbox, which the events service keeps. */
64export const inbox = inboxClient(EVENTS);
Fast pages, required checks on the branch, self-hosted runners, honest incidents65export const integrations = integrationsClient(INTEGRATIONS);
Merge branch 'mirroring' into artifacts-mode66/** Mirroring: a repository's remotes, takeovers and hand-backs, kept by integrations. */
67export const mirrors = mirrorsClient(INTEGRATIONS);
Fast pages, required checks on the branch, self-hosted runners, honest incidents68export const webhooks = webhooksClient(WEBHOOKS);
69export const actions = actionsClient(ACTIONS);
70export const deployments = deploymentsClient(DEPLOYMENTS);
71export const projects = projectsClient(PROJECTS);
72export const security = securityClient(SECURITY);
Teams and CODEOWNERS, labels and milestones, dependency updates, the security suite, and a clearer top bar73/** The security suite: patterns, bypasses, code scanning, the dependency graph, settings. */
74export const securitySuite = securitySuiteClient(SECURITY);
Agents and memory, checks and conflicts, profiles, slug renames, custom domains75/** Agent runs, sessions and memory: methods of the work service. */
Fast pages, required checks on the branch, self-hosted runners, honest incidents76export const agents = agentsClient(WORK);
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API77/** What agents may do in a sandbox: methods of the work service. */
Fast pages, required checks on the branch, self-hosted runners, honest incidents78export const guardrails = guardrailsClient(WORK);
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API79/** The context hub: catalog, search and scorecards. */
Fast pages, required checks on the branch, self-hosted runners, honest incidents80export const context = contextClient(CONTEXT);
Search across all of g1t, Explore, and a command palette81/** Search across all of g1t, and Explore. */
Fast pages, required checks on the branch, self-hosted runners, honest incidents82export const search = searchClient(SEARCH);
Packages, with a container registry on g1t.sh; workspaces deleted whole and kept 30 days; Members for every member83/** The workspace's registries: container images, and more to come. */
84export const packages = packagesClient(PACKAGES);
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API85/** Memory candidates and their review: methods of the work service. */
Fast pages, required checks on the branch, self-hosted runners, honest incidents86export const memoryReview = memoryReviewClient(WORK);
Chat and workspace agents: channels, DMs and named agents you talk to87/** Channels, direct messages and threads, where people and agents talk. */
88export const chat = chatClient(CHAT);
89/** The workspace's own agents: who they are, their limits and their desks. */
90export const workspaceAgents = workspaceAgentsClient(AGENTS);
Agents → Skills is the workspace's skill library in the open SKILL.md format: write a skill in g1t, import a SKILL.md or zip, link a repository whose .g1t/skills folders publish on every push, or save a finished session as a skill once a person reviews it; attach a skill to an agent, a team or the whole workspace, each attachment pinned to a version. Agents see each skill's name and when to use it, and read the rest with use_skill when a request needs it; a skill never adds a permission, and scripts wait for an agent's own computer. The agent skills guide says how.91/** The workspace's skill library: skills, their versions and where they are attached (the agents service). */
92export const skillLibrary = skillLibraryClient(AGENTS);
The artifacts service is services/artifacts, the Worker g1t-artifacts, bound as ARTIFACTS by the API, the site and the agents; its live rooms move to it with a Durable Object transfer from g1t-docs-service, and its database, bucket, indexes and queue keep their names. The git store's binding and settings are GITSTORE, its ops scripts gitstore-*, and workflow run artifacts keep their compatible API under run_artifacts modules. The deploy tool puts a Worker that has never deployed before the Workers in its stage that bind to it, and the deploy guide gives the cutover runbook.93/** The artifacts service's spaces (Artifacts' spaces) and projects' docs. Its old pages are no longer read. */
94export const docs = docsClient(ARTIFACTS);
95/** Artifacts (folios): docs, and later slides, designs and dashboards, kept by the artifacts service. */
96export const folios = foliosClient(ARTIFACTS);

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