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
fix: sync TinyWallet release and Rust test contracts
Steven Enamakel75dacb80b43d
diff --git a/Cargo.lock b/Cargo.lockindex ca9d21bad9..be5b1a5675 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -8218,7 +8218,7 @@ dependencies = [[[package]]name = "tinywallet"-version = "0.19.0"+version = "0.19.2"dependencies = ["coins-bip32","coins-bip39",@@ -8237,7 +8237,7 @@ dependencies = [[[package]]name = "tinywallet-bus"-version = "0.19.0"+version = "0.19.2"dependencies = ["serde","serde_json",@@ -8246,7 +8246,7 @@ dependencies = [[[package]]name = "tinywallet-crypto"-version = "0.19.0"+version = "0.19.2"dependencies = ["bech32 0.12.0","bs58",@@ -8259,7 +8259,7 @@ dependencies = [[[package]]name = "tinywallet-x402"-version = "0.19.0"+version = "0.19.2"[[package]]name = "tokio"diff --git a/crates/openhuman-app/Cargo.lock b/crates/openhuman-app/Cargo.lockindex 42483dfc84..84e7242c95 100644--- a/crates/openhuman-app/Cargo.lock+++ b/crates/openhuman-app/Cargo.lock@@ -7338,7 +7338,7 @@ dependencies = [[[package]]name = "tinywallet-bus"-version = "0.19.0"+version = "0.19.2"dependencies = ["serde","serde_json",diff --git a/crates/openhuman-cli/Cargo.toml b/crates/openhuman-cli/Cargo.tomlindex 59d02f78a6..91a607a09d 100644--- a/crates/openhuman-cli/Cargo.toml+++ b/crates/openhuman-cli/Cargo.toml@@ -355,7 +355,7 @@ tinyagents-session = { path = "../../vendor/tinyagents/crates/tinyagents-sessiontinydocs-bus = { path = "../../vendor/tinydocs/crates/tinydocs-bus" }tinysearch-bus = { path = "../../vendor/tinysearch/crates/tinysearch-bus" }tinybus = { path = "../../vendor/tinybus/crates/tinybus", default-features = false, features = ["macros", "uds"] }-tinychannels = { version = "0.1", features = ["relay-websocket"] }+tinychannels = { version = "0.1", features = ["relay-websocket", "email"] }tinyinference-core = { path = "../../vendor/tinyagents/vendor/tinyinference/crates/tinyinference-core" }tinyinference-local = { path = "../../vendor/tinyagents/vendor/tinyinference/crates/tinyinference-local" }tinyinference-voice = { path = "../../vendor/tinyagents/vendor/tinyinference/crates/tinyinference-voice" }diff --git a/crates/openhuman-core/src/core/logging.rs b/crates/openhuman-core/src/core/logging.rsindex 3bbe637e02..ed35eee1eb 100644--- a/crates/openhuman-core/src/core/logging.rs+++ b/crates/openhuman-core/src/core/logging.rs@@ -253,6 +253,7 @@ pub fn init_for_cli_run(verbose: bool, default_scope: CliLogDefault) {let fmt_layer = tracing_subscriber::fmt::layer().with_ansi(use_color).event_format(CleanCliFormat)+ .with_writer(io::stderr).with_filter(tracing_subscriber::filter::filter_fn(move |meta| {event_matches_file_constraints(meta, &cli_constraints)}));diff --git a/crates/openhuman-core/src/modules/registry/records_docs_wallet.rs b/crates/openhuman-core/src/modules/registry/records_docs_wallet.rsindex 04b27e93fa..f825513c37 100644--- a/crates/openhuman-core/src/modules/registry/records_docs_wallet.rs+++ b/crates/openhuman-core/src/modules/registry/records_docs_wallet.rs@@ -102,102 +102,103 @@ pub(crate) const TINYDOCS: ModuleRecord = ModuleRecord {/// The contract also exposes `ExportKey` for downstream hosts that must drive/// a signer locally; OpenHuman itself does not call it.///-/// The pinned v0.19.0 release carries the native wallet, Web3, and x402 bus-/// operations, including typed configured-endpoint references. Secret-bearing-/// operations remain confidential and require both attestation and a matching-/// pinned digest.+/// The pinned v0.19.2 release carries the native wallet, Web3, and x402 bus+/// operations, including typed configured-endpoint references and native+/// Solana transfer facts verified before execution. Secret-bearing operations+/// remain confidential and require both attestation and a matching pinned+/// digest.pub(crate) const TINYWALLET: ModuleRecord = ModuleRecord {id: "tinywallet",description: "Transaction building and assembly for Bitcoin, EVM, Solana and Tron",bus_name: "ai.tinyhumans.tinywallet.Wallet",object_path: "/ai/tinyhumans/tinywallet/Wallet",- version: "0.19.0",- release_url: "https://github.com/tinyhumansai/tinywallet/releases/tag/v0.19.0",+ version: "0.19.2",+ release_url: "https://github.com/tinyhumansai/tinywallet/releases/tag/v0.19.2",assets: &[PlatformAsset {host_key: "ubuntu-24.04-x86_64",- archive: "tinywallet-module-0.19.0-ubuntu-24.04-x86_64.tar.gz",- sha256: "55c27a4c85631aee0509e9c74ae1eceb5f3fb3aa43540294bdd4991eac5500af",+ archive: "tinywallet-module-0.19.2-ubuntu-24.04-x86_64.tar.gz",+ sha256: "0116da89b2031532b6eefa60f0d77335514c77dd7b5c49c6f556c180b3b24780",},PlatformAsset {host_key: "ubuntu-24.04-arm64",- archive: "tinywallet-module-0.19.0-ubuntu-24.04-arm64.tar.gz",- sha256: "aa79e84f60892f2ff624f42619f928b2699bdbea613f7bc2a0595f769c7f1d68",+ archive: "tinywallet-module-0.19.2-ubuntu-24.04-arm64.tar.gz",+ sha256: "c68d3b8b2257377aed4d1b852a1eb28c26b4a7c34fb7eb7359720f098dc6216e",},PlatformAsset {host_key: "ubuntu-22.04-x86_64",- archive: "tinywallet-module-0.19.0-ubuntu-22.04-x86_64.tar.gz",- sha256: "4511bf4a03f9163f5493472c1b294eccd8087e44efbde6b7e50c2ee4867b707c",+ archive: "tinywallet-module-0.19.2-ubuntu-22.04-x86_64.tar.gz",+ sha256: "016c5e6efc1bb63ce60572edc1ffd61699d3006601d5dc52e51604a91a225bf8",},PlatformAsset {host_key: "ubuntu-22.04-arm64",- archive: "tinywallet-module-0.19.0-ubuntu-22.04-arm64.tar.gz",- sha256: "d981e334615d4a4d2ea003a4c3d59ee8f631d6f52532cfa70dc97143e97a6fe8",+ archive: "tinywallet-module-0.19.2-ubuntu-22.04-arm64.tar.gz",+ sha256: "9311690732558c3347ff4a3bbe4a29a09cfd999ce53561080d58f3963d143a54",},PlatformAsset {host_key: "macos-26-arm64",- archive: "tinywallet-module-0.19.0-macos-26-arm64.tar.gz",- sha256: "bff93e7c33fcf663c0b69117add0e249c461233a58eb5ba2f1b753a9a8944350",+ archive: "tinywallet-module-0.19.2-macos-26-arm64.tar.gz",+ sha256: "f5e36e43bf05321e0fa503f591e1f51471eb6ee06bc6dc39a2857a35aeecc24f",},PlatformAsset {host_key: "macos-26-x86_64",- archive: "tinywallet-module-0.19.0-macos-26-x86_64.tar.gz",- sha256: "72e1ef5c1047c0ac848abb9cd1cf69e6639ac4e8527496979406922852a4d2d3",+ archive: "tinywallet-module-0.19.2-macos-26-x86_64.tar.gz",+ sha256: "37845264453470cdfee9fea998d4664e1ab948a566e1da2ea585fac53d13b9eb",},PlatformAsset {host_key: "macos-15-arm64",- archive: "tinywallet-module-0.19.0-macos-15-arm64.tar.gz",- sha256: "15397175e39dffbfe372bb40a4dccd6e03440ed5925043d41df058a335e1427d",+ archive: "tinywallet-module-0.19.2-macos-15-arm64.tar.gz",+ sha256: "4ab4d3b350c2a6684f06dc67f7eb8c54957a5b15390d7b37fb4c38a5a3d3fb6a",},PlatformAsset {host_key: "macos-15-x86_64",- archive: "tinywallet-module-0.19.0-macos-15-x86_64.tar.gz",- sha256: "389e68114a4d1243afe04e8143e7f6ebd321c1cc24b54be2d768c7ee8643c7b1",+ archive: "tinywallet-module-0.19.2-macos-15-x86_64.tar.gz",+ sha256: "2bb7d195371382030c5894e14a57f5a792e3e41b36246bd754174e26b250bb94",},PlatformAsset {host_key: "windows-2025-x86_64",- archive: "tinywallet-module-0.19.0-windows-2025-x86_64.zip",- sha256: "17856ed57fb14840c3a4c5cde9167a68d9a8d578ee63728852b894d3d1e8fec1",+ archive: "tinywallet-module-0.19.2-windows-2025-x86_64.zip",+ sha256: "c16c1071651cd493dd56af5fdf63992c8667b8becaeac2ad0be4f32a7b6c493a",},PlatformAsset {host_key: "windows-2022-x86_64",- archive: "tinywallet-module-0.19.0-windows-2022-x86_64.zip",- sha256: "398bce97e33fa44faa3e92eb20cdd448089882233858a952b7710ad4d1806546",+ archive: "tinywallet-module-0.19.2-windows-2022-x86_64.zip",+ sha256: "99a36e75a71212b22991564d10e18e0bbe3c1c0acae2d17bbe95df14eb6d2bdb",},PlatformAsset {host_key: "windows-11-arm64",- archive: "tinywallet-module-0.19.0-windows-11-arm64.zip",- sha256: "f91ef12a88c324a4c890be0ff8114239d835770541ce8cfd6059f015d3720764",+ archive: "tinywallet-module-0.19.2-windows-11-arm64.zip",+ sha256: "977e2051dfadc29a7a66884198ac25fc6d4b2d375d45a174889158c6ca7e15f4",},PlatformAsset {host_key: "archlinux-arm64",- archive: "tinywallet-module-0.19.0-archlinux-arm64.tar.gz",- sha256: "59863d52205fabe486a16dfbf573a007d19c3237236cee3a8ff236281cdf6ba9",+ archive: "tinywallet-module-0.19.2-archlinux-arm64.tar.gz",+ sha256: "df51cab1066c4ea5b6964343a136769b53b61de392a8dcf56f9455b5370a72af",},PlatformAsset {host_key: "archlinux-x86_64",- archive: "tinywallet-module-0.19.0-archlinux-x86_64.tar.gz",- sha256: "645679737effe617f566af7349dc7153f29dac21fa7a377a610ccf72054e7454",+ archive: "tinywallet-module-0.19.2-archlinux-x86_64.tar.gz",+ sha256: "e7b0717c82a530b2ca0f44c55938d66f19bb98b0f314032cf8f3336cf23840cc",},PlatformAsset {host_key: "fedora-43-arm64",- archive: "tinywallet-module-0.19.0-fedora-43-arm64.tar.gz",- sha256: "c05ff2da4101246b7a50a37a44632a8502a5747f5e7cc416258fb728782d91b6",+ archive: "tinywallet-module-0.19.2-fedora-43-arm64.tar.gz",+ sha256: "c42776335a866fda439fc2d05ac70c6dd120fa0d56359d910bf5fe58e51b354b",},PlatformAsset {host_key: "fedora-43-x86_64",- archive: "tinywallet-module-0.19.0-fedora-43-x86_64.tar.gz",- sha256: "c4399bbb1c9d3c42545fb78474f548337cfc4a96ebb49ce50912ca4c85dd3aa4",+ archive: "tinywallet-module-0.19.2-fedora-43-x86_64.tar.gz",+ sha256: "4a26baaabad59fa96c0a36b766d8352d8eb72a09d188f7313b136379db34cf73",},PlatformAsset {host_key: "fedora-44-arm64",- archive: "tinywallet-module-0.19.0-fedora-44-arm64.tar.gz",- sha256: "d17075dd175d0bd3bebe31350a3bcc58320c698f4c54f69691f85dd54297fdb9",+ archive: "tinywallet-module-0.19.2-fedora-44-arm64.tar.gz",+ sha256: "6ac6974fd601959eb8b8726d99abe64389445d53b71f263f5af58e05877ffbb5",},PlatformAsset {host_key: "fedora-44-x86_64",- archive: "tinywallet-module-0.19.0-fedora-44-x86_64.tar.gz",- sha256: "ef64e56e536a2661ae0ddcd799632819c02f391a5e7f98431adc184f7df45adb",+ archive: "tinywallet-module-0.19.2-fedora-44-x86_64.tar.gz",+ sha256: "7589757b00ce3e01e88f01c4d479a6ef2795bf3f361dab3972cde51939e6ef97",},],load: LoadPolicy::Lazy,diff --git a/crates/openhuman-core/src/modules/registry_tests.rs b/crates/openhuman-core/src/modules/registry_tests.rsindex 043e755d76..967039b2b6 100644--- a/crates/openhuman-core/src/modules/registry_tests.rs+++ b/crates/openhuman-core/src/modules/registry_tests.rs@@ -21,14 +21,14 @@ fn tinycomputer_registry_matches_bus_contract_and_published_release() {#[test]#[cfg(feature = "web3")]-fn tinywallet_registry_matches_the_verified_v019_release_manifest() {+fn tinywallet_registry_matches_the_verified_v0192_release_manifest() {let wallet = find("tinywallet").expect("compiled TinyWallet module");- assert_eq!(wallet.version, "0.19.0");+ assert_eq!(wallet.version, "0.19.2");#[cfg(feature = "web3")]assert_eq!(tinywallet_bus::CONTRACT_VERSION, (1, 13));assert_eq!(wallet.release_url,- "https://github.com/tinyhumansai/tinywallet/releases/tag/v0.19.0"+ "https://github.com/tinyhumansai/tinywallet/releases/tag/v0.19.2");let mut actual = wallet@@ -40,88 +40,88 @@ fn tinywallet_registry_matches_the_verified_v019_release_manifest() {let mut published = [("archlinux-arm64",- "tinywallet-module-0.19.0-archlinux-arm64.tar.gz",- "59863d52205fabe486a16dfbf573a007d19c3237236cee3a8ff236281cdf6ba9",+ "tinywallet-module-0.19.2-archlinux-arm64.tar.gz",+ "df51cab1066c4ea5b6964343a136769b53b61de392a8dcf56f9455b5370a72af",),("archlinux-x86_64",- "tinywallet-module-0.19.0-archlinux-x86_64.tar.gz",- "645679737effe617f566af7349dc7153f29dac21fa7a377a610ccf72054e7454",+ "tinywallet-module-0.19.2-archlinux-x86_64.tar.gz",+ "e7b0717c82a530b2ca0f44c55938d66f19bb98b0f314032cf8f3336cf23840cc",),("fedora-43-arm64",- "tinywallet-module-0.19.0-fedora-43-arm64.tar.gz",- "c05ff2da4101246b7a50a37a44632a8502a5747f5e7cc416258fb728782d91b6",+ "tinywallet-module-0.19.2-fedora-43-arm64.tar.gz",+ "c42776335a866fda439fc2d05ac70c6dd120fa0d56359d910bf5fe58e51b354b",),("fedora-43-x86_64",- "tinywallet-module-0.19.0-fedora-43-x86_64.tar.gz",- "c4399bbb1c9d3c42545fb78474f548337cfc4a96ebb49ce50912ca4c85dd3aa4",+ "tinywallet-module-0.19.2-fedora-43-x86_64.tar.gz",+ "4a26baaabad59fa96c0a36b766d8352d8eb72a09d188f7313b136379db34cf73",),("fedora-44-arm64",- "tinywallet-module-0.19.0-fedora-44-arm64.tar.gz",- "d17075dd175d0bd3bebe31350a3bcc58320c698f4c54f69691f85dd54297fdb9",+ "tinywallet-module-0.19.2-fedora-44-arm64.tar.gz",+ "6ac6974fd601959eb8b8726d99abe64389445d53b71f263f5af58e05877ffbb5",),("fedora-44-x86_64",- "tinywallet-module-0.19.0-fedora-44-x86_64.tar.gz",- "ef64e56e536a2661ae0ddcd799632819c02f391a5e7f98431adc184f7df45adb",+ "tinywallet-module-0.19.2-fedora-44-x86_64.tar.gz",+ "7589757b00ce3e01e88f01c4d479a6ef2795bf3f361dab3972cde51939e6ef97",),("macos-15-arm64",- "tinywallet-module-0.19.0-macos-15-arm64.tar.gz",- "15397175e39dffbfe372bb40a4dccd6e03440ed5925043d41df058a335e1427d",+ "tinywallet-module-0.19.2-macos-15-arm64.tar.gz",+ "4ab4d3b350c2a6684f06dc67f7eb8c54957a5b15390d7b37fb4c38a5a3d3fb6a",),("macos-15-x86_64",- "tinywallet-module-0.19.0-macos-15-x86_64.tar.gz",- "389e68114a4d1243afe04e8143e7f6ebd321c1cc24b54be2d768c7ee8643c7b1",+ "tinywallet-module-0.19.2-macos-15-x86_64.tar.gz",+ "2bb7d195371382030c5894e14a57f5a792e3e41b36246bd754174e26b250bb94",),("macos-26-arm64",- "tinywallet-module-0.19.0-macos-26-arm64.tar.gz",- "bff93e7c33fcf663c0b69117add0e249c461233a58eb5ba2f1b753a9a8944350",+ "tinywallet-module-0.19.2-macos-26-arm64.tar.gz",+ "f5e36e43bf05321e0fa503f591e1f51471eb6ee06bc6dc39a2857a35aeecc24f",),("macos-26-x86_64",- "tinywallet-module-0.19.0-macos-26-x86_64.tar.gz",- "72e1ef5c1047c0ac848abb9cd1cf69e6639ac4e8527496979406922852a4d2d3",+ "tinywallet-module-0.19.2-macos-26-x86_64.tar.gz",+ "37845264453470cdfee9fea998d4664e1ab948a566e1da2ea585fac53d13b9eb",),("ubuntu-22.04-arm64",- "tinywallet-module-0.19.0-ubuntu-22.04-arm64.tar.gz",- "d981e334615d4a4d2ea003a4c3d59ee8f631d6f52532cfa70dc97143e97a6fe8",+ "tinywallet-module-0.19.2-ubuntu-22.04-arm64.tar.gz",+ "9311690732558c3347ff4a3bbe4a29a09cfd999ce53561080d58f3963d143a54",),("ubuntu-22.04-x86_64",- "tinywallet-module-0.19.0-ubuntu-22.04-x86_64.tar.gz",- "4511bf4a03f9163f5493472c1b294eccd8087e44efbde6b7e50c2ee4867b707c",+ "tinywallet-module-0.19.2-ubuntu-22.04-x86_64.tar.gz",+ "016c5e6efc1bb63ce60572edc1ffd61699d3006601d5dc52e51604a91a225bf8",),("ubuntu-24.04-arm64",- "tinywallet-module-0.19.0-ubuntu-24.04-arm64.tar.gz",- "aa79e84f60892f2ff624f42619f928b2699bdbea613f7bc2a0595f769c7f1d68",+ "tinywallet-module-0.19.2-ubuntu-24.04-arm64.tar.gz",+ "c68d3b8b2257377aed4d1b852a1eb28c26b4a7c34fb7eb7359720f098dc6216e",),("ubuntu-24.04-x86_64",- "tinywallet-module-0.19.0-ubuntu-24.04-x86_64.tar.gz",- "55c27a4c85631aee0509e9c74ae1eceb5f3fb3aa43540294bdd4991eac5500af",+ "tinywallet-module-0.19.2-ubuntu-24.04-x86_64.tar.gz",+ "0116da89b2031532b6eefa60f0d77335514c77dd7b5c49c6f556c180b3b24780",),("windows-11-arm64",- "tinywallet-module-0.19.0-windows-11-arm64.zip",- "f91ef12a88c324a4c890be0ff8114239d835770541ce8cfd6059f015d3720764",+ "tinywallet-module-0.19.2-windows-11-arm64.zip",+ "977e2051dfadc29a7a66884198ac25fc6d4b2d375d45a174889158c6ca7e15f4",),("windows-2022-x86_64",- "tinywallet-module-0.19.0-windows-2022-x86_64.zip",- "398bce97e33fa44faa3e92eb20cdd448089882233858a952b7710ad4d1806546",+ "tinywallet-module-0.19.2-windows-2022-x86_64.zip",+ "99a36e75a71212b22991564d10e18e0bbe3c1c0acae2d17bbe95df14eb6d2bdb",),("windows-2025-x86_64",- "tinywallet-module-0.19.0-windows-2025-x86_64.zip",- "17856ed57fb14840c3a4c5cde9167a68d9a8d578ee63728852b894d3d1e8fec1",+ "tinywallet-module-0.19.2-windows-2025-x86_64.zip",+ "c16c1071651cd493dd56af5fdf63992c8667b8becaeac2ad0be4f32a7b6c493a",),];actual.sort_unstable();diff --git a/crates/openhuman-core/src/modules/source.rs b/crates/openhuman-core/src/modules/source.rsindex 20827dbbb0..03fae7be35 100644--- a/crates/openhuman-core/src/modules/source.rs+++ b/crates/openhuman-core/src/modules/source.rs@@ -82,11 +82,30 @@ pub fn local_artifact(id: &str) -> Option<PathBuf> {if let Some(path) = source_artifact(id) {return Some(path);}- let name = super::registry::find(id)?.source.artifact_filename();+ super::registry::find(id)?;let dirs = std::env::var_os("OPENHUMAN_MODULE_PATH")?;- std::env::split_paths(&dirs)- .map(|dir| dir.join(&name))- .find(|path| path.is_file())+ std::env::split_paths(&dirs).find_map(|dir| module_artifact_in(&dir, id))+}++/// Find either a locally built library or a released TinyBus module in one+/// directory. Source builds use the crate library name; release archives use+/// the module ABI name, which adds the `_module` suffix.+fn module_artifact_in(dir: &Path, id: &str) -> Option<PathBuf> {+ let record = super::registry::find(id)?;+ let source = dir.join(record.source.artifact_filename());+ if source.is_file() {+ return Some(source);+ }++ let released_name = if cfg!(target_os = "windows") {+ format!("{id}_module.dll")+ } else if cfg!(target_os = "macos") {+ format!("lib{id}_module.dylib")+ } else {+ format!("lib{id}_module.so")+ };+ let released = dir.join(released_name);+ released.is_file().then_some(released)}/// Environment variable listing module ids whose gitlink is ahead of thediff --git a/crates/openhuman-core/src/modules/source_tests.rs b/crates/openhuman-core/src/modules/source_tests.rsindex d021e780b6..16603138c4 100644--- a/crates/openhuman-core/src/modules/source_tests.rs+++ b/crates/openhuman-core/src/modules/source_tests.rs@@ -116,3 +116,19 @@ fn artifact_in_has_nothing_for_an_unknown_id() {std::fs::create_dir_all(dir.path().join("nope")).unwrap();assert_eq!(artifact_in(dir.path(), "nope"), None);}++#[test]+fn local_artifact_lookup_finds_the_published_module_filename() {+ let dir = tempfile::tempdir().unwrap();+ let released_name = if cfg!(target_os = "windows") {+ "tinymcp_module.dll"+ } else if cfg!(target_os = "macos") {+ "libtinymcp_module.dylib"+ } else {+ "libtinymcp_module.so"+ };+ let released = dir.path().join(released_name);+ std::fs::write(&released, b"module").unwrap();++ assert_eq!(module_artifact_in(dir.path(), "tinymcp"), Some(released));+}diff --git a/crates/openhuman-core/src/modules/voice.rs b/crates/openhuman-core/src/modules/voice.rsindex b215cc5412..18786fbe52 100644--- a/crates/openhuman-core/src/modules/voice.rs+++ b/crates/openhuman-core/src/modules/voice.rs@@ -578,10 +578,8 @@ fn decode_samples(encoded: &str) -> Result<Vec<f32>, VoiceCallError> {bytes.len())));}- Ok(bytes- .chunks_exact(4)- .map(|c| f32::from_le_bytes([c[0], c[1], c[2], c[3]]))- .collect())+ let (samples, _) = bytes.as_chunks::<4>();+ Ok(samples.iter().copied().map(f32::from_le_bytes).collect())}/// Decode a base64 audio payload the module produced.diff --git a/crates/openhuman-core/src/modules/wallet.rs b/crates/openhuman-core/src/modules/wallet.rsindex 1b384fc52d..67abe07589 100644--- a/crates/openhuman-core/src/modules/wallet.rs+++ b/crates/openhuman-core/src/modules/wallet.rs@@ -378,93 +378,93 @@ async fn attested_proxy(config: &Config) -> Result<tinybus::Proxy, WalletCallErr}// Embedded library checksums verified from all 17 archives in the-// registry-pinned TinyWallet v0.19.0 release. Each library is trusted only+// registry-pinned TinyWallet v0.19.2 release. Each library is trusted only// while its archive checksum remains pinned in the supplied ModuleRecord.const PINNED_WALLET_LIBRARIES: &[(&str, &str)] = &[// archlinux-arm64(- "59863d52205fabe486a16dfbf573a007d19c3237236cee3a8ff236281cdf6ba9",- "33929ad0096de1ea9e7a2cb03eeecba27ff35e44f8d10bc74941c65481c03683",+ "df51cab1066c4ea5b6964343a136769b53b61de392a8dcf56f9455b5370a72af",+ "792505e0b74acef2115ae93603774a6619d195d3bf52ead5782ef5f652750d83",),// archlinux-x86_64(- "645679737effe617f566af7349dc7153f29dac21fa7a377a610ccf72054e7454",- "7770801d0ddc7c659391b3d1f06b3aa757cc086094c9bd9b40306de77e8b28c2",+ "e7b0717c82a530b2ca0f44c55938d66f19bb98b0f314032cf8f3336cf23840cc",+ "27cd08886778eaa4daf5727a15c8ff55d330c155263d33a5fe65ebc9d73e4bf2",),// fedora-43-arm64(- "c05ff2da4101246b7a50a37a44632a8502a5747f5e7cc416258fb728782d91b6",- "3d23139debe5d9d0d69c9feefcbe2372449cda547f81eae590dfb82f7842e2e3",+ "c42776335a866fda439fc2d05ac70c6dd120fa0d56359d910bf5fe58e51b354b",+ "af3bdee4e19abdfe8a1230032056402dcc4f204e7567866ca012fc9083f8fbbd",),// fedora-43-x86_64(- "c4399bbb1c9d3c42545fb78474f548337cfc4a96ebb49ce50912ca4c85dd3aa4",- "2ddd77bf0645ad8dce6b8e4ab6554ac913d5f0e9ee21ab6b234c8d572d0d763e",+ "4a26baaabad59fa96c0a36b766d8352d8eb72a09d188f7313b136379db34cf73",+ "d606b2606d63f7ee1504c7cbc9af09f7c1d82c6c1e3cc4c12904c0aec5a02f0a",),// fedora-44-arm64(- "d17075dd175d0bd3bebe31350a3bcc58320c698f4c54f69691f85dd54297fdb9",- "d00d9630dff068c0980e9b81c6184eba0af11fd3168ea2bcdc57ebad713eb91a",+ "6ac6974fd601959eb8b8726d99abe64389445d53b71f263f5af58e05877ffbb5",+ "06137e611e156662fb1b9e0c1a41862921d8e138bb8e0bce1b0b8c184d0c543b",),// fedora-44-x86_64(- "ef64e56e536a2661ae0ddcd799632819c02f391a5e7f98431adc184f7df45adb",- "71df95081c6b0da69e52bb4ae461c841763436332eae5e19b269730a5bf1688e",+ "7589757b00ce3e01e88f01c4d479a6ef2795bf3f361dab3972cde51939e6ef97",+ "da7ec4d2f54ad76f559fd6cf12c29d983d75008fb731b4cf5c2a306b2d0dfd1a",),// macos-15-arm64(- "15397175e39dffbfe372bb40a4dccd6e03440ed5925043d41df058a335e1427d",- "e1e95043354060e98a604ef7a2c4ec0407bf22c906f4240b1438e303c4283bbd",+ "4ab4d3b350c2a6684f06dc67f7eb8c54957a5b15390d7b37fb4c38a5a3d3fb6a",+ "cdca98fb9c921e8a9f5d877266ddb6c921e9b2a4aef83c5b26d6a26e1e155108",),// macos-15-x86_64(- "389e68114a4d1243afe04e8143e7f6ebd321c1cc24b54be2d768c7ee8643c7b1",- "deb320a1e0214105e1621f83fbb43c3e884ed7923d5303ae56b113b4f31eef2e",+ "2bb7d195371382030c5894e14a57f5a792e3e41b36246bd754174e26b250bb94",+ "3629c3e513cab093933d9c10ad10f677eb0f8ea441ef75e527d8b2d2950c4878",),// macos-26-arm64(- "bff93e7c33fcf663c0b69117add0e249c461233a58eb5ba2f1b753a9a8944350",- "4aaaec17daa9c3aca68c02342761138aa100a10886a3845a1e3068c755665091",+ "f5e36e43bf05321e0fa503f591e1f51471eb6ee06bc6dc39a2857a35aeecc24f",+ "a86f18de1988e8caf004c432b66d08ef9bc07cc3fc7370f6d80cbb9bc9761abe",),// macos-26-x86_64(- "72e1ef5c1047c0ac848abb9cd1cf69e6639ac4e8527496979406922852a4d2d3",- "3655a3efb340c1959704b71e67056499e47b0dde719b9139e8d3a4d5608c7d57",+ "37845264453470cdfee9fea998d4664e1ab948a566e1da2ea585fac53d13b9eb",+ "82862c07d959c4f1c3d403ae6a8201b6ffefc9eebcac6021a7b91c28584ac595",),// ubuntu-22.04-arm64(- "d981e334615d4a4d2ea003a4c3d59ee8f631d6f52532cfa70dc97143e97a6fe8",- "6a30e85422cfeb919efcf70ece5e503ba9fd6145eac1e6229caff326d7c438e7",+ "9311690732558c3347ff4a3bbe4a29a09cfd999ce53561080d58f3963d143a54",+ "bd72a70b9ddfd6a37d9c1bd422a7780fa3c019389cefb934f0629c5b84144d58",),// ubuntu-22.04-x86_64(- "4511bf4a03f9163f5493472c1b294eccd8087e44efbde6b7e50c2ee4867b707c",- "04ed808e5c32234b9879a1468da6034c8bdc214beaf6da4f6303b1a9efb83f9b",+ "016c5e6efc1bb63ce60572edc1ffd61699d3006601d5dc52e51604a91a225bf8",+ "3da718ca8e276f57846fe423e932b450175b3ab39630c3a14ee2cd169cbc5450",),// ubuntu-24.04-arm64(- "aa79e84f60892f2ff624f42619f928b2699bdbea613f7bc2a0595f769c7f1d68",- "27ec59b039fff01ebf01ba065a061fa84c67552f3486e1e9757a1210a52304fd",+ "c68d3b8b2257377aed4d1b852a1eb28c26b4a7c34fb7eb7359720f098dc6216e",+ "61475f614731e554fd67f51d2a7823cc5cfcd84631651640e4648434a323a567",),// ubuntu-24.04-x86_64(- "55c27a4c85631aee0509e9c74ae1eceb5f3fb3aa43540294bdd4991eac5500af",- "5d0a3ae5881f91966249858cd155e5b9c244bd419d06698d808f972a8d23afc9",+ "0116da89b2031532b6eefa60f0d77335514c77dd7b5c49c6f556c180b3b24780",+ "0db559e23300432c7056cfe1fb9f8980a82faacacf9603131173967c80ba0d89",),// windows-11-arm64(- "f91ef12a88c324a4c890be0ff8114239d835770541ce8cfd6059f015d3720764",- "0b702e879f7514f0204bc867c3c6e01e429fcba993ef1817be65110097c6b0bd",+ "977e2051dfadc29a7a66884198ac25fc6d4b2d375d45a174889158c6ca7e15f4",+ "ea230a805827a83be35a3b06b7f153934330386201525cfd3df11d52ee5f540b",),// windows-2022-x86_64(- "398bce97e33fa44faa3e92eb20cdd448089882233858a952b7710ad4d1806546",- "83aaed32e29ead292066e123efb91f1ebd21545ea0d8a3b3ca20fdd7cd99e644",+ "99a36e75a71212b22991564d10e18e0bbe3c1c0acae2d17bbe95df14eb6d2bdb",+ "313ad598eb2a30413683b812fb49b55c084df2fdaf109230c51b7da05770df26",),// windows-2025-x86_64(- "17856ed57fb14840c3a4c5cde9167a68d9a8d578ee63728852b894d3d1e8fec1",- "34d33e8534cb36acaf771cfd8a73a2dc6149ecdd4d143cc1af76088457795d8b",+ "c16c1071651cd493dd56af5fdf63992c8667b8becaeac2ad0be4f32a7b6c493a",+ "1d0debad2b6446f43e98917979d2471b0fbc55d4ca65625b5efe6744013f9c83",),];diff --git a/crates/openhuman-core/src/modules/wallet_host.rs b/crates/openhuman-core/src/modules/wallet_host.rsindex c29a0a08d7..ee92731562 100644--- a/crates/openhuman-core/src/modules/wallet_host.rs+++ b/crates/openhuman-core/src/modules/wallet_host.rs@@ -14,7 +14,8 @@ use tinywallet_bus::wire::HostEndpointReference;use tinywallet_bus::wire::{AuthorizationResult, AuthorizeNativeWalletExecutionRequest, AuthorizeWeb3ExecutionRequest,AuthorizeX402PaymentRequest, ChainTransportRequest, ChainTransportResult, HostResponse,- WalletAccountInfo, WalletAccountsResponse, WalletBackendRequest, WalletBackendResponse,+ RpcEndpointKey, WalletAccountInfo, WalletAccountsResponse, WalletBackendRequest,+ WalletBackendResponse,};#[path = "wallet_host_transport.rs"]@@ -51,8 +52,7 @@ static ENDPOINT_REFERENCES: OnceLock<Mutex<HashMap<String, EndpointReference>>>#[derive(Debug, Clone)]struct EndpointReference {service: String,- key: tinywallet_bus::wire::RpcEndpointKey,- url: String,+ key: RpcEndpointKey,}fn approvals() -> &'static Mutex<HashSet<ApprovalKey>> {@@ -100,9 +100,11 @@ pub(crate) fn bind_endpoint_references() -> Result<(), String> {let mut resolved = HashMap::new();for endpoint in references {- let url = crate::web3::wallet::endpoints::override_for_endpoint(endpoint.key).ok_or_else(- || "wallet module referenced an endpoint without a host override".to_string(),- )?;+ // Validate admission here, but resolve the URL again on each callback:+ // the host may rotate an endpoint override without changing its opaque+ // module reference.+ configured_endpoint_url(endpoint.key)+ .map_err(|_| "wallet module referenced an endpoint without a host override")?;if endpoint.reference.trim().is_empty()|| resolved.insert(@@ -110,7 +112,6 @@ pub(crate) fn bind_endpoint_references(EndpointReference {service: service.to_owned(),key: endpoint.key,- url,},).is_some()@@ -125,6 +126,12 @@ pub(crate) fn bind_endpoint_references(Ok(())}+fn configured_endpoint_url(key: RpcEndpointKey) -> Result<String, String> {+ let url = crate::web3::wallet::endpoints::override_for_endpoint(key)+ .ok_or_else(|| "wallet endpoint override is no longer configured".to_string())?;+ validate_module_endpoint_url(&url)+}+pub(crate) fn clear_endpoint_references(service: &str) {if let Ok(mut references) = endpoint_references().lock() {references.retain(|_, endpoint| endpoint.service != service);@@ -544,7 +551,14 @@ impl WalletHost {},));}- endpoint.url+ match configured_endpoint_url(endpoint.key) {+ Ok(url) => url,+ Err(message) => {+ return Ok(HostResponse::ChainTransport(+ ChainTransportResult::RpcError { message },+ ));+ }+ }}(None, Some(url)) => match validate_module_endpoint_url(url) {Ok(url) => url,diff --git a/crates/openhuman-core/src/modules/wallet_tests.rs b/crates/openhuman-core/src/modules/wallet_tests.rsindex a70f31fa85..1fed17cccc 100644--- a/crates/openhuman-core/src/modules/wallet_tests.rs+++ b/crates/openhuman-core/src/modules/wallet_tests.rs@@ -177,7 +177,7 @@ mod attestation_guard {fn the_current_attested_linux_release_library_is_accepted() {assert!(digest_is_pinned(record(),- "5d0a3ae5881f91966249858cd155e5b9c244bd419d06698d808f972a8d23afc9"+ "0db559e23300432c7056cfe1fb9f8980a82faacacf9603131173967c80ba0d89"));}diff --git a/crates/openhuman-embed/Cargo.toml b/crates/openhuman-embed/Cargo.tomlindex d293aec9b5..b6e4c31def 100644--- a/crates/openhuman-embed/Cargo.toml+++ b/crates/openhuman-embed/Cargo.toml@@ -8,6 +8,11 @@ repository.workspace = truereadme = "README.md"publish = false+# Core errors are intentionally carried by this facade's public fallible APIs;+# keep the same size baseline as the underlying core crate under `-D warnings`.+[lints.clippy]+result_large_err = "allow"+[features]langfuse = ["openhuman-core/langfuse"]# `channels` is in core's default set already; enabling it here too compilesdiff --git a/crates/openhuman-embed/tests/agent_lifecycle.rs b/crates/openhuman-embed/tests/agent_lifecycle.rsindex e491275512..ce8ac2e352 100644--- a/crates/openhuman-embed/tests/agent_lifecycle.rs+++ b/crates/openhuman-embed/tests/agent_lifecycle.rs@@ -1,5 +1,5 @@//! Removing an agent from a running runtime: its turns end, its parked-//! approvals are denied, its context and MCP host are released, its id is+//! approvals are denied, its context and MCP client cleanup complete, its id is//! free again, and the runtime's agent cap counts only live agents.mod common;@@ -275,8 +275,8 @@ fn removing_an_agent_releases_everything_it_held() {"the context left the registry, so its cron jobs stay dormant");assert!(- openhuman_core::mcp::host::take_agent_host(&workspace_dir, "parker").is_none(),- "no MCP host is kept for a removed agent"+ !openhuman_core::mcp::host::agent_close_pending(&workspace_dir, "parker"),+ "the removed agent's MCP client cleanup is acknowledged");removed(parker.turn("again").send().await, "parker");assert!(diff --git a/crates/openhuman-embed/tests/profile_host_capabilities.rs b/crates/openhuman-embed/tests/profile_host_capabilities.rsindex 8807d8b780..b8d60119ff 100644--- a/crates/openhuman-embed/tests/profile_host_capabilities.rs+++ b/crates/openhuman-embed/tests/profile_host_capabilities.rs@@ -317,7 +317,7 @@ async fn scenario() {"chat","sender","message",- &format!("{}: call tenant_probe", handle.id()),+ format!("{}: call tenant_probe", handle.id()),)).await.unwrap();diff --git a/crates/openhuman-embed/tests/turn_cancellation.rs b/crates/openhuman-embed/tests/turn_cancellation.rsindex 9277b3c64b..4cf1830143 100644--- a/crates/openhuman-embed/tests/turn_cancellation.rs+++ b/crates/openhuman-embed/tests/turn_cancellation.rs@@ -16,9 +16,9 @@ impl openhuman_embed::observe::TurnObserver for Outcomes {}use common::{offline_config, provider, route, runtime, stub_backend};-use openhuman_embed::{- Access, AgentDefinitionSpec, AgentSpec, CoreError, Runtime, ToolScopeSpec, Workspace,-};+#[cfg(target_os = "linux")]+use openhuman_embed::{Access, AgentDefinitionSpec, ToolScopeSpec};+use openhuman_embed::{AgentSpec, CoreError, Runtime, Workspace};#[test]fn cancellation_is_awaited_and_scoped_to_one_turn() {diff --git a/crates/openhuman-modules-linked/src/lib.rs b/crates/openhuman-modules-linked/src/lib.rsindex 4f40d38261..68796b5706 100644--- a/crates/openhuman-modules-linked/src/lib.rs+++ b/crates/openhuman-modules-linked/src/lib.rs@@ -48,12 +48,12 @@ use openhuman_rpc::embed::modules::{register_linked, LinkedFactory};/// Empty when no module feature is enabled.#[must_use]pub fn linked_modules() -> Vec<(&'static str, LinkedFactory)> {- #[allow(unused_mut, clippy::vec_init_then_push)]- let mut modules: Vec<(&'static str, LinkedFactory)> = Vec::new();- #[cfg(feature = "tinychannels")]- modules.push(("tinychannels", tinychannels_module::linked_module));- #[cfg(feature = "tinydocs")]- modules.push(("tinydocs", tinydocs_module::linked_module));+ let modules: Vec<(&'static str, LinkedFactory)> = vec![+ #[cfg(feature = "tinychannels")]+ ("tinychannels", tinychannels_module::linked_module),+ #[cfg(feature = "tinydocs")]+ ("tinydocs", tinydocs_module::linked_module),+ ];modules}diff --git a/crates/openhuman-tinyhumans/src/runtime.rs b/crates/openhuman-tinyhumans/src/runtime.rsindex 82388aa965..03b8aaabe5 100644--- a/crates/openhuman-tinyhumans/src/runtime.rs+++ b/crates/openhuman-tinyhumans/src/runtime.rs@@ -285,6 +285,8 @@ impl RuntimeBuilder {}/// Connect, then boot the runtime.+ // Preserve the public error wrapper rather than box its `RuntimeError`.+ #[allow(clippy::result_large_err)]pub async fn build(self) -> Result<Runtime, RuntimeError> {let inner = self.connect()?;log::debug!("[tinyhumans] building embed runtime with backend transport");diff --git a/crates/openhuman-tinyhumans/src/session/manager.rs b/crates/openhuman-tinyhumans/src/session/manager.rsindex a6c00d7828..03def94972 100644--- a/crates/openhuman-tinyhumans/src/session/manager.rs+++ b/crates/openhuman-tinyhumans/src/session/manager.rs@@ -76,6 +76,7 @@ pub struct SessionState {#[derive(Debug, Clone, PartialEq, Eq, Serialize)]#[serde(tag = "type", rename_all = "kebab-case")]+#[allow(clippy::large_enum_variant)] // Keep the public event's state inline.pub enum SessionEvent {/// The credential or the current user changed.Changed(SessionState),diff --git a/crates/openhuman-tui/src/account.rs b/crates/openhuman-tui/src/account.rsindex d4a5ff0bec..89f5623e7f 100644--- a/crates/openhuman-tui/src/account.rs+++ b/crates/openhuman-tui/src/account.rs@@ -16,6 +16,7 @@ pub enum Operation {}/// Messages carry display state only; credentials stay in SessionManager.+#[allow(clippy::large_enum_variant)] // Keep the infrequent login result inline.pub enum Message {BrowserReady {generation: u64,diff --git a/crates/openhuman-tui/src/viewport.rs b/crates/openhuman-tui/src/viewport.rsindex e02769b376..716e9b8321 100644--- a/crates/openhuman-tui/src/viewport.rs+++ b/crates/openhuman-tui/src/viewport.rs@@ -48,7 +48,7 @@ impl HeightIndex {}fn push(&mut self, height: usize) {let index = self.tree.len() + 1;- let start = index - (index & index.wrapping_neg());+ let start = index - index.isolate_lowest_one();self.tree.push(height + self.total - self.prefix(start));self.total += height;}@@ -57,7 +57,7 @@ impl HeightIndex {let mut index = index + 1;while index <= self.tree.len() {self.tree[index - 1] = self.tree[index - 1] - before + after;- index += index & index.wrapping_neg();+ index += index.isolate_lowest_one();}}fn containing(&self, row: usize) -> usize {diff --git a/docs/module-boundary-inventory.md b/docs/module-boundary-inventory.mdindex bb0eb80073..163118008f 100644--- a/docs/module-boundary-inventory.md+++ b/docs/module-boundary-inventory.md@@ -19,7 +19,7 @@ copying its implementation into a host, or accepting weaker isolation.| tinymcp | none in normal/build host dependencies | tinymcp-bus | core MCP registry, supervisor, CLI stdio/HTTP server | Merged host adapters use the released v0.14.3 module for registry, supervisor, client and server protocol operations, with approved host callbacks kept in OpenHuman. The 62-member artifact and local focused, lifecycle, registry, native and build gates pass; frozen recorded tool declarations are restored independently of the current catalog || tinychannels | tinychannels, tinychannels-runtime, tinychannels-module (test-only) | tinychannels-bus | core channels, TinyHumans host, CLI REPL | Contract 16 (operation 1.17) is pure; scoped providers, inbound/identity/outbound preparation, remote commands, runtime limits, typing and progressive delivery execute through confidential module calls. Host-owned policy, credentials, persistence and callbacks remain in OpenHuman. Both host implementation exceptions are removed; the 254-test focused suite and released-artifact runtime fixture pass || tinyhosts | none | tinyhosts-bus | core hosting tools | Released Execute/Providers contract consumed through the module; workspace authorization, credentials and approval policy remain in OpenHuman |-| tinywallet | none in normal/build host dependencies | tinywallet-bus | core wallet/web3/x402 | Complete: v0.19.0 contract 1.13 owns mnemonic validation/derivation, native transactions, Web3 quotes/execution, ERC-20 encoding, and x402 payment parsing/budgets/ledger. OpenHuman retains encrypted-key custody, authenticated transport, explicit approval, and lifecycle orchestration |+| tinywallet | none in normal/build host dependencies | tinywallet-bus | core wallet/web3/x402 | Complete: v0.19.2 contract 1.13 owns mnemonic validation/derivation, native transactions, Web3 quotes/execution, ERC-20 encoding, and x402 payment parsing/budgets/ledger. OpenHuman retains encrypted-key custody, authenticated transport, explicit approval, and lifecycle orchestration || tinybox | tinybox-core (test-only) | tinybox-bus | core sandbox and security, desktop gateways | Merged host cutover uses TinyBox v0.1.24 for sandbox/resource lifecycle, collected and supervised execution, jailed and native shell execution, Docker control, local grants, file transfer and port forwarding. Host authorization and the security floor remain in OpenHuman || tinycomputer | none | tinycomputer-bus | core voice, paste/focus and permission checks | Permission, focus, paste and Globe listener operations use the module; native thread and target rules remain covered || tinyvoice | None | tinyvoice-bus | core voice capture/hotkeys | Module-owned devices, recording and continuous capture, bounded audio reads/batches, explicit lease cleanup; computer module permission decisions |@@ -412,8 +412,8 @@ not establish acceptance of this full cutover.## TinyWallet wallet, Web3, and x402 host cutover-TinyWallet v0.19.0 (contract 1.13) is pinned at released source-`722e7cc9e00a45997765e47c41f3bf451f7911d7`. Wallet setup, mnemonic validation+TinyWallet v0.19.2 (contract 1.13) is pinned at released source+`ea1073b833320b4f311e18c2df30dd2bfb1db5b6`. Wallet setup, mnemonic validationand derivation, transaction construction and signing, Web3 quote execution,ERC-20 calldata encoding, and x402 payment parsing, budgets and ledger now runthrough the compiled module. OpenHuman keeps encrypted-key custody, authenticated@@ -422,12 +422,13 @@ management. The host has no normal/build dependency on`tinywallet-crypto`, `tinywallet-web3` or `tinywallet-x402`; the wallet moduleimplementation remains only a test fixture dependency.-The v0.19.0 release provides 17 platform archives. Independent local verification-matched every downloaded archive against its GitHub digest and the embedded-`modules.toml` hash; the released Ubuntu artifact also passed the TinyBus-operation and signing E2E. The module-boundary audit reports zero violations-and no remaining Wallet implementation exceptions. TinyRuntime remains excluded-from this migration.+The v0.19.2 release includes the typed Solana transfer-facts approval fix from+TinyWallet PR #82 and provides 17 platform archives. Independent local+verification matched every downloaded archive against its GitHub digest and+embedded `modules.toml` hash; the release workflow also passed the TinyBus+operation and signing E2E on Linux, macOS and Windows. The module-boundary+audit reports zero violations and no remaining Wallet implementation+exceptions. TinyRuntime remains excluded from this migration.## Current delivery statusdiff --git a/scripts/__tests__/module-build.test.mjs b/scripts/__tests__/module-build.test.mjsindex 1430cbfd1c..cd451b3f1d 100644--- a/scripts/__tests__/module-build.test.mjs+++ b/scripts/__tests__/module-build.test.mjs@@ -141,15 +141,16 @@ function fakeRepo() {git("add", ".");git("commit", "-q", "-m", "fixture");const log = join(root, "cargo.log");- const built = join(root, "built-libtinyx_module.so");+ const built = join(root, "built-module");+ const artifact = join(root, artifactFilename(SPEC));const cargo = join(root, "fake-cargo");writeFileSync(cargo,`#!/usr/bin/env bashprintf '%s\\n' "$*" >> "${log}"printf 'native bytes' > "${built}"-printf '{"reason":"compiler-artifact","target":{"kind":["cdylib","rlib"]},"filenames":["%s"]}\\n' "${built.replace(/[^/]*$/, "")}libtinyx_module.so"-cp "${built}" "${built.replace(/[^/]*$/, "")}libtinyx_module.so"+printf '{"reason":"compiler-artifact","target":{"kind":["cdylib","rlib"]},"filenames":["${artifact}"]}\\n'+cp "${built}" "${artifact}"`,);chmodSync(cargo, 0o755);diff --git a/scripts/__tests__/test-module-installation.test.mjs b/scripts/__tests__/test-module-installation.test.mjsindex a8730eea38..00d2565728 100644--- a/scripts/__tests__/test-module-installation.test.mjs+++ b/scripts/__tests__/test-module-installation.test.mjs@@ -38,6 +38,9 @@ const installer = fileURLToPath(const localRustRunner = fileURLToPath(new URL("../test-rust-with-mock.sh", import.meta.url),);+const rustE2eRunner = fileURLToPath(+ new URL("../test-rust-e2e.sh", import.meta.url),+);test("locally built native Rust test modules come from build.mjs, not ad hoc cargo builds", () => {const source = readFileSync(localRustRunner, "utf8");@@ -59,6 +62,26 @@ test("local MCP registry E2E tests load the pinned TinyMCP module", () => {assert.match(source, /OPENHUMAN_MODULE_PATH="\$tinymcp_dir/);});+test("linked TinyDocs E2E enables its required local feature", () => {+ const localSource = readFileSync(localRustRunner, "utf8");+ const localBranch = localSource.indexOf('if [ "$target" = "tinydocs_linked_e2e" ]');+ assert.ok(localBranch >= 0, "the Rust gate gives linked TinyDocs an explicit branch");+ const localEnd = localSource.indexOf("\n elif ", localBranch);+ assert.ok(localEnd > localBranch, "the linked target branch has a bounded body");+ assert.match(localSource.slice(localBranch, localEnd), /--features linked-modules/);++ const e2eSource = readFileSync(rustE2eRunner, "utf8");+ const e2eBranch = e2eSource.indexOf('if [ "$suite" = "tinydocs_linked_e2e" ]');+ assert.ok(e2eBranch >= 0, "the Rust E2E runner gives linked TinyDocs an explicit branch");+ const e2eEnd = e2eSource.indexOf("\n fi\n", e2eBranch);+ assert.ok(e2eEnd > e2eBranch, "the E2E linked target branch has a bounded body");+ assert.match(+ e2eSource.slice(e2eBranch, e2eEnd),+ /--features "\$PRODUCT_FEATURES,linked-modules"/,+ "the E2E target runs with linked-modules in addition to product features",+ );+});+test("MCP registry Rust integration tests run serially", () => {const source = readFileSync(localRustRunner, "utf8");assert.match(@@ -68,6 +91,43 @@ test("MCP registry Rust integration tests run serially", () => {);});+test("multi-server MCP tests run serially through the module-backed host", () => {+ const source = readFileSync(localRustRunner, "utf8");+ const fullSuiteStart = source.indexOf(+ 'elif [ "$target" = "mcp_registry_multi_server" ]',+ );+ assert.ok(fullSuiteStart >= 0, "full Rust gate gives the suite an isolated process");+ const fullSuiteEnd = source.indexOf("\n else\n", fullSuiteStart);+ assert.ok(fullSuiteEnd > fullSuiteStart, "full-suite branch has a bounded body");+ assert.match(+ source.slice(fullSuiteStart, fullSuiteEnd),+ /--test-threads=1/,+ "parallel tests race through TinyMCP's process-wide module client",+ );+ assert.match(+ source.slice(fullSuiteStart, fullSuiteEnd),+ /OPENHUMAN_TINYMCP_TEST_MODULE="\$tinymcp_artifact"/,+ "the tests receive the staged TinyMCP library path",+ );++ const directStart = source.indexOf(+ 'elif [ "$#" -ge 2 ] && [ "$1" = "--test" ] && [ "$2" = "mcp_registry_multi_server" ]',+ );+ assert.ok(directStart >= 0, "the focused runner gives the suite the same isolation");+ const directEnd = source.indexOf("\nelse\n", directStart);+ assert.ok(directEnd > directStart, "focused branch has a bounded body");+ assert.match(+ source.slice(directStart, directEnd),+ /--test-threads=1/,+ "focused and full-suite runs must use the same serialization",+ );+ assert.match(+ source.slice(directStart, directEnd),+ /OPENHUMAN_TINYMCP_TEST_MODULE="\$tinymcp_artifact"/,+ "focused runs use the same staged TinyMCP artifact",+ );+});+for (const [description, resolverExit] of [["failed", 7],["empty", 0],diff --git a/scripts/ci/ignored-test-baseline.json b/scripts/ci/ignored-test-baseline.jsonindex 9b9051dcbd..04e7ebf130 100644--- a/scripts/ci/ignored-test-baseline.json+++ b/scripts/ci/ignored-test-baseline.json@@ -1,10 +1,11 @@{"openhuman-app": 5,"openhuman-cli": 0,- "openhuman-core": 9,+ "openhuman-core": 11,"openhuman-embed": 0,+ "openhuman-modules-linked": 0,"openhuman-rpc": 0,"openhuman-tinyhumans": 0,"openhuman-tui": 0,- "tests": 13+ "tests": 19}diff --git a/scripts/test-rust-e2e.sh b/scripts/test-rust-e2e.shindex e13171f613..74eee9d791 100755--- a/scripts/test-rust-e2e.sh+++ b/scripts/test-rust-e2e.sh@@ -281,6 +281,16 @@ for suite in "${SUITES[@]}"; do--test "$suite" -- --ignored --test-threads=1 ${EXTRA_ARGS[@]+"${EXTRA_ARGS[@]}"}continuefi+ if [ "$suite" = "tinydocs_linked_e2e" ]; then+ # This local-only E2E target is outside the product feature set. Enable+ # its required linked implementation explicitly instead of failing Cargo's+ # required-features check.+ echo "[rust-e2e] $CARGO_BIN test --manifest-path Cargo.toml --test $suite (linked-modules)"+ bash "$SCRIPT_DIR/ci-cancel-aware.sh" "$CARGO_BIN" test \+ --manifest-path Cargo.toml --features "$PRODUCT_FEATURES,linked-modules" \+ --test "$suite" -- ${EXTRA_ARGS[@]+"${EXTRA_ARGS[@]}"}+ continue+ fiif [ "$HAS_EXTRA_ARGS" -eq 1 ]; thenecho "[rust-e2e] $CARGO_BIN test --manifest-path Cargo.toml --test $suite -- ${EXTRA_ARGS[*]}"diff --git a/scripts/test-rust-with-mock.sh b/scripts/test-rust-with-mock.shindex 884f8db159..5439fee8c9 100755--- a/scripts/test-rust-with-mock.sh+++ b/scripts/test-rust-with-mock.sh@@ -168,6 +168,19 @@ export OPENHUMAN_MODULE_PATH="$tinybox_dir${OPENHUMAN_MODULE_PATH:+:$OPENHUMAN_Mif ! local_module_source_is_source; thentinymcp_dir="$(stage_release_module tinymcp "$wallet_platform" "$module_ext")"export OPENHUMAN_MODULE_PATH="$tinymcp_dir${OPENHUMAN_MODULE_PATH:+:$OPENHUMAN_MODULE_PATH}"+else+ tinymcp_dir="$REPO_ROOT/target/module-sources/tinymcp"+fi+if [ "$module_ext" = "dll" ]; then+ if local_module_source_is_source; then+ tinymcp_artifact="$tinymcp_dir/tinymcp.dll"+ else+ tinymcp_artifact="$tinymcp_dir/tinymcp_module.dll"+ fi+elif local_module_source_is_source; then+ tinymcp_artifact="$tinymcp_dir/libtinymcp.$module_ext"+else+ tinymcp_artifact="$tinymcp_dir/libtinymcp_module.$module_ext"fi# Build the source modules in one call (local source mode only). The connector@@ -289,7 +302,12 @@ run_full_suite() {while IFS= read -r target; do[ -n "$target" ] || continue- if [ "$target" = "raw_coverage_all" ]; then+ if [ "$target" = "tinydocs_linked_e2e" ]; then+ # This local-only target is intentionally outside the product set; turn+ # on its linked implementation feature explicitly so the glob does not+ # silently skip it or Cargo reject it for missing required features.+ cargo_test --features linked-modules --test "$target" -- "$@"+ elif [ "$target" = "raw_coverage_all" ]; then# These suites used to run as separate integration-test binaries. Run# each generated module filter in its own cargo process so local# `pnpm test:rust` preserves the same process-global isolation as CI.@@ -303,6 +321,12 @@ run_full_suite() {# binary exercises several workspaces against that shared module object.OPENHUMAN_MODULE_PATH="$connectors_module_path" \cargo_test --test "$target" -- --ignored --test-threads=1 "$@"+ elif [ "$target" = "mcp_registry_multi_server" ]; then+ # The host opens multiple per-workspace clients to one TinyMCP module.+ # Keep this integration target serial so those module-backed transitions+ # do not race through the process-global loader.+ OPENHUMAN_TINYMCP_TEST_MODULE="$tinymcp_artifact" \+ cargo_test --test "$target" -- --test-threads=1 "$@"elseOPENHUMAN_MODULE_PATH="$connectors_module_path" \cargo_test --test "$target" -- "$@"@@ -347,6 +371,13 @@ elif [ "$#" -ge 2 ] && [ "$1" = "--test" ] && [ "$2" = "mcp_registry_e2e" ]; thefiOPENHUMAN_MODULE_PATH="$connectors_module_path" \cargo_test --test mcp_registry_e2e -- --ignored --test-threads=1 "$@"+elif [ "$#" -ge 2 ] && [ "$1" = "--test" ] && [ "$2" = "mcp_registry_multi_server" ]; then+ shift 2+ if [ "${1:-}" = "--" ]; then+ shift+ fi+ OPENHUMAN_TINYMCP_TEST_MODULE="$tinymcp_artifact" \+ cargo_test --test mcp_registry_multi_server -- --test-threads=1 "$@"elsecargo_test "$@"fidiff --git a/tests/cli_sigpipe.rs b/tests/cli_sigpipe.rsindex e333f151c0..9e3ffc68e3 100644--- a/tests/cli_sigpipe.rs+++ b/tests/cli_sigpipe.rs@@ -79,6 +79,11 @@ fn headless_default_keyring_stores_provider_secrets_encrypted() {use std::process::Command;let workspace = tempfile::tempdir().expect("temporary OpenHuman workspace");+ // macOS exposes the system temporary directory through aliases under+ // `/var`; the secrets driver deliberately refuses symlinked namespace+ // components, so pass the canonical workspace path to the child.+ let workspace_path = std::fs::canonicalize(workspace.path())+ .expect("canonicalize temporary OpenHuman workspace");let secret = "provider-secret-e2e";let params = format!(r#"{{"provider":"openai","token":"{secret}"}}"#);let output = Command::new(env!("CARGO_BIN_EXE_openhuman-core"))@@ -89,8 +94,8 @@ fn headless_default_keyring_stores_provider_secrets_encrypted() {"--params",¶ms,])- .current_dir(workspace.path())- .env("OPENHUMAN_WORKSPACE", workspace.path())+ .current_dir(&workspace_path)+ .env("OPENHUMAN_WORKSPACE", &workspace_path).env("OPENHUMAN_KEYRING_MASTER_KEY", "42".repeat(32)).env_remove("OPENHUMAN_KEYRING_MASTER_KEY_FILE").env_remove("OPENHUMAN_APP_ENV")@@ -104,7 +109,7 @@ fn headless_default_keyring_stores_provider_secrets_encrypted() {String::from_utf8_lossy(&output.stderr));- let encrypted = std::fs::read(workspace.path().join("secrets.enc"))+ let encrypted = std::fs::read(workspace_path.join("secrets.enc")).expect("default backend should create the encrypted keyring file");assert!(!encrypted.windows(secret.len())diff --git a/tests/json_rpc_e2e.rs b/tests/json_rpc_e2e.rsindex a25ac016f4..51e55a0a15 100644--- a/tests/json_rpc_e2e.rs+++ b/tests/json_rpc_e2e.rs@@ -9469,7 +9469,7 @@ async fn mcp_clients_config_round_trip_merges_credentials_and_removes_absent_serassert_eq!(b5.get("removed"), Some(&json!(["echo-rt"])), "{b5}");assert_eq!(b5["mcpServers"], json!({}), "{b5}");- // ── 6. a refused document names the entry and the field ──────────────────+ // ── 6. a refused document is redacted and leaves the store unchanged ────let refused = post_json_rpc(&rpc_base,9968,@@ -9480,9 +9480,25 @@ async fn mcp_clients_config_round_trip_merges_credentials_and_removes_absent_serlet message = refused["error"]["message"].as_str().expect("a refusal is a JSON-RPC error");- assert!(- message.contains("`bad`") && message.contains("both"),- "refusal should name the entry and the problem: {message}"+ assert_eq!(+ message, "MODULE_CALL_REPORTED: module execution failed",+ "the host reports sanitized module errors instead of exposing remote text"+ );+ let after_refusal = post_json_rpc(+ &rpc_base,+ 9969,+ "openhuman.mcp_clients_config_get",+ json!({}),+ )+ .await;+ let after_refusal = peel_logs_envelope(assert_no_jsonrpc_error(+ &after_refusal,+ "config_get (after refusal)",+ ));+ assert_eq!(+ after_refusal["mcpServers"],+ json!({}),+ "a refused replacement leaves the install store unchanged");mock_join.abort();diff --git a/tests/keyring_headless_e2e.rs b/tests/keyring_headless_e2e.rsindex d8b65d3978..5a1c421e8e 100644--- a/tests/keyring_headless_e2e.rs+++ b/tests/keyring_headless_e2e.rs@@ -40,7 +40,11 @@ fn headless_core_reuses_its_workspace_key_after_restart() {}let dir = tempfile::tempdir().unwrap();- let key_path = dir.path().join("keyring/master.key");+ // macOS exposes the temporary directory through `/var` aliases. The+ // secrets driver refuses symlinked namespace components, so pass its+ // canonical workspace path to both child processes.+ let workspace = std::fs::canonicalize(dir.path()).expect("canonicalize keyring workspace");+ let key_path = workspace.join("keyring/master.key");let mut saved_key = None;for stage in ["write", "read"] {let result = Command::new(std::env::current_exe().unwrap())@@ -49,7 +53,7 @@ fn headless_core_reuses_its_workspace_key_after_restart() {"headless_core_reuses_its_workspace_key_after_restart",]).env(STAGE, stage)- .env("OPENHUMAN_WORKSPACE", dir.path())+ .env("OPENHUMAN_WORKSPACE", &workspace).env("OPENHUMAN_APP_ENV", "development").env("OPENHUMAN_KEYRING_BACKEND", "encrypted_file").env_remove("OPENHUMAN_KEYRING_MASTER_KEY")@@ -69,8 +73,8 @@ fn headless_core_reuses_its_workspace_key_after_restart() {}saved_key = Some(key);}- assert!(dir.path().join("secrets.enc").exists());- assert!(!dir.path().join("dev-keychain.json").exists());+ assert!(workspace.join("secrets.enc").exists());+ assert!(!workspace.join("dev-keychain.json").exists());#[cfg(unix)]{use std::os::unix::fs::PermissionsExt;diff --git a/tests/mcp_registry_multi_server.rs b/tests/mcp_registry_multi_server.rsindex ed75b41e11..afdd252d7f 100644--- a/tests/mcp_registry_multi_server.rs+++ b/tests/mcp_registry_multi_server.rs@@ -1,462 +1,302 @@-//! Regression tests for multi-MCP-server support (#3196).+//! Multi-server MCP integration tests through OpenHuman's current RPC adapters.//!-//! These verify the three risks the issue calls out:-//! 1. Two servers exposing identically-named tools both reach the agent-//! surface without collision (namespaced tool_id keys via server_id).-//! 2. One server failing to connect does not block another from running.-//! 3. Tool listing aggregates across all connected servers and tolerates-//! a missing one.-//!-//! All tests are hermetic — they use the `test-mcp-stub` binary built-//! by Cargo (exposed via `CARGO_BIN_EXE_test-mcp-stub`) and a fresh-//! temp-dir workspace so they do not share SQLite state with each other-//! or with `mcp_registry_e2e.rs`.+//! TinyMCP owns the install store and connections. These tests use its+//! checksum-pinned module artifact through the host's public config and+//! registry operations, with the Cargo-built MCP stub as the local server.-// Exercises the gated `mcp_registry` surface, so the whole suite is compiled-// only when the `mcp` feature is on — otherwise the slim build's-// `cargo test --no-default-features --tests`-// fails to compile against the removed APIs (#4799).#![cfg(feature = "mcp")]-use openhuman_core::config::Config;-use tinymcp_bus::{CommandKind, InstalledServer, Transport};--/// The service over `config`'s workspace.-///-/// Resolved the same way the RPC handlers resolve it, so a connection this test-/// opens directly is the same one a handler sees. Each case uses its own-/// workspace, so each gets its own store.-fn host(config: &Config) -> std::sync::Arc<openhuman_core::mcp::host::McpHost> {- openhuman_core::mcp::host::for_config(config).expect("the mcp host opens")-}+use openhuman_core::config::{+ schema::{ModuleOverride, ModulesConfig},+ Config,+};+use serde_json::{json, Map, Value};-// ── helpers ──────────────────────────────────────────────────────────────────+const MODULE_ARTIFACT_ENV: &str = "OPENHUMAN_TINYMCP_TEST_MODULE";fn fresh_workspace_config() -> (tempfile::TempDir, Config) {- let tmp = tempfile::tempdir().expect("tempdir");- let cfg = Config {- workspace_dir: tmp.path().to_path_buf(),+ let workspace = tempfile::tempdir().expect("temporary MCP workspace");+ let artifact = std::env::var_os(MODULE_ARTIFACT_ENV)+ .map(std::path::PathBuf::from)+ .expect("the MCP test runner supplies the verified TinyMCP artifact")+ .canonicalize()+ .expect("TinyMCP artifact exists");+ let config = Config {+ workspace_dir: workspace.path().to_path_buf(),+ modules: ModulesConfig {+ enabled: true,+ allow_download: false,+ overrides: vec![ModuleOverride::with_path(+ "tinymcp",+ artifact.to_string_lossy().into_owned(),+ )],+ ..ModulesConfig::default()+ },..Config::default()};- (tmp, cfg)+ (workspace, config)}-fn make_stub_server(qualified: &str) -> InstalledServer {- let stub = env!("CARGO_BIN_EXE_test-mcp-stub");- InstalledServer {- server_id: format!("multi-{}", uuid::Uuid::new_v4()),- qualified_name: qualified.to_string(),- display_name: qualified.to_string(),- description: None,- icon_url: None,- command_kind: CommandKind::Binary,- command: stub.to_string(),- args: Vec::new(),- env_keys: Vec::new(),- config: None,- installed_at: 0,- last_connected_at: None,- transport: Transport::Stdio,- enabled: true,- }+fn stdio_server(command: impl Into<String>, enabled: bool) -> Value {+ json!({+ "command": command.into(),+ "args": [],+ "enabled": enabled,+ })}-// ── extract response text (mirrors mcp_registry_e2e.rs convention) ───────────+fn stub_server(enabled: bool) -> Value {+ stdio_server(env!("CARGO_BIN_EXE_test-mcp-stub"), enabled)+}-fn extract_echo_text(result: &serde_json::Value) -> &str {+async fn install_servers(+ config: &Config,+ servers: Map<String, Value>,+) -> std::collections::HashMap<String, String> {+ openhuman_core::mcp::registry::config_ops::mcp_clients_config_set(+ config,+ json!({ "mcpServers": servers }),+ )+ .await+ .expect("apply the server document through TinyMCP");++ let status = openhuman_core::mcp::registry::ops::mcp_clients_status(config)+ .await+ .expect("read installed servers from TinyMCP");+ status.value["servers"]+ .as_array()+ .expect("status contains a server array")+ .iter()+ .map(|server| {+ let name = server["qualified_name"]+ .as_str()+ .expect("status contains the qualified server name")+ .to_owned();+ let id = server["server_id"]+ .as_str()+ .expect("status contains the module-owned server id")+ .to_owned();+ (name, id)+ })+ .collect()+}++async fn connect(config: &Config, server_id: &str) -> Result<Value, String> {+ openhuman_core::mcp::registry::ops::mcp_clients_set_enabled(config, server_id.to_owned(), true)+ .await?;+ openhuman_core::mcp::registry::ops::mcp_clients_connect(config, server_id.to_owned())+ .await+ .map(|outcome| outcome.value)+}++async fn call_echo(config: &Config, server_id: &str, message: &str) -> String {+ let outcome = openhuman_core::mcp::registry::ops::mcp_clients_tool_call(+ config,+ server_id.to_owned(),+ "echo".to_owned(),+ json!({ "message": message }),+ )+ .await+ .expect("call the stub tool through TinyMCP");+ assert_eq!(outcome.value["is_error"], false, "{outcome:?}");+ extract_echo_text(&outcome.value["result"]).to_owned()+}++fn extract_echo_text(result: &Value) -> &str {result.get("content")- .and_then(|c| c.as_array())- .and_then(|arr| arr.first())- .and_then(|first| first.get("text"))- .and_then(|t| t.as_str())+ .and_then(Value::as_array)+ .and_then(|items| items.first())+ .and_then(|item| item.get("text"))+ .and_then(Value::as_str).unwrap_or("")}-// ── Test 1: name collision ────────────────────────────────────────────────────+async fn disconnect(config: &Config, server_id: &str) {+ openhuman_core::mcp::registry::ops::mcp_clients_disconnect(config, server_id.to_owned())+ .await+ .expect("disconnect the module-owned MCP session");+}-/// Two stub servers both expose the same tool name (`echo`). After connecting-/// both, `all_connected_tools` returns two entries — one per server — and both-/// respond correctly when called by `server_id`, proving the `server_id` is-/// the disambiguator for identically-named tools.#[tokio::test]async fn two_servers_same_tool_name_no_collision() {- let (_tmp, cfg) = fresh_workspace_config();- let h = host(&cfg);-- let server_a = make_stub_server("@multi-test/echo-a");- let server_b = make_stub_server("@multi-test/echo-b");-- // Both server_ids must be distinct (sanity guard for the disambiguation- // assertions below).- assert_ne!(- server_a.server_id, server_b.server_id,- "two stub servers must have distinct server_ids"- );-- h.dynamic()- .store()- .insert_server(&server_a)- .expect("insert server_a");- h.dynamic()- .store()- .insert_server(&server_b)- .expect("insert server_b");-- // Connect both — each spawns its own subprocess.- let tools_a = h- .dynamic()- .connect(&server_a.server_id)- .await- .expect("connect server_a")- .tools;- let tools_b = h- .dynamic()- .connect(&server_b.server_id)- .await- .expect("connect server_b")- .tools;-- assert_eq!(tools_a.len(), 1, "server_a: stub advertises one tool");- assert_eq!(tools_b.len(), 1, "server_b: stub advertises one tool");- assert_eq!(tools_a[0].name, "echo", "server_a tool name is `echo`");- assert_eq!(tools_b[0].name, "echo", "server_b tool name is `echo`");+ let (_workspace, config) = fresh_workspace_config();+ let servers = Map::from_iter([+ ("@multi-test/echo-a".to_owned(), stub_server(false)),+ ("@multi-test/echo-b".to_owned(), stub_server(false)),+ ]);+ let installed = install_servers(&config, servers).await;+ let server_a = &installed["@multi-test/echo-a"];+ let server_b = &installed["@multi-test/echo-b"];+ assert_ne!(server_a, server_b, "each install has its own server id");++ for server_id in [server_a, server_b] {+ let connected = connect(&config, server_id)+ .await+ .expect("connect stub server");+ assert_eq!(connected["tools"].as_array().unwrap().len(), 1);+ assert_eq!(connected["tools"][0]["name"], "echo");+ }- // Both servers are in the connected aggregate.- let all_tools = h.dynamic().connections().all_connected_tools().await;- let a_tools: Vec<_> = all_tools+ let all_tools =+ openhuman_core::mcp::registry::connections::all_connected_tools_for_config(&config).await;+ let tools_a: Vec<_> = all_tools.iter()- .filter(|(sid, _, _)| sid == &server_a.server_id)+ .filter(|(id, _, _)| id == server_a).collect();- let b_tools: Vec<_> = all_tools+ let tools_b: Vec<_> = all_tools.iter()- .filter(|(sid, _, _)| sid == &server_b.server_id)+ .filter(|(id, _, _)| id == server_b).collect();+ assert_eq!(tools_a.len(), 1, "server A contributes one tool");+ assert_eq!(tools_b.len(), 1, "server B contributes one tool");+ assert_eq!(tools_a[0].2.name, "echo");+ assert_eq!(tools_b[0].2.name, "echo");++ let statuses = openhuman_core::mcp::registry::ops::mcp_clients_status(&config)+ .await+ .expect("read server status");+ for server_id in [server_a, server_b] {+ let status = statuses.value["servers"]+ .as_array()+ .unwrap()+ .iter()+ .find(|status| status["server_id"] == *server_id)+ .expect("connected server remains in status");+ assert_eq!(status["status"], "connected");+ assert_eq!(status["tool_count"], 1);+ }assert_eq!(- a_tools.len(),- 1,- "server_a contributes exactly one tool to the aggregate"- );- assert_eq!(- b_tools.len(),- 1,- "server_b contributes exactly one tool to the aggregate"- );- assert_eq!(- a_tools[0].2.name, "echo",- "server_a's aggregated tool is `echo`"+ call_echo(&config, server_a, "payload-for-a").await,+ "payload-for-a");assert_eq!(- b_tools[0].2.name, "echo",- "server_b's aggregated tool is `echo`"+ call_echo(&config, server_b, "payload-for-b").await,+ "payload-for-b");-- // Both are `connected` in all_status.- let statuses = h.dynamic().status().await.expect("status");- let find = |id: &str| {- statuses- .iter()- .find(|s| s.server_id == id)- .cloned()- .unwrap_or_else(|| panic!("status entry missing for {id}"))- };- assert_eq!(find(&server_a.server_id).status.as_str(), "connected");- assert_eq!(find(&server_a.server_id).tool_count, 1);- assert_eq!(find(&server_b.server_id).status.as_str(), "connected");- assert_eq!(find(&server_b.server_id).tool_count, 1);-- let _ = h- .dynamic()- .connections()- .disconnect(&server_a.server_id)- .await;- let _ = h- .dynamic()- .connections()- .disconnect(&server_b.server_id)- .await;+ disconnect(&config, server_a).await;+ disconnect(&config, server_b).await;}-// ── Test 2: routing ───────────────────────────────────────────────────────────--/// `call_tool` routes by `server_id` even with a shared name — each server-/// subprocess receives and echoes back the exact payload sent to that server_id.-/// Demonstrates the agent → core call path works across multiple servers without-/// cross-wiring.#[tokio::test]async fn tool_calls_route_to_the_correct_server() {- let (_tmp, cfg) = fresh_workspace_config();- let h = host(&cfg);-- let server_a = make_stub_server("@route-test/echo-a");- let server_b = make_stub_server("@route-test/echo-b");-- h.dynamic()- .store()- .insert_server(&server_a)- .expect("insert server_a");- h.dynamic()- .store()- .insert_server(&server_b)- .expect("insert server_b");-- h.dynamic()- .connect(&server_a.server_id)- .await- .expect("connect server_a");- h.dynamic()- .connect(&server_b.server_id)- .await- .expect("connect server_b");-- // Send distinct payloads to each server; verify each echoes its own input.- let result_a = h- .dynamic()- .tool_call(- &server_a.server_id,- "echo",- serde_json::json!({ "message": "payload-for-a" }),- )- .await- .expect("call_tool on server_a should succeed");-- let result_b = h- .dynamic()- .tool_call(- &server_b.server_id,- "echo",- serde_json::json!({ "message": "payload-for-b" }),- )- .await- .expect("call_tool on server_b should succeed");-- let text_a = extract_echo_text(&result_a.result);- let text_b = extract_echo_text(&result_b.result);-- assert_eq!(- text_a, "payload-for-a",- "server_a must echo back exactly what was sent to it"- );- assert_eq!(- text_b, "payload-for-b",- "server_b must echo back exactly what was sent to it"- );-- // Cross-verify: calling server_b's id echoes server_b's payload — not server_a's.- assert_ne!(- text_a, text_b,- "two servers must not produce identical outputs for different inputs"- );-- let _ = h- .dynamic()- .connections()- .disconnect(&server_a.server_id)- .await;- let _ = h- .dynamic()- .connections()- .disconnect(&server_b.server_id)- .await;+ let (_workspace, config) = fresh_workspace_config();+ let servers = Map::from_iter([+ ("@route-test/echo-a".to_owned(), stub_server(false)),+ ("@route-test/echo-b".to_owned(), stub_server(false)),+ ]);+ let installed = install_servers(&config, servers).await;+ let server_a = &installed["@route-test/echo-a"];+ let server_b = &installed["@route-test/echo-b"];+ connect(&config, server_a).await.expect("connect server A");+ connect(&config, server_b).await.expect("connect server B");++ let text_a = call_echo(&config, server_a, "payload-for-a").await;+ let text_b = call_echo(&config, server_b, "payload-for-b").await;+ assert_eq!(text_a, "payload-for-a");+ assert_eq!(text_b, "payload-for-b");+ assert_ne!(text_a, text_b, "the server id determines the destination");++ disconnect(&config, server_a).await;+ disconnect(&config, server_b).await;}-// ── Test 3: failure isolation ─────────────────────────────────────────────────--/// One server failing to connect must not prevent another from connecting or-/// being usable in the same session. The bad server records an `error` status-/// with a `last_error` message; the good server is `connected` and responds.#[tokio::test]async fn failed_connect_does_not_block_healthy_peer() {- let (_tmp, cfg) = fresh_workspace_config();- let h = host(&cfg);+ let (_workspace, config) = fresh_workspace_config();+ let servers = Map::from_iter([+ (+ "@isolation-test/bad".to_owned(),+ stdio_server("/this/path/does/not/exist/bad-mcp", false),+ ),+ ("@isolation-test/good".to_owned(), stub_server(false)),+ ]);+ let installed = install_servers(&config, servers).await;+ let bad = &installed["@isolation-test/bad"];+ let good = &installed["@isolation-test/good"];- // "bad" server: non-existent binary.- let mut bad = make_stub_server("@isolation-test/bad");- bad.command = "/this/path/does/not/exist/bad-mcp".to_string();-- // "good" server: real stub.- let good = make_stub_server("@isolation-test/good");-- h.dynamic()- .store()- .insert_server(&bad)- .expect("insert bad server");- h.dynamic()- .store()- .insert_server(&good)- .expect("insert good server");-- // Connecting the bad server must fail.- let connect_err = h- .dynamic()- .connect(&bad.server_id)- .await- .expect_err("connect bad server should fail");assert!(- !connect_err.to_string().is_empty(),- "bad connect error must not be empty"+ connect(&config, bad).await.is_err(),+ "bad server refuses to connect");-- // Connecting the good server must succeed independently.- let good_tools = h- .dynamic()- .connect(&good.server_id)+ let connected = connect(&config, good).await- .expect("connect good server must succeed regardless of the bad peer")- .tools;- assert_eq!(good_tools.len(), 1, "good server exposes one tool");+ .expect("good server connects independently");+ assert_eq!(connected["tools"].as_array().unwrap().len(), 1);- // all_status: bad → error with last_error, good → connected.- let statuses = h.dynamic().status().await.expect("status");- let find = |id: &str| {- statuses+ let statuses = openhuman_core::mcp::registry::ops::mcp_clients_status(&config)+ .await+ .expect("read status after isolated failure");+ let status_for = |id: &str| {+ statuses.value["servers"]+ .as_array()+ .unwrap().iter()- .find(|s| s.server_id == id)- .cloned()- .unwrap_or_else(|| panic!("status entry missing for {id}"))+ .find(|status| status["server_id"] == id)+ .expect("server remains visible after connect attempt")};-- let bad_status = find(&bad.server_id);- assert_eq!(- bad_status.status.as_str(),- "error",- "bad server must report `error`"- );- assert!(- bad_status- .last_error- .as_deref()- .map(|s| !s.is_empty())- .unwrap_or(false),- "bad server must have a non-empty last_error"- );-- let good_status = find(&good.server_id);- assert_eq!(- good_status.status.as_str(),- "connected",- "good server must be `connected`"- );- assert!(- good_status.last_error.is_none(),- "good server must have no last_error"- );-- // The good server is still callable after the peer's failure.- let result = h- .dynamic()- .tool_call(- &good.server_id,- "echo",- serde_json::json!({ "message": "isolation-check" }),- )- .await- .expect("call_tool on good server must succeed after peer failure");-+ assert_eq!(status_for(bad)["status"], "error");+ assert!(status_for(bad)["last_error"]+ .as_str()+ .is_some_and(|error| !error.is_empty()));+ assert_eq!(status_for(good)["status"], "connected");+ assert!(status_for(good)["last_error"].is_null());++ let all_tools =+ openhuman_core::mcp::registry::connections::all_connected_tools_for_config(&config).await;+ assert!(all_tools.iter().all(|(id, _, _)| id != bad));+ assert!(all_tools+ .iter()+ .any(|(id, _, tool)| id == good && tool.name == "echo"));assert_eq!(- extract_echo_text(&result.result),- "isolation-check",- "good server must echo input correctly after peer failure"+ call_echo(&config, good, "isolation-check").await,+ "isolation-check");-- let _ = h.dynamic().connections().disconnect(&good.server_id).await;+ disconnect(&config, good).await;}-// ── Test 4: disabled enforcement ──────────────────────────────────────────────--/// A disabled server must not contribute tools to the agent surface and must-/// refuse explicit connect, even when a sibling is connected and active.#[tokio::test]async fn disabled_server_contributes_no_tools_to_agent_surface() {- let (_tmp, cfg) = fresh_workspace_config();- let h = host(&cfg);-- // "live" server: enabled, real stub.- let live = make_stub_server("@disabled-test/live");-- // "quiet" server: disabled, also uses the real stub binary (so the- // bogus-command failure path cannot mask the disabled enforcement check).- let mut quiet = make_stub_server("@disabled-test/quiet");- quiet.enabled = false;-- h.dynamic()- .store()- .insert_server(&live)- .expect("insert live server");- h.dynamic()- .store()- .insert_server(&quiet)- .expect("insert quiet server");+ let (_workspace, config) = fresh_workspace_config();+ let servers = Map::from_iter([+ ("@disabled-test/live".to_owned(), stub_server(false)),+ ("@disabled-test/quiet".to_owned(), stub_server(false)),+ ]);+ let installed = install_servers(&config, servers).await;+ let live = &installed["@disabled-test/live"];+ let quiet = &installed["@disabled-test/quiet"];+ connect(&config, live).await.expect("live server connects");- // Connect the live server.- h.dynamic()- .connect(&live.server_id)- .await- .expect("connect live server");-- // The direct host API gives the typed disabled-server error. The bus- // adapter intentionally maps module errors to a content-free terminal.- let disabled_err = h- .dynamic()- .connect(&quiet.server_id)- .await- .expect_err("connect must reject a disabled server");assert!(- disabled_err.to_string().to_lowercase().contains("disabled"),- "error must mention 'disabled', got: {disabled_err}"+ openhuman_core::mcp::registry::ops::mcp_clients_connect(&config, quiet.to_owned())+ .await+ .is_err(),+ "an explicitly disabled server must refuse connection");-- // all_status: live → connected, quiet → disabled.- let statuses = h.dynamic().status().await.expect("status");- let find = |id: &str| {- statuses+ let statuses = openhuman_core::mcp::registry::ops::mcp_clients_status(&config)+ .await+ .expect("read server status");+ let status_for = |id: &str| {+ statuses.value["servers"]+ .as_array()+ .unwrap().iter()- .find(|s| s.server_id == id)- .cloned()- .unwrap_or_else(|| panic!("status entry missing for {id}"))+ .find(|status| status["server_id"] == id)+ .expect("server remains visible in status")};+ assert_eq!(status_for(live)["status"], "connected");+ assert_eq!(status_for(quiet)["status"], "disabled");- assert_eq!(find(&live.server_id).status.as_str(), "connected");- assert_eq!(find(&quiet.server_id).status.as_str(), "disabled");-- // The disabled server must not appear in all_connected_tools.- let all_tools = h.dynamic().connections().all_connected_tools().await;- let quiet_tools: Vec<_> = all_tools+ let all_tools =+ openhuman_core::mcp::registry::connections::all_connected_tools_for_config(&config).await;+ assert!(all_tools.iter()- .filter(|(sid, _, _)| sid == &quiet.server_id)- .collect();- assert!(- quiet_tools.is_empty(),- "disabled server must contribute zero tools to the agent surface; found: {quiet_tools:?}"- );-- // The live server IS present and callable.- let live_tools: Vec<_> = all_tools- .iter()- .filter(|(sid, _, _)| sid == &live.server_id)- .collect();+ .any(|(id, _, tool)| id == live && tool.name == "echo"));+ assert!(all_tools.iter().all(|(id, _, _)| id != quiet));assert_eq!(- live_tools.len(),- 1,- "live server must contribute its tool even while disabled peer is present"+ call_echo(&config, live, "live-while-quiet").await,+ "live-while-quiet");-- let result = h- .dynamic()- .tool_call(- &live.server_id,- "echo",- serde_json::json!({ "message": "live-while-quiet" }),- )- .await- .expect("call_tool on live server must succeed");-- assert_eq!(- extract_echo_text(&result.result),- "live-while-quiet",- "live server echoes correctly while disabled peer exists"- );-- let _ = h.dynamic().connections().disconnect(&live.server_id).await;+ disconnect(&config, live).await;}diff --git a/tests/mcp_stdio_integration.rs b/tests/mcp_stdio_integration.rsindex e28c88c2e3..2b1de79312 100644--- a/tests/mcp_stdio_integration.rs+++ b/tests/mcp_stdio_integration.rs@@ -1,37 +1,129 @@-//! Integration coverage for the stdio MCP client against the real core binary.+//! Wire-level integration coverage for OpenHuman's stdio MCP server.//!-//! Keep this as an integration test so Cargo builds `openhuman-core` as part of-//! the test graph and exposes it through `CARGO_BIN_EXE_openhuman-core`. Running-//! a nested `cargo build` from a lib unit test is prone to CI disk exhaustion.+//! The server is a subprocess and the test acts as an external MCP client over+//! newline-delimited JSON-RPC. This keeps the host test independent of MCP+//! implementation crates while exercising the real CLI transport.-// Exercises the gated `mcp_client::McpStdioClient` transport, so the whole-// suite is compiled only when the `mcp` feature is on — otherwise the slim-// build's `cargo test --no-default-features --tests` fails to compile against the removed API (#4799).#![cfg(feature = "mcp")]-use openhuman_core::mcp::config_servers::McpStdioClient;-use std::path::PathBuf;-use tinymcp_bus::McpClientIdentityConfig;--const LATEST_PROTOCOL_VERSION: &str = "2025-11-25";--#[tokio::test]-async fn stdio_client_talks_to_openhuman_mcp_server() {- let client = McpStdioClient::new(- env!("CARGO_BIN_EXE_openhuman-core").to_string(),- vec!["mcp".into()],- Vec::new(),- Some(PathBuf::from(env!("OPENHUMAN_REPOSITORY_ROOT"))),- // The identity is the contract's now; the client takes it by- // reference rather than consuming one.- &McpClientIdentityConfig::default(),- );+use serde_json::{json, Value};+use std::io::{BufRead, BufReader, Write};+use std::process::{Command, Stdio};+use std::sync::mpsc::{self, Receiver};+use std::time::Duration;+use tinymcp_bus::LATEST_PROTOCOL_VERSION;++fn send_message(writer: &mut impl Write, message: &Value) {+ serde_json::to_writer(&mut *writer, message).expect("serialize MCP message");+ writer.write_all(b"\n").expect("write MCP message");+ writer.flush().expect("flush MCP message");+}++fn wait_for_response(receiver: &Receiver<Result<Value, String>>, request_id: u64) -> Value {+ loop {+ let message = receiver+ .recv_timeout(Duration::from_secs(20))+ .expect("stdio MCP response arrives before the deadline")+ .expect("stdio MCP server writes valid JSON-RPC to stdout");+ if message.get("id") == Some(&json!(request_id)) {+ return message;+ }+ }+}++#[test]+fn stdio_server_initializes_and_lists_core_tools() {+ let workspace = tempfile::tempdir().expect("temporary MCP workspace");+ let workspace_path =+ std::fs::canonicalize(workspace.path()).expect("canonicalize temporary MCP workspace");+ let mut child = Command::new(env!("CARGO_BIN_EXE_openhuman-core"))+ .arg("mcp")+ .current_dir(&workspace_path)+ .env("OPENHUMAN_WORKSPACE", &workspace_path)+ .env("OPENHUMAN_KEYRING_BACKEND", "encrypted_file")+ .env("OPENHUMAN_KEYRING_MASTER_KEY", "42".repeat(32))+ .env_remove("OPENHUMAN_KEYRING_MASTER_KEY_FILE")+ .env_remove("OPENHUMAN_APP_ENV")+ .env_remove("OPENHUMAN_MODE")+ .stdin(Stdio::piped())+ .stdout(Stdio::piped())+ .stderr(Stdio::null())+ .spawn()+ .expect("spawn OpenHuman's stdio MCP server");+ let mut stdin = child.stdin.take().expect("child stdin");+ let stdout = child.stdout.take().expect("child stdout");+ let (sender, receiver) = mpsc::channel();+ let reader = std::thread::spawn(move || {+ for line in BufReader::new(stdout).lines() {+ let message = line.map_err(|error| error.to_string()).and_then(|line| {+ serde_json::from_str(&line)+ .map_err(|error| format!("{error}: stdout line {line:?}"))+ });+ if sender.send(message).is_err() {+ break;+ }+ }+ });- let init = client.initialize().await.expect("initialize");- assert_eq!(init.protocol_version, LATEST_PROTOCOL_VERSION);+ send_message(+ &mut stdin,+ &json!({+ "jsonrpc": "2.0",+ "id": 1,+ "method": "initialize",+ "params": {+ "protocolVersion": LATEST_PROTOCOL_VERSION,+ "capabilities": {},+ "clientInfo": {+ "name": "openhuman-stdio-integration",+ "version": env!("CARGO_PKG_VERSION"),+ },+ },+ }),+ );+ let initialized = wait_for_response(&receiver, 1);+ assert!(initialized.get("error").is_none(), "{initialized}");+ assert_eq!(+ initialized["result"]["protocolVersion"],+ LATEST_PROTOCOL_VERSION+ );- let tools = client.list_tools().await.expect("list_tools");- assert!(tools.iter().any(|tool| tool.name == "memory.recall"));+ send_message(+ &mut stdin,+ &json!({+ "jsonrpc": "2.0",+ "method": "notifications/initialized",+ "params": {},+ }),+ );+ send_message(+ &mut stdin,+ &json!({+ "jsonrpc": "2.0",+ "id": 2,+ "method": "tools/list",+ "params": {},+ }),+ );+ let listed = wait_for_response(&receiver, 2);+ assert!(listed.get("error").is_none(), "{listed}");+ assert!(+ listed["result"]["tools"]+ .as_array()+ .is_some_and(|tools| tools.iter().any(|tool| tool["name"] == "memory.recall")),+ "the server exposes the read-only memory tool: {listed}"+ );- client.close_session().await.expect("close");+ send_message(+ &mut stdin,+ &json!({+ "jsonrpc": "2.0",+ "method": "notifications/exit",+ "params": {},+ }),+ );+ drop(stdin);+ let status = child.wait().expect("wait for stdio server shutdown");+ reader.join().expect("join stdout reader");+ assert!(status.success(), "stdio MCP server exited with {status}");}diff --git a/tests/raw_coverage/channels_lark_email_dispatch_round21_raw_coverage_e2e.rs b/tests/raw_coverage/channels_lark_email_dispatch_round21_raw_coverage_e2e.rsindex 90baac0f82..21976e5820 100644--- a/tests/raw_coverage/channels_lark_email_dispatch_round21_raw_coverage_e2e.rs+++ b/tests/raw_coverage/channels_lark_email_dispatch_round21_raw_coverage_e2e.rs@@ -2,7 +2,7 @@//!//! Parser fixtures only: no real IMAP or SMTP traffic is performed.-use openhuman_core::channels::providers::email_channel::{+use tinychannels::providers::email_channel::{test_support as email_support, EmailChannel, EmailConfig,};diff --git a/tests/raw_coverage/channels_round26_raw_coverage_e2e.rs b/tests/raw_coverage/channels_round26_raw_coverage_e2e.rsindex 48f6f95c54..9b8edba49f 100644--- a/tests/raw_coverage/channels_round26_raw_coverage_e2e.rs+++ b/tests/raw_coverage/channels_round26_raw_coverage_e2e.rs@@ -13,8 +13,8 @@ use axum::{routing::post,Json, Router,};-use openhuman_core::channels::providers::telegram::TelegramChannel;-use openhuman_core::channels::traits::{Channel, SendMessage};+use tinychannels::providers::telegram::TelegramChannel;+use tinychannels::{Channel, SendMessage};use serde_json::{json, Value};use std::sync::{Arc, Mutex};diff --git a/tests/raw_coverage/tool_registry_approval_raw_coverage_e2e.rs b/tests/raw_coverage/tool_registry_approval_raw_coverage_e2e.rsindex 7fdf726e82..5ef8045ec1 100644--- a/tests/raw_coverage/tool_registry_approval_raw_coverage_e2e.rs+++ b/tests/raw_coverage/tool_registry_approval_raw_coverage_e2e.rs@@ -213,13 +213,38 @@ fn test_mcp_server() -> InstalledServer {}}-fn install_test_mcp_server(config: &Config, server: &InstalledServer) {- openhuman_core::mcp::host::for_config(config)- .expect("open test MCP host")- .dynamic()- .store()- .insert_server(server)- .expect("install test MCP server");+async fn install_test_mcp_server(config: &Config, server: &InstalledServer) -> InstalledServer {+ openhuman_core::mcp::registry::config_ops::mcp_clients_config_set(+ config,+ json!({+ "mcpServers": {+ server.qualified_name.clone(): {+ "command": server.command.clone(),+ "args": server.args.clone(),+ "enabled": false,+ }+ }+ }),+ )+ .await+ .expect("install test MCP server through the module-owned config document");+ let status = openhuman_core::mcp::registry::ops::mcp_clients_status(config)+ .await+ .expect("read module-owned MCP server status");+ let server_id = status.value["servers"]+ .as_array()+ .and_then(|servers| {+ servers+ .iter()+ .find(|entry| entry["qualified_name"] == server.qualified_name)+ })+ .and_then(|entry| entry["server_id"].as_str())+ .expect("the installed server has a module-owned id")+ .to_owned();+ let mut installed = server.clone();+ installed.server_id = server_id;+ installed.enabled = false;+ installed}#[tokio::test(flavor = "multi_thread", worker_threads = 2)]@@ -385,8 +410,14 @@ async fn tool_registry_entries_include_connected_mcp_client_tools() {workspace_dir: tmp.path().to_path_buf(),..Config::default()};- let server = test_mcp_server();- install_test_mcp_server(&config, &server);+ let server = install_test_mcp_server(&config, &test_mcp_server()).await;+ openhuman_core::mcp::registry::ops::mcp_clients_set_enabled(+ &config,+ server.server_id.clone(),+ true,+ )+ .await+ .expect("enable test MCP server");let tools = connections::connect(&config, &server).await.expect("connect test mcp server");@@ -400,8 +431,14 @@ async fn tool_registry_entries_include_connected_mcp_client_tools() {workspace_dir: other_tmp.path().to_path_buf(),..Config::default()};- let other_server = test_mcp_server();- install_test_mcp_server(&other_config, &other_server);+ let other_server = install_test_mcp_server(&other_config, &test_mcp_server()).await;+ openhuman_core::mcp::registry::ops::mcp_clients_set_enabled(+ &other_config,+ other_server.server_id.clone(),+ true,+ )+ .await+ .expect("enable second test MCP server");connections::connect(&other_config, &other_server).await.expect("connect second test mcp server");@@ -464,8 +501,10 @@ async fn tool_registry_diagnostics_reports_config_and_audit_store_failures() {workspace_dir: workspace_file,..Config::default()};- let diagnostics =- openhuman_core::tools::registry::ops::diagnostics_for_config(&broken_audit_config);+ let diagnostics = openhuman_core::tools::registry::ops::diagnostics_for_config(+ &broken_audit_config,+ )+ .await;assert!(diagnostics.value.mcp_write_audit.enabled);assert_eq!(diagnostics.value.mcp_write_audit.recent_rows, None);assert!(diagnosticsdiff --git a/tests/saas_mode/node.rs b/tests/saas_mode/node.rsindex b57c2b9a65..f199601117 100644--- a/tests/saas_mode/node.rs+++ b/tests/saas_mode/node.rs@@ -123,8 +123,8 @@ pub fn start_node_logging(.env("HOME", d.tmp.path()).env("USERPROFILE", d.tmp.path()).env("RUST_LOG", rust_log)- .stdout(std::fs::File::create(&log).unwrap())- .stderr(Stdio::null());+ .stdout(Stdio::null())+ .stderr(std::fs::File::create(&log).unwrap());for var in SCRUBBED_ENV {cmd.env_remove(var);}diff --git a/vendor/tinywallet b/vendor/tinywalletindex 722e7cc9e0..ea1073b833 160000--- a/vendor/tinywallet+++ b/vendor/tinywallet@@ -1 +1 @@-Subproject commit 722e7cc9e00a45997765e47c41f3bf451f7911d7+Subproject commit ea1073b833320b4f311e18c2df30dd2bfb1db5b6