plugin

package
v0.0.0-...-f56615f Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2026 License: MIT Imports: 9 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

Overview

Package plugin loads trusted local extension bundles. A plugin may contribute MCP servers, hooks, instructions, and skills without changing SuperCode.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SaveManifest

func SaveManifest(path string, value Manifest) error

Types

type Bundle

type Bundle struct {
	Names      []string
	Overlay    config.File
	SkillRoots []string
}

func Discover

func Discover(roots ...string) (Bundle, error)

type Manifest

type Manifest struct {
	Name         string                      `yaml:"name"`
	Version      string                      `yaml:"version,omitempty"`
	Enabled      *bool                       `yaml:"enabled,omitempty"`
	Instructions string                      `yaml:"instructions,omitempty"`
	Skills       string                      `yaml:"skills,omitempty"`
	MCPServers   map[string]config.MCPServer `yaml:"mcp_servers,omitempty"`
	Hooks        map[string][]config.Hook    `yaml:"hooks,omitempty"`
}

func LoadManifest

func LoadManifest(path string) (Manifest, error)

Jump to

Keyboard shortcuts

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