b6842a4bc3
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PSK5g6qYLknKj8u3QAFEr6
14 lines
625 B
Go
14 lines
625 B
Go
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) }
|