merge feat/probe-b6: item 7 B1-B6 (probe collector, history, contract API, ping, themes, notify)

# Conflicts:
#	internal/agent/agent.go
This commit is contained in:
Muse
2026-10-23 00:37:55 +00:00
341 changed files with 16398 additions and 18 deletions
+14
View File
@@ -194,6 +194,20 @@ func (a *APIController) initRouter(g *gin.RouterGroup) {
// never reach these.
agentAdmin := api.Group("/agent")
a.agentController.RegisterAdminRoutes(agentAdmin)
// Item 7 B3: probe metadata editing rides the same admin group
// (/panel/api/agent/probe-meta/:nodeId).
NewProbeMetaController(agentAdmin)
// Item 7 B4: probe task (latency target) management, same group
// (/panel/api/agent/probe-tasks*).
NewProbeTasksController(agentAdmin)
// Item 7 B5: theme store + public-surface settings, on the API
// group itself (/panel/api/probe/*).
NewProbeThemesController(api)
// Item 7 B6: notification settings + test send + cf-probe
// retirement coverage, same group (/panel/api/probe/notify*).
NewProbeNotifyController(api)
// Hosts API — per-inbound override endpoints for subscription links
hosts := api.Group("/hosts")