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

41 lines1,971 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 "placement": { "mode": "off" },
7 "main": "build/index.js",
8 "build": { "command": "node ../../scripts/build-rust-worker.mjs" },
9 "workers_dev": false,
10 // One Worker, two hostnames: REST on api, MCP on mcp. Both are thin
11 // adapters over the same operations.
12 "routes": [
13 { "pattern": "api.g1t.sh", "custom_domain": true },
14 { "pattern": "mcp.g1t.sh", "custom_domain": true }
15 ],
16 "services": [
17 { "binding": "IDENTITY", "service": "g1t-identity" },
18 { "binding": "REPOS", "service": "g1t-repos" },
19 { "binding": "WORK", "service": "g1t-work" },
20 { "binding": "EVENTS", "service": "g1t-events" },
21 { "binding": "RUNNER", "service": "g1t-runner" },
22 { "binding": "BILLING", "service": "g1t-billing" },
23 { "binding": "INTEGRATIONS", "service": "g1t-integrations" },
24 { "binding": "WEBHOOKS", "service": "g1t-webhooks" },
25 { "binding": "ACTIONS", "service": "g1t-actions" },
26 // Builds of deployments report through here.
27 { "binding": "DEPLOYMENTS", "service": "g1t-deployments" },
28 // The context hub: search_context and get_entity.
29 { "binding": "CONTEXT", "service": "g1t-context" },
30 { "binding": "SEARCH", "service": "g1t-search" },
31 // Secret and dependency alerts: list_security_alerts and dismissing them.
32 { "binding": "SECURITY", "service": "g1t-security" }
33 ],
34 // GitHub Actions artifacts, in chunks, with KV's own expiry (and cache
35 // entries saved before the cache moved to R2, until they expire).
36 "kv_namespaces": [{ "binding": "BLOBS", "id": "16a4232cb746418db53782aa068be693" }],
37 // actions/cache entries, up to 2 GB each, uploaded in parts. The actions
38 // service lists them and decides what is kept (services/actions/src/cache.rs).
39 "r2_buckets": [{ "binding": "ACTIONS_CACHE", "bucket_name": "g1t-actions-cache" }],
40 "observability": { "enabled": true }
41}