Skip to content

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

refactor(deps): remove whatsapp-web dependency

Steven Enamakeleaa2c38cb36a
diff --git a/crates/openhuman-cli/Cargo.toml b/crates/openhuman-cli/Cargo.toml
index 33e7c32276..7690a39f93 100644
--- a/crates/openhuman-cli/Cargo.toml
+++ b/crates/openhuman-cli/Cargo.toml
@@ -462,7 +462,6 @@ flows = ["openhuman-rpc/flows"]
skills = ["openhuman-rpc/skills"]
mcp = ["openhuman-rpc/mcp"]
channels = ["openhuman-rpc/channels"]
-whatsapp-web = ["openhuman-rpc/whatsapp-web"]
e2e-test-support = ["openhuman-rpc/e2e-test-support"]
file-logging = ["openhuman-rpc/file-logging"]
scheduler-gate = ["openhuman-rpc/scheduler-gate"]
diff --git a/crates/openhuman-core/Cargo.toml b/crates/openhuman-core/Cargo.toml
index 16a540da5d..0a6e58b5b4 100644
--- a/crates/openhuman-core/Cargo.toml
+++ b/crates/openhuman-core/Cargo.toml
@@ -395,7 +395,6 @@ zstd = "0.13"
# behind the `scheduler-gate` feature. CPU sampling uses `sysinfo` above.
starship-battery = { version = "0.12", optional = true }
-# WhatsApp Web provider execution is supplied by the TinyChannels module.
# TinyDocs — the document wire contract, and nothing else.
#
# `tinydocs-bus` is the whole dependency: the spec types, their size limits,
@@ -518,7 +517,7 @@ tokio-tungstenite = { version = "0.29", default-features = false, features = ["c
[dev-dependencies]
# Legacy TinyChannels provider/runtime fixtures remain available to tests only;
# production channel execution uses the TinyBus module contract above.
-tinychannels = { path = "../../vendor/tinychannels", features = ["relay-websocket", "email", "lark", "whatsapp-web"] }
+tinychannels = { path = "../../vendor/tinychannels", features = ["relay-websocket", "email", "lark"] }
tinychannels-runtime = { path = "../../vendor/tinychannels/crates/tinychannels-runtime" }
# The real TinyChannels module, linked into the test binary (never the product)
# as the fixture behind `channels::module_fixture`.
@@ -855,9 +854,6 @@ crash-reporting = ["dep:sentry"]
# Channels-backed operations require the process-wide module loader;
# serialized configuration/messages come from the always-on bus contract.
channels = ["modules"]
-# Retained only to gate legacy provider test fixtures; production channel
-# execution is delivered by the TinyChannels module artifact.
-whatsapp-web = ["channels"]
# Exposes the destructive `openhuman.test_reset` RPC. Off by default; the E2E
# build (app/scripts/e2e-build.sh) flips it on. Shipped binaries never have
# this feature so the wipe RPC isn't even registered, let alone reachable.
diff --git a/crates/openhuman-core/src/channels/mod.rs b/crates/openhuman-core/src/channels/mod.rs
index 8c95df4963..84f1ef8fde 100644
--- a/crates/openhuman-core/src/channels/mod.rs
+++ b/crates/openhuman-core/src/channels/mod.rs
@@ -71,10 +71,6 @@ pub use providers::slack;
#[cfg(all(feature = "channels", test))]
pub use providers::telegram;
#[cfg(all(feature = "channels", test))]
-pub use providers::whatsapp;
-#[cfg(all(feature = "whatsapp-web", test))]
-pub use providers::whatsapp_web;
-#[cfg(all(feature = "channels", test))]
pub use providers::yuanbao;
#[cfg(all(feature = "channels", test))]
@@ -102,9 +98,6 @@ pub use slack::SlackChannel;
#[cfg(all(feature = "channels", test))]
pub use telegram::TelegramChannel;
#[cfg(all(feature = "channels", test))]
-pub use whatsapp::WhatsAppChannel;
-#[cfg(all(feature = "whatsapp-web", test))]
-pub use whatsapp_web::WhatsAppWebChannel;
#[cfg(all(feature = "channels", test))]
pub use yuanbao::YuanbaoChannel;
diff --git a/crates/openhuman-core/src/channels/providers/mod.rs b/crates/openhuman-core/src/channels/providers/mod.rs
index 52918229c2..d6ee2db446 100644
--- a/crates/openhuman-core/src/channels/providers/mod.rs
+++ b/crates/openhuman-core/src/channels/providers/mod.rs
@@ -11,9 +11,6 @@ pub mod relay;
pub use tinychannels::providers::email_channel;
#[cfg(test)]
pub use tinychannels::providers::lark;
-#[cfg(feature = "whatsapp-web")]
-#[cfg(test)]
-pub use tinychannels::providers::whatsapp_web;
#[cfg(test)]
pub use tinychannels::providers::{
dingtalk, discord, imessage, irc, linq, mattermost, qq, signal, slack, telegram, whatsapp,
diff --git a/crates/openhuman-core/src/core/runtime/features.rs b/crates/openhuman-core/src/core/runtime/features.rs
index 263234a9e2..4ddbea7d2f 100644
--- a/crates/openhuman-core/src/core/runtime/features.rs
+++ b/crates/openhuman-core/src/core/runtime/features.rs
@@ -23,7 +23,6 @@ pub fn compiled_features() -> std::collections::BTreeMap<String, bool> {
("mcp", cfg!(feature = "mcp")),
("crash-reporting", cfg!(feature = "crash-reporting")),
("channels", cfg!(feature = "channels")),
- ("whatsapp-web", cfg!(feature = "whatsapp-web")),
("e2e-test-support", cfg!(feature = "e2e-test-support")),
("rss-bench", cfg!(feature = "rss-bench")),
("file-logging", cfg!(feature = "file-logging")),
diff --git a/crates/openhuman-embed/Cargo.toml b/crates/openhuman-embed/Cargo.toml
index 40bbce8c6b..b9a17d2673 100644
--- a/crates/openhuman-embed/Cargo.toml
+++ b/crates/openhuman-embed/Cargo.toml
@@ -43,7 +43,6 @@ crash-reporting = ["dep:sentry", "openhuman-core/crash-reporting"]
# (`ProfileHandle::relay_inbound`) is a channel transport and needs `channels`.
profiles = []
channels = ["profiles", "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.
diff --git a/crates/openhuman-rpc/Cargo.toml b/crates/openhuman-rpc/Cargo.toml
index 0a6c396ed9..12e7dfdf34 100644
--- a/crates/openhuman-rpc/Cargo.toml
+++ b/crates/openhuman-rpc/Cargo.toml
@@ -72,7 +72,6 @@ mcp = ["openhuman-tinyhumans/mcp"]
# to Sentry.
crash-reporting = ["openhuman-tinyhumans/crash-reporting"]
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
diff --git a/crates/openhuman-tinyhumans/Cargo.toml b/crates/openhuman-tinyhumans/Cargo.toml
index 6372dfddab..7aa13d5cb4 100644
--- a/crates/openhuman-tinyhumans/Cargo.toml
+++ b/crates/openhuman-tinyhumans/Cargo.toml
@@ -39,7 +39,6 @@ skills = ["openhuman-embed/skills"]
mcp = ["openhuman-embed/mcp"]
crash-reporting = ["openhuman-embed/crash-reporting"]
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.
diff --git a/crates/openhuman-tui/Cargo.toml b/crates/openhuman-tui/Cargo.toml
index c23cd1cc12..309fca1de5 100644
--- a/crates/openhuman-tui/Cargo.toml
+++ b/crates/openhuman-tui/Cargo.toml
@@ -51,7 +51,6 @@ flows = ["openhuman-rpc/flows"]
skills = ["openhuman-rpc/skills"]
mcp = ["openhuman-rpc/mcp"]
channels = ["openhuman-rpc/channels"]
-whatsapp-web = ["openhuman-rpc/whatsapp-web"]
file-logging = ["openhuman-rpc/file-logging"]
scheduler-gate = ["openhuman-rpc/scheduler-gate"]
e2e-test-support = ["openhuman-rpc/e2e-test-support"]