CUB-202: add real-time event handlers for sessions.changed, presence, agent.config
Some checks failed
Dev Build / build-test (pull_request) Failing after 0s

This commit is contained in:
Dex
2026-05-20 11:13:53 +00:00
parent 60ba3e5b4f
commit 9062f8fa8d
2 changed files with 288 additions and 0 deletions

View File

@@ -213,6 +213,9 @@ func (c *WSClient) connectAndRun(ctx context.Context) error {
c.logger.Warn("initial sync failed, will continue with read loop", "error", err)
}
// Step 2c: Register live event handlers
c.registerEventHandlers()
// Step 3: Read loop
return c.readLoop(ctx, conn)
}