trails/apps/planner
Ullrich Schäfer cc041d3235
Fix Yjs WebSocket server to use sync protocol
The production server was sending raw Yjs updates but the client
(y-websocket's WebsocketProvider) expects the y-protocols sync protocol
with message type headers. This caused "Unexpected end of array" errors
on every connection.

Rewrite to match the Vite dev plugin: use y-protocols/sync for document
sync, y-protocols/awareness for presence, and lib0 for encoding.

Verified locally: server starts, WebSocket connects, sync messages
exchange correctly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 02:24:13 +01:00
..
app Fix Yjs WebSocket server to use sync protocol 2026-03-25 02:24:13 +01:00
Dockerfile Fix production deploy: TypeScript support + DB schema push 2026-03-25 01:26:16 +01:00
package.json Fix Yjs WebSocket in dev mode 2026-03-23 01:12:13 +01:00
react-router.config.ts Complete monorepo toolchain setup (tasks 1.1-1.7) 2026-03-22 12:12:57 +01:00
server.ts Serve static assets in planner's custom server 2026-03-25 02:01:27 +01:00
tsconfig.json Fix planner production server + use .ts extensions everywhere 2026-03-25 01:41:33 +01:00
vite.config.ts Fix planner production server + use .ts extensions everywhere 2026-03-25 01:41:33 +01:00