MCPcopy Create free account
hub / github.com/compozy/agh / toolSourceSummary

Function toolSourceSummary

internal/cli/tool_operator.go:746–752  ·  view source on GitHub ↗
(source contract.ToolSourceRefPayload)

Source from the content-addressed store, hash-verified

744}
745
746func toolSourceSummary(source contract.ToolSourceRefPayload) string {
747 owner := strings.TrimSpace(source.Owner)
748 if owner == "" {
749 return string(source.Kind)
750 }
751 return string(source.Kind) + ":" + owner
752}
753
754func toolAvailabilitySummary(availability contract.ToolAvailabilityPayload) string {
755 switch {

Callers 3

toolListBundleFunction · 0.85
toolInfoBundleFunction · 0.85

Calls

no outgoing calls

Tested by 1