The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: remove obsolete whatsapp data integration remnants
Steven Enamakelf2284d9b2892
diff --git a/Cargo.toml b/Cargo.tomlindex 2195381a94..ad79384513 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -1112,8 +1112,7 @@ medulla = []# Channels domain: `openhuman::channels` (external-messaging providers — Telegram,# Discord, Slack, Signal, WhatsApp, iMessage, IRC, … — plus the channel runtime,# controllers, host, proactive messaging and inbound dispatch) together with the-# `webview_accounts` / `webview_apis` / `webview_notifications` / `whatsapp_data`-# webview-bridge domains. Default-ON — the desktop app always ships with+# `webview_notifications` bridge domain. Default-ON — the desktop app always ships with# channels. Slim / headless builds opt out via `--no-default-features --features# "<explicit list without channels>"`. Composes with the runtime# `DomainSet::Channels` flag (#4796): this feature narrows the compile-timediff --git a/app/src-tauri/Cargo.toml b/app/src-tauri/Cargo.tomlindex 82db37908b..02f69fba6d 100644--- a/app/src-tauri/Cargo.toml+++ b/app/src-tauri/Cargo.toml@@ -89,10 +89,10 @@ sentry = { version = "0.47.0", default-features = false, features = ["backtrace"# Used by the imessage_scanner module.anyhow = "1.0"-# SQLite for the shell-side whatsapp_data store (relocated from the core). All-# platforms — the store persists on Windows/Linux/macOS. Pinned to match the-# core crate so a single bundled SQLite is linked. (The macOS-only iMessage-# scanner also uses rusqlite; this general dep covers it too.)+# SQLite for the macOS iMessage scanner, which reads ~/Library/Messages/chat.db+# read-only. Declared in the general table rather than under the macOS target so+# `cargo check` on Linux/Windows resolves the same graph. Pinned to match the+# core crate so a single bundled SQLite is linked.rusqlite = { version = "=0.40.2", features = ["bundled"] }parking_lot = "0.12"chrono = "0.4"diff --git a/app/src-tauri/permissions/allow-core-process.toml b/app/src-tauri/permissions/allow-core-process.tomlindex 6d9f7774f9..d0be181855 100644--- a/app/src-tauri/permissions/allow-core-process.toml+++ b/app/src-tauri/permissions/allow-core-process.toml@@ -100,15 +100,6 @@ allow = ["companion_config_get","companion_config_set",- # =========================- # STRUCTURED WHATSAPP DATA- # =========================- # The SQLite store moved from the core into the Tauri shell. Intelligence- # views now query it through these read-only invoke commands.- "whatsapp_data_list_chats",- "whatsapp_data_list_messages",- "whatsapp_data_search_messages",-# =========================# ACCOUNT WEBVIEW# =========================diff --git a/app/test/e2e/specs/mega-flow.spec.ts b/app/test/e2e/specs/mega-flow.spec.tsindex c5845f414d..48431f5555 100644--- a/app/test/e2e/specs/mega-flow.spec.ts+++ b/app/test/e2e/specs/mega-flow.spec.ts@@ -430,32 +430,6 @@ describe('Mega flow — login + Gmail OAuth + Composio in one session', () => {console.log(`${LOG} post-reset login proves config.toml survives reset`);});- // -------------------------------------------------------------------------- // Scenario 7 — WhatsApp native read flow.- // Storage and frontend reads now live in the Tauri shell, so verify the- // renderer-to-native command and its list-shaped response.- // -------------------------------------------------------------------------- it('WhatsApp read-only: native list_chats returns expected shape', async () => {- await resetEverything('after Scenario 6');-- await triggerDeepLink('openhuman://auth?token=mega-whatsapp-token');- await waitForMockRequest('POST', '/auth/login-token/consume', 15_000);- clearRequestLog();-- // WhatsApp storage moved from core controllers to shell-native handlers.- // Exercise the renderer's production IPC boundary and assert the native- // list shape; an empty store is valid before a scanner has ingested data.- const list = await invokeTauri<unknown[]>('whatsapp_data_list_chats', { req: {} });- expect(list.__error).toBeUndefined();- const chats = list.__ok ?? [];- expect(Array.isArray(chats)).toBe(true);- console.log(`${LOG} whatsapp list_chats returned ${chats.length} chat(s)`);-- // Session must still be healthy.- const ping = await callOpenhumanRpc('core.ping', {});- expect(ping.ok).toBe(true);- });-// -------------------------------------------------------------------------// Scenario 8 — Spawn-depth limit.// SKIPPED: `openhuman.agent_run` does not exist; the closest RPC methodsdiff --git a/src/core/observability.rs b/src/core/observability.rsindex 436e7c3ed2..3ddd8ce095 100644--- a/src/core/observability.rs+++ b/src/core/observability.rs@@ -141,10 +141,9 @@ pub enum ExpectedErrorKind {///MemoryStoreBreakerOpen,// (WhatsApp structured-ingest SQLite busy/corrupt classifiers were removed- // when the whatsapp_data store moved to the Tauri shell: the core no longer- // runs the ingest write path, so the `[whatsapp_data] ingest failed:`- // envelope these matched is never produced core-side. The shell store keeps- // its own once-per-episode corruption report + quarantine/rebuild recovery.)+ // when that store moved to the Tauri shell; the store itself is gone now —+ // its only writer was the CDP scanner deleted in #5478 — so no build+ // produces the envelope these matched.)/// Host disk is full — the filesystem returned `ENOSPC` to a write,/// `mkdir`, or `open` syscall. The user cannot recover from this without/// freeing space on their machine, and Sentry has no remediation pathdiff --git a/src/openhuman/tools/ops.rs b/src/openhuman/tools/ops.rsindex b19b7c13e0..154d28096e 100644--- a/src/openhuman/tools/ops.rs+++ b/src/openhuman/tools/ops.rs@@ -1371,7 +1371,7 @@ fn tool_group(name: &str) -> crate::core::all::DomainGroup {// ── Families carved out of Platform by the DomainGroup realignment ──────// Each of these previously fell through to Platform, which meant the tool// stayed callable when its family was gated off under a custom DomainSet —- // the leak the #4808 review flagged for whatsapp_data. Keep these in+ // leak the #4808 review flagged. Keep these in// lockstep with the `push(...)` tags in `core::all`.//// Automation: scheduled jobs (`cron_*`) plus the subconscious monitor +