Documentation
¶
Overview ¶
Package stack defines the Engine interface and a registry of curated engines. Multiversa orchestrates these engines; it does not author them. See internal/credits for canonical attribution.
Index ¶
- Variables
- func Registry() map[string]Engine
- type CodeGraph
- func (CodeGraph) Author() string
- func (c CodeGraph) Command(version string) []string
- func (CodeGraph) DisplayName() string
- func (CodeGraph) ID() string
- func (c CodeGraph) Install(version string) error
- func (CodeGraph) License() string
- func (CodeGraph) OptIn() bool
- func (CodeGraph) Prereq() string
- func (CodeGraph) Repo() string
- func (c CodeGraph) Status() (Status, error)
- func (c CodeGraph) Uninstall() error
- type Engine
- type Engram
- func (Engram) Author() string
- func (e Engram) Command(version string) []string
- func (Engram) DisplayName() string
- func (Engram) ID() string
- func (e Engram) Install(version string) error
- func (Engram) License() string
- func (Engram) OptIn() bool
- func (Engram) Prereq() string
- func (Engram) Repo() string
- func (e Engram) Status() (Status, error)
- func (e Engram) Uninstall() error
- type GentleAI
- func (GentleAI) Author() string
- func (g GentleAI) Command(version string) []string
- func (GentleAI) DisplayName() string
- func (GentleAI) ID() string
- func (g GentleAI) Install(version string) error
- func (GentleAI) License() string
- func (GentleAI) OptIn() bool
- func (GentleAI) Prereq() string
- func (GentleAI) Repo() string
- func (g GentleAI) Status() (Status, error)
- func (g GentleAI) Uninstall() error
- type GentlePi
- func (GentlePi) Author() string
- func (g GentlePi) Command(version string) []string
- func (GentlePi) DisplayName() string
- func (GentlePi) ID() string
- func (g GentlePi) Install(version string) error
- func (GentlePi) License() string
- func (GentlePi) OptIn() bool
- func (GentlePi) Prereq() string
- func (GentlePi) Repo() string
- func (g GentlePi) Status() (Status, error)
- func (g GentlePi) Uninstall() error
- type Graphify
- func (Graphify) Author() string
- func (g Graphify) Command(version string) []string
- func (Graphify) DisplayName() string
- func (Graphify) ID() string
- func (g Graphify) Install(version string) error
- func (Graphify) License() string
- func (Graphify) OptIn() bool
- func (Graphify) Prereq() string
- func (Graphify) Repo() string
- func (g Graphify) Status() (Status, error)
- func (g Graphify) Uninstall() error
- type MiroFish
- func (MiroFish) Author() string
- func (m MiroFish) Command(version string) []string
- func (MiroFish) DisplayName() string
- func (MiroFish) ID() string
- func (m MiroFish) Install(version string) error
- func (MiroFish) License() string
- func (MiroFish) OptIn() bool
- func (MiroFish) Prereq() string
- func (MiroFish) Repo() string
- func (m MiroFish) Status() (Status, error)
- func (m MiroFish) Uninstall() error
- type Status
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotImplemented = errors.New("not implemented yet") ErrAgplConsentRequired = errors.New("AGPL-3.0 disclaimer not acknowledged — MiroFish must be invoked external-only") )
Functions ¶
Types ¶
type Engine ¶
type Engine interface {
ID() string
DisplayName() string
Author() string
Repo() string
License() string
OptIn() bool
// Prereq returns the name of the external tool required to install this
// engine (e.g. "go", "pipx", "pnpm", "docker"). Empty string if no
// prerequisite is needed. NOTE: Multiversa policy bans npm — pnpm only.
Prereq() string
// Command returns the install command as a slice (program + args), to be
// executed via internal/exec.Run. Multiversa prints this command to the
// user before running it.
Command(version string) []string
// Install is a convenience wrapper around Command. Most callers should
// use Command + exec.Run directly so they can stream progress.
Install(version string) error
// Status checks whether the engine is already present locally.
Status() (Status, error)
// Uninstall removes the engine (best-effort).
Uninstall() error
}
Engine is the contract every curated engine must satisfy.
type MiroFish ¶
type MiroFish struct {
AgplAcknowledged bool
}
MiroFish is invoked external-only because of AGPL-3.0. Multiversa never embeds, vendors, forks, or `go install`s MiroFish source. We pull the upstream container image and treat it as a separate service.
func (MiroFish) DisplayName ¶
Click to show internal directories.
Click to hide internal directories.