Skip to main content

current

Function current 

Source
pub fn current(repo_root: &Path) -> TelemetryResult<Option<PressureObservation>>
Expand description

Probe the Claude Code session log for the given repo and return a neutral PressureObservation when one is recent enough to drive a context.pressure_observed event.

Returns Ok(None) when there is no fresh session log or when the log has no usage-bearing entries — this is the expected “telemetry unavailable” outcome and is not an error.