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
test(embed): read agent transcripts through the core's workspace session store
M3gA-Mind7fbea2cc27a0
diff --git a/crates/openhuman-embed/tests/harness_embed.rs b/crates/openhuman-embed/tests/harness_embed.rsindex 81917b1f7b..87246ff205 100644--- a/crates/openhuman-embed/tests/harness_embed.rs+++ b/crates/openhuman-embed/tests/harness_embed.rs@@ -285,9 +285,7 @@ fn a_harness_runs_a_turn_against_the_provider_it_was_given() {// own store under the workspace (the path-based transcript files// are gone). A harness session id is its thread id.let transcripts =- tinyagents_session::port::WorkspaceStores::open(&workspace_dir, "harness")- .expect("the harness agent's workspace store")- .transcripts();+ openhuman_core::storage::sessions::workspace_transcripts("harness", &workspace_dir);assert!(transcripts.root_for_thread(&first.session_id).is_some(),"the first session's transcript was not persisted"diff --git a/crates/openhuman-embed/tests/isolation_state.rs b/crates/openhuman-embed/tests/isolation_state.rsindex 3a6fa9b841..7e90872740 100644--- a/crates/openhuman-embed/tests/isolation_state.rs+++ b/crates/openhuman-embed/tests/isolation_state.rs@@ -33,9 +33,7 @@ fn transcript_files(dir: &std::path::Path) -> Vec<std::path::PathBuf> {/// Whether `agent` has a root transcript for the test thread in its own store/// under the workspace.fn has_transcript(agent: &Agent) -> bool {- tinyagents_session::port::WorkspaceStores::open(agent.workspace_dir(), agent.id())- .expect("the agent's workspace store")- .transcripts()+ openhuman_core::storage::sessions::workspace_transcripts(agent.id(), agent.workspace_dir()).root_for_thread(SESSION).is_some()}diff --git a/crates/openhuman-embed/tests/runtime_agents.rs b/crates/openhuman-embed/tests/runtime_agents.rsindex f0b2288357..94190989f2 100644--- a/crates/openhuman-embed/tests/runtime_agents.rs+++ b/crates/openhuman-embed/tests/runtime_agents.rs@@ -411,9 +411,7 @@ fn one_runtime_hosts_independently_configured_agents() {// Transcripts are keyed by agent and live in the agent's own store// under the workspace, and a thread resumes its own history.let listing = |agent_id: &str, session_id: &str| -> Vec<String> {- tinyagents_session::port::WorkspaceStores::open(&workspace_dir, agent_id)- .expect("the agent's workspace store")- .transcripts()+ openhuman_core::storage::sessions::workspace_transcripts(agent_id, &workspace_dir).thread_transcripts(session_id, None).map(|found| found.roots.into_iter().map(|root| root.stem).collect()).unwrap_or_default()