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(tinyagents): add operation and run context to host
Steven Enamakel78774758b93a
diff --git a/crates/openhuman-core/src/agent/tinyagents/host/operation_context.rs b/crates/openhuman-core/src/agent/tinyagents/host/operation_context.rsindex d130f2df40..45e24e82c6 100644--- a/crates/openhuman-core/src/agent/tinyagents/host/operation_context.rs+++ b/crates/openhuman-core/src/agent/tinyagents/host/operation_context.rs@@ -136,7 +136,7 @@ pub(crate) fn sandbox_mode_for_tool(/// Reads the run's approval context from the explicit tool carrier. Direct tool/// dispatch (CLI, JSON-RPC, tests) has none, so a tool called that way sees the/// non-interactive default.-pub(crate) fn approval_for_tool(+pub fn approval_for_tool(context: Option<&dyn tinytools::ToolRunContext>,) -> crate::security::approval::ApprovalTurnContext {contextdiff --git a/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs b/crates/openhuman-core/src/agent/tinyagents/host/run_context.rsindex 9bb3b487ac..e86448cf43 100644--- a/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs+++ b/crates/openhuman-core/src/agent/tinyagents/host/run_context.rs@@ -418,8 +418,9 @@ pub(crate) struct HarnessHostPolicy {#[cfg(test)]pub(crate) use super::operation_context::tool_context_with_approval;pub use super::operation_context::OpenHumanRunExt;+pub use super::operation_context::approval_for_tool;pub(crate) use super::operation_context::{- approval_for_tool, dispatch_ctx_for_tool, memory_identity_for_tool, parent_agent_id_for_tool,+ dispatch_ctx_for_tool, memory_identity_for_tool, parent_agent_id_for_tool,sandbox_mode_for_tool, task_recency_window_for_tool, turn_origin_for_tool,HostOperationContext,};