{"modulePath":"github.com/daemon365/supercode","version":"v0.0.0-20260802105639-f56615fdcfd1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package plugin\n\nPackage plugin loads trusted local extension bundles. A plugin may contribute MCP servers, hooks, instructions, and skills without changing SuperCode.\n\n## Functions\n\n```go\nfunc SaveManifest(path string, value Manifest) error\n```\n\n## Types\n\n```go\ntype Bundle struct {\n\tNames      []string\n\tOverlay    config.File\n\tSkillRoots []string\n}\n```\n\n```go\nfunc Discover(roots ...string) (Bundle, error)\n```\n\n```go\ntype Manifest struct {\n\tName         string                      `yaml:\"name\"`\n\tVersion      string                      `yaml:\"version,omitempty\"`\n\tEnabled      *bool                       `yaml:\"enabled,omitempty\"`\n\tInstructions string                      `yaml:\"instructions,omitempty\"`\n\tSkills       string                      `yaml:\"skills,omitempty\"`\n\tMCPServers   map[string]config.MCPServer `yaml:\"mcp_servers,omitempty\"`\n\tHooks        map[string][]config.Hook    `yaml:\"hooks,omitempty\"`\n}\n```\n\n```go\nfunc LoadManifest(path string) (Manifest, error)\n```\n\n","path":"github.com/daemon365/supercode/internal/plugin","name":"plugin","synopsis":"Package plugin loads trusted local extension bundles.","isRedistributable":true}
