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(core): remove memory_diff tool and its sysinfo dependency
Steven Enamakel7137e06341db
diff --git a/crates/openhuman-cli/Cargo.toml b/crates/openhuman-cli/Cargo.tomlindex c42272fb0d..532cac3c2b 100644--- a/crates/openhuman-cli/Cargo.toml+++ b/crates/openhuman-cli/Cargo.toml@@ -405,8 +405,6 @@ lettre = { version = "0.11.22", default-features = false, features = ["builder",parking_lot = "0.12"rusqlite = { version = "=0.40.2", features = ["bundled"] }sha2 = "0.10"-# `ollama_lifecycle_e2e` checks the spawned runtime child is really gone.-sysinfo = { version = "0.33", default-features = false, features = ["system"] }tar = "0.4"tinyagents-harness = { path = "../../vendor/tinyagents/crates/tinyagents-harness", features = ["sqlite", "multimodal"] }tinyagents-session = { path = "../../vendor/tinyagents/crates/tinyagents-session" }diff --git a/crates/openhuman-core/src/tools/capability.rs b/crates/openhuman-core/src/tools/capability.rsindex c564075b9f..49a9109c7a 100644--- a/crates/openhuman-core/src/tools/capability.rs+++ b/crates/openhuman-core/src/tools/capability.rs@@ -33,10 +33,9 @@/// wrong default is worse than no rule. Hence enumeration plus two narrow/// prefix rules, backed by the drift guard.///-/// ## Honesty clause — two assignments still run ahead of the plumbing:+/// ## Honesty clause — one assignment still runs ahead of the plumbing:/// `tool_stats` reads the legacy `Arc<dyn Memory>` + `tool_tracker`, not-/// `MemoryToolMemory`; `memory_diff` reads `memory::diff::ops`, not-/// `MemoryDiff`. Filtering both on the driver's advertised set is still the+/// `MemoryToolMemory`. Filtering it on the driver's advertised set is still the/// correct M5 behaviour: §3.3 contracts what the *model is told exists*, so/// the later re-point onto `MemoryGuard` must not change the advertised/// surface, and `None` to dodge the mismatch would bake the wrong contract in.diff --git a/crates/openhuman-core/src/tools/ops_tests_capability_gating_tests.rs b/crates/openhuman-core/src/tools/ops_tests_capability_gating_tests.rsindex 39e526ec39..1931a3de4e 100644--- a/crates/openhuman-core/src/tools/ops_tests_capability_gating_tests.rs+++ b/crates/openhuman-core/src/tools/ops_tests_capability_gating_tests.rs@@ -377,18 +377,6 @@ async fn memory_tools_all_present_under_the_module_driver() {}}-/// The git-backed diff tool was deleted along with the `memory-git` gate.-/// This pins that it stays gone in every build, not merely unregistered.-#[test]-fn memory_diff_tool_is_absent_in_every_build() {- let tmp = TempDir::new().unwrap();- let names = tool_names(&expansion_tools_for(&tmp));- assert!(- !names.iter().any(|name| name == "memory_diff"),- "memory_diff was removed with the memory-git gate; got: {names:?}"- );-}-/// The half that proves the filter removes anything.#[tokio::test]async fn optional_family_memory_tools_absent_under_the_null_driver() {@@ -409,11 +397,6 @@ async fn optional_family_memory_tools_absent_under_the_null_driver() {"`{absent}` must be ABSENT under the null driver; got: {names:?}");}- // Removed outright with the `memory-git` gate.- assert!(- !names.iter().any(|n| n == "memory_diff"),- "`memory_diff` must be ABSENT under the null driver; got: {names:?}"- );for present in ALWAYS_PRESENT_MEMORY_TOOLS {assert!(names.iter().any(|n| n == present),diff --git a/docs/library-minimal-recipe.md b/docs/library-minimal-recipe.mdindex e86149065b..1b9f7a1736 100644--- a/docs/library-minimal-recipe.md+++ b/docs/library-minimal-recipe.md@@ -84,8 +84,8 @@ is actually for.| `desktop-automation` | — | — | **DROP** | AX / `computer` tool family drives a **local desktop UI** — meaningless headless | `uiautomation` || `tui` | OFF | — | **DROP** | `openhuman tui`/`chat` terminal UI — no terminal in a library host | `ratatui`, `crossterm`, `unicode-width` |-**Non-default optional features** (`sandbox-landlock`, `sandbox-bubblewrap`,-`browser-native`/`fantoccini`, `landlock`, `whatsapp-web`,+**Non-default optional features** (`sandbox-landlock`,+`browser-native`/`fantoccini`, `whatsapp-web`,`e2e-test-support`, `rss-bench`, `rss-bench-dhat`) are all default-OFF, so a`--no-default-features` build never links them unless explicitly added. None areneeded for opencompany; `rss-bench`/`rss-bench-dhat` are dev/benchmark-only.