installer

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2026 License: MIT Imports: 16 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Targets = []string{"codex", "copilot", "antigravity", "claude", "opencode"}

Functions

func Catalog

func Catalog() (skills []string, specialists []agent.Summary, err error)

Types

type Entry

type Entry struct {
	Path   string `json:"path"`
	Kind   string `json:"kind"`
	Digest string `json:"sha256,omitempty"`
}

type Manifest

type Manifest struct {
	Version      int       `json:"manifest_version"`
	PrismVersion string    `json:"prism_version"`
	BundleDigest string    `json:"bundle_digest"`
	Scope        Scope     `json:"scope"`
	InstalledAt  time.Time `json:"installed_at"`
	Entries      []Entry   `json:"entries"`
}

func LoadManifest

func LoadManifest(path string) (Manifest, error)

func Uninstall

func Uninstall(scope Scope, rootOverride string, dryRun bool) (Manifest, error)

type Options

type Options struct {
	Scope       Scope
	Root        string
	Targets     []string
	Skills      []string
	Specialists []string
	Copy        bool
	Force       bool
	DryRun      bool
	Binary      string
}

type Plan

type Plan struct {
	Version      string
	BundleDigest string
	Scope        Scope
	Targets      []string
	Skills       []string
	Specialists  []string
	Paths        []string
	ManifestPath string
}

func BuildPlan

func BuildPlan(opts Options) (Plan, error)

func Install

func Install(opts Options) (Plan, error)

type Scope

type Scope string
const (
	Project Scope = "project"
	Global  Scope = "global"
)

Jump to

Keyboard shortcuts

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