feat(03-02): SSE connection manager, SSE endpoint, and command controller

- SseConnectionManager with per-agent SseEmitter, ping keepalive, event delivery
- AgentSseController GET /{id}/events SSE endpoint with Last-Event-ID support
- AgentCommandController with single/group/broadcast command targeting + ack
- WebConfig excludes SSE events path from protocol version interceptor

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-03-11 18:45:47 +01:00
parent af0af9ce38
commit 5746886a0b
4 changed files with 407 additions and 1 deletions

View File

@@ -28,7 +28,8 @@ public class WebConfig implements WebMvcConfigurer {
"/api/v1/health",
"/api/v1/api-docs/**",
"/api/v1/swagger-ui/**",
"/api/v1/swagger-ui.html"
"/api/v1/swagger-ui.html",
"/api/v1/agents/*/events"
);
}
}