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

45 lines1,858 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.

Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API1{
2 "$schema": "../../node_modules/wrangler/config-schema.json",
3 "name": "g1t-context",
4 "account_id": "1e6f2cffa3f445920836e8ebe446bb58",
5 "compatibility_date": "2026-09-26",
6 "main": "./src/index.ts",
7 // Reached only through service bindings.
8 "workers_dev": false,
9 "placement": { "mode": "smart" },
10 "d1_databases": [
11 {
12 "binding": "DB",
13 "database_name": "g1t-context",
14 // Create with: wrangler d1 create g1t-context, then put its id here.
15 "database_id": "e000b2d7-380c-483f-a568-40de11edd25f",
16 "migrations_dir": "migrations"
17 }
18 ],
19 // Search: Workers AI embeds text (@cf/baai/bge-base-en-v1.5, 768
20 // dimensions) into this index, with metadata indexes on workspace, kind,
21 // project and private, so a query only ever reads one workspace.
22 "ai": { "binding": "AI" },
23 "vectorize": [{ "binding": "VECTORS", "index_name": "g1t-context" }],
24 "services": [
25 { "binding": "REPOS", "service": "g1t-repos" },
26 { "binding": "PROJECTS", "service": "g1t-projects" },
27 { "binding": "WORK", "service": "g1t-work" },
28 { "binding": "IDENTITY", "service": "g1t-identity" },
29 { "binding": "DEPLOYMENTS", "service": "g1t-deployments" },
30 { "binding": "INTEGRATIONS", "service": "g1t-integrations" },
Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put31 { "binding": "SECURITY", "service": "g1t-security" },
32 // Told what embedding cost each month, which it charges.
33 { "binding": "BILLING", "service": "g1t-billing" }
Agents get guardrails, run credentials, an audit log, a context hub, repository instructions and mentions; security upkeep; snake_case API34 ],
35 "queues": {
36 // Every event, to keep the catalog and search current; and its own
37 // jobs, one project of a backfill each, so no request does them all.
38 "producers": [{ "binding": "JOBS", "queue": "g1t-context-jobs" }],
39 "consumers": [
40 { "queue": "g1t-events-context", "max_batch_size": 20, "max_batch_timeout": 2 },
41 { "queue": "g1t-context-jobs", "max_batch_size": 1, "max_batch_timeout": 1, "max_retries": 2 }
42 ]
43 },
44 "observability": { "enabled": true }
45}