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(modules): pin TinySearch v0.4.1 contract and released artifacts
Steven Enamakele9d785ee8dce
diff --git a/Cargo.lock b/Cargo.lockindex 2dc4f0b99a..3587825d7a 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -8067,7 +8067,7 @@ dependencies = [[[package]]name = "tinysearch-bus"-version = "0.4.0"+version = "0.4.1"dependencies = ["serde","serde_json",diff --git a/crates/openhuman-app/Cargo.lock b/crates/openhuman-app/Cargo.lockindex d4535f388b..68c195a499 100644--- a/crates/openhuman-app/Cargo.lock+++ b/crates/openhuman-app/Cargo.lock@@ -8373,7 +8373,7 @@ dependencies = [[[package]]name = "tinysearch-bus"-version = "0.4.0"+version = "0.4.1"dependencies = ["serde","serde_json",diff --git a/crates/openhuman-core/src/modules/registry/records_search.rs b/crates/openhuman-core/src/modules/registry/records_search.rsindex 828a4e6315..4527565ff7 100644--- a/crates/openhuman-core/src/modules/registry/records_search.rs+++ b/crates/openhuman-core/src/modules/registry/records_search.rs@@ -8,65 +8,65 @@ pub(crate) const TINYSEARCH: ModuleRecord = ModuleRecord {"Web search, grounded answers and page contents across providers through TinySearch",bus_name: tinysearch_bus::names::INTERFACE,object_path: tinysearch_bus::names::OBJECT_PATH,- version: "0.4.0",- release_url: "https://github.com/tinyhumansai/tinysearch/releases/tag/v0.4.0",- // Verbatim from the published v0.4.0 checksum.toml; the same host set as+ version: "0.4.1",+ release_url: "https://github.com/tinyhumansai/tinysearch/releases/tag/v0.4.1",+ // Verbatim from the published v0.4.1 checksum.toml; the same host set as// the other native modules (macOS, Ubuntu, Windows).assets: &[PlatformAsset {host_key: "macos-26-arm64",- archive: "tinysearch-0.4.0-macos-26-arm64.tar.gz",- sha256: "63cd720117b6751a12a45049e77d4891abb2282174b3af7ebc6637d7801a000c",+ archive: "tinysearch-0.4.1-macos-26-arm64.tar.gz",+ sha256: "596e8ccd6ea57026bf2f3d0abcb5f377c3b877fe1a926f3335f58ce917f15289",},PlatformAsset {host_key: "macos-26-x86_64",- archive: "tinysearch-0.4.0-macos-26-x86_64.tar.gz",- sha256: "6e5727704b2ce42907c93ef7610bb6a709700a6d9c52aeffda6dc287760f8733",+ archive: "tinysearch-0.4.1-macos-26-x86_64.tar.gz",+ sha256: "cd74ca7b47b05fe05d4dec04828386af8798508bafe62053392a7c9cfac2ebf3",},PlatformAsset {host_key: "macos-15-arm64",- archive: "tinysearch-0.4.0-macos-15-arm64.tar.gz",- sha256: "0d3d67648779476359bc7f5c601df6f18a1e25ee99d05076d3851fecbec271d2",+ archive: "tinysearch-0.4.1-macos-15-arm64.tar.gz",+ sha256: "9793e84de25b6369548d223b374589aea3b0da32dddba88ff192ae1b85d1d185",},PlatformAsset {host_key: "macos-15-x86_64",- archive: "tinysearch-0.4.0-macos-15-x86_64.tar.gz",- sha256: "dd0884894a05046377d717778d78c9523a3fbafe42ea09385963cc7fdec94205",+ archive: "tinysearch-0.4.1-macos-15-x86_64.tar.gz",+ sha256: "a2372f25f782ef65dad2dd59b10d64d333e82fb63d38c3e3abdad9004601c74a",},PlatformAsset {host_key: "ubuntu-24.04-x86_64",- archive: "tinysearch-0.4.0-ubuntu-24.04-x86_64.tar.gz",- sha256: "12f3b5d9377d6411a2acd027694a587d301f1823bdf33920e422494e9d7b46d6",+ archive: "tinysearch-0.4.1-ubuntu-24.04-x86_64.tar.gz",+ sha256: "ffac511cb21f497d6db50aa2145f9c71c97390e93e50f5e81d0a8298c179cb34",},PlatformAsset {host_key: "ubuntu-24.04-arm64",- archive: "tinysearch-0.4.0-ubuntu-24.04-arm64.tar.gz",- sha256: "0e90ab3abd25ca9a622f1616facc10cee1ecb6aeab0f4be9ac8fd0d53f8bdd87",+ archive: "tinysearch-0.4.1-ubuntu-24.04-arm64.tar.gz",+ sha256: "f89253d43dc970102f432f86d6bc65e81f477175a3f199e89abdee9538b310b4",},PlatformAsset {host_key: "ubuntu-22.04-x86_64",- archive: "tinysearch-0.4.0-ubuntu-22.04-x86_64.tar.gz",- sha256: "bc84f7f509a26de55b5491348f47e44a41a48755976e86172f50f1c5252bd124",+ archive: "tinysearch-0.4.1-ubuntu-22.04-x86_64.tar.gz",+ sha256: "33244ed65d97c4cb13afcf5db149d73fd900ae5e953a8f150237e6891fe80179",},PlatformAsset {host_key: "ubuntu-22.04-arm64",- archive: "tinysearch-0.4.0-ubuntu-22.04-arm64.tar.gz",- sha256: "87e3151bbcd8c4c4eebe16ab533534f93c186e15abba7e050de8fdeb6690046d",+ archive: "tinysearch-0.4.1-ubuntu-22.04-arm64.tar.gz",+ sha256: "bf2f6afc2c32c3a67f559a3e46ea2b7848388f6557ab9119dafc33e9c5509dae",},PlatformAsset {host_key: "windows-2025-x86_64",- archive: "tinysearch-0.4.0-windows-2025-x86_64.zip",- sha256: "1701290dd580be7c7c3ea9d75fd4bf4f39dfbbb98dba0cdc90875a6553a02284",+ archive: "tinysearch-0.4.1-windows-2025-x86_64.zip",+ sha256: "1733bb9e3772f543dcefbace5b23212fa5f6f4de62eb06cbe0489009031c9953",},PlatformAsset {host_key: "windows-2022-x86_64",- archive: "tinysearch-0.4.0-windows-2022-x86_64.zip",- sha256: "82e2c12f3820cf7ac61d721f109defa9fcc9a8553ac48a591e8fbafeb9f8a49f",+ archive: "tinysearch-0.4.1-windows-2022-x86_64.zip",+ sha256: "635c6ef997dd30ed614e4f6eca32d2ae5f665be0fd450e303e9ca43d4bd10f84",},PlatformAsset {host_key: "windows-11-arm64",- archive: "tinysearch-0.4.0-windows-11-arm64.zip",- sha256: "be1084a2b820c8c127106bb4c9a9c47df9b0fc27f68107e2e06e46f137fd562b",+ archive: "tinysearch-0.4.1-windows-11-arm64.zip",+ sha256: "f6bdbfb8a67dd411d1eeb071f04a9f9f7466fb742103c528a4fe69063c37553d",},],load: LoadPolicy::Lazy,diff --git a/crates/openhuman-core/src/modules/search/proxy_tests.rs b/crates/openhuman-core/src/modules/search/proxy_tests.rsindex 50e9716ba2..6caacbbb1b 100644--- a/crates/openhuman-core/src/modules/search/proxy_tests.rs+++ b/crates/openhuman-core/src/modules/search/proxy_tests.rs@@ -147,3 +147,56 @@ fn the_execute_tool_deadline_follows_a_raised_tool_budget() {);assert_eq!(execute_tool_timeout_for(10), EXECUTE_TOOL_TIMEOUT);}++#[tokio::test]+#[ignore = "requires TINYSEARCH_TEST_MODULE pointing to the byte-verified release artifact"]+async fn released_search_artifact_serves_host_contract_and_rejects_disabled_execution() {+ use tinybus::{broker::Broker, module::ModuleHost, transport::memory::MemoryBus};+ let file = std::env::var_os("TINYSEARCH_TEST_MODULE").expect("released artifact path");+ let bus = MemoryBus::new();+ let broker = Broker::new();+ let broker_task = broker.spawn(bus.clone());+ let host = ModuleHost::new(broker);+ let config = tinysearch_bus::SearchConfig {+ enabled: false,+ ..Default::default()+ };+ let info = host+ .load_file_with_config(+ std::path::PathBuf::from(file),+ serde_json::to_value(config).unwrap(),+ )+ .expect("published artifact is admitted by the host loader");+ assert_eq!(info.name, "tinysearch");+ assert_eq!(info.version, "0.4.1");+ let client = tinybus::Connection::connect(bus.connect().await.unwrap())+ .await+ .unwrap();+ tokio::time::timeout(std::time::Duration::from_secs(5), async {+ while !client+ .list_names()+ .await+ .unwrap()+ .iter()+ .any(|name| name.as_str() == names::INTERFACE)+ {+ tokio::task::yield_now().await;+ }+ })+ .await+ .expect("module claims its contract interface");+ let proxy = client+ .proxy(names::INTERFACE, names::OBJECT_PATH, names::INTERFACE)+ .unwrap();+ let tools: ListToolsResponse = proxy.call(names::methods::LIST_TOOLS, ()).await.unwrap();+ assert!(tools.tools.is_empty());+ let failure = call_execute_tool::<ExecuteToolResponse>(proxy, web_answer_request())+ .await+ .expect_err("disabled module refuses execution without contacting providers");+ assert!(+ failure.to_string().contains("search is disabled"),+ "{failure}"+ );+ host.shutdown(std::time::Duration::from_secs(5)).await;+ broker_task.abort();+}diff --git a/vendor/tinysearch b/vendor/tinysearchindex 20c4773830..76acbf3c94 160000--- a/vendor/tinysearch+++ b/vendor/tinysearch@@ -1 +1 @@-Subproject commit 20c4773830d45ed0081f0ef50f48e3c0d5add78f+Subproject commit 76acbf3c9442c31c7c29fd78064493a2cbf05983