pub struct SessionRpcCustomizations<'a> { /* private fields */ }Expand description
session.customizations.* RPCs.
Implementations§
Source§impl<'a> SessionRpcCustomizations<'a>
impl<'a> SessionRpcCustomizations<'a>
Sourcepub async fn reload(&self) -> Result<SkillsLoadDiagnostics, Error>
pub async fn reload(&self) -> Result<SkillsLoadDiagnostics, Error>
Reloads all repository and user customizations for the active session: instructions, plugins and their MCP servers and hooks, custom agents, extensions, and skills. Returns diagnostics from the final skill reload.
Wire method: session.customizations.reload.
§Returns
Diagnostics from reloading skill definitions, with warnings and errors as separate lists.
Experimental. This API is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases. Pin both the SDK and CLI versions if your code depends on it.
Trait Implementations§
Source§impl<'a> Clone for SessionRpcCustomizations<'a>
impl<'a> Clone for SessionRpcCustomizations<'a>
impl<'a> Copy for SessionRpcCustomizations<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SessionRpcCustomizations<'a>
impl<'a> !UnwindSafe for SessionRpcCustomizations<'a>
impl<'a> Freeze for SessionRpcCustomizations<'a>
impl<'a> Send for SessionRpcCustomizations<'a>
impl<'a> Sync for SessionRpcCustomizations<'a>
impl<'a> Unpin for SessionRpcCustomizations<'a>
impl<'a> UnsafeUnpin for SessionRpcCustomizations<'a>
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
Mutably borrows from an owned value. Read more