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

27 lines895 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;
Actions: workflow_run, workflow.completed, artifacts on the run page, Node 2421 BLOBS: KVNamespace;
Workspace names and icons, and a component kit for every control22 /** Uploaded avatars by SHA-256, with `{ contentType }`; written by identity. */
23 AVATARS: KVNamespace;
Initial g1t: services, event bus, intents and attempts24 }
25 }
26 interface Env extends Cloudflare.Env {}
27}