Documentation
¶
Overview ¶
Package version exposes the prism build version. Single source of truth — consumed by the CLI, the MCP server, and the HTTP health endpoint.
Index ¶
Constants ¶
const GroveModule = "github.com/provasign/grove"
GroveModule is the Grove module path.
Variables ¶
var Version = "dev"
Version is overridden via -ldflags at build time for local dev builds.
Functions ¶
func LocalGroveAllowed ¶
func LocalGroveAllowed() bool
LocalGroveAllowed reports whether PRISM_ALLOW_LOCAL_GROVE=1 permits a replaced Grove (development against a sibling checkout).
Types ¶
type Grove ¶
type Grove struct {
Version string // the module version linked (or the pinned one, when replaced)
Replaced bool // a replace directive or go.work points it elsewhere
Path string // where it was replaced to, when Replaced
}
Grove describes the Grove engine linked into this binary.
func LinkedGrove ¶
LinkedGrove reads the Grove module from the binary's build info. ok is false when there is no build info (a test binary may lack it).