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(agent_registry): add for_core_context to resolve definitions from an explicit core
Steven Enamakel2e1469593338
diff --git a/crates/openhuman-core/src/agent_registry/host_definition.rs b/crates/openhuman-core/src/agent_registry/host_definition.rsindex 3026c8e2d4..aa03db8c69 100644--- a/crates/openhuman-core/src/agent_registry/host_definition.rs+++ b/crates/openhuman-core/src/agent_registry/host_definition.rs@@ -282,6 +282,14 @@ impl AgentDefinitionRegistry {GLOBAL.get().cloned()}+ /// Resolve definitions from an explicitly supplied core before falling+ /// back to the process registry. Execution paths with a live parent must+ /// pass that parent's core so concurrent tenant/run contexts cannot read+ /// another invocation's ambient catalogue.+ pub fn for_core_context(core: &crate::core::runtime::CoreContext) -> Option<Arc<Self>> {+ core.definitions().or_else(Self::global_arc)+ }+/// The catalogue sub-agent lookups resolve through: the ambient agent/// context's own registry when it carries one, else the process registry.pub fn current() -> Option<Arc<Self>> {