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
38 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.

The runner base keeps its old comment, so the pushed base image still matches its folder1import { env } from "cloudflare:workers";
2
3import {
Merge branch 'main' into actions-toolkit-oidc-artifacts4 type ModelDiscoveryApi,
The runner base keeps its old comment, so the pushed base image still matches its folder5 type StatusAdminApi,
6 accountsAdminClient,
7 billingAdminClient,
8 billingClient,
9 eventsClient,
10 identityAdminClient,
11} from "@g1t/contracts";
12
13/** Staff-only billing, on the billing service. */
14export const admin = billingAdminClient(env.BILLING);
15
16/** The public price book, read-only, from the same service. */
17export const priceBook = () => billingClient(env.BILLING).prices();
18
19/** Staff-only identity: every workspace, its owners and members. */
20export const identity = identityAdminClient(env.IDENTITY);
21
22/** Staff-only accounts: a person's email addresses and security log. */
23export const accountsAdmin = accountsAdminClient(env.IDENTITY);
24
25/** The workspace's plan, caps and pause, as billing gives them to every service. */
26export const entitlements = (workspace: string) => billingClient(env.BILLING).entitlements(workspace);
27
28/** The event log, read-only: sudo lists `abuse.flagged`. */
29export const events = eventsClient(env.EVENTS);
30
31/** The status page's incidents (apps/status's `StatusAdmin` entrypoint). */
32export const statusAdmin = env.STATUS as unknown as StatusAdminApi;
33
Merge branch 'main' into actions-toolkit-oidc-artifacts34/** "Check for new models": the model proxy's `Discovery` entrypoint (services/models). */
35export const modelDiscovery = env.MODELS as unknown as ModelDiscoveryApi;
36
The runner base keeps its old comment, so the pushed base image still matches its folder37/** STAFF_EMAILS, for suggesting staff in the incident roles. */
38export const staffEmails = (): string => env.STAFF_EMAILS ?? "";

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