pub struct StandardShellPluginFactory;Expand description
PluginFactory for the built-in shell tool surface.
Wires StandardShell into the active session with the access-gated
shell.write mention in the prompt contribution so the model only
sees that bullet when the tool is actually callable.
Implementations§
Trait Implementations§
Source§impl Default for StandardShellPluginFactory
impl Default for StandardShellPluginFactory
Source§fn default() -> StandardShellPluginFactory
fn default() -> StandardShellPluginFactory
Returns the “default value” for a type. Read more
Source§impl PluginFactory for StandardShellPluginFactory
impl PluginFactory for StandardShellPluginFactory
fn id(&self) -> &'static str
Source§fn build(
&self,
ctx: &PluginSessionContext,
) -> Result<Arc<dyn SessionPlugin>, PluginError>
fn build( &self, ctx: &PluginSessionContext, ) -> Result<Arc<dyn SessionPlugin>, PluginError>
Produce a session-scoped plugin. Must be cheap — see the
trait-level docs for the full contract.
fn lashlang_abilities(&self) -> LashlangAbilities
fn lashlang_language_features(&self) -> LashlangLanguageFeatures
Source§fn lashlang_resources(&self) -> ResourceCatalog
fn lashlang_resources(&self) -> ResourceCatalog
Host-owned Lashlang catalog entries that code may link against. Read more
Auto Trait Implementations§
impl Freeze for StandardShellPluginFactory
impl RefUnwindSafe for StandardShellPluginFactory
impl Send for StandardShellPluginFactory
impl Sync for StandardShellPluginFactory
impl Unpin for StandardShellPluginFactory
impl UnsafeUnpin for StandardShellPluginFactory
impl UnwindSafe for StandardShellPluginFactory
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
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.