package selfupdate // Version comparison moved to internal/util/version.go (v0.115.0) so agentapi's MinAgent // capability comparison shares THE one comparator without an import cycle (this package imports // agentapi). These aliases keep every selfupdate call site and test byte-unchanged. import "gitea.dooplex.hu/admin/felhom-controller/internal/util" // Version represents a semantic version (Major.Minor.Patch). type Version = util.Version // ParseVersion parses "X.Y.Z" or "vX.Y.Z". Returns error for "dev", "latest", or invalid formats. func ParseVersion(s string) (Version, error) { return util.ParseVersion(s) }