MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / defaultManifest

Function defaultManifest

internal/metadata/refresh.go:490–502  ·  view source on GitHub ↗
(kind string)

Source from the content-addressed store, hash-verified

488}
489
490func defaultManifest(kind string) string {
491 switch kind {
492 case "skill":
493 return "SKILL.md"
494 case "agent":
495 return "AGENT.md"
496 case "instruction":
497 return "INSTRUCTION.md"
498 case "plugin":
499 return "plugin.json"
500 }
501 return "README.md"
502}
503
504// AvailableTargets returns the list of code agent IDs that support the given
505// kind, sorted. Used by the UI to populate the install-target picker.

Callers 1

fetchResourceManifestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected