pub enum CommunicationStyle {
Balanced,
Quiet,
Verbose,
Unknown,
}Expand description
How much routine agent-internal failure chatter reaches the interactive transcript. Canonical owner shared by config, the TUI renderer, and the desktop transcript so the three surfaces cannot drift.
Variants§
Balanced
Routine agent-internal failures stay in Transcript Review/logs while user-direct command failures and user-actionable incidents stay visible.
Quiet
Balanced, plus user-direct command failures collapse to one status
line with the complete capture behind the viewer affordance.
Verbose
Show every diagnostic, as before filtering existed.
Unknown
Catch-all for unknown styles added by future versions.
Implementations§
Source§impl CommunicationStyle
impl CommunicationStyle
Sourcepub fn parse(value: &str) -> Self
pub fn parse(value: &str) -> Self
Parse a user- or protocol-supplied style name. Unknown values resolve
to CommunicationStyle::Unknown (never an error) so a newer service
cannot break an older client; callers map it via CommunicationStyle::resolve.
Sourcepub fn resolve(self) -> Self
pub fn resolve(self) -> Self
Effective style after resolving the forward-compat placeholder to the
current default. Every visibility decision must go through this so an
unknown future value degrades to Balanced, never to silence or noise.
Sourcepub fn as_str(self) -> &'static str
pub fn as_str(self) -> &'static str
Wire name for the desktop protocol projection. Exact (including
"unknown") so the desktop’s CommunicationStyle::parse plus
CommunicationStyle::resolve stays the single fallback point.
Trait Implementations§
Source§impl Clone for CommunicationStyle
impl Clone for CommunicationStyle
impl Copy for CommunicationStyle
Source§impl Debug for CommunicationStyle
impl Debug for CommunicationStyle
Source§impl Default for CommunicationStyle
impl Default for CommunicationStyle
Source§impl<'de> Deserialize<'de> for CommunicationStyle
impl<'de> Deserialize<'de> for CommunicationStyle
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>,
impl Eq for CommunicationStyle
Source§impl JsonSchema for CommunicationStyle
impl JsonSchema for CommunicationStyle
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for CommunicationStyle
impl PartialEq for CommunicationStyle
Source§impl Serialize for CommunicationStyle
impl Serialize for CommunicationStyle
impl StructuralPartialEq for CommunicationStyle
Auto Trait Implementations§
impl Forget for CommunicationStyle
impl Freeze for CommunicationStyle
impl RefUnwindSafe for CommunicationStyle
impl Send for CommunicationStyle
impl Sync for CommunicationStyle
impl Unpin for CommunicationStyle
impl UnsafeUnpin for CommunicationStyle
impl UnwindSafe for CommunicationStyle
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
key and return true if they are equal.