Versions in this module Expand all Collapse all v0 v0.12.0 Mar 9, 2026 v0.11.0 Mar 2, 2026 Changes in this version + type Adapter struct + func (a *Adapter) DefaultPaths() []string + func (a *Adapter) Marshal(plugin *core.Plugin) ([]byte, error) + func (a *Adapter) Name() string + func (a *Adapter) Parse(data []byte) (*core.Plugin, error) + func (a *Adapter) ReadFile(path string) (*core.Plugin, error) + func (a *Adapter) WriteFile(plugin *core.Plugin, path string) error + func (a *Adapter) WritePlugin(plugin *core.Plugin, dir string) error + type ClaudePlugin struct + Agents string + Author string + Commands string + Description string + Homepage string + Hooks *HooksConfig + License string + MCPServers map[string]MCPServerConfig + Name string + Repository string + Skills string + Version string + func FromCanonical(p *core.Plugin) *ClaudePlugin + func (cp *ClaudePlugin) SetHooks(hooks *HooksConfig) + func (cp *ClaudePlugin) ToCanonical() *core.Plugin + type Hook struct + Command string + Prompt string + Type string + type HookEntry struct + Hooks []Hook + Matcher string + type HooksConfig struct + Notification []HookEntry + PostToolUse []HookEntry + PreToolUse []HookEntry + Stop []HookEntry + SubagentStop []HookEntry + type MCPServerConfig struct + Args []string + Command string + Cwd string + Disabled bool + Env map[string]string