feat(good-fences): a deploy config, with the loader codemode needs

Deploys the Neighbor agent as good-fences3. worker_loaders (Dynamic
Workers) is refused on the free plan, including Wrangler's temporary
accounts, so this deploys to a Workers Paid account with a token scoped
to this one Worker (.env, gitignored).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dckcandClaude Opus 5.5 committed 2026-11-03 23:18:55 -06:00
1 parent 9a15fb2a86
commit 76ec2c0019
1 file changed
+18
+18
View File
@@ -0,0 +1,18 @@
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "good-fences3",
"main": "./src/worker.ts",
"compatibility_date": "2026-10-01",
"compatibility_flags": ["nodejs_compat"],
"ai": { "binding": "AI" },
// Dynamic Workers: deploying this binding takes the Workers Paid plan
"worker_loaders": [{ "binding": "LOADER" }],
"durable_objects": {
"bindings": [{ "name": "Neighbor", "class_name": "Neighbor" }]
},
"exports": {
"Neighbor": { "type": "durable-object", "storage": "sqlite" },
// codemode's runtime, a facet of the agent's DO
"CodemodeRuntime": { "type": "durable-object", "storage": "sqlite" }
}
}