Skip to content

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

test(mcp): update config ops tests for tinymcp 0.10

Steven Enamakelf3e143fe0fc9
diff --git a/Cargo.lock b/Cargo.lock
index 7858c641c3..05d9968c01 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -7076,7 +7076,7 @@ dependencies = [
[[package]]
name = "tinymcp"
-version = "0.9.0"
+version = "0.10.0"
dependencies = [
"anyhow",
"async-trait",
@@ -7105,7 +7105,7 @@ dependencies = [
[[package]]
name = "tinymcp-bus"
-version = "0.9.0"
+version = "0.10.0"
dependencies = [
"schemars",
"serde",
diff --git a/crates/openhuman-core/src/mcp/registry/config_ops_tests.rs b/crates/openhuman-core/src/mcp/registry/config_ops_tests.rs
index 780e203ce9..ffac6fb5cb 100644
--- a/crates/openhuman-core/src/mcp/registry/config_ops_tests.rs
+++ b/crates/openhuman-core/src/mcp/registry/config_ops_tests.rs
@@ -87,7 +87,7 @@ async fn config_document_handlers_use_the_configured_module_and_confidential_app
let get = mcp_clients_config_get(&config).await.unwrap();
assert_eq!(get.value["mcpServers"]["local"]["command"], "mcp");
- assert_eq!(get.notes, ["config_get rendered 1 servers"]);
+ assert_eq!(get.logs, ["config_get rendered 1 servers"]);
let requested = serde_json::json!({"mcpServers": {"local": {"command": "mcp"}}});
let set = mcp_clients_config_set(&config, requested.clone())
@@ -100,7 +100,10 @@ async fn config_document_handlers_use_the_configured_module_and_confidential_app
assert_eq!(calls.len(), 2);
assert_eq!(calls[0].0, tinymcp_bus::names::methods::CONFIG_DOCUMENT_GET);
assert!(!calls[0].2);
- assert_eq!(calls[1].0, tinymcp_bus::names::methods::CONFIG_DOCUMENT_APPLY);
+ assert_eq!(
+ calls[1].0,
+ tinymcp_bus::names::methods::CONFIG_DOCUMENT_APPLY
+ );
assert_eq!(calls[1].1, serde_json::json!([requested]));
assert!(calls[1].2);
}