Skip to content

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

feat(build): forward e2e-test-support feature through crate chain

Steven Enamakelf4e81553d19a
diff --git a/crates/openhuman-embed/Cargo.toml b/crates/openhuman-embed/Cargo.toml
index 5227dc8ced..bd4ec47a84 100644
--- a/crates/openhuman-embed/Cargo.toml
+++ b/crates/openhuman-embed/Cargo.toml
@@ -28,6 +28,10 @@ channels = ["openhuman-core/channels"]
whatsapp-web = ["openhuman-core/whatsapp-web"]
file-logging = ["openhuman-core/file-logging"]
scheduler-gate = ["openhuman-core/scheduler-gate"]
+# Exposes the destructive `openhuman.test_reset` RPC for E2E builds only.
+# Default-OFF everywhere; forwarded so the desktop E2E build can reach it
+# through the chain instead of naming the core directly.
+e2e-test-support = ["openhuman-core/e2e-test-support"]
[dependencies]
async-trait = "0.1"
diff --git a/crates/openhuman-rpc/Cargo.toml b/crates/openhuman-rpc/Cargo.toml
index 240a4c460e..7c29067181 100644
--- a/crates/openhuman-rpc/Cargo.toml
+++ b/crates/openhuman-rpc/Cargo.toml
@@ -64,6 +64,9 @@ channels = ["openhuman-tinyhumans/channels"]
whatsapp-web = ["openhuman-tinyhumans/whatsapp-web"]
file-logging = ["openhuman-tinyhumans/file-logging"]
scheduler-gate = ["openhuman-tinyhumans/scheduler-gate"]
+# E2E builds only (`openhuman.test_reset`); default-OFF. The desktop app
+# and the CLI forward it from their own `e2e-test-support` gate.
+e2e-test-support = ["openhuman-tinyhumans/e2e-test-support"]
[dependencies]
# The only openhuman crate this layer depends on. Core internals the server
diff --git a/crates/openhuman-tinyhumans/Cargo.toml b/crates/openhuman-tinyhumans/Cargo.toml
index 3f80739805..2921a91f34 100644
--- a/crates/openhuman-tinyhumans/Cargo.toml
+++ b/crates/openhuman-tinyhumans/Cargo.toml
@@ -35,6 +35,8 @@ channels = ["openhuman-embed/channels"]
whatsapp-web = ["openhuman-embed/whatsapp-web"]
file-logging = ["openhuman-embed/file-logging"]
scheduler-gate = ["openhuman-embed/scheduler-gate"]
+# E2E builds only (`openhuman.test_reset`); default-OFF.
+e2e-test-support = ["openhuman-embed/e2e-test-support"]
[dependencies]
# The only openhuman crate this layer depends on. Core internals the