Files

15 lines
549 B
Markdown
Raw Permalink Normal View History

# 2.5 — GET /api/stream (mock, GREEN)
2026-08-18 20:41:34 -07:00
Phase: 2 — Topology (Surface B)
Stage: GREEN
- [x] `GET /api/stream` — SSE, `topology` event type, keepalive comment frame every 30s
2026-08-18 20:41:34 -07:00
Done — implemented in [app/api/stream/route.ts](../app/api/stream/route.ts). Emits a synthetic random-namespace delta every 5s plus a keepalive comment every 30s. Mock only: no session cookie, no 2-concurrent/IP cap, no `Last-Event-ID` resume, no real informer. See [REQUIREMENTS.md](REQUIREMENTS.md).
2026-08-18 20:41:34 -07:00
## Verify
```bash
curl -N http://localhost:3000/api/stream
2026-08-18 20:41:34 -07:00
```