g1t/services/integrations/wrangler.jsonc
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.
| Integrations: your own model provider, alerts that open issues, tickets agents read | 1 | { |
| 2 | "$schema": "../../node_modules/wrangler/config-schema.json", | |
| 3 | "name": "g1t-integrations", | |
| 4 | "account_id": "1e6f2cffa3f445920836e8ebe446bb58", | |
| 5 | "compatibility_date": "2026-09-26", | |
| 6 | // Runs next to its database: a request makes several queries in turn, | |
| 7 | // and each would otherwise cross the distance to it. | |
| Fast pages, required checks on the branch, self-hosted runners, honest incidents | 8 | "placement": { "mode": "off" }, |
| Integrations: your own model provider, alerts that open issues, tickets agents read | 9 | "main": "build/index.js", |
| Deploys as code: a manifest of every Worker, a deploy tool that ships only what changed in parallel stages, and a g1t Actions workflow | 10 | "build": { "command": "node ../../scripts/build-rust-worker.mjs" }, |
| Integrations: your own model provider, alerts that open issues, tickets agents read | 11 | // Reached only through service bindings. Outside systems reach it |
| 12 | // through the API, at https://api.g1t.sh/hooks/<connection>. | |
| 13 | "workers_dev": false, | |
| 14 | "d1_databases": [ | |
| 15 | { | |
| 16 | "binding": "DB", | |
| 17 | "database_name": "g1t-integrations", | |
| 18 | "database_id": "86c6c1a9-4192-42d8-8c59-8da8d4f99c5e", | |
| 19 | "migrations_dir": "migrations" | |
| 20 | } | |
| 21 | ], | |
| 22 | "services": [ | |
| 23 | { "binding": "IDENTITY", "service": "g1t-identity" }, | |
| 24 | { "binding": "WORK", "service": "g1t-work" }, | |
| Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look | 25 | { "binding": "RUNNER", "service": "g1t-runner" }, |
| 26 | // Where a transferred repository is now, for moving its links. | |
| 27 | { "binding": "REPOS", "service": "g1t-repos" } | |
| Integrations: your own model provider, alerts that open issues, tickets agents read | 28 | ], |
| 29 | // Work starting on, and finishing, what an outside system is waiting on. | |
| 30 | "queues": { | |
| 31 | "consumers": [{ "queue": "g1t-events-integrations", "max_batch_size": 20, "max_batch_timeout": 1 }] | |
| 32 | }, | |
| 33 | "vars": { | |
| 34 | "API_URL": "https://api.g1t.sh", | |
| Invite-only launch: sign in with GitHub, repository access and lifecycle, many emails, a new look | 35 | "SITE_URL": "https://g1t.sh", |
| 36 | // g1t's GitHub App (src/github.rs), for installations, imports, | |
| 37 | // mirrors and its webhook at API_URL/hooks/github. Secrets: | |
| 38 | // GITHUB_APP_PRIVATE_KEY (the downloaded .pem, PKCS#1 or PKCS#8) and | |
| 39 | // GITHUB_APP_WEBHOOK_SECRET. Leave the slug empty to turn it off. | |
| 40 | "GITHUB_APP_ID": "5203641", | |
| 41 | "GITHUB_APP_SLUG": "g1t-sh", | |
| 42 | "GITHUB_APP_CLIENT_ID": "Iv23liZS94alfjIUn1eW" | |
| Integrations: your own model provider, alerts that open issues, tickets agents read | 43 | }, |
| 44 | // Secret: INTEGRATIONS_KEY, 64 hex characters. Connections' secrets are | |
| 45 | // sealed with it; without it nothing can be connected. | |
| 46 | "observability": { "enabled": true } | |
| 47 | } |