node.js adapter

This commit is contained in:
Tienson Qin
2026-01-30 22:51:44 +08:00
parent 595957ef05
commit b8445a6395
29 changed files with 1197 additions and 11 deletions

View File

@@ -47,6 +47,8 @@ This guide helps AI agents implement and review db-sync features consistently ac
## Testing & Verification
- Local dev(client+server): `bb dev:db-sync-start` runs the db-sync watcher, `wrangler dev`, and `yarn watch` with `ENABLE_DB_SYNC_LOCAL=true`
- DB-sync server side unit-tests: `bb dev:db-sync-test`
- Node adapter tests: `cd deps/db-sync && npm run test:node-adapter`
- Node adapter build/run: `cd deps/db-sync && npm run build:node-adapter && npm run start:node-adapter`
## Review Checklist
- Protocol versioning and error handling are consistent across client/server.