Report each macOS app's build commit in /api/admin/status

This commit is contained in:
Ian Gulliver
2026-10-17 15:32:35 -07:00
parent 702ce49ff1
commit 24b04966dc
9 changed files with 306 additions and 241 deletions
+14 -1
View File
@@ -1680,7 +1680,7 @@ components:
Status:
type: object
required: [started_at, db_bytes, last_event_seq, projects, active_tasks, sse_clients, live_agents, running_turns, rate_limits, agent_processes, zombies, stuck_after_seconds, protocol_errors]
required: [started_at, db_bytes, last_event_seq, projects, active_tasks, sse_clients, clients, live_agents, running_turns, rate_limits, agent_processes, zombies, stuck_after_seconds, protocol_errors]
properties:
live_agents: { type: integer, description: Agent processes currently running. }
agent_processes:
@@ -1707,6 +1707,19 @@ components:
projects: { type: integer }
active_tasks: { type: integer }
sse_clients: { type: integer }
clients:
type: array
description: Each distinct user, Mac and app build with an open event stream, oldest connection first.
items: { $ref: "#/components/schemas/ConnectedClient" }
ConnectedClient:
type: object
required: [login, host, commit, connected_at]
properties:
login: { type: string }
host: { type: string, description: The Mac's name from its Byre-Host header; empty when the client sent none. }
commit: { type: string, description: The git commit the app was built from, from its Byre-Commit header; empty when the client sent none. }
connected_at: { type: string, format: date-time, description: When the client's oldest open stream connected. }
TurnRef:
type: object