Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(sandbox): widen shell output snapshot visibility

Steven Enamakel16725cb99d75
diff --git a/crates/openhuman-core/src/sandbox/shell_progress.rs b/crates/openhuman-core/src/sandbox/shell_progress.rs
index 31108541ec..daabccbdf1 100644
--- a/crates/openhuman-core/src/sandbox/shell_progress.rs
+++ b/crates/openhuman-core/src/sandbox/shell_progress.rs
@@ -71,7 +71,7 @@ impl ShellOutputMeter {
}
}
- fn snapshot(&self) -> (u64, Option<String>) {
+ pub(crate) fn snapshot(&self) -> (u64, Option<String>) {
let meter = self.0.lock().unwrap_or_else(|p| p.into_inner());
(meter.bytes, meter.last_line.clone())
}