Skip to content

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

test(cli): register agent scope and delegation e2e tests

Steven Enamakeled81c16ceb64
diff --git a/Cargo.lock b/Cargo.lock
index f82781d911..4a788ad49f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4631,6 +4631,7 @@ dependencies = [
"sha2 0.10.9",
"tar",
"tempfile",
+ "tinyagents-graph",
"tinyagents-harness",
"tinyagents-session",
"tinybus",
diff --git a/crates/openhuman-cli/Cargo.toml b/crates/openhuman-cli/Cargo.toml
index 36489a8ade..efcfd0e62b 100644
--- a/crates/openhuman-cli/Cargo.toml
+++ b/crates/openhuman-cli/Cargo.toml
@@ -116,6 +116,16 @@ path = "../../tests/storage_secrets_e2e.rs"
name = "storage_scope_e2e"
path = "../../tests/storage_scope_e2e.rs"
+[[test]]
+# Its own binary: two agents on one backend keep cron jobs and flows apart.
+name = "storage_agent_scopes_e2e"
+path = "../../tests/storage_agent_scopes_e2e.rs"
+
+[[test]]
+# Its own binary: the delegation graph's checkpointer on every driver.
+name = "storage_delegation_e2e"
+path = "../../tests/storage_delegation_e2e.rs"
+
[[test]]
name = "embedded_server_shutdown_e2e"
path = "../../tests/embedded_server_shutdown_e2e.rs"
@@ -308,6 +318,7 @@ parking_lot = "0.12"
rusqlite = { version = "=0.40.2", features = ["bundled"] }
sha2 = "0.10"
tar = "0.4"
+tinyagents-graph = { path = "../../vendor/tinyagents/crates/tinyagents-graph", features = ["sqlite", "storage-drivers"] }
tinyagents-harness = { path = "../../vendor/tinyagents/crates/tinyagents-harness", features = ["sqlite", "multimodal"] }
tinyagents-session = { path = "../../vendor/tinyagents/crates/tinyagents-session" }
tinybus = { path = "../../vendor/tinybus/crates/tinybus", default-features = false, features = ["macros", "uds"] }