pub struct ComposerCapabilities {
pub can_submit: bool,
pub can_steer: bool,
pub can_interrupt: bool,
pub can_respond: bool,
pub can_detach: bool,
/* private fields */
}Expand description
Composer controls copied from the SDK runtime descriptor.
active_modules describes the agent semantics behind the runtime. It is
intentionally not interpreted as a frontend operation registry: a search
tool, session tree, or reduction policy does not by itself provide the
terminal with a file picker, session switcher, or reduction RPC.
Fields§
§can_submit: bool§can_steer: bool§can_interrupt: bool§can_respond: bool§can_detach: boolImplementations§
Source§impl ComposerCapabilities
impl ComposerCapabilities
pub fn from_descriptor(descriptor: &FrontendRuntimeDescriptor) -> Self
pub fn operations(&self) -> &[FrontendOperationDescriptor]
pub fn invocation_for_command( &self, input: &str, ) -> Option<FrontendOperationInvocation>
Sourcepub fn available_actions(&self) -> BTreeSet<String>
pub fn available_actions(&self) -> BTreeSet<String>
Stable identifiers for operations with real composer/runtime routes.
Trait Implementations§
Source§impl Clone for ComposerCapabilities
impl Clone for ComposerCapabilities
Source§fn clone(&self) -> ComposerCapabilities
fn clone(&self) -> ComposerCapabilities
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ComposerCapabilities
impl Debug for ComposerCapabilities
impl Eq for ComposerCapabilities
Source§impl PartialEq for ComposerCapabilities
impl PartialEq for ComposerCapabilities
impl StructuralPartialEq for ComposerCapabilities
Auto Trait Implementations§
impl Freeze for ComposerCapabilities
impl RefUnwindSafe for ComposerCapabilities
impl Send for ComposerCapabilities
impl Sync for ComposerCapabilities
impl Unpin for ComposerCapabilities
impl UnsafeUnpin for ComposerCapabilities
impl UnwindSafe for ComposerCapabilities
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.