The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(session-host): resolve subagent transcripts via workspace provider
Steven Enamakel357ad2c6b65b
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session/identity.rs b/crates/openhuman-core/src/agent/session_host/runtime_session/identity.rsindex 972d965a46..372fd7c651 100644--- a/crates/openhuman-core/src/agent/session_host/runtime_session/identity.rs+++ b/crates/openhuman-core/src/agent/session_host/runtime_session/identity.rs@@ -34,6 +34,24 @@ impl OpenHumanSessionHost {}}+ pub(super) fn subagent_transcript_locator(+ &self,+ ) -> std::sync::Arc<dyn tinyagents_session::transcript::TranscriptLocator> {+ if let Some(locator) = &self.session_history_locator {+ return std::sync::Arc::clone(locator);+ }+ let dispatch = self.dispatch_ctx();+ let workspace = dispatch+ .resolved()+ .and_then(|core| core.workspace_dir().ok())+ .unwrap_or_else(|| self.workspace_dir.clone());+ let agent_id =+ crate::storage::sessions::current_agent_key_or(&dispatch, &self.agent_definition_id);+ crate::storage::sessions::provider_for_workspace_in(&workspace, &dispatch)+ .for_agent(&agent_id)+ .transcripts+ }+pub(super) fn runtime_transcript_meta(&self) -> TranscriptMeta {let now = chrono::Utc::now().to_rfc3339();TranscriptMeta {diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session_turn.rs b/crates/openhuman-core/src/agent/session_host/runtime_session_turn.rsindex 7116dbcdfa..a727a606e2 100644--- a/crates/openhuman-core/src/agent/session_host/runtime_session_turn.rs+++ b/crates/openhuman-core/src/agent/session_host/runtime_session_turn.rs@@ -83,7 +83,7 @@ impl OpenHumanSessionHost {context.workspace = self.workspace_descriptor.clone();// Sub-agents of this turn write their transcripts to this session's// store, under the key it resolved for its own.- context.transcripts = Some(self.session_locator());+ context.transcripts = Some(self.subagent_transcript_locator());// The web backstop's deadline (`host_env.turn_deadline`), when this// turn runs under one, is already on the context: the harness winds// down before it instead of being dropped by it.