package dto

type (
	// OverviewResponse is the JSON response for the dashboard overview endpoint.
	OverviewResponse struct {
		Server  OverviewServer         `json:"server"`
		Summary OverviewSummary        `json:"summary"`
		Servers []OverviewServerConfig `json:"servers"`
	}

	// OverviewServer holds server address information in the overview.
	OverviewServer struct {
		Host    string `json:"host"`
		Port    int    `json:"port"`
		Address string `json:"address"`
	}

	// OverviewSummary holds aggregate counts for the overview dashboard.
	OverviewSummary struct {
		AgentCount          int `json:"agentCount"`
		RunningAgentCount   int `json:"runningAgentCount"`
		RuntimeCount        int `json:"runtimeCount"`
		EnabledRuntimeCount int `json:"enabledRuntimeCount"`
		ServerCount         int `json:"serverCount"`
		EnabledServerCount  int `json:"enabledServerCount"`
		SkillCount          int `json:"skillCount"`
	}

	// OverviewServerConfig is a brief server descriptor in the overview.
	OverviewServerConfig struct {
		ID      string `json:"id"`
		Enabled bool   `json:"enabled"`
	}
)
