Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(cli): use tinyagents-harness-tools for goal storage

Steven Enamakel942959de94ac
diff --git a/crates/openhuman-cli/Cargo.toml b/crates/openhuman-cli/Cargo.toml
index 55da96c93e..c92c82a532 100644
--- a/crates/openhuman-cli/Cargo.toml
+++ b/crates/openhuman-cli/Cargo.toml
@@ -361,6 +361,7 @@ tinytools = { path = "../../vendor/tinyagents/vendor/tinytools/crates/tinytools"
tinytools-std = { path = "../../vendor/tinyagents/vendor/tinytools/crates/tinytools-std" }
# The completion log a detached sub-agent leaves, for the SaaS delivery-recovery e2e.
tinyagents-tasks = { path = "../../vendor/tinyagents/crates/tinyagents-tasks" }
+tinyagents-harness-tools = { workspace = true, features = ["goals"] }
toml = "1.0"
tracing = "0.1"
# The TinyComputer contract, for the live computer-use e2e (`computer_bali_live_e2e`).
diff --git a/tests/in_process/agent_turn_overrides_e2e.rs b/tests/in_process/agent_turn_overrides_e2e.rs
index 0cb345cc90..d89ebc7e77 100644
--- a/tests/in_process/agent_turn_overrides_e2e.rs
+++ b/tests/in_process/agent_turn_overrides_e2e.rs
@@ -222,7 +222,7 @@ async fn seed_goal(
objective: &str,
) -> Result<(), String> {
let store = openhuman_core::storage::sessions::stores_or_ephemeral(workspace).kv;
- tinyagents_harness::goals::store::set(&store, thread_id, objective, None)
+ tinyagents_harness_tools::goals::store::set(&store, thread_id, objective, None)
.await
.map(|_| ())
.map_err(|error| error.to_string())
@@ -620,7 +620,7 @@ async fn thread_goal_complete_and_clear_stop_the_goal_reaching_later_turns_inner
seed_goal(&workspace_path, THREAD, OBJECTIVE)
.await
.expect("seed an active thread goal for the measured agent");
- let goal_store = tinyagents_harness::goals::GoalStore::new(
+ let goal_store = tinyagents_harness_tools::goals::GoalStore::new(
openhuman_core::storage::sessions::stores_or_ephemeral(&workspace_path).kv,
);
let seeded = goal_store