Reference

Configuration

Bindings, variables, secrets, hosts and scripts.

Everything the ai-catalog Worker is bound to, from wrangler.jsonc.

Worker

Setting Value
Name ai-catalog
Entry point custom-worker.ts
Compatibility date 2026-08-26
Compatibility flags nodejs_compat
Observability On

Bindings

Binding Type Resource
DB D1 database ai-catalog-db
DOCS R2 bucket ai-catalog-documents
WORKER_SELF_REFERENCE Service binding ai-catalog
IMAGES Images —
ASSETS Static assets .open-next/assets

Secrets

Required: EDIT_PASSCODE. Set each one on the Worker with npx wrangler secret put <NAME>, and in .dev.vars for local runs.

Hosts

Address Kind
ai-products.appneurox.com Custom domain
*.ai.appneural.com/* Route (zone appneural.com)

npm scripts

Script Runs
dev next dev
build next build
start next start
lint eslint .
typecheck tsc --noEmit
db:migrate:local wrangler d1 migrations apply ai-catalog-db --local
db:migrate:remote wrangler d1 migrations apply ai-catalog-db --remote
deploy opennextjs-cloudflare build && opennextjs-cloudflare deploy --env=""
preview opennextjs-cloudflare build && opennextjs-cloudflare preview
cf-typegen wrangler types --env-interface CloudflareEnv ./cloudflare-env.d.ts
Last updated 2 November 2026