pub enum PresentationMode {
Agent,
Verbose,
Human,
}Expand description
How the response envelope is presented to the caller.
Variants§
Agent
Token-efficient. Default for MCP callers (agents).
Short UUIDs (8-char), compact timestamps (minute granularity or relative), empty fields dropped, lifecycle nulls preserved, score fields truncated to 3 significant figures.
Verbose
Full canonical shape. Default for kkernel call and CI/scripted callers.
No transformation — handler output passes through as-is.
Human
Pretty-printed terminal output. Default for khive CLI.
At the MCP runtime level this is identical to Verbose — the
canonical JSON is returned unchanged. Terminal formatting (relative
timestamps, glyph substitution, table layout) is applied by the CLI
layer (khive-cli::format::pretty), not the MCP response pipeline.
Trait Implementations§
Source§impl Clone for PresentationMode
impl Clone for PresentationMode
Source§fn clone(&self) -> PresentationMode
fn clone(&self) -> PresentationMode
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 moreimpl Copy for PresentationMode
Source§impl Debug for PresentationMode
impl Debug for PresentationMode
Source§impl Default for PresentationMode
impl Default for PresentationMode
Source§fn default() -> PresentationMode
fn default() -> PresentationMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PresentationMode
impl<'de> Deserialize<'de> for PresentationMode
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 PresentationMode
Source§impl PartialEq for PresentationMode
impl PartialEq for PresentationMode
Source§fn eq(&self, other: &PresentationMode) -> bool
fn eq(&self, other: &PresentationMode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PresentationMode
impl Serialize for PresentationMode
impl StructuralPartialEq for PresentationMode
Auto Trait Implementations§
impl Freeze for PresentationMode
impl RefUnwindSafe for PresentationMode
impl Send for PresentationMode
impl Sync for PresentationMode
impl Unpin for PresentationMode
impl UnsafeUnpin for PresentationMode
impl UnwindSafe for PresentationMode
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> 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
Compare self to
key and return true if they are equal.