flagon-io/g1t

public

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/apps/web/workers/env.d.ts

40 lines1,424 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.

Events service in Rust, with RFC 3339 times and accurate push events1import type { RunnerApi, ServiceBinding } from "@g1t/contracts";
Initial g1t: services, event bus, intents and attempts2
3declare global {
4 namespace Cloudflare {
5 interface Env {
API and MCP server, Rust identity service, registration, site redesign6 IDENTITY: ServiceBinding;
Initial g1t: services, event bus, intents and attempts7 /** Also serves git over HTTPS through `fetch`. */
Rust repos service with shipping; pull requests kept in the model8 REPOS: ServiceBinding & { fetch(request: Request): Promise<Response> };
Work service in Rust, with RFC 3339 timestamps9 WORK: ServiceBinding;
Hosted agents: sandboxes on Cloudflare Containers started from an intent10 RUNNER: RunnerApi;
Agents as a team: lifecycle, merge queue, billing and a new shell11 BILLING: ServiceBinding;
What happened across an outcome, as a feed beside its graph12 EVENTS: ServiceBinding;
Integrations: your own model provider, alerts that open issues, tickets agents read13 INTEGRATIONS: ServiceBinding;
Webhooks: every event, to your own addresses, signed and retried14 WEBHOOKS: ServiceBinding;
GitHub Actions on g1t, part three: .g1t/workflows, the pages, the docs15 ACTIONS: ServiceBinding;
Deployments: a preview for every pull request, production on g1t.page16 DEPLOYMENTS: ServiceBinding;
Projects: what a workspace builds and runs, first on every page17 PROJECTS: ServiceBinding;
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API18 SECURITY: ServiceBinding;
19 /** The context hub: catalog, search and scorecards. */
20 CONTEXT: ServiceBinding;
Search across all of g1t, Explore, and a command palette21 /** Search across all of g1t, and Explore. */
22 SEARCH: ServiceBinding;
Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look23 /** Production screenshots, from the og service's `Screenshots` entrypoint. */
24 SCREENSHOTS?: {
25 image(input: { host: string; commit: string }): Promise<{
26 body: ArrayBuffer;
27 contentType: string;
28 commit: string;
29 capturedAt: string;
30 } | null>;
31 };
Actions: workflow_run, workflow.completed, artifacts on the run page, Node 2432 BLOBS: KVNamespace;
Workspace names and icons, and a component kit for every control33 /** Uploaded avatars by SHA-256, with `{ contentType }`; written by identity. */
34 AVATARS: KVNamespace;
Fast pages, required checks on the branch, self-hosted runners, honest incidents35 /** The self-hosted runner's releases (scripts/runner-release.mjs). Absent when self-hosted. */
36 DOWNLOADS?: R2Bucket;
Initial g1t: services, event bus, intents and attempts37 }
38 }
39 interface Env extends Cloudflare.Env {}
40}