CUB-123: Integrate gateway, wire PostgreSQL repositories, add SSE streaming #37
Reference in New Issue
Block a user
Delete Branch "agent/dex/CUB-123-gateway-integration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
AgentRepo,SessionRepo,TaskRepo,ProjectRepofor DIGET /api/eventswithBrokermanaging client connections intext/event-streamformatGATEWAY_URLandGATEWAY_POLL_INTERVALenv varsVerification
Files
go-backend/internal/repository/— 5 new files (agent, session, task, project repos + interfaces)go-backend/internal/gateway/client.go— Gateway polling + seedinggo-backend/internal/handler/sse.go— SSE broker + endpointgo-backend/internal/handler/— Updated agent, session, task, project handlersgo-backend/internal/router/router.go— Added SSE route, Pool refactorgo-backend/internal/config/config.go— Gateway config fieldsgo-backend/cmd/server/main.go— Wiring