Documentation
¶
Overview ¶
Package placer installs skills into agent directories by creating directory symlinks that point back into the .melon/ package cache.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Place ¶
func Place(deps []resolver.ResolvedDep, m manifest.Manifest, projectDir string, out io.Writer) error
Place creates a directory symlink for each dep in every agent directory derived from m.ToolCompat (or m.Outputs if declared). Each symlink points from <agent-dir>/<skill-name> into the corresponding .melon/ cache entry. Existing entries at the link path are removed before the symlink is created (idempotent). Returns the first error encountered.
func Unplace ¶
func Unplace(deps []lockfile.LockedDep, m manifest.Manifest, projectDir string, out io.Writer) error
Unplace removes the agent directory symlink for each dep in every agent directory derived from m.ToolCompat (or m.Outputs if declared). Missing symlinks are silently ignored. Returns the first error encountered.
Types ¶
This section is empty.