Skip to main content

Module plugin

Module plugin 

Source
Expand description

Plugin module - ported from ~/claudecode/openclaudecode/src/types/plugin.ts

This module provides the plugin types and infrastructure for the Rust SDK.

Re-exports§

pub use builtin_plugins::BUILTIN_MARKETPLACE_NAME_CONST;
pub use builtin_plugins::clear_builtin_plugins;
pub use builtin_plugins::get_builtin_plugin_definition;
pub use builtin_plugins::get_builtin_plugin_skill_definitions;
pub use builtin_plugins::get_builtin_plugins;
pub use builtin_plugins::is_builtin_plugin_id;
pub use builtin_plugins::register_builtin_plugin;
pub use builtin_plugins::BuiltinPluginResult;
pub use builtin_plugins::BuiltinPluginSummary;
pub use commands::CommandFrontmatter;
pub use commands::CommandHandler;
pub use commands::CommandRegistry;
pub use commands::ExecutablePluginCommand;
pub use commands::PluginCommand;
pub use commands::substitute_arguments;
pub use types::CommandAvailability;
pub use types::CommandMetadata;
pub use types::CommandResult;
pub use types::CommandResultDisplay;
pub use types::CommandSource;
pub use types::LoadedPlugin;
pub use types::PluginAuthor;
pub use types::PluginComponent;
pub use types::PluginConfig;
pub use types::PluginError;
pub use types::PluginLoadResult;
pub use types::PluginManifest;
pub use types::PluginRepository;
pub use types::get_plugin_error_message;
pub use loader::*;
pub use mcp::*;
pub use skills::*;

Modules§

builtin_plugins
Built-in Plugin Registry
commands
Plugin commands - ported from ~/claudecode/openclaudecode/src/utils/plugins/loadPluginCommands.ts
loader
Plugin loader - ported from ~/claudecode/openclaudecode/src/utils/plugins/pluginLoader.ts
mcp
Plugin MCP server implementation - ported from ~/claudecode/openclaudecode/src/utils/plugins/mcpPluginIntegration.ts
skills
Plugin skills - loads skills from plugins
types
Plugin types - ported from ~/claudecode/openclaudecode/src/types/plugin.ts