source

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CatalogData

type CatalogData struct {
	Skills       []skill.Metadata
	Sets         []SkillSet
	Dependencies map[string][]string
}

func (CatalogData) ResolveDependencies

func (c CatalogData) ResolveDependencies(ids []string) ([]string, error)

ResolveDependencies returns each requested skill and its dependencies once, with dependencies before their dependents.

type Repository

type Repository struct {
	Source   string
	CacheDir string
}

func (Repository) Catalog

func (r Repository) Catalog(refresh bool) ([]skill.Metadata, string, error)

func (Repository) Open

func (r Repository) Open(refresh bool) (string, error)

func (Repository) Registry

func (r Repository) Registry(refresh bool) (CatalogData, string, error)

type SkillSet

type SkillSet struct {
	Name        string   `json:"name"`
	Description string   `json:"description"`
	Skills      []string `json:"skills"`
}

Jump to

Keyboard shortcuts

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