placer

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2026 License: MIT Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL