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:
1 parent
9a15fb2a86
commit
76ec2c0019
1 file changed
+18
@@ -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" }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user