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
fix(harness): adapt generated context extension to boxed values\n\nUpdate the generated context test tool to return its runtime context through the boxed extension API. Refresh the lockfile to include the tinytools dependency.\n\nAuto-committed-on: dragonfly\n
Steven Enamakelc9ec7eecabfc
diff --git a/Cargo.lock b/Cargo.lockindex 3966bd0157..565e172c8d 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -4204,6 +4204,7 @@ dependencies = ["tinymemory-tinycortex","tinyplace","tinyruntime-bus",+ "tinytools","tinyvoice-bus","tinywallet","tinywallet-bus",@@ -6366,6 +6367,7 @@ dependencies = ["serde_json","sha2 0.11.0","thiserror 2.0.18",+ "tinytools","tokio","tracing",]@@ -6752,6 +6754,16 @@ dependencies = ["zerovec 0.11.6",]+[[package]]+name = "tinytools"+version = "0.1.0"+dependencies = [+ "anyhow",+ "async-trait",+ "serde",+ "serde_json",+]+[[package]]name = "tinyvec"version = "1.11.0"diff --git a/src/openhuman/agent/harness/session/turn_tests.rs b/src/openhuman/agent/harness/session/turn_tests.rsindex 4acaa351f0..d0a18efd3f 100644--- a/src/openhuman/agent/harness/session/turn_tests.rs+++ b/src/openhuman/agent/harness/session/turn_tests.rs@@ -272,14 +272,14 @@ impl Tool for GeneratedContextTool {fn host_call_extension(&self,_args: &serde_json::Value,- ) -> Option<GeneratedToolRuntimeContext> {- Some(GeneratedToolRuntimeContext {+ ) -> Option<Box<dyn std::any::Any + Send + Sync>> {+ Some(Box::new(GeneratedToolRuntimeContext {provider_id: "mail.runtime".to_string(),capability_id: "email.send".to_string(),risk: GeneratedToolRuntimeRisk::ExternalWrite,source_digest: Some("sha256:abc".to_string()),approval_id: Some("approval-1".to_string()),- })+ }))}}