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.
| Chat and workspace agents: channels, DMs and named agents you talk to | 1 | { |
| 2 | "$schema": "../../node_modules/wrangler/config-schema.json", | |
| 3 | "name": "g1t-chat", | |
| 4 | "account_id": "1e6f2cffa3f445920836e8ebe446bb58", | |
| 5 | "compatibility_date": "2026-09-26", | |
| 6 | "main": "./src/index.ts", | |
| 7 | // Reached only through service bindings. The live socket's viewer comes | |
| 8 | // in a header the site sets after checking the session, which is only | |
| 9 | // safe to trust because nothing else can reach this Worker. | |
| 10 | "workers_dev": false, | |
| 11 | "placement": { "mode": "off" }, | |
| 12 | "d1_databases": [ | |
| 13 | { | |
| 14 | "binding": "DB", | |
| 15 | "database_name": "g1t-chat", | |
| Chat and agents: their D1 databases | 16 | "database_id": "e837affd-a435-4408-9345-14d55d520316", |
| Chat and workspace agents: channels, DMs and named agents you talk to | 17 | "migrations_dir": "migrations" |
| 18 | } | |
| 19 | ], | |
| 20 | "services": [ | |
| 21 | // Workspaces by slug, and people's names and avatars for members. | |
| 22 | { "binding": "IDENTITY", "service": "g1t-identity" }, | |
| 23 | // The workspace's agents: who they are, and handing them messages to answer. | |
| 24 | { "binding": "AGENTS", "service": "g1t-agents" } | |
| 25 | ], | |
| 26 | // One room per channel for live delivery: it holds the channel's open | |
| 27 | // sockets, hibernating while nobody says anything (src/room.ts). | |
| 28 | "durable_objects": { | |
| 29 | "bindings": [{ "name": "ROOMS", "class_name": "ChannelRoom" }] | |
| 30 | }, | |
| 31 | "migrations": [{ "tag": "v1", "new_sqlite_classes": ["ChannelRoom"] }], | |
| 32 | "observability": { "enabled": true, "head_sampling_rate": 0.1 } | |
| 33 | } |