Skip to main content

ai_agent/plugin/
mod.rs

1//! Plugin module - ported from ~/claudecode/openclaudecode/src/types/plugin.ts
2//!
3//! This module provides the plugin types and infrastructure for the Rust SDK.
4
5pub mod commands;
6pub mod loader;
7pub mod mcp;
8pub mod skills;
9pub mod types;
10
11// Explicit re-exports to avoid ambiguous glob re-exports
12pub use commands::{
13    substitute_arguments, CommandFrontmatter, CommandHandler, CommandRegistry,
14    ExecutablePluginCommand, PluginCommand,
15};
16pub use loader::*;
17pub use mcp::*;
18pub use skills::*;
19pub use types::{
20    get_plugin_error_message, CommandAvailability, CommandMetadata, CommandResult,
21    CommandResultDisplay, CommandSource, LoadedPlugin, PluginAuthor, PluginComponent, PluginConfig,
22    PluginError, PluginLoadResult, PluginManifest, PluginRepository,
23};