pub struct AddResult {
pub name: String,
pub plugin_root: PathBuf,
pub installed_skills: Vec<String>,
pub mcp_server_ids: Vec<String>,
pub warnings: Vec<String>,
}Expand description
Result of a successful plugin add operation.
Fields§
§name: StringInstalled plugin name.
plugin_root: PathBufAbsolute path to the installed plugin root.
Callers should pass each entry in installed_skill_dirs to
zeph_skills::registry::SkillRegistry::register_hub_dir so the registry treats plugin
subtrees as non-bundled regardless of any residual .bundled markers (S2 defense).
installed_skills: Vec<String>Skill names registered from this plugin.
mcp_server_ids: Vec<String>MCP server IDs declared by this plugin (require agent restart).
warnings: Vec<String>Non-fatal warnings produced at install time.
Currently populated when a plugin’s allowed_commands overlay will
have no effect because the host’s base tools.shell.allowed_commands
is empty (see issue #3149 — tighten-only semantics mean plugins
cannot widen an empty base allowlist). Callers should surface these
to the user alongside the success message (eprintln! on the CLI,
appended to the output string on the TUI).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AddResult
impl RefUnwindSafe for AddResult
impl Send for AddResult
impl Sync for AddResult
impl Unpin for AddResult
impl UnsafeUnpin for AddResult
impl UnwindSafe for AddResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request