Skip to content

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.sh
90 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.

Download ZIP from the Code button; a slimmer lifecycle panel; agent steps say what was done, not sandbox paths1import { env } from "cloudflare:workers";
2
3import {
4 accountsClient,
5 actionsClient,
Merge remote-tracking branch 'origin/claude/cool-newton-7nm8r9' into claude/cool-newton-7nm8r96 advisoriesClient,
Download ZIP from the Code button; a slimmer lifecycle panel; agent steps say what was done, not sandbox paths7 agentsClient,
8 billingClient,
Chat and workspace agents: channels, DMs and named agents you talk to9 chatClient,
Download ZIP from the Code button; a slimmer lifecycle panel; agent steps say what was done, not sandbox paths10 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,
Download ZIP from the Code button; a slimmer lifecycle panel; agent steps say what was done, not sandbox paths13 packagesClient,
14 projectsClient,
15 eventsClient,
16 guardrailsClient,
17 identityClient,
Inbox: a bell in the top bar opens it beside the page, and /inbox holds it all18 inboxClient,
Download ZIP from the Code button; a slimmer lifecycle panel; agent steps say what was done, not sandbox paths19 integrationsClient,
20 reposClient,
21 searchClient,
22 securityClient,
Teams and CODEOWNERS, labels and milestones, dependency updates, the security suite, and a clearer top bar23 securitySuiteClient,
Download ZIP from the Code button; a slimmer lifecycle panel; agent steps say what was done, not sandbox paths24 webhooksClient,
25 workClient,
26} from "@g1t/contracts";
Projects have Observability: their requests, logs, traces, metrics and errors, from apps on g1t.page with nothing to set up, and from software anywhere else over OpenTelemetry.27import { telemetryClient } from "@g1t/contracts/telemetry";
Download ZIP from the Code button; a slimmer lifecycle panel; agent steps say what was done, not sandbox paths28
29import { 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 SEARCH = instrumented("search", env.SEARCH);
47const PACKAGES = instrumented("packages", env.PACKAGES);
Chat and workspace agents: channels, DMs and named agents you talk to48const CHAT = instrumented("chat", env.CHAT);
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.49const ARTIFACTS = instrumented("artifacts", env.ARTIFACTS);
Projects have Observability: their requests, logs, traces, metrics and errors, from apps on g1t.page with nothing to set up, and from software anywhere else over OpenTelemetry.50const TELEMETRY = env.TELEMETRY ? instrumented("telemetry", env.TELEMETRY) : null;
Download ZIP from the Code button; a slimmer lifecycle panel; agent steps say what was done, not sandbox paths51
52export const identity = identityClient(IDENTITY);
53/** A person's email addresses and account security: methods of identity. */
54export const accounts = accountsClient(IDENTITY);
55export const repos = reposClient(REPOS);
56export const work = workClient(WORK);
57export const billing = billingClient(BILLING);
58export const events = eventsClient(EVENTS);
Inbox: a bell in the top bar opens it beside the page, and /inbox holds it all59/** Each person's inbox, which the events service keeps. */
60export const inbox = inboxClient(EVENTS);
Download ZIP from the Code button; a slimmer lifecycle panel; agent steps say what was done, not sandbox paths61export const integrations = integrationsClient(INTEGRATIONS);
62export const webhooks = webhooksClient(WEBHOOKS);
63export const actions = actionsClient(ACTIONS);
64export const deployments = deploymentsClient(DEPLOYMENTS);
65export const projects = projectsClient(PROJECTS);
66export const security = securityClient(SECURITY);
Teams and CODEOWNERS, labels and milestones, dependency updates, the security suite, and a clearer top bar67/** The security suite: patterns, bypasses, code scanning, the dependency graph, settings. */
68export const securitySuite = securitySuiteClient(SECURITY);
Merge remote-tracking branch 'origin/claude/cool-newton-7nm8r9' into claude/cool-newton-7nm8r969/** Security advisories and private vulnerability reports: methods of the security service. */
70export const advisories = advisoriesClient(SECURITY);
The site no longer has g1t's own agents. g1t is where the coding agents you already use do their work, so the Agents mode is gone from the rail, with every page under /<workspace>/-/agents: personas, faces, skills, abilities, routines, computers, sessions and agent spend. Customize (skills, connectors, plugins, marketplaces), the context hub, model providers, the AI Gateway page, the Spend page and pill, Ask g1t, and the repository's Agents, Plans and agent settings pages go too, and their addresses now answer 404.71/** Memory and pull request sessions: methods of the work service. */
Download ZIP from the Code button; a slimmer lifecycle panel; agent steps say what was done, not sandbox paths72export const agents = agentsClient(WORK);
The site no longer has g1t's own agents. g1t is where the coding agents you already use do their work, so the Agents mode is gone from the rail, with every page under /<workspace>/-/agents: personas, faces, skills, abilities, routines, computers, sessions and agent spend. Customize (skills, connectors, plugins, marketplaces), the context hub, model providers, the AI Gateway page, the Spend page and pill, Ask g1t, and the repository's Agents, Plans and agent settings pages go too, and their addresses now answer 404.73/** The network a sandbox may reach: methods of the work service. */
Download ZIP from the Code button; a slimmer lifecycle panel; agent steps say what was done, not sandbox paths74export const guardrails = guardrailsClient(WORK);
75/** Search across all of g1t, and Explore. */
76export const search = searchClient(SEARCH);
77/** The workspace's registries: container images, and more to come. */
78export const packages = packagesClient(PACKAGES);
The site no longer has g1t's own agents. g1t is where the coding agents you already use do their work, so the Agents mode is gone from the rail, with every page under /<workspace>/-/agents: personas, faces, skills, abilities, routines, computers, sessions and agent spend. Customize (skills, connectors, plugins, marketplaces), the context hub, model providers, the AI Gateway page, the Spend page and pill, Ask g1t, and the repository's Agents, Plans and agent settings pages go too, and their addresses now answer 404.79/** Channels, direct messages and threads, where people talk. */
Chat and workspace agents: channels, DMs and named agents you talk to80export const chat = chatClient(CHAT);
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.81/** The artifacts service's spaces (Artifacts' spaces) and projects' docs. Its old pages are no longer read. */
82export const docs = docsClient(ARTIFACTS);
83/** Artifacts (folios): docs, and later slides, designs and dashboards, kept by the artifacts service. */
84export const folios = foliosClient(ARTIFACTS);
Projects have Observability: their requests, logs, traces, metrics and errors, from apps on g1t.page with nothing to set up, and from software anywhere else over OpenTelemetry.85
86/**
87 * Observability (services/telemetry): a project's requests, logs, traces,
88 * metrics and errors. Null where it is not deployed; the pages say so.
89 */
90export const telemetry = TELEMETRY ? telemetryClient(TELEMETRY) : null;

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