pub enum PresentationMode {
Agent,
Verbose,
Human,
}Expand description
How the response envelope is presented to the caller (ADR-045).
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.
See module-level doc for full rationale (ADR-045 C3 design decision).
Trait Implementations§
Source§impl Clone for PresentationMode
impl Clone for PresentationMode
Source§fn clone(&self) -> PresentationMode
fn clone(&self) -> PresentationMode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PresentationMode
impl Debug for PresentationMode
Source§impl Default for PresentationMode
impl Default for PresentationMode
Source§fn default() -> PresentationMode
fn default() -> PresentationMode
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>,
Source§impl PartialEq for PresentationMode
impl PartialEq for PresentationMode
Source§fn eq(&self, other: &PresentationMode) -> bool
fn eq(&self, other: &PresentationMode) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for PresentationMode
impl Serialize for PresentationMode
impl Copy for PresentationMode
impl Eq 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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.