The current healthcheck response contains a redundant details array and lacks specific identification for active sessions and windows.
Goal:
- Remove the
details array.
- Enrich the response object to include:
sessions: List of active App Worker Sessions (id, connectedAt).
windows: List of connected Windows (id, appName, width, height, x, y).
agents: List of other connected Agents (ids).
Rationale for Dimensions:
Including basic dimensions (width/height) helps immediately distinguish between main application windows and smaller popups/dialogs without requiring an extra get_window_topology call, saving agent turns.
Changes:
ConnectionService.getStatus(): Return richer window metadata.
HealthService.healthcheck(): Construct the new response payload.
openapi.yaml: Update HealthCheckResponse schema.
Reference: #8169 (Epic)
The current
healthcheckresponse contains a redundantdetailsarray and lacks specific identification for active sessions and windows.Goal:
detailsarray.sessions: List of active App Worker Sessions (id, connectedAt).windows: List of connected Windows (id, appName, width, height, x, y).agents: List of other connected Agents (ids).Rationale for Dimensions: Including basic dimensions (width/height) helps immediately distinguish between main application windows and smaller popups/dialogs without requiring an extra
get_window_topologycall, saving agent turns.Changes:
ConnectionService.getStatus(): Return richer window metadata.HealthService.healthcheck(): Construct the new response payload.openapi.yaml: UpdateHealthCheckResponseschema.Reference: #8169 (Epic)