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

35 lines1,549 bytesCodeBlame
1{
2 "$schema": "../../node_modules/wrangler/config-schema.json",
3 "name": "g1t-api",
4 "account_id": "1e6f2cffa3f445920836e8ebe446bb58",
5 "compatibility_date": "2026-09-26",
6 "main": "build/index.js",
7 "build": { "command": "node ../../scripts/build-rust-worker.mjs" },
8 "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" },
19 { "binding": "EVENTS", "service": "g1t-events" },
20 { "binding": "RUNNER", "service": "g1t-runner" },
21 { "binding": "BILLING", "service": "g1t-billing" },
22 { "binding": "INTEGRATIONS", "service": "g1t-integrations" },
23 { "binding": "WEBHOOKS", "service": "g1t-webhooks" },
24 { "binding": "ACTIONS", "service": "g1t-actions" },
25 // Builds of deployments report through here.
26 { "binding": "DEPLOYMENTS", "service": "g1t-deployments" },
27 // The context hub: search_context and get_entity.
28 { "binding": "CONTEXT", "service": "g1t-context" },
29 { "binding": "SEARCH", "service": "g1t-search" }
30 ],
31 // GitHub Actions artifacts and cache, in chunks, with KV's own expiry.
32 // (Moves to R2 once R2 is enabled on the account.)
33 "kv_namespaces": [{ "binding": "BLOBS", "id": "16a4232cb746418db53782aa068be693" }],
34 "observability": { "enabled": true }
35}