Skip to content

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

fix(agent): widen session_locator visibility to crate

Steven Enamakelf65780c6b232
diff --git a/crates/openhuman-core/src/agent/harness/session/turn/session_io/transcript_load.rs b/crates/openhuman-core/src/agent/harness/session/turn/session_io/transcript_load.rs
index 3988ab74a8..68e82470e2 100644
--- a/crates/openhuman-core/src/agent/harness/session/turn/session_io/transcript_load.rs
+++ b/crates/openhuman-core/src/agent/harness/session/turn/session_io/transcript_load.rs
@@ -108,7 +108,7 @@ impl Agent {
/// that), and a locator frozen at build time would silently keep resolving
/// against the directory the agent no longer uses. The construction is two
/// clones of small strings — cheaper than the `read_dir` it precedes.
- pub(in super::super) fn session_locator(&self) -> std::sync::Arc<dyn SessionHistoryLocator> {
+ pub(crate) fn session_locator(&self) -> std::sync::Arc<dyn SessionHistoryLocator> {
match &self.session_history_locator {
Some(locator) => locator.clone(),
None => std::sync::Arc::new(FileTranscriptLocator::new(