Help us shape the future of Go! Take the 2026 Go Developer Survey

skillmount

package
v2.219.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package skillmount links configured skill roots into harness-native skill directories while tracking exactly which links agent-compose owns.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Catalog

type Catalog struct {
	Path   string
	Source string
}

Catalog is a verified skill root projected to every configured load point, applied after local repositories in declaration order. Source is its origin.

type Request

type Request struct {
	Name    string
	Path    string
	Address string
}

Request is one skill reached by address rather than found on a root. It carries the address so a collision or a warning names what was asked for.

type Result

type Result struct {
	Linked     int
	Removed    int
	Skipped    int
	Verified   int
	Managed    int
	LoadPoints int
	Warnings   []string
}

Result summarizes one convergence. Warnings retain the affected path so a host operator can repair unavailable catalog entries.

func Apply

func Apply(manifestPath string, loadPoints map[string]string, stateDir string) (Result, error)

Apply converges eligible repository skill roots into configured load points. Later eligible repositories win duplicate names. Unowned entries always win.

func ApplyWithCatalogs

func ApplyWithCatalogs(
	manifestPath string,
	loadPoints map[string]string,
	stateDir string,
	catalogs []Catalog,
) (Result, error)

ApplyWithCatalogs converges local eligible repositories plus verified additional catalogs into the configured native load points.

func ApplyWithRequests

func ApplyWithRequests(
	manifestPath string,
	loadPoints map[string]string,
	stateDir string,
	catalogs []Catalog,
	requests []Request,
) (Result, error)

ApplyWithRequests converges roots, catalogues, and skills named by address.

Jump to

Keyboard shortcuts

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