Skip to content

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

test(agent-harness): update registry skill install script

Steven Enamakele96caa97dd2a
diff --git a/tests/agent_harness_e2e.rs b/tests/agent_harness_e2e.rs
index 931648f0a2..c73b482c41 100644
--- a/tests/agent_harness_e2e.rs
+++ b/tests/agent_harness_e2e.rs
@@ -3672,18 +3672,15 @@ async fn agent_installs_a_registry_skill_then_runs_it_inner() {
let _cache = EnvVarGuard::set_to_path("OPENHUMAN_SKILL_REGISTRY_CACHE_DIR", cache_dir.path());
reset_script(vec![
- // Load the skills pack, then use its registry tools in the same turn.
+ // The skills pack exposes registry tools directly; installing parks at
+ // the approval gate until the test approves it.
packed_tool_call_completion(
"skills",
- "setup_skills",
- json!({ "prompt": "Install the harness registry skill", "blocking": true }),
- ),
- // skill_setup finds the entry, then installs it (the gate parks here).
- tool_call_completion(
"skill_registry_search",
json!({ "query": "harness-registry" }),
),
- tool_call_completion(
+ packed_tool_call_completion(
+ "skills",
"skill_registry_install",
json!({ "entry_id": REGISTRY_SKILL_ID }),
),