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/api/wrangler.jsonc

34 lines1,518 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.

API and MCP server, Rust identity service, registration, site redesign1{
2 "$schema": "../../node_modules/wrangler/config-schema.json",
3 "name": "g1t-api",
4 "account_id": "1e6f2cffa3f445920836e8ebe446bb58",
5 "compatibility_date": "2026-09-26",
API and MCP server in Rust; a public index at the API root6 "main": "build/index.js",
7 "build": { "command": "cargo install -q worker-build@0.8.7 && worker-build --release" },
API and MCP server, Rust identity service, registration, site redesign8 "workers_dev": false,
9 // One Worker, two hostnames: REST on api, MCP on mcp. Both are thin
10 // adapters over the same operations.
11 "routes": [
12 { "pattern": "api.g1t.sh", "custom_domain": true },
13 { "pattern": "mcp.g1t.sh", "custom_domain": true }
14 ],
15 "services": [
16 { "binding": "IDENTITY", "service": "g1t-identity" },
17 { "binding": "REPOS", "service": "g1t-repos" },
18 { "binding": "WORK", "service": "g1t-work" },
Agents as a team: lifecycle, merge queue, billing and a new shell19 { "binding": "EVENTS", "service": "g1t-events" },
20 { "binding": "RUNNER", "service": "g1t-runner" },
Integrations: your own model provider, alerts that open issues, tickets agents read21 { "binding": "BILLING", "service": "g1t-billing" },
Webhooks: every event, to your own addresses, signed and retried22 { "binding": "INTEGRATIONS", "service": "g1t-integrations" },
Automations: rules in .g1t/automations that act when something happens23 { "binding": "WEBHOOKS", "service": "g1t-webhooks" },
Deployments: a preview for every pull request, production on g1t.page24 { "binding": "ACTIONS", "service": "g1t-actions" },
25 // Builds of deployments report through here.
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API26 { "binding": "DEPLOYMENTS", "service": "g1t-deployments" },
27 // The context hub: search_context and get_entity.
28 { "binding": "CONTEXT", "service": "g1t-context" }
API and MCP server, Rust identity service, registration, site redesign29 ],
A repository has its own sidebar, as settings do30 // GitHub Actions artifacts and cache, in chunks, with KV's own expiry.
31 // (Moves to R2 once R2 is enabled on the account.)
32 "kv_namespaces": [{ "binding": "BLOBS", "id": "16a4232cb746418db53782aa068be693" }],
API and MCP server, Rust identity service, registration, site redesign33 "observability": { "enabled": true }
34}