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
chore(runtime): track derived context allocations for debugging
Steven Enamakel115c8ee764c6
diff --git a/crates/openhuman-core/src/core/runtime/context_turn_origin.rs b/crates/openhuman-core/src/core/runtime/context_turn_origin.rsindex 5471c5dce5..02be079186 100644--- a/crates/openhuman-core/src/core/runtime/context_turn_origin.rs+++ b/crates/openhuman-core/src/core/runtime/context_turn_origin.rs@@ -96,7 +96,7 @@ impl CoreContext {origin: Option<crate::security::turn_origin::AgentTurnOrigin>,) -> Arc<CoreContext> {let ctx = self;- Arc::new(CoreContext {+ let dbg_new = Arc::new(CoreContext {host_kind: ctx.host_kind,workspace_binding: RwLock::new(ctx.workspace_binding@@ -120,6 +120,8 @@ impl CoreContext {profile_admission: Arc::clone(&ctx.profile_admission),agent: ctx.agent.clone(),bare: ctx.bare,- })+ });+ super::context::DBG_DERIVED.lock().unwrap().push((Arc::downgrade(&dbg_new), std::backtrace::Backtrace::force_capture().to_string()));+ dbg_new}}