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

Method LaunchNames

internal/tools/registry.go:150–163  ·  view source on GitHub ↗

LaunchNames returns the enabled tools' CLI binary names (deduplicated and sorted). This is the canonical list of binaries `cam launch` and the interactive menu present to the user.

()

Source from the content-addressed store, hash-verified

148// sorted). This is the canonical list of binaries `cam launch` and the
149// interactive menu present to the user.
150func (r *Registry) LaunchNames() []string {
151 seen := map[string]struct{}{}
152 out := []string{}
153 for _, name := range r.EnabledNames() {
154 bin := r.Tools[name].LaunchCommand()
155 if _, ok := seen[bin]; ok {
156 continue
157 }
158 seen[bin] = struct{}{}
159 out = append(out, bin)
160 }
161 sort.Strings(out)
162 return out
163}

Calls 2

EnabledNamesMethod · 0.95
LaunchCommandMethod · 0.80