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
merge: sync main into feat/7202-mcp-apps-in-chat
oxoxDeva6dee6d5aa76
diff --cc Cargo.lockindex 6d4834a77a,4ca804f3a9..db848428ed--- a/Cargo.lock+++ b/Cargo.lock@@@ -1771,9 -2009,18 +2018,18 @@@ source = "registry+https://github.com/rchecksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"dependencies = ["libc",- "windows-sys 0.60.2",+ "windows-sys 0.61.2",]+ [[package]]+ name = "euclid"+ version = "0.20.14"+ source = "registry+https://github.com/rust-lang/crates.io-index"+ checksum = "2bb7ef65b3777a325d1eeefefab5b6d4959da54747e33bd6258e789640f307ad"+ dependencies = [+ "num-traits",+ ]+[[package]]name = "euclid"version = "0.22.14"@@@ -3997,9 -4610,8 +4619,9 @@@ dependencies ="tinyinference-providers","tinyinference-voice","tinyjuice-bus",+ "tinymcp","tinymcp-bus",- "tinymemes",+ "tinymemes-bus","tinymemory-api","tinymemory-integrations","tinymemory-tools",@@@ -7105,35 -8070,9 +8080,35 @@@ dependencies ="url",]+[[package]]+name = "tinymcp"+version = "0.14.3"+dependencies = [+ "base64 0.23.1",+ "dirs 7.0.0",+ "futures-util",+ "libc",+ "parking_lot",+ "regex",+ "reqwest 0.12.28",+ "rusqlite",+ "serde",+ "serde_json",+ "sha2 0.11.0",+ "thiserror 2.0.20",+ "tinymcp-bus",+ "tinytools",+ "tinytools-std",+ "tokio",+ "tracing",+ "url",+ "urlencoding",+ "uuid",+]+[[package]]name = "tinymcp-bus"- version = "0.14.3"+ version = "0.15.0"dependencies = ["schemars","serde",diff --cc crates/openhuman-app/Cargo.lockindex 91a12e3023,a2b3cf1196..a330352c75--- a/crates/openhuman-app/Cargo.lock+++ b/crates/openhuman-app/Cargo.lock@@@ -3877,9 -3868,8 +3877,9 @@@ dependencies ="tinyinference-providers","tinyinference-voice","tinyjuice-bus",+ "tinymcp","tinymcp-bus",- "tinymemes",+ "tinymemes-bus","tinymemory-api","tinymemory-integrations","tinymemory-tools",@@@ -6459,10 -6451,10 +6462,10 @@@ source = "registry+https://github.com/rchecksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd"dependencies = ["fastrand",- "getrandom 0.4.3",+ "getrandom 0.3.4","once_cell","rustix 1.1.5",- "windows-sys 0.59.0",+ "windows-sys 0.61.2",][[package]]@@@ -7108,35 -7106,9 +7117,35 @@@ dependencies ="url",]+[[package]]+name = "tinymcp"+version = "0.14.3"+dependencies = [+ "base64 0.23.1",+ "dirs 7.0.0",+ "futures-util",+ "libc",+ "parking_lot",+ "regex",+ "reqwest 0.12.28",+ "rusqlite",+ "serde",+ "serde_json",+ "sha2 0.11.0",+ "thiserror 2.0.20",+ "tinymcp-bus",+ "tinytools",+ "tinytools-std",+ "tokio",+ "tracing",+ "url",+ "urlencoding",+ "uuid",+]+[[package]]name = "tinymcp-bus"- version = "0.14.3"+ version = "0.15.0"dependencies = ["schemars 1.2.2","serde",diff --cc crates/openhuman-core/src/tools/impl/network/mcp_server_tools.rsindex 2ff12f2fa8,64fbf12b8b..b1e33d3b0b--- a/crates/openhuman-core/src/tools/impl/network/mcp_server_tools.rs+++ b/crates/openhuman-core/src/tools/impl/network/mcp_server_tools.rs@@@ -152,10 -148,9 +152,10 @@@ impl Tool for ModuleConfiguredMcpServeranyhow::bail!("MCP tool is no longer available or safe");}let arguments = client- .normalize_tool_arguments(args)+ .normalize_tool_arguments(Some(args)).await.map_err(|error| anyhow::anyhow!(super::mcp::input_module_error_message(error)))?;+ let tool_input = Value::Object(arguments.clone());let call: tinymcp_bus::ClassifiedStaticToolCall = client.call_confidential(&client_config,diff --cc docs/TEST-COVERAGE-MATRIX.mdindex 62ad3d0546,bec1a5dc6a..abe6bfa13f--- a/docs/TEST-COVERAGE-MATRIX.md+++ b/docs/TEST-COVERAGE-MATRIX.md@@@ -196,8 -196,7 +196,8 @@@ Local inference runs against a runtime| 4.2.10 | Durable agent reply (core stores it before announcing `chat_done`) | RU+VU | `crates/openhuman-core/src/web_chat/reply_persistence_tests.rs`, `crates/openhuman-core/src/web_chat/presentation_tests.rs`, `app/src/providers/__tests__/ChatRuntimeProvider.test.tsx` | ✅ | `deliver_response` persists an unsegmented reply under `agent:<request_id>` before publishing the terminal event, so a dropped socket, a failed `threads_message_append` or a reloaded webview costs a repaint rather than the answer; the client's append collapses onto that row by id. RU covers the write, its idempotency, the empty-reply and missing-thread paths, and that delivery still announces when the store refuses. VU covers the mirrored id, the segmented exception, the refetch that recovers a failed append, and the reconnect that rejoins orphaned thread rooms. WD E2E (kill the append mid-turn) is a follow-up || 4.2.11 | Links open in the default browser; the main webview never loads a remote page | RU+VU+MS | `crates/openhuman-app/src/external_navigation_tests.rs`, `app/src/utils/openUrl.test.ts`, `app/src/utils/externalLinkGuard.test.ts`, `app/src/components/Announcement/AnnouncementModal.test.tsx`, release-manual-smoke | 🟡 | RU covers the shell's navigation policy: remote http(s) navigation of `main` is cancelled and handed to the OS opener; `tauri://localhost`, `tauri.localhost`, `about:`/`data:`/`blob:` and the `tauri dev` server stay in the webview; other webviews are untouched. VU covers `openUrl` never falling back to `window.open` in the desktop shell (including the IPC bridge bootstrap gap) and the click guard. Real macOS click verified manually; automated desktop E2E is a follow-up (the WDIO desktop runner still assumes CEF) || 4.2.12 | Live stream renders like the reopened thread (parity, append-only, atomic settle) | VU+WD | `app/src/providers/__tests__/liveHistoryParity.test.tsx`, `app/src/store/__tests__/chatRuntimeSlice.liveParity.test.ts`, `app/src/features/conversations/derived/mapDisplayItems.test.ts`, `app/src/services/chatDeltaCoalescer.test.ts`, `app/src/features/conversations/components/AssistantUiToolCall.disclosure.test.tsx`, `app/src/components/assistant-ui/elements/reasoning-panel.test.tsx`, `app/src/components/assistant-ui/thread.followBottom.test.tsx`, `chat-live-history-parity.spec.ts` | ✅ | One scripted turn (`app/src/test/fixtures/streamedTurn.ts`) is told as socket events and as the core transcript. VU drives it through the real socket handlers: the settled reply equals the reload projection, the tail is append-only while it streams, and `chat_done` swaps tail for reply in one store update at one index. Also covered: in-place sub-agent promotion on both sides, args-delta row adoption, a superseded settle, frame-coalesced deltas, disclosure state across remounts, and following that survives a collapse. WD samples the real DOM while streaming, checks the viewport still follows, and compares with the reopened thread |- | 4.2.13 | Final-reply remix with region slang and memes (TinyMemes, `OPENHUMAN_TINYMEMES` off/on/ab) | RU+VU | `crates/openhuman-core/src/tinymemes/arm_tests.rs`, `crates/openhuman-core/src/tinymemes/host_tests.rs`, `crates/openhuman-core/src/tinymemes/inference_tests.rs`, `crates/openhuman-core/src/web_chat/progress_bridge_tests.rs::hold_text_stream_suppresses_text_delta_but_keeps_interim`, `app/src/components/markdown/MarkdownImage.test.tsx` | 🟡 | Off by default. RU covers the flag (runtime value over the build-time default), stable per-thread A/B buckets, delivered-history conversion with remixed turns tagged, OpenRouter reasoning-off routing, and that treatment threads hold `text_delta` while interim narration still flushes. VU covers capped, lazy, no-referrer meme images. The engine itself (Jev reading, rating, rewrite, meme and slang vetting) is tested in `tinyhumansai/tinymemes`. WD E2E of a remixed turn is a follow-up |+ | 4.2.13 | Final-reply remix with region slang and memes (TinyMemes, `OPENHUMAN_TINYMEMES` off/on/ab) | RU+VU | `crates/openhuman-core/src/tinymemes/arm_tests.rs`, `crates/openhuman-core/src/tinymemes/mod_tests.rs`, `crates/openhuman-core/src/tinymemes/callbacks_tests.rs`, `crates/openhuman-core/src/tinymemes/history_tests.rs`, `crates/openhuman-core/src/tinymemes/remixed_tests.rs`, `crates/openhuman-core/src/tinymemes/inference_tests.rs`, `crates/openhuman-core/src/web_chat/progress_bridge_tests.rs::hold_text_stream_suppresses_text_delta_but_keeps_interim`, `app/src/components/markdown/MarkdownImage.test.tsx` | 🟡 | Off by default. RU covers the flag (runtime value over the build-time default), stable per-thread A/B buckets, delivered-history conversion with remixed turns tagged, OpenRouter reasoning-off routing, and that treatment threads hold `text_delta` while interim narration still flushes. VU covers capped, lazy, no-referrer meme images. The engine itself (Jev reading, rating, rewrite, meme and slang vetting) runs in the `tinymemes` module and is tested in `tinyhumansai/tinymemes`; the host side is covered with a scripted remixer and the served Complete/Evaluate/Search/LoadIndex/SaveIndex/Deliver callbacks. WD E2E of a remixed turn is a follow-up |+| 4.2.14 | Tool UI widgets in chat (MCP Apps `ui://` and Apps SDK templates) | RU+VU | `crates/openhuman-core/src/mcp/ui/resolve_tests.rs`, `crates/openhuman-core/src/mcp/ui/ops_tests.rs`, `crates/openhuman-core/src/mcp/ui/decorate_tests.rs`, `crates/openhuman-core/src/mcp/ui/tools_tests.rs`, `crates/openhuman-app/src/widget_scheme_tests.rs`, `app/src/features/conversations/tools/mcpUi/mcpAppBridge.test.ts`, `app/src/features/conversations/tools/mcpUi/McpAppFrame.test.tsx`, `app/src/components/assistant-ui/thread.mcpWidgets.test.tsx` | 🟡 | RU covers template resolution, resource reads, widget tool-call policy, result decoration and the `ohwidget://` proxy scheme. VU covers the bridge, the sandboxed frame, link and QR fallback, and widget placement in the assistant turn. The live widget round-trip against a real MCP server is manual smoke only |### 4.3 Tool Invocation