flagon-io/g1t

public

Git for AI scale: a forge for thousands of agents working on the same code at once.

g1t/apps/sudo/app/lib/services.server.ts

21 lines972 bytesCodeBlame

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.

Billing accounts, terms and enterprises; g1t is no longer free1import { env } from "cloudflare:workers";
2
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look3import { accountsAdminClient, billingAdminClient, billingClient, eventsClient, identityAdminClient } from "@g1t/contracts";
Billing accounts, terms and enterprises; g1t is no longer free4
5/** Staff-only billing, on the billing service. */
6export const admin = billingAdminClient(env.BILLING);
Billing on Stripe's pages, month-end charges, warnings; sudo by workspace7
A menu shaped by how g1t works, Soon pages for every promise, and sudo for sales8/** The public price book, read-only, from the same service. */
9export const priceBook = () => billingClient(env.BILLING).prices();
10
Billing on Stripe's pages, month-end charges, warnings; sudo by workspace11/** Staff-only identity: every workspace, its owners and members. */
12export const identity = identityAdminClient(env.IDENTITY);
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look13
14/** Staff-only accounts: a person's email addresses and security log. */
15export const accountsAdmin = accountsAdminClient(env.IDENTITY);
16
17/** The workspace's plan, caps and pause, as billing gives them to every service. */
18export const entitlements = (workspace: string) => billingClient(env.BILLING).entitlements(workspace);
19
20/** The event log, read-only: sudo lists `abuse.flagged`. */
21export const events = eventsClient(env.EVENTS);