(source skills.SkillSource)
| 589 | } |
| 590 | |
| 591 | func 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 | |
| 610 | func sortedSkillMetadataEntries(metadata map[string]any) []keyValue { |
| 611 | if len(metadata) == 0 { |
no outgoing calls