managarten/services
Till JS 068a64b275 feat(sync): add SSE streaming endpoint for real-time sync
New endpoint GET /sync/{appId}/stream sends Server-Sent Events with
change data directly, replacing the WebSocket notification + HTTP pull
round-trip pattern.

Server (Go):
- HandleStream() in handler.go: SSE endpoint with initial sync + live streaming
- Hub.Subscribe()/Unsubscribe() in hub.go: channel-based SSE subscriber system
- Notification type for type-safe SSE events
- convertChanges() helper extracted from duplicated code
- WriteTimeout set to 0 for SSE long-lived connections

Protocol: Client connects to /sync/{appId}/stream?collections=a,b&since=...
Server sends initial changes, then streams live changes as other clients sync.
Heartbeat every 30s keeps connection alive. Push still uses POST /sync/{appId}.

WebSocket remains available as fallback (not removed).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-02 22:24:10 +02:00
..
mana-analytics refactor(db): consolidate ~20+ databases into 2 (mana_platform + mana_sync) 2026-04-02 14:31:28 +02:00
mana-api-gateway refactor(shared-go): extract shared auth package from 3 Go services 2026-04-02 13:27:44 +02:00
mana-auth refactor(db): consolidate ~20+ databases into 2 (mana_platform + mana_sync) 2026-04-02 14:31:28 +02:00
mana-crawler fix(docker): add shared-go COPY to all Go service Dockerfiles 2026-03-28 16:34:40 +01:00
mana-credits refactor(db): consolidate ~20+ databases into 2 (mana_platform + mana_sync) 2026-04-02 14:31:28 +02:00
mana-image-gen fix: resolve port conflict (mana-image-gen 3025→3026) and replace APP_URLS with internal routes 2026-04-02 12:56:37 +02:00
mana-landing-builder fix(landing-builder): rework Dockerfile to copy workspace directly 2026-03-23 13:50:22 +01:00
mana-llm feat(mana-llm): add Google Gemini fallback provider with auto-routing 2026-03-23 22:44:09 +01:00
mana-matrix-bot refactor: rename ManaDeck to Cards across entire monorepo 2026-04-01 11:45:21 +02:00
mana-media refactor(db): consolidate ~20+ databases into 2 (mana_platform + mana_sync) 2026-04-02 14:31:28 +02:00
mana-notify refactor(shared-go): extract shared auth package from 3 Go services 2026-04-02 13:27:44 +02:00
mana-search fix(docker): add shared-go COPY to all Go service Dockerfiles 2026-03-28 16:34:40 +01:00
mana-stt refactor(shared-python): extract shared auth package from mana-stt and mana-tts 2026-04-02 14:09:32 +02:00
mana-subscriptions refactor(db): consolidate ~20+ databases into 2 (mana_platform + mana_sync) 2026-04-02 14:31:28 +02:00
mana-sync feat(sync): add SSE streaming endpoint for real-time sync 2026-04-02 22:24:10 +02:00
mana-tts refactor(shared-python): extract shared auth package from mana-stt and mana-tts 2026-04-02 14:09:32 +02:00
mana-user refactor(db): consolidate ~20+ databases into 2 (mana_platform + mana_sync) 2026-04-02 14:31:28 +02:00
mana-video-gen feat(mana-video-gen): add AI video generation service with LTX-Video 2026-04-02 01:17:47 +02:00
mana-voice-bot feat(mana-voice-bot): add German voice-to-voice assistant service 2026-02-01 02:21:13 +01:00