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(openhuman-embed): thread run context through tool hooks
Steven Enamakel72e260ff0642
diff --git a/crates/openhuman-embed/src/permission.rs b/crates/openhuman-embed/src/permission.rsindex 9b9cd321a8..83bb0feb18 100644--- a/crates/openhuman-embed/src/permission.rs+++ b/crates/openhuman-embed/src/permission.rs@@ -33,13 +33,25 @@ wherefn name(&self) -> &str {&self.name}- async fn before_tool(&self, _: &ToolHookContext) -> anyhow::Result<()> {+ async fn before_tool(+ &self,+ _: &crate::seams::OpenHumanRunContext,+ _: &ToolHookContext,+ ) -> anyhow::Result<()> {Ok(())}- async fn after_tool(&self, _: &ToolHookContext) -> anyhow::Result<()> {+ async fn after_tool(+ &self,+ _: &crate::seams::OpenHumanRunContext,+ _: &ToolHookContext,+ ) -> anyhow::Result<()> {Ok(())}- async fn before_tool_decision(&self, context: &ToolHookContext) -> ToolHookDecision {+ async fn before_tool_decision(+ &self,+ _: &crate::seams::OpenHumanRunContext,+ context: &ToolHookContext,+ ) -> ToolHookDecision {(self.callback)(context).await}}