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
refactor(subagent-host): route connected identities through run context
Steven Enamakel29cfb477b3f4
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs b/crates/openhuman-core/src/agent/subagent_host/ops/runner.rsindex cb4bbfcc9c..0889616897 100644--- a/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs+++ b/crates/openhuman-core/src/agent/subagent_host/ops/runner.rs@@ -583,9 +583,7 @@ async fn run_typed_mode(tinyagents_harness::context::AgentsMdContent::default()};- let connected_identities_md =- crate::integrations::render_connected_identities_async(&options.run_context.dispatch_ctx())- .await;+ let connected_identities_md = options.run_context.connected_identities_md().await;let prompt_ctx = PromptContext {workspace_dir: &parent.workspace_dir,model_name: &model,diff --git a/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs b/crates/openhuman-core/src/agent/tinyagents/host/run_context.rsindex a7a8abf187..3adce68112 100644--- a/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs+++ b/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs@@ -438,6 +438,11 @@ impl OpenHumanRunContext {crate::core::runtime::DispatchCtx::from_weak(self.core.as_ref())}+ /// The connected-identities prompt section, loaded asynchronously under this run's context.+ pub(crate) async fn connected_identities_md(&self) -> String {+ crate::integrations::render_connected_identities_async(&self.dispatch_ctx()).await+ }+/// Sets the direct TinyTools workspace descriptor for this run.pub fn with_workspace(mut self, workspace: tinytools::WorkspaceDescriptor) -> Self {self.workspace = Some(workspace);