NewWeekly newsletter with catalog picks and agent news · Read
ToolsMCPBlogResearchCommunityStar on GitHub
All Tools
G
Dev ToolsFreeOpen Source

GO-VERSION

Parse and constrain versions in Go

MPL-2.0

ABOUT

Agent CLIs and plugin hosts need to compare tool and model versions, and string compares break on SemVer. go-version parses versions and constraints so incompatible plugins and runtimes fail before they load.

INSTALL
go get github.com/hashicorp/go-version

INTEGRATION GUIDE

1. Reject agent plugins that do not satisfy a version constraint 2. Compare model-runtime versions in a Go launcher 3. Parse SemVer from a lockfile or manifest in CI 4. Gate eval jobs on a minimum supported tool version

TAGS

gosemverversioninghashicorpplugins