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: pin MCP module to verified v0.8.1 release
Steven Enamakel02d640e44f17
diff --git a/Cargo.lock b/Cargo.lockindex 6ba40af3a3..4b4cb92553 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -7263,7 +7263,7 @@ dependencies = [[[package]]name = "tinymcp"-version = "0.8.0"+version = "0.8.1"dependencies = ["anyhow","async-trait",@@ -7281,6 +7281,7 @@ dependencies = ["thiserror 2.0.20","tinymcp-bus","tinytools",+ "tinytools-std","tokio","tokio-stream","tracing",@@ -7291,7 +7292,7 @@ dependencies = [[[package]]name = "tinymcp-bus"-version = "0.8.0"+version = "0.8.1"dependencies = ["schemars","serde",diff --git a/Cargo.toml b/Cargo.tomlindex c8458b9963..65899e9766 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -50,6 +50,7 @@ openhuman-tinyhumans = { path = "crates/openhuman-tinyhumans", default-features# every host tool link — so there is exactly one `tinytools` package and one# `Tool` trait. Without this, MCP tools would not satisfy the harness's trait.tinytools = { path = "vendor/tinyagents/vendor/tinytools/crates/tinytools" }+tinytools-std = { path = "vendor/tinyagents/vendor/tinytools/crates/tinytools-std" }tinytools-agent = { path = "vendor/tinyagents/vendor/tinytools/crates/tinytools-agent" }[patch."https://github.com/tinyhumansai/tinystoragedrivers"]diff --git a/crates/openhuman-core/Cargo.toml b/crates/openhuman-core/Cargo.tomlindex e8b3908a16..7be6df961b 100644--- a/crates/openhuman-core/Cargo.toml+++ b/crates/openhuman-core/Cargo.toml@@ -226,9 +226,9 @@ tinyconnectors-bus = { path = "../../vendor/tinyconnectors/crates/tinyconnectors# generates a settings schema for the desktop application from those types# rather than from a hand-kept copy.#-# `tinymcp` v0.8.0 publishes contract 1.12, including configured directories,+# `tinymcp` v0.8.1 publishes contract 1.12, including configured directories,# explicit close and transition receipts, and cached tool reads. The native-# registry entry pins the same v0.8.0 release and its verified platform digests.+# registry entry pins the same v0.8.1 release and its verified platform digests.# The current host still calls the local library directly; switching those# callers to the bus remains a separate host-adapter change.#diff --git a/crates/openhuman-core/src/mcp/registry/supervisor_events.rs b/crates/openhuman-core/src/mcp/registry/supervisor_events.rsindex 20a8b99afa..186d156bae 100644--- a/crates/openhuman-core/src/mcp/registry/supervisor_events.rs+++ b/crates/openhuman-core/src/mcp/registry/supervisor_events.rs@@ -47,7 +47,7 @@ pub fn domain_events_for(workspace: &Path, events: &[SupervisorEvent]) -> Vec<Do}fn domain_event_for(workspace: &Path, event: &SupervisorEvent) -> Option<DomainEvent> {- let server = event.server();+ let server = event.server()?;let server_id = server.server_id.clone();let qualified_name = server.qualified_name.clone();let workspace_dir = workspace.to_path_buf();diff --git a/crates/openhuman-core/src/mcp/registry/supervisor_events_tests.rs b/crates/openhuman-core/src/mcp/registry/supervisor_events_tests.rsindex b1e672ad1b..a56da36e02 100644--- a/crates/openhuman-core/src/mcp/registry/supervisor_events_tests.rs+++ b/crates/openhuman-core/src/mcp/registry/supervisor_events_tests.rs@@ -33,6 +33,11 @@ fn an_answered_probe_is_not_an_event() {assert!(events.is_empty());}+#[test]+fn an_unknown_supervisor_event_without_a_server_is_skipped() {+ assert!(domain_events_for(workspace(), &[SupervisorEvent::Unknown]).is_empty());+}+#[test]fn a_kept_timeout_becomes_probe_timed_out_with_its_place_in_the_streak() {let events = domain_events_for(diff --git a/crates/openhuman-core/src/mcp/registry/tools.rs b/crates/openhuman-core/src/mcp/registry/tools.rsindex ba2772dabb..070f90e4a9 100644--- a/crates/openhuman-core/src/mcp/registry/tools.rs+++ b/crates/openhuman-core/src/mcp/registry/tools.rs@@ -27,9 +27,8 @@ use async_trait::async_trait;use serde_json::Value;use crate::config::Config;-use tinymcp_bus::agent_tools::{- normalize_tool_arguments, AgentToolEffect, AgentToolSpec, RegistryTool,-};+use tinymcp::normalize_tool_arguments;+use tinymcp_bus::agent_tools::{AgentToolEffect, AgentToolSpec, RegistryTool};use tinytools::{PermissionLevel, Tool, ToolExposure, ToolResult};use super::ops;diff --git a/crates/openhuman-core/src/mcp/server/handler.rs b/crates/openhuman-core/src/mcp/server/handler.rsindex df650cda49..864d634338 100644--- a/crates/openhuman-core/src/mcp/server/handler.rs+++ b/crates/openhuman-core/src/mcp/server/handler.rs@@ -17,7 +17,8 @@ use std::sync::Arc;use futures_util::future::BoxFuture;use serde_json::{Map, Value};use tinymcp::{- McpServerHandler, RequestContext, ResourceSpec, ServerInfo, ServerToolSpec, ToolCallError,+ McpServerHandler, RequestContext, RequestContextExt, ResourceSpec, ServerInfo, ServerToolSpec,+ ToolCallError,};use super::{resources, subagent_depth, tools};diff --git a/crates/openhuman-core/src/mcp/server/handler_tests.rs b/crates/openhuman-core/src/mcp/server/handler_tests.rsindex dff5327b76..e088355665 100644--- a/crates/openhuman-core/src/mcp/server/handler_tests.rs+++ b/crates/openhuman-core/src/mcp/server/handler_tests.rs@@ -1,5 +1,5 @@use serde_json::{json, Map, Value};-use tinymcp::{McpServerHandler, RequestContext, RequestHeaders, ToolCallError};+use tinymcp::{McpServerHandler, RequestContext, RequestHeaders, RequestHeadersExt, ToolCallError};use super::*;use crate::mcp::server::subagent_depth::{HEADER_SUBAGENT_DEPTH, MAX_SUBAGENT_DEPTH};diff --git a/crates/openhuman-core/src/mcp/server/tools_tests.rs b/crates/openhuman-core/src/mcp/server/tools_tests.rsindex e562c48404..b7233d0cf9 100644--- a/crates/openhuman-core/src/mcp/server/tools_tests.rs+++ b/crates/openhuman-core/src/mcp/server/tools_tests.rs@@ -1,5 +1,6 @@use super::specs::tool_specs_for_loaded_config;use super::*;+use tinymcp::ServerToolSpecExt;/// The `tools/list` result this config advertises, rendered through the same/// `tinymcp` conversion the served catalog uses.diff --git a/crates/openhuman-core/src/modules/registry/records_mcp_connectors.rs b/crates/openhuman-core/src/modules/registry/records_mcp_connectors.rsindex ee29c51dac..334095a9dd 100644--- a/crates/openhuman-core/src/modules/registry/records_mcp_connectors.rs+++ b/crates/openhuman-core/src/modules/registry/records_mcp_connectors.rs@@ -27,63 +27,63 @@ pub(crate) const TINYMCP: ModuleRecord = ModuleRecord {description: "Model Context Protocol client: transports, registry, and the write-audit log",bus_name: "ai.tinyhumans.tinymcp.Mcp",object_path: "/ai/tinyhumans/tinymcp/Mcp",- version: "0.8.0",- release_url: "https://github.com/tinyhumansai/tinymcp/releases/tag/v0.8.0",+ version: "0.8.1",+ release_url: "https://github.com/tinyhumansai/tinymcp/releases/tag/v0.8.1",assets: &[PlatformAsset {host_key: "ubuntu-24.04-x86_64",- archive: "tinymcp-0.8.0-ubuntu-24.04-x86_64.tar.gz",- sha256: "a8a4755e73db651db27eb373c38b7321d856ea2330329a514634724ab098e9f0",+ archive: "tinymcp-0.8.1-ubuntu-24.04-x86_64.tar.gz",+ sha256: "54e05304cc088f83aeb858780426d06aebe4ed604c8a92d8d66136c532807c21",},PlatformAsset {host_key: "ubuntu-24.04-arm64",- archive: "tinymcp-0.8.0-ubuntu-24.04-arm64.tar.gz",- sha256: "6f3c1ef5d2331f392444c1b710e4bb87235e7d5ff0d73699fe96879d82bbda4c",+ archive: "tinymcp-0.8.1-ubuntu-24.04-arm64.tar.gz",+ sha256: "78bfa9a7e6751b6f7b7c2d6242f6e5f9369421e4ff54e5aef990f1324a386325",},PlatformAsset {host_key: "ubuntu-22.04-x86_64",- archive: "tinymcp-0.8.0-ubuntu-22.04-x86_64.tar.gz",- sha256: "22810575cb364e4cabfdc284dea477d0decd2a7d014ea5dfbd9198b5f61a51bd",+ archive: "tinymcp-0.8.1-ubuntu-22.04-x86_64.tar.gz",+ sha256: "eb190c7af70801d17592027dba60c4669e804244b3111859444ca641c209a588",},PlatformAsset {host_key: "ubuntu-22.04-arm64",- archive: "tinymcp-0.8.0-ubuntu-22.04-arm64.tar.gz",- sha256: "aee5b1e79dc87fff615180f65d5470218528d697928c633773c0e08e31c196f0",+ archive: "tinymcp-0.8.1-ubuntu-22.04-arm64.tar.gz",+ sha256: "59dffc24b69552854bc9c6dd1f2d4c07293d15e44d3a4de44a86387b1afb0725",},PlatformAsset {host_key: "macos-26-arm64",- archive: "tinymcp-0.8.0-macos-26-arm64.tar.gz",- sha256: "24550ba3a74dda0b26e21eed79d5b4a4fa722b7e638745a77fd2779457653a51",+ archive: "tinymcp-0.8.1-macos-26-arm64.tar.gz",+ sha256: "05df5adc80296ba4a6882d5aa519fcdbd7ccd8671ee94ad8b647268bc0cd0523",},PlatformAsset {host_key: "macos-26-x86_64",- archive: "tinymcp-0.8.0-macos-26-x86_64.tar.gz",- sha256: "929fa49677731acdd1e8408ab6ca9d3c925549a5141b6e9bb698d60d3c75825e",+ archive: "tinymcp-0.8.1-macos-26-x86_64.tar.gz",+ sha256: "9e4047d0fc1b54f9ec9aa531a604771e2037390a5178413e652248a9e64eef91",},PlatformAsset {host_key: "macos-15-arm64",- archive: "tinymcp-0.8.0-macos-15-arm64.tar.gz",- sha256: "943b1f9698e9f930b88b60eabd0ccd5780e7ec8e06e3bd6c38c966754ede0ed9",+ archive: "tinymcp-0.8.1-macos-15-arm64.tar.gz",+ sha256: "cdf409f7e2e93e9d75f35d8f4e7186ddd090a583a48eddf33ef62b1d83c2af89",},PlatformAsset {host_key: "macos-15-x86_64",- archive: "tinymcp-0.8.0-macos-15-x86_64.tar.gz",- sha256: "4b71a65d12678299a096aa5c6a66e0b7978c04d5d2fc1d4a17f5233e852f01f5",+ archive: "tinymcp-0.8.1-macos-15-x86_64.tar.gz",+ sha256: "0bc9156d0c2bcf9ba6e9277ee9ad3846185dc2192624f5989ab1331ed12ddaf6",},PlatformAsset {host_key: "windows-2025-x86_64",- archive: "tinymcp-0.8.0-windows-2025-x86_64.zip",- sha256: "3057a0ccde3a5e05bfb26a61b5b21b5ec3cb7c3f34441af9be2c78547800d358",+ archive: "tinymcp-0.8.1-windows-2025-x86_64.zip",+ sha256: "f2a32c36fe35c7d24e1bcccf489a686e01c3fb875ec10662be45c2858a24e280",},PlatformAsset {host_key: "windows-2022-x86_64",- archive: "tinymcp-0.8.0-windows-2022-x86_64.zip",- sha256: "abeb9b24890f4f51133c65faae7e6cde02eedd83d5be85df7d01d8f534152c2e",+ archive: "tinymcp-0.8.1-windows-2022-x86_64.zip",+ sha256: "e9b14fd191d2269bb6cc088c76e3ff96a8d97197be9554b0ac8fddd9365c92cc",},PlatformAsset {host_key: "windows-11-arm64",- archive: "tinymcp-0.8.0-windows-11-arm64.zip",- sha256: "42604c4b112c90f0b0daf74e4ef1b2beaf33da8d2ffc3a03e21a8387b368ef75",+ archive: "tinymcp-0.8.1-windows-11-arm64.zip",+ sha256: "6fe315376f651a9f425c437d76f4bf50f0a8838d783a94d0fecf61fb2adb71a9",},],load: LoadPolicy::Lazy,diff --git a/crates/openhuman-core/src/modules/registry_tests.rs b/crates/openhuman-core/src/modules/registry_tests.rsindex bc77e60cf4..3e3678276f 100644--- a/crates/openhuman-core/src/modules/registry_tests.rs+++ b/crates/openhuman-core/src/modules/registry_tests.rs@@ -95,13 +95,13 @@ fn tinybox_registry_matches_the_published_v0118_release_manifest() {}#[test]-fn tinymcp_registry_matches_the_published_v080_release_manifest() {+fn tinymcp_registry_matches_the_published_v081_release_manifest() {let record = find("tinymcp").expect("compiled TinyMCP module");- assert_eq!(record.version, "0.8.0");+ assert_eq!(record.version, "0.8.1");assert_eq!(tinymcp_bus::CONTRACT_VERSION, (1, 12));assert_eq!(record.release_url,- "https://github.com/tinyhumansai/tinymcp/releases/tag/v0.8.0"+ "https://github.com/tinyhumansai/tinymcp/releases/tag/v0.8.1");let actual = record@@ -112,58 +112,58 @@ fn tinymcp_registry_matches_the_published_v080_release_manifest() {let published = [("ubuntu-24.04-x86_64",- "tinymcp-0.8.0-ubuntu-24.04-x86_64.tar.gz",- "a8a4755e73db651db27eb373c38b7321d856ea2330329a514634724ab098e9f0",+ "tinymcp-0.8.1-ubuntu-24.04-x86_64.tar.gz",+ "54e05304cc088f83aeb858780426d06aebe4ed604c8a92d8d66136c532807c21",),("ubuntu-24.04-arm64",- "tinymcp-0.8.0-ubuntu-24.04-arm64.tar.gz",- "6f3c1ef5d2331f392444c1b710e4bb87235e7d5ff0d73699fe96879d82bbda4c",+ "tinymcp-0.8.1-ubuntu-24.04-arm64.tar.gz",+ "78bfa9a7e6751b6f7b7c2d6242f6e5f9369421e4ff54e5aef990f1324a386325",),("ubuntu-22.04-x86_64",- "tinymcp-0.8.0-ubuntu-22.04-x86_64.tar.gz",- "22810575cb364e4cabfdc284dea477d0decd2a7d014ea5dfbd9198b5f61a51bd",+ "tinymcp-0.8.1-ubuntu-22.04-x86_64.tar.gz",+ "eb190c7af70801d17592027dba60c4669e804244b3111859444ca641c209a588",),("ubuntu-22.04-arm64",- "tinymcp-0.8.0-ubuntu-22.04-arm64.tar.gz",- "aee5b1e79dc87fff615180f65d5470218528d697928c633773c0e08e31c196f0",+ "tinymcp-0.8.1-ubuntu-22.04-arm64.tar.gz",+ "59dffc24b69552854bc9c6dd1f2d4c07293d15e44d3a4de44a86387b1afb0725",),("macos-26-arm64",- "tinymcp-0.8.0-macos-26-arm64.tar.gz",- "24550ba3a74dda0b26e21eed79d5b4a4fa722b7e638745a77fd2779457653a51",+ "tinymcp-0.8.1-macos-26-arm64.tar.gz",+ "05df5adc80296ba4a6882d5aa519fcdbd7ccd8671ee94ad8b647268bc0cd0523",),("macos-26-x86_64",- "tinymcp-0.8.0-macos-26-x86_64.tar.gz",- "929fa49677731acdd1e8408ab6ca9d3c925549a5141b6e9bb698d60d3c75825e",+ "tinymcp-0.8.1-macos-26-x86_64.tar.gz",+ "9e4047d0fc1b54f9ec9aa531a604771e2037390a5178413e652248a9e64eef91",),("macos-15-arm64",- "tinymcp-0.8.0-macos-15-arm64.tar.gz",- "943b1f9698e9f930b88b60eabd0ccd5780e7ec8e06e3bd6c38c966754ede0ed9",+ "tinymcp-0.8.1-macos-15-arm64.tar.gz",+ "cdf409f7e2e93e9d75f35d8f4e7186ddd090a583a48eddf33ef62b1d83c2af89",),("macos-15-x86_64",- "tinymcp-0.8.0-macos-15-x86_64.tar.gz",- "4b71a65d12678299a096aa5c6a66e0b7978c04d5d2fc1d4a17f5233e852f01f5",+ "tinymcp-0.8.1-macos-15-x86_64.tar.gz",+ "0bc9156d0c2bcf9ba6e9277ee9ad3846185dc2192624f5989ab1331ed12ddaf6",),("windows-2025-x86_64",- "tinymcp-0.8.0-windows-2025-x86_64.zip",- "3057a0ccde3a5e05bfb26a61b5b21b5ec3cb7c3f34441af9be2c78547800d358",+ "tinymcp-0.8.1-windows-2025-x86_64.zip",+ "f2a32c36fe35c7d24e1bcccf489a686e01c3fb875ec10662be45c2858a24e280",),("windows-2022-x86_64",- "tinymcp-0.8.0-windows-2022-x86_64.zip",- "abeb9b24890f4f51133c65faae7e6cde02eedd83d5be85df7d01d8f534152c2e",+ "tinymcp-0.8.1-windows-2022-x86_64.zip",+ "e9b14fd191d2269bb6cc088c76e3ff96a8d97197be9554b0ac8fddd9365c92cc",),("windows-11-arm64",- "tinymcp-0.8.0-windows-11-arm64.zip",- "42604c4b112c90f0b0daf74e4ef1b2beaf33da8d2ffc3a03e21a8387b368ef75",+ "tinymcp-0.8.1-windows-11-arm64.zip",+ "6fe315376f651a9f425c437d76f4bf50f0a8838d783a94d0fecf61fb2adb71a9",),];diff --git a/crates/openhuman-core/src/tools/impl/network/mcp_server_tools.rs b/crates/openhuman-core/src/tools/impl/network/mcp_server_tools.rsindex a865d63577..5d31e5ba78 100644--- a/crates/openhuman-core/src/tools/impl/network/mcp_server_tools.rs+++ b/crates/openhuman-core/src/tools/impl/network/mcp_server_tools.rs@@ -22,6 +22,7 @@ use std::sync::Arc;use async_trait::async_trait;use serde_json::Value;use tinymcp::tools::{McpExposure, McpServerTool, McpToolInvoker, McpToolSource, SecretScrubber};+use tinymcp::McpRemoteToolExt;use tinytools::{PermissionLevel, Tool, ToolCategory, ToolExposure, ToolResult};use crate::config::{Config, McpToolExposure};diff --git a/crates/openhuman-core/src/util/sanitize.rs b/crates/openhuman-core/src/util/sanitize.rsindex 52d5c953aa..ef1c75a91c 100644--- a/crates/openhuman-core/src/util/sanitize.rs+++ b/crates/openhuman-core/src/util/sanitize.rs@@ -1,16 +1,14 @@//! Sanitization helpers for untrusted text bound for a model's context.//!-//! The implementation moved to `tinymcp_bus`, which is where the MCP transports-//! apply it to every remote tool description before a caller sees one. Two-//! copies of a security-relevant stripping rule in two repositories would-//! drift, and this one is also used for *skill* descriptions from the-//! orchestrator prompt builder — so both need the same rule, and one of them-//! has to name the other's.+//! The implementation is shared from `tinytools_std`; TinyMCP applies it to+//! remote tool descriptions, and OpenHuman also uses it for skill descriptions.+//! Keeping both call sites on the same helper prevents their stripping rules+//! from drifting.//!//! Re-exported under the path this module has always been at, so callers keep//! their spelling.-pub use tinymcp_bus::sanitize::{+pub use tinymcp_bus::sanitize::{MAX_DESCRIPTION_BYTES, MAX_TITLE_BYTES};+pub use tinytools_std::sanitize::{sanitize_for_llm, strip_control_chars, strip_instruction_fences, truncate_utf8_safe,- MAX_DESCRIPTION_BYTES, MAX_TITLE_BYTES,};diff --git a/vendor/tinymcp b/vendor/tinymcpindex 182318ad33..757d5faf34 160000--- a/vendor/tinymcp+++ b/vendor/tinymcp@@ -1 +1 @@-Subproject commit 182318ad33fb8f7171cb2933b98d4d7c85b9e058+Subproject commit 757d5faf346656ecc2336a7a58c4800066e4f75d