mirror of
https://gitee.com/zhangsken/opencode.git
synced 2026-10-16 10:30:01 +08:00
41 lines
904 B
JSON
41 lines
904 B
JSON
{
|
|
"$schema": "node_modules/wrangler/config-schema.json",
|
|
"name": "opencode-update",
|
|
"main": "src/index.ts",
|
|
"compatibility_date": "2026-07-21",
|
|
"workers_dev": false,
|
|
"preview_urls": false,
|
|
"pipelines": [
|
|
{
|
|
"binding": "EVENTS",
|
|
// Shared lake stream from anomalyco/platform/production.
|
|
"stream": "251a89241c3a461c9007f6b6f345ed8b",
|
|
},
|
|
],
|
|
"routes": [
|
|
{
|
|
"pattern": "update.opencode.ai",
|
|
"custom_domain": true,
|
|
},
|
|
{
|
|
"pattern": "opencode.ai/update",
|
|
"zone_name": "opencode.ai",
|
|
},
|
|
{
|
|
"pattern": "opencode.ai/update/*",
|
|
"zone_name": "opencode.ai",
|
|
},
|
|
],
|
|
"d1_databases": [
|
|
{
|
|
"binding": "DB",
|
|
"database_name": "opencode-update",
|
|
"database_id": "2c010a96-811f-43d5-804d-7188534e5858",
|
|
"migrations_dir": "migrations",
|
|
},
|
|
],
|
|
"observability": {
|
|
"enabled": true,
|
|
},
|
|
}
|