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

Function AppPathsFor

internal/entities/apps.go:202–214  ·  view source on GitHub ↗

AppPathsFor returns the destinations for a Kind keyed by app name.

(kind Kind)

Source from the content-addressed store, hash-verified

200
201// AppPathsFor returns the destinations for a Kind keyed by app name.
202func AppPathsFor(kind Kind) map[string]string {
203 switch kind {
204 case KindPrompt, KindInstruction:
205 return promptApps
206 case KindSkill:
207 return skillApps
208 case KindAgent:
209 return agentApps
210 case KindPlugin:
211 return pluginApps
212 }
213 return nil
214}
215
216// InstallLevel identifies the scope of an instruction install.
217type InstallLevel string

Callers 12

installEntityToAppFunction · 0.92
entityListCommandFunction · 0.92
promptSelectAppFunction · 0.92
isAlreadyInstalledFunction · 0.92
uninstallAllFromAppFunction · 0.92
interactiveUninstallFunction · 0.92
InstalledAppsForFunction · 0.92
SupportedAppsFunction · 0.85
InstalledAppsFunction · 0.85
InstallToAppFunction · 0.85
UninstallFromAppFunction · 0.85

Calls

no outgoing calls

Tested by 2

installEntityToAppFunction · 0.74