// Package semver is THE hub's controller/agent version comparator (house rule: one comparator). // Extracted from web.compareVersions (v0.45.0) so the store's managed-floor MinAgent gate can share // it without an import cycle (store/api don't import web). web.compareVersions now delegates here. package semver import ( "strconv" "strings" ) // Compare returns >0 if a>b, 0 if equal, <0 if a