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

Method Install

internal/metadata/refresh.go:318–320  ·  view source on GitHub ↗

Install installs an item from the metadata index into one target app. The resource content is fetched from its source repository at install time so the installed file carries the real manifest, not an empty placeholder.

(ctx context.Context, kind, installKey, targetApp string)

Source from the content-addressed store, hash-verified

316// resource content is fetched from its source repository at install time so the
317// installed file carries the real manifest, not an empty placeholder.
318func (svc *Service) Install(ctx context.Context, kind, installKey, targetApp string) error {
319 return svc.InstallToTargets(ctx, kind, installKey, []string{targetApp})
320}
321
322// InstallInstructionToTargets installs an instruction item into multiple target
323// agents at the given install level. User-level installs use the app-specific

Callers 2

TestInstallItemFunction · 0.95

Calls 1

InstallToTargetsMethod · 0.95

Tested by 1

TestInstallItemFunction · 0.76