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

Function InstalledApps

internal/entities/apps.go:409–421  ·  view source on GitHub ↗

InstalledApps returns only the apps whose CLI binary is found on PATH.

(kind Kind)

Source from the content-addressed store, hash-verified

407
408// InstalledApps returns only the apps whose CLI binary is found on PATH.
409func InstalledApps(kind Kind) []string {
410 apps := AppPathsFor(kind)
411 var out []string
412 for _, info := range agentRegistry {
413 if _, ok := apps[info.ID]; !ok {
414 continue // this agent doesn't support this kind
415 }
416 if IsAgentInstalled(info) {
417 out = append(out, info.ID)
418 }
419 }
420 return out
421}
422
423// InstallToApp writes the entity's content to the resolved location for app.
424// For prompts/instructions: writes Content as a single file. For skills/agents/plugins:

Callers

nothing calls this directly

Calls 2

AppPathsForFunction · 0.85
IsAgentInstalledFunction · 0.85

Tested by

no test coverage detected