pub enum SessionCapability {
TuiHints,
PlanMode,
Memory,
CliDocumentation,
AskUser,
InteractiveMode,
SystemNotifications,
Elicitation,
SessionStore,
McpApps,
CanvasRenderer,
Unknown,
}Expand description
Session capability enabled for this session
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
TuiHints
TUI-specific prompt hints such as keyboard shortcuts.
PlanMode
Plan-mode handling and instructions.
Memory
Memory tool and memories prompt section.
CliDocumentation
Copilot CLI documentation tool and prompt section.
AskUser
Interactive ask_user tool support.
InteractiveMode
Interactive CLI identity and behavior.
SystemNotifications
Automatic hidden system notifications.
Elicitation
SDK elicitation support.
SessionStore
Cross-session history tools and session-store SQL prompt/tool metadata.
McpApps
MCP Apps UI passthrough.
CanvasRenderer
Host-provided canvas rendering support.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for SessionCapability
impl Clone for SessionCapability
Source§fn clone(&self) -> SessionCapability
fn clone(&self) -> SessionCapability
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 SessionCapability
impl Debug for SessionCapability
Source§impl Default for SessionCapability
impl Default for SessionCapability
Source§fn default() -> SessionCapability
fn default() -> SessionCapability
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SessionCapability
impl<'de> Deserialize<'de> for SessionCapability
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for SessionCapability
Source§impl PartialEq for SessionCapability
impl PartialEq for SessionCapability
Source§fn eq(&self, other: &SessionCapability) -> bool
fn eq(&self, other: &SessionCapability) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SessionCapability
impl Serialize for SessionCapability
impl StructuralPartialEq for SessionCapability
Auto Trait Implementations§
impl Freeze for SessionCapability
impl RefUnwindSafe for SessionCapability
impl Send for SessionCapability
impl Sync for SessionCapability
impl Unpin for SessionCapability
impl UnsafeUnpin for SessionCapability
impl UnwindSafe for SessionCapability
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