Imported as a linear vendor commit so forge rebases do not replay the upstream root tree. git-subtree-dir: third_party/pi git-subtree-split: 71023aec1546d6d677a65669c5665c0927ce0dd0
16 lines
626 B
JSON
16 lines
626 B
JSON
{
|
|
"$schema": "node_modules/wrangler/config-schema.json",
|
|
"name": "pi-codemode-agent-example",
|
|
"main": "src/index.ts",
|
|
"compatibility_date": "2026-04-22",
|
|
"durable_objects": {
|
|
"bindings": [
|
|
{ "name": "SESSION", "class_name": "Session" },
|
|
// The sandbox class lives in its own Worker. `script_name` is what puts scripts in a different
|
|
// isolate; binding a class exported from this Worker would run them on the session's thread.
|
|
{ "name": "CODEMODE_SANDBOX", "class_name": "CodemodeSandbox", "script_name": "pi-codemode-sandbox" }
|
|
]
|
|
},
|
|
"migrations": [{ "tag": "v1", "new_sqlite_classes": ["Session"] }]
|
|
}
|