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(session_host): destructure tool surface fields before reconciling
Steven Enamakel2f6e21585b8c
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session_tool_surface.rs b/crates/openhuman-core/src/agent/session_host/runtime_session_tool_surface.rsindex 820602f3b3..a4cfe66029 100644--- a/crates/openhuman-core/src/agent/session_host/runtime_session_tool_surface.rs+++ b/crates/openhuman-core/src/agent/session_host/runtime_session_tool_surface.rs@@ -147,10 +147,16 @@ impl OpenHumanTurnPrelude {// reconciliation. TinyAgents restores permanent visibility after// those filters and protects permanent names from deferred discovery.let agent_definition_name = surface.agent_definition_name.clone();+ let OpenHumanTurnToolSurface {+ visible_tool_names,+ deferred_tool_names,+ permanent_tool_names,+ ..+ } = &mut *surface;reconcile_surface_names(- &mut surface.visible_tool_names,- &mut surface.deferred_tool_names,- &mut surface.permanent_tool_names,+ visible_tool_names,+ deferred_tool_names,+ permanent_tool_names,&previous_synthesized,&synthesized_names,auto_include_new_synthesized_tools,diff --git a/crates/openhuman-core/src/agent/session_host/turn_checkpoint.rs b/crates/openhuman-core/src/agent/session_host/turn_checkpoint.rsindex dfc19d7a5d..df3f9f60b0 100644--- a/crates/openhuman-core/src/agent/session_host/turn_checkpoint.rs+++ b/crates/openhuman-core/src/agent/session_host/turn_checkpoint.rs@@ -225,7 +225,7 @@ pub(crate) fn render_tool_results(results: &[CheckpointToolResult], total_budgetper_result_cap: CHECKPOINT_RESULT_CHARS,truncation_marker: "… [truncated]",total_budget,- render_block: |result| {+ render_block: |result: &CheckpointToolResult| {let status = if result.success { "ok" } else { "failed" };let mut block = format!("\n- `{}` — {}\n", result.name, status);for line in result.content.lines() {