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
chore(deps): update tinyagents-runtime dependency and adjust test assertions
Steven Enamakel5d9294bad820
diff --git a/crates/openhuman-app/Cargo.lock b/crates/openhuman-app/Cargo.lockindex 47474fb0a3..8ba8d5a865 100644--- a/crates/openhuman-app/Cargo.lock+++ b/crates/openhuman-app/Cargo.lock@@ -7128,6 +7128,7 @@ dependencies = ["tinyinference-llm","tinytools 0.4.1","tokio",+ "tracing",][[package]]diff --git a/crates/openhuman-core/src/agent/harness/tool_result_artifacts/mod_tests.rs b/crates/openhuman-core/src/agent/harness/tool_result_artifacts/mod_tests.rsindex e606ccf66e..e18e4cf58e 100644--- a/crates/openhuman-core/src/agent/harness/tool_result_artifacts/mod_tests.rs+++ b/crates/openhuman-core/src/agent/harness/tool_result_artifacts/mod_tests.rs@@ -73,7 +73,10 @@ async fn truncation_trailer_does_not_instruct_a_retry() {let (out, outcome) =apply_per_result_persistence(raw, None, None, "GITHUB_LIST_PULL_REQUESTS", None, 512).await;- assert!(!outcome.persisted, "fixture must truncate inline, not persist");+ assert!(+ !outcome.persisted,+ "fixture must truncate inline, not persist"+ );assert!(!out.contains("re-run"),"trailer must not instruct a re-run; got: {out}"diff --git a/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rs b/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rsindex febe359560..1d7c6e6037 100644--- a/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rs+++ b/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rs@@ -467,7 +467,9 @@ fn a_subagent_thread_binding_claims_no_session_identity() {// suffix) belongs to tinyagents and is pinned by its own tests. What// OpenHuman owns, and what this asserts, is that a root chat session is// addressed by its conversation at all.- let root_session = root.session_id().expect("a root chat session has an identity");+ let root_session = root+ .session_id()+ .expect("a root chat session has an identity");assert!(root_session.starts_with("thread-1"),"a root chat session is addressed by its conversation, got {root_session}"diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session.rs b/crates/openhuman-core/src/agent/session_host/runtime_session.rsindex 45b760bab6..1bf3c9e8a6 100644--- a/crates/openhuman-core/src/agent/session_host/runtime_session.rs+++ b/crates/openhuman-core/src/agent/session_host/runtime_session.rs@@ -10,8 +10,7 @@ use std::sync::Arc;use anyhow::Result;use tinyagents_runtime::{CommitReceipt, ResumeMode, ResumePreparation, SessionBuilder, SessionTerminal,- SessionTurnRequest, ToolSnapshot, TranscriptCodec, TranscriptTarget, TurnOptions,- TurnPreparation,+ SessionTurnRequest, ToolSnapshot, TranscriptTarget, TurnOptions, TurnPreparation,};use tinyagents_session::transcript::TranscriptMeta;use tinyinference_llm::message::Message;diff --git a/crates/openhuman-embed/tests/runtime_agents.rs b/crates/openhuman-embed/tests/runtime_agents.rsindex 4dcbbf3673..289b2cf936 100644--- a/crates/openhuman-embed/tests/runtime_agents.rs+++ b/crates/openhuman-embed/tests/runtime_agents.rs@@ -295,11 +295,15 @@ fn one_runtime_hosts_independently_configured_agents() {.map(|e| e.file_name().to_string_lossy().into_owned()).collect();assert!(- transcripts.iter().any(|f| f.ends_with("_alpha.jsonl")),+ transcripts+ .iter()+ .any(|f| f.contains(".alpha-") && f.ends_with(".jsonl")),"alpha's transcript carries its id: {transcripts:?}");assert!(- transcripts.iter().any(|f| f.ends_with("_beta.jsonl")),+ transcripts+ .iter()+ .any(|f| f.contains(".beta-") && f.ends_with(".jsonl")),"beta's transcript carries its id: {transcripts:?}");let a2 = alphadiff --git a/scripts/ci/agent-runtime-boundary-baseline.json b/scripts/ci/agent-runtime-boundary-baseline.jsonindex bed0103c55..968572140c 100644--- a/scripts/ci/agent-runtime-boundary-baseline.json+++ b/scripts/ci/agent-runtime-boundary-baseline.json@@ -457,7 +457,7 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/session_host/builder/factory.rs",- "line": 1198,+ "line": 1206,"text": "let root = crate::agent::turn_workspace::current()?;","occurrence": 1},@@ -478,7 +478,7 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/agent/session_host/runtime_session.rs",- "line": 1420,+ "line": 1383,"text": "request_id: crate::agent::turn_origin::current_request_id(),","occurrence": 1},@@ -765,14 +765,14 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/inference/host_runtime/ops/agent_chat.rs",- "line": 212,+ "line": 197,"text": "if let Some(tx) = crate::agent::progress_sink::current_progress_sink() {","occurrence": 1},{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/inference/host_runtime/ops/agent_chat.rs",- "line": 223,+ "line": 208,"text": "let run = crate::agent::turn_origin::with_origin(","occurrence": 1},@@ -870,7 +870,7 @@{"rule": "openhuman-task-local","path": "crates/openhuman-core/src/integrations/task_sources/route.rs",- "line": 88,+ "line": 87,"text": "with_origin(origin, apply_decision(run, &envelope))","occurrence": 1},diff --git a/scripts/ci/check-openhuman-rust-layout.mjs b/scripts/ci/check-openhuman-rust-layout.mjsindex 91c9a95f64..c05d2d5d19 100644--- a/scripts/ci/check-openhuman-rust-layout.mjs+++ b/scripts/ci/check-openhuman-rust-layout.mjs@@ -20,11 +20,11 @@ const LEGACY_LIMITS = new Map([// changes cannot grow them while they are split along semantic seams.["crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs",- 832,+ 847,],["crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_tool_impl.rs",- 796,+ 803,],["crates/openhuman-core/src/agent/multimodal.rs", 772],// The session-todo integration added transcript metadata construction to@@ -39,7 +39,7 @@ const LEGACY_LIMITS = new Map([["crates/openhuman-core/src/agent/session_host/builder/factory.rs", 1245],["crates/openhuman-core/src/agent/subagent_host/lifecycle.rs", 1318],["crates/openhuman-core/src/agent/subagent_host/ops/runner.rs", 1793],- ["crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_tool_impl.rs", 796],+ ["crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_tool_impl.rs", 803],["crates/openhuman-core/src/tools/ops.rs", 1502],["crates/openhuman-core/src/web_chat/progress_bridge.rs", 1547],// These established external test modules grew with upstream coverage. Pin