pub struct SessionMonitorV1 {Show 21 fields
pub run_id: HarnessRunId,
pub visibility: HarnessMonitoringVisibilityV1,
pub availability: ProjectionAvailabilityV1,
pub freshness: ProjectionFreshnessV1,
pub transport_incomplete: bool,
pub features: MonitorFeatureStatesV1,
pub todo_total: u16,
pub todo_completed: u16,
pub active_tools: u16,
pub active_subagents: u16,
pub active_interactions: u16,
pub active_blocks: u16,
pub active_processes: u16,
pub input_tokens: u64,
pub output_tokens: u64,
pub cache_read_tokens: u64,
pub cache_write_tokens: u64,
pub reasoning_tokens: u64,
pub context_window_tokens: Option<u64>,
pub history: Option<SessionMonitorHistoryV1>,
pub detail: Option<SessionMonitorDetailV1>,
}Fields§
§run_id: HarnessRunId§visibility: HarnessMonitoringVisibilityV1§availability: ProjectionAvailabilityV1§freshness: ProjectionFreshnessV1§transport_incomplete: bool§features: MonitorFeatureStatesV1§todo_total: u16§todo_completed: u16§active_tools: u16§active_subagents: u16§active_interactions: u16§active_blocks: u16Count of ObservationKindV1::ActionBlocked observations recorded
against this session so far (SessionProjection::blocked_count,
saturated to u16) – NOT a “currently pending” count like its
active_* siblings: unlike a tool call or an interaction, a block
has no resolution step to wait on (see that observation kind’s own
doc comment), so there is no pending/resolved split to count
separately. Mirrors the fleet-wide HarnessRuntimeManagedSessionV1:: blocked_count this same tally already backs, just for this one run.
#[serde(default)]: additive field on a read-wire response that is
never persisted, only built fresh per read.
active_processes: u16§input_tokens: u64§output_tokens: u64§cache_read_tokens: u64§cache_write_tokens: u64§reasoning_tokens: u64§context_window_tokens: Option<u64>§history: Option<SessionMonitorHistoryV1>§detail: Option<SessionMonitorDetailV1>Implementations§
Source§impl SessionMonitorV1
impl SessionMonitorV1
pub fn validate(&self) -> Result<(), HarnessReadApiError>
pub fn validate_for( &self, run_id: &HarnessRunId, ) -> Result<(), HarnessReadApiError>
Trait Implementations§
Source§impl Clone for SessionMonitorV1
impl Clone for SessionMonitorV1
Source§impl Debug for SessionMonitorV1
impl Debug for SessionMonitorV1
Source§impl<'de> Deserialize<'de> for SessionMonitorV1
impl<'de> Deserialize<'de> for SessionMonitorV1
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 SessionMonitorV1
Source§impl PartialEq for SessionMonitorV1
impl PartialEq for SessionMonitorV1
Source§impl Serialize for SessionMonitorV1
impl Serialize for SessionMonitorV1
impl StructuralPartialEq for SessionMonitorV1
Auto Trait Implementations§
impl Freeze for SessionMonitorV1
impl RefUnwindSafe for SessionMonitorV1
impl Send for SessionMonitorV1
impl Sync for SessionMonitorV1
impl Unpin for SessionMonitorV1
impl UnsafeUnpin for SessionMonitorV1
impl UnwindSafe for SessionMonitorV1
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