| 62 | 62 | | { "tag": "v3", "new_sqlite_classes": ["AgentComputer"] } |
| 63 | 63 | | ], |
| 64 | 64 | | // Where agents' computers keep their homes between wakes (src/computer.ts). |
| 65 | | − | // NOT YET ENABLED: the bucket does not exist, and a deploy with a binding |
| 66 | | − | // to a missing bucket fails. The operator creates it, then uncomments |
| 67 | | − | // this block ("Agents' computers" in docs.g1t.sh/guides/deploy-to-cloudflare/): |
| 65 | + | // The operator makes the bucket before the first deploy with this binding |
| 66 | + | // ("Agents' computers" in docs.g1t.sh/guides/deploy-to-cloudflare/): |
| 68 | 67 | | // |
| 69 | 68 | | // npx wrangler r2 bucket create g1t-agent-homes |
| 70 | 69 | | // npx wrangler r2 bucket lifecycle add g1t-agent-homes abort-uploads homes/ --abort-multipart-days 1 |
| 71 | 70 | | // |
| 72 | | − | // Until then computers work but forget their home when they sleep, and |
| 71 | + | // Without it computers work but forget their home when they sleep, and |
| 73 | 72 | | // the Computer tab says the disk isn't attached yet. |
| 74 | | − | // |
| 75 | | − | // "r2_buckets": [{ "binding": "HOMES", "bucket_name": "g1t-agent-homes" }], |
| 73 | + | "r2_buckets": [{ "binding": "HOMES", "bucket_name": "g1t-agent-homes" }], |
| 76 | 74 | | "services": [ |
| 77 | 75 | | { "binding": "IDENTITY", "service": "g1t-identity" }, |
| 78 | 76 | | { "binding": "REPOS", "service": "g1t-repos" }, |