pub struct PluginProvides {
pub hooks: Vec<HookDeclaration>,
pub mcp_servers: Vec<McpServerManifestEntry>,
pub skills: Vec<String>,
pub prompts: Vec<PluginPromptPreset>,
pub workflows: Vec<String>,
pub services: Vec<ServiceManifestEntry>,
pub event_sinks: Vec<EventSinkManifestEntry>,
}Expand description
What a plugin provides: any subset of MCP servers, skills, prompt presets, and (future) workflows.
Fields§
§hooks: Vec<HookDeclaration>§mcp_servers: Vec<McpServerManifestEntry>§skills: Vec<String>Directory names under <plugin_dir>/skills/. Each must contain a
SKILL.md. These are discovered in place (no copy, no symlink) once
the skill-discovery extension picks up the plugin dir — see
bamboo-skills’ SkillDirectorySource::Plugin. Declaring them here is
for provenance/validation, not for making discovery work.
prompts: Vec<PluginPromptPreset>§workflows: Vec<String>.md filenames under <plugin_dir>/workflows/. They remain in place
and are discovered as read-only legacy Skill adapters; installation
never copies them into a user’s global workflow directory.
services: Vec<ServiceManifestEntry>Long-running services this plugin wants supervised — see
ServiceManifestEntry. Issue #479 (prereq for epic #477).
event_sinks: Vec<EventSinkManifestEntry>ToolEvent consumers backed by this plugin’s own verified services.