Versions in this module Expand all Collapse all v0 v0.1.3 Jul 3, 2026 Changes in this version + var InstallUX = InstallUXText + func ComputeBundleContentHash(bundle SkillBundle) (string, error) + func InstallFlagError(errs []map[string]any) error + func InstallWorkflowError(report InstallWorkflowReport) error + type AgentSelector struct + IDs []string + Kind string + func AgentSelectorFromFlags(values []string) (AgentSelector, []map[string]any) + func AllAgents() AgentSelector + func AutoAgents() AgentSelector + func ExplicitAgents(ids ...string) AgentSelector + type BaseOptions struct + CWD string + Home string + HostsFile string + type GitHubBundleOptions struct + Owner string + Path string + Ref string + Repo string + type Host struct + Aliases []string + Detect []string + DisplayName string + ID string + Notes []string + ProjectSkillsDir []string + Status string + UserSkillsDir []string + func DetectHosts(opts BaseOptions, scope Scope) ([]Host, error) + func LoadHostSpec(hostsFile string) ([]Host, error) + func ResolveHosts(agents AgentSelector, hosts []Host) ([]Host, []map[string]any) + type InstallFlagValues struct + Agents []string + DryRun bool + Force bool + Scope string + ScopeSet bool + Yes bool + type InstallOptions struct + Agents AgentSelector + AppID string + Force bool + Scope Scope + SkillBundle SkillBundle + type InstallReport struct + Conflicts []TargetStatus + Errors []ReportError + Installed []TargetResult + Skipped []TargetStatus + Updated []TargetResult + func InstallBundledSkill(opts InstallOptions) (InstallReport, error) + func PlanBundledSkill(opts InstallOptions) (InstallReport, error) + func UpdateBundledSkill(opts InstallOptions) (InstallReport, error) + type InstallSelection struct + Action string + CandidateHostIDs []string + DetectedHostIDs []string + Errors []map[string]any + NeedsConfirmation bool + SelectedHostIDs []string + func ResolveInstallSelection(opts InstallSelectionOptions) (InstallSelection, error) + type InstallSelectionOptions struct + Agents AgentSelector + CurrentAgent string + Scope Scope + StdinTTY bool + Yes bool + type InstallUXText struct + AgentFlag string + AgentsPrompt string + Canceled string + Conflict string + DryRunFlag string + ErrorPrefix string + Failed string + ForceFlag string + InstallShort string + InstallSummary string + InstallUse string + InvalidAgentSelection string + InvalidFlags string + InvalidScopeSelection string + Proceed string + ScopeFlag string + ScopePrompt string + SelectAgents string + SelectScope string + SelectionError string + SkillShort string + SkillUse string + YesFlag string + type InstallWorkflowExit struct + Code string + Message string + OK bool + func ClassifyInstallWorkflowExit(report InstallWorkflowReport) InstallWorkflowExit + type InstallWorkflowOptions struct + CurrentAgent string + DefaultScope Scope + DryRun bool + Err io.Writer + In io.Reader + Out io.Writer + PromptScope bool + ScopeSet bool + StdinTTY bool + Yes bool + type InstallWorkflowReport struct + Canceled bool + DryRun bool + Plan InstallReport + Report InstallReport + Scope Scope + Selection InstallSelection + func RunBundledSkillInstall(opts InstallWorkflowOptions) (InstallWorkflowReport, error) + type ParsedInstallFlags struct + Agents AgentSelector + DryRun bool + Errors []map[string]any + Force bool + Scope Scope + ScopeSet bool + Yes bool + func ParseInstallFlags(flags InstallFlagValues) ParsedInstallFlags + type ReportError struct + Agent string + Flag string + HostID string + Reason string + Scope Scope + SkillName string + Value string + type Scope string + const ProjectScope + const UserScope + func ParseScopeFlag(value string) (Scope, []map[string]any) + type SkillBundle struct + func DirectoryBundle(dir string) SkillBundle + func FSBundle(fsys fs.FS, root string) SkillBundle + func FilesBundle(files []SkillFile) SkillBundle + func GitHubBundle(opts GitHubBundleOptions) SkillBundle + type SkillFile struct + Contents []byte + Mode fs.FileMode + Path string + type SkillInfo struct + Description string + ErrorCode string + SkillName string + Valid bool + func ValidateSkillBundle(bundle SkillBundle) SkillInfo + type TargetGroup struct + HostIDs []string + SkillName string + TargetDir string + func ResolveInstallTargets(opts BaseOptions, agents AgentSelector, scope Scope, skillName string) ([]TargetGroup, []map[string]any, []string, error) + type TargetResult struct + HostID string + HostIDs []string + SkillName string + TargetDir string + type TargetStatus struct + Reason string + type UninstallOptions struct + Agents AgentSelector + AppID string + Scope Scope + SkillName string + type UninstallReport struct + Conflicts []TargetStatus + Errors []ReportError + Removed []TargetResult + Skipped []TargetStatus + func UninstallBundledSkill(opts UninstallOptions) (UninstallReport, error)