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

Function skillSourceLabel

internal/cli/skill_workspace.go:591–608  ·  view source on GitHub ↗
(source skills.SkillSource)

Source from the content-addressed store, hash-verified

589}
590
591func skillSourceLabel(source skills.SkillSource) string {
592 switch source {
593 case skills.SourceBundled:
594 return bundledSkillSource
595 case skills.SourceMarketplace:
596 return marketplaceSkillSource
597 case skills.SourceUser:
598 return userSkillSource
599 case skills.SourceAdditional:
600 return additionalSkillSource
601 case skills.SourceWorkspace:
602 return workspaceSkillSource
603 case skills.SourceAgentLocal:
604 return agentLocalSkillSource
605 default:
606 return providerModelAvailabilityUnknown
607 }
608}
609
610func sortedSkillMetadataEntries(metadata map[string]any) []keyValue {
611 if len(metadata) == 0 {

Callers 5

skillListItemsFunction · 0.70
skillInfoItemFromSkillFunction · 0.70

Calls

no outgoing calls

Tested by 1