Public declaration syntax from harness-sdk/src/plugins/mod.rs Original source SHA-256: 0fb74d277aaa44abe157fd6c99b0f615aa8e431d7e6f30cbe5ebb275acd0582d Function bodies and constant values are omitted. This is not the complete implementation. Source line 33 pub mod capability; Source line 34 pub mod config; Source line 35 pub mod draw_command; Source line 36 pub mod host_functions; Source line 37 pub mod manifest; Source line 38 pub mod permission; Source line 39 pub mod registry; Source line 40 pub mod wasm; Source line 68 pub struct PluginManager { } Source line 98 #[must_use] pub fn new() -> Self; Source line 109 #[must_use] pub fn with_config(config: PluginConfig) -> Self; Source line 132 pub async fn load_plugin(&self, path: &str) -> Result<(), PluginError>; Source line 196 pub async fn unload_plugin(&self, name: &str) -> Result<(), PluginError>; Source line 205 pub async fn list_plugins(&self) -> Vec; Source line 210 pub async fn is_enabled(&self, name: &str) -> bool; Source line 231 pub async fn call_command( &self, plugin: &str, command: &str, args: &str, ) -> Result, PluginError>; Source line 262 pub async fn call_tool( &self, plugin: &str, tool: &str, input: &str, ) -> Result, PluginError>; Source line 283 #[must_use] pub fn permissions(&self) -> &Arc;