Get focus state
GET /api/v1/focus
GET
/api/v1/focus
Returns the aggregated viewer focus state across all connected clients.
Responses
Section titled “ Responses ”OK
object
activeViewers
ActiveViewers is the total number of focused client instances.
integer
focusedWorktrees
FocusedWorktrees maps “projectId:agentType” keys to deduplicated worktree ID lists.
object
key
additional properties
Array<string>