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

Function IsAgentInstalled

internal/entities/apps.go:89–92  ·  view source on GitHub ↗

IsAgentInstalled checks if an agent's CLI binary is on PATH.

(info AgentInfo)

Source from the content-addressed store, hash-verified

87
88// IsAgentInstalled checks if an agent's CLI binary is on PATH.
89func IsAgentInstalled(info AgentInfo) bool {
90 _, err := exec.LookPath(info.CLIBinary)
91 return err == nil
92}
93
94// AppPaths describes where a given app stores a kind of entity on disk. All
95// paths are user-level; project-level support can be added by callers if

Callers 2

promptSelectAppFunction · 0.92
InstalledAppsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected