The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: reorder imports and update docs for moved helpers
Steven Enamakel601e3318ebcf
diff --git a/crates/openhuman-core/src/channels/bus.rs b/crates/openhuman-core/src/channels/bus.rsindex bdbd2b62ee..2344123cda 100644--- a/crates/openhuman-core/src/channels/bus.rs+++ b/crates/openhuman-core/src/channels/bus.rs@@ -9,8 +9,6 @@ mod subscriber;pub use subscriber::ChannelInboundSubscriber;-pub(crate) use tinychannels::channel::derive_inbound_thread_id;-#[cfg(test)]#[path = "bus_inbound_thread_id_tests_tests.rs"]mod inbound_thread_id_tests;diff --git a/crates/openhuman-core/src/channels/bus_test_support_tests.rs b/crates/openhuman-core/src/channels/bus_test_support_tests.rsindex 40e84e94a4..54adb6594d 100644--- a/crates/openhuman-core/src/channels/bus_test_support_tests.rs+++ b/crates/openhuman-core/src/channels/bus_test_support_tests.rs@@ -1,6 +1,7 @@//! Debug-build seams for raw integration coverage of channel inbound helpers.use super::*;+use tinychannels::channel::derive_inbound_thread_id;use tinychannels::delivery::progressive::{extract_message_id, latest_thinking_snippet, StreamingState,};diff --git a/crates/openhuman-core/src/channels/providers/relay/README.md b/crates/openhuman-core/src/channels/providers/relay/README.mdindex 9fda6b42fb..bcb98ebdf3 100644--- a/crates/openhuman-core/src/channels/providers/relay/README.md+++ b/crates/openhuman-core/src/channels/providers/relay/README.md@@ -43,7 +43,7 @@ Replies are final messages only: the relay sink takes no streaming drafts or rea## How a message runs-1. `params.rs` validates the message and derives its thread with `channels::bus::derive_inbound_thread_id`: `channel:<channel>/<sender>/<chat>`, the same id as the backend-relayed inbound path. A user cannot create such a thread through `threads_upsert`, which reserves `channel:`.+1. `params.rs` validates the message and derives its thread with `tinychannels::channel::derive_inbound_thread_id`: `channel:<channel>/<sender>/<chat>`, the same id as the backend-relayed inbound path. A user cannot create such a thread through `threads_upsert`, which reserves `channel:`.2. `store.rs` creates the thread in the workspace of the caller's config and appends the message (`user:<message_id>`). In a single-user core the process-wide channel persistence subscriber is told to skip this turn (`threads::store::claim_channel_turn`), so it is not mirrored under a second id; in SaaS that subscriber is not registered and the claim is a no-op.3. `ops.rs` builds a one-message `ChannelRuntimeContext` from the caller's config and policy (`channels::runtime::build_channel_turn_parts` with `PromptToolDescs::Registered`, then `runtime_context`): the caller's tools, model and workspace, never the process's channel runtime. The pipeline's per-chat history is seeded from the thread's earlier rows. The turn runs in the background under the caller's scope (`spawn_scoped`).4. `process_channel_message` runs it like any channel message: slash commands, approval replies, then the orchestrator over `agent.run_turn` under the `ExternalChannel` origin.diff --git a/crates/openhuman-core/src/channels/providers/relay/mod.rs b/crates/openhuman-core/src/channels/providers/relay/mod.rsindex 1a2ae246f7..81756efc41 100644--- a/crates/openhuman-core/src/channels/providers/relay/mod.rs+++ b/crates/openhuman-core/src/channels/providers/relay/mod.rs@@ -7,7 +7,7 @@//! The core://!//! 1. validates the message ([`params`]) and derives its thread,-//! `channel:<channel>/<sender>/<chat>` (`channels::bus::derive_inbound_thread_id`);+//! `channel:<channel>/<sender>/<chat>` (`tinychannels::channel::derive_inbound_thread_id`);//! 2. records the message on that thread in the caller's workspace//! ([`store`]), refusing a duplicate `message_id`;//! 3. runs the turn through the channel dispatch pipelinediff --git a/crates/openhuman-core/src/channels/providers/relay/params.rs b/crates/openhuman-core/src/channels/providers/relay/params.rsindex 3b7a6bb2df..23fa549fec 100644--- a/crates/openhuman-core/src/channels/providers/relay/params.rs+++ b/crates/openhuman-core/src/channels/providers/relay/params.rs@@ -4,8 +4,8 @@use serde::{Deserialize, Serialize};use serde_json::Value;-use crate::channels::bus::derive_inbound_thread_id;use crate::channels::traits::ChannelMessage;+use tinychannels::channel::derive_inbound_thread_id;/// Longest channel name: `telegram`, `imessage`, `discord`, ...pub const MAX_CHANNEL_LEN: usize = 32;@@ -106,7 +106,7 @@ impl RelayInboundParams {/// The conversation's thread: `channel:<channel>/<sender>/<chat>`, the/// same derivation as the backend-relayed inbound path- /// (`channels::bus::derive_inbound_thread_id`). A user cannot mint such+ /// (`tinychannels::channel::derive_inbound_thread_id`). A user cannot mint such/// an id through `threads_upsert`, which reserves `channel:`.pub fn thread_id(&self) -> String {derive_inbound_thread_id(diff --git a/crates/openhuman-core/src/channels/providers/relay/params_tests.rs b/crates/openhuman-core/src/channels/providers/relay/params_tests.rsindex e6db23b2ae..cf2ea8a660 100644--- a/crates/openhuman-core/src/channels/providers/relay/params_tests.rs+++ b/crates/openhuman-core/src/channels/providers/relay/params_tests.rs@@ -28,7 +28,7 @@ fn the_thread_id_is_a_reserved_channel_id() {assert_eq!(id, "channel:telegram/42/-100123");assert_eq!(id,- crate::channels::bus::derive_inbound_thread_id(+ tinychannels::channel::derive_inbound_thread_id("telegram",Some("42"),Some("-100123"),diff --git a/crates/openhuman-core/src/flows/tinyflows/caps/tools/composio.rs b/crates/openhuman-core/src/flows/tinyflows/caps/tools/composio.rsindex e79d8a386d..b84254a681 100644--- a/crates/openhuman-core/src/flows/tinyflows/caps/tools/composio.rs+++ b/crates/openhuman-core/src/flows/tinyflows/caps/tools/composio.rs@@ -25,10 +25,10 @@ use super::{ToolBackend, ToolCallCtx};use crate::config::ops as config_rpc;use crate::config::Config;use crate::integrations::composio::module_client::{self as connectors};-use tinyconnectors_bus::names::methods;use crate::integrations::composio::types::ComposioExecuteRequest;use crate::integrations::composio::ComposioExecuteResponse;use crate::security::GateDecision;+use tinyconnectors_bus::names::methods;/// Dispatches a Composio action slug through the tier, curation, preflight and/// approval gates.diff --git a/crates/openhuman-core/src/integrations/composio/bus/connection_created_subscriber.rs b/crates/openhuman-core/src/integrations/composio/bus/connection_created_subscriber.rsindex 085b7eb9b6..acd4fb3c40 100644--- a/crates/openhuman-core/src/integrations/composio/bus/connection_created_subscriber.rs+++ b/crates/openhuman-core/src/integrations/composio/bus/connection_created_subscriber.rs@@ -13,10 +13,10 @@ use crate::config::Config;use crate::core::events::DomainEvent;use crate::integrations::composio::client::{resolve_composio_route, ComposioRoute};use crate::integrations::composio::module_client::{self as connectors};-use tinyconnectors_bus::names::methods;use crate::integrations::composio::ops;use crate::integrations::composio::types::ComposioConnectionsResponse;use crate::integrations::composio::FetchConnectedIntegrationsStatus;+use tinyconnectors_bus::names::methods;/// How long to keep polling after `composio_authorize` returns a/// `connectUrl`, waiting for the user to finish the hosted OAuth flow.diff --git a/crates/openhuman-core/src/integrations/composio/catalog/contract.rs b/crates/openhuman-core/src/integrations/composio/catalog/contract.rsindex 10c2dbf9fb..88c33b6df0 100644--- a/crates/openhuman-core/src/integrations/composio/catalog/contract.rs+++ b/crates/openhuman-core/src/integrations/composio/catalog/contract.rs@@ -10,9 +10,9 @@ use crate::integrations::composio::client::{direct_list_tools, resolve_composio_route, ComposioRoute,};use crate::integrations::composio::module_client::{self as connectors};-use tinyconnectors_bus::names::methods;use crate::integrations::composio::types::{ComposioListToolsRequest, ComposioToolsResponse};use tinyagents_harness::tool::{compute_primary_array_path, response_fields_from_schema};+use tinyconnectors_bus::names::methods;/// One Composio action's LIVE, ground-truth contract — the source of truth/// [Part 1 of the systemic tool-contract fix] grounds the Workflow builderdiff --git a/crates/openhuman-core/src/integrations/composio/client/direct.rs b/crates/openhuman-core/src/integrations/composio/client/direct.rsindex 2d61c3b133..2f2fc1cf04 100644--- a/crates/openhuman-core/src/integrations/composio/client/direct.rs+++ b/crates/openhuman-core/src/integrations/composio/client/direct.rs@@ -17,9 +17,9 @@ use tinyconnectors_bus::{ComposioDirectConnectionsRequest, ComposioDirectToolsReuse super::super::direct_auth;use super::super::module_client::{self};-use tinyconnectors_bus::names::methods;use super::super::types::{ComposioConnectionsResponse, ComposioToolsResponse};use super::DirectCredential;+use tinyconnectors_bus::names::methods;/// `ListConnectionsDirect`, with the member failure peeled down to the message/// the user is shown.diff --git a/crates/openhuman-core/src/integrations/composio/connected_integrations/fetch_uncached.rs b/crates/openhuman-core/src/integrations/composio/connected_integrations/fetch_uncached.rsindex b5a9df9c6f..8fecdec18c 100644--- a/crates/openhuman-core/src/integrations/composio/connected_integrations/fetch_uncached.rs+++ b/crates/openhuman-core/src/integrations/composio/connected_integrations/fetch_uncached.rs@@ -37,11 +37,11 @@ async fn fetch_connected_integrations_uncached_inner() -> Option<Vec<ConnectedIntegration>> {use super::super::client::{direct_list_connections, resolve_composio_route, ComposioRoute};use super::super::module_client::{self as connectors};-use tinyconnectors_bus::names::methods;use super::super::types::{ComposioConnectionsResponse, ComposioListToolsRequest, ComposioToolkitsResponse,ComposioToolsResponse,};+ use tinyconnectors_bus::names::methods;// Route via the mode-aware factory so the chat-agent's// "connected_integrations" view reflects the live tenant — backenddiff --git a/crates/openhuman-core/src/integrations/composio/execute_dispatch.rs b/crates/openhuman-core/src/integrations/composio/execute_dispatch.rsindex 079bafbebc..5a0826ba7b 100644--- a/crates/openhuman-core/src/integrations/composio/execute_dispatch.rs+++ b/crates/openhuman-core/src/integrations/composio/execute_dispatch.rs@@ -10,8 +10,8 @@ use crate::config::Config;use crate::security::egress::{emit_external_transfer, enforce_egress, EgressDescriptor};use super::module_client::{self};-use tinyconnectors_bus::names::methods;use super::types::{ComposioExecuteRequest, ComposioExecuteResponse};+use tinyconnectors_bus::names::methods;/// Run `tool` against the ambient (or `connection_id`-pinned) account.///diff --git a/crates/openhuman-core/src/integrations/composio/identity.rs b/crates/openhuman-core/src/integrations/composio/identity.rsindex e16bab8777..a447c6fae3 100644--- a/crates/openhuman-core/src/integrations/composio/identity.rs+++ b/crates/openhuman-core/src/integrations/composio/identity.rs@@ -31,9 +31,9 @@use crate::config::Config;use super::module_client::{self as connectors};-use tinyconnectors_bus::names::methods;use super::ops::fetch_connected_integrations;use super::types::ComposioUserProfileRequest;+use tinyconnectors_bus::names::methods;/// Resolve the connected account's username for the given Composio/// toolkit, going through the `tinyconnectors` module's `GetUserProfile`.diff --git a/crates/openhuman-core/src/integrations/composio/ops/connections.rs b/crates/openhuman-core/src/integrations/composio/ops/connections.rsindex aa53fdf715..50147aaa66 100644--- a/crates/openhuman-core/src/integrations/composio/ops/connections.rs+++ b/crates/openhuman-core/src/integrations/composio/ops/connections.rs@@ -4,9 +4,9 @@ use std::collections::HashMap;use super::super::client::{direct_list_connections, resolve_composio_route, ComposioRoute};use super::super::module_client::{self as connectors};-use tinyconnectors_bus::names::methods;use crate::config::Config;use crate::core::Outcome;+use tinyconnectors_bus::names::methods;use super::super::connected_integrations::{fetch_connected_integrations_status, invalidate_connected_integrations_cache,diff --git a/crates/openhuman-core/src/integrations/composio/ops/execute.rs b/crates/openhuman-core/src/integrations/composio/ops/execute.rsindex f67c0dfb52..f368eba4e5 100644--- a/crates/openhuman-core/src/integrations/composio/ops/execute.rs+++ b/crates/openhuman-core/src/integrations/composio/ops/execute.rs@@ -4,9 +4,9 @@ use crate::config::Config;use crate::core::Outcome;use super::super::module_client::{self as connectors};-use tinyconnectors_bus::names::methods;use super::super::types::{ComposioExecuteRequest, ComposioExecuteResponse};use super::error_utils::{report_composio_op_error, OpResult};+use tinyconnectors_bus::names::methods;/// The prefix the module puts on an error it has already classified.///diff --git a/crates/openhuman-core/src/integrations/composio/ops/providers_ops.rs b/crates/openhuman-core/src/integrations/composio/ops/providers_ops.rsindex 912ed3fb0d..8b27dfcab8 100644--- a/crates/openhuman-core/src/integrations/composio/ops/providers_ops.rs+++ b/crates/openhuman-core/src/integrations/composio/ops/providers_ops.rs@@ -10,12 +10,12 @@ use crate::core::Outcome;use super::super::contract::ProviderUserProfile;use super::super::module_client::{self as connectors};-use tinyconnectors_bus::names::methods;use super::super::types::{reencode, ComposioRefreshIdentitiesResponse, ComposioUserProfile, ComposioUserProfileRequest,};use super::connections::resolve_toolkit_for_connection;use super::error_utils::{report_composio_op_error, OpResult};+use tinyconnectors_bus::names::methods;/// Aggregate result of [`composio_refresh_all_identities`].#[derive(Debug, Default, Clone, serde::Serialize, serde::Deserialize)]diff --git a/crates/openhuman-core/src/integrations/composio/ops/toolkits.rs b/crates/openhuman-core/src/integrations/composio/ops/toolkits.rsindex 7804d804d6..aae121555a 100644--- a/crates/openhuman-core/src/integrations/composio/ops/toolkits.rs+++ b/crates/openhuman-core/src/integrations/composio/ops/toolkits.rs@@ -1,9 +1,9 @@//! Toolkit and capability listing ops.use super::super::module_client::{self as connectors};-use tinyconnectors_bus::names::methods;use crate::config::Config;use crate::core::Outcome;+use tinyconnectors_bus::names::methods;use super::super::contract::agent_ready_toolkits;use super::super::types::{ComposioCapabilitiesResponse, ComposioToolkitsResponse};diff --git a/crates/openhuman-core/src/integrations/composio/ops/tools_ops.rs b/crates/openhuman-core/src/integrations/composio/ops/tools_ops.rsindex fc5216ceaf..563e47bdec 100644--- a/crates/openhuman-core/src/integrations/composio/ops/tools_ops.rs+++ b/crates/openhuman-core/src/integrations/composio/ops/tools_ops.rs@@ -4,9 +4,9 @@ use crate::config::Config;use crate::core::Outcome;use super::super::module_client::{self as connectors};-use tinyconnectors_bus::names::methods;use super::super::types::{ComposioListToolsRequest, ComposioToolsResponse};use super::error_utils::{report_composio_op_error, should_forward_tags, OpResult};+use tinyconnectors_bus::names::methods;/// List the actions the agent may pick from.///diff --git a/crates/openhuman-core/src/integrations/composio/ops/triggers.rs b/crates/openhuman-core/src/integrations/composio/ops/triggers.rsindex 8f3ca517cc..6d043f4c14 100644--- a/crates/openhuman-core/src/integrations/composio/ops/triggers.rs+++ b/crates/openhuman-core/src/integrations/composio/ops/triggers.rs@@ -14,7 +14,6 @@ use crate::config::Config;use crate::core::Outcome;use super::super::module_client::{self as connectors};-use tinyconnectors_bus::names::methods;use super::super::types::{ComposioActiveTriggersResponse, ComposioAvailableTriggersResponse,ComposioCreateTriggerRequest, ComposioCreateTriggerResponse, ComposioDisableTriggerRequest,@@ -23,6 +22,7 @@ use super::super::types::{ComposioListGithubReposRequest, ComposioListTriggersRequest, ComposioTriggerHistoryResult,};use super::error_utils::{report_composio_op_error, OpResult};+use tinyconnectors_bus::names::methods;pub async fn composio_list_github_repos(config: &Config,diff --git a/crates/openhuman-core/src/integrations/composio/tools/authorize.rs b/crates/openhuman-core/src/integrations/composio/tools/authorize.rsindex af77933fe5..f24a01de07 100644--- a/crates/openhuman-core/src/integrations/composio/tools/authorize.rs+++ b/crates/openhuman-core/src/integrations/composio/tools/authorize.rs@@ -12,8 +12,8 @@ use tinytools::{PermissionLevel, Tool, ToolCategory, ToolResult};use super::super::client::{resolve_composio_route, ComposioRoute};use super::super::module_client::{self as connectors};-use tinyconnectors_bus::names::methods;use super::super::types::{ComposioAuthorizeRequest, ComposioAuthorizeResponse};+use tinyconnectors_bus::names::methods;pub struct ComposioAuthorizeTool {/// Held instead of a pre-resolved route so thediff --git a/crates/openhuman-core/src/integrations/composio/tools/connect.rs b/crates/openhuman-core/src/integrations/composio/tools/connect.rsindex f4c6fd389d..137b934d58 100644--- a/crates/openhuman-core/src/integrations/composio/tools/connect.rs+++ b/crates/openhuman-core/src/integrations/composio/tools/connect.rs@@ -15,8 +15,8 @@ use tinytools::{PermissionLevel, Tool, ToolCategory, ToolResult};use super::super::client::{direct_list_connections, resolve_composio_route, ComposioRoute};use super::super::module_client::{self as connectors};-use tinyconnectors_bus::names::methods;use super::super::types::{ComposioConnectionsResponse, ComposioToolkitsResponse};+use tinyconnectors_bus::names::methods;// ── composio_connect (inline approval card, #3993) ──────────────────diff --git a/crates/openhuman-core/src/integrations/composio/tools/list_connections.rs b/crates/openhuman-core/src/integrations/composio/tools/list_connections.rsindex bd9dd4de32..6b925c38eb 100644--- a/crates/openhuman-core/src/integrations/composio/tools/list_connections.rs+++ b/crates/openhuman-core/src/integrations/composio/tools/list_connections.rs@@ -12,8 +12,8 @@ use tinytools::{PermissionLevel, Tool, ToolCategory, ToolResult};use super::super::client::{direct_list_connections, resolve_composio_route, ComposioRoute};use super::super::module_client::{self as connectors};-use tinyconnectors_bus::names::methods;use super::super::types::ComposioConnectionsResponse;+use tinyconnectors_bus::names::methods;pub struct ComposioListConnectionsTool {/// Held instead of a pre-resolved route so thediff --git a/crates/openhuman-core/src/integrations/composio/tools/list_toolkits.rs b/crates/openhuman-core/src/integrations/composio/tools/list_toolkits.rsindex be0913c04c..e2c15f23ba 100644--- a/crates/openhuman-core/src/integrations/composio/tools/list_toolkits.rs+++ b/crates/openhuman-core/src/integrations/composio/tools/list_toolkits.rs@@ -12,8 +12,8 @@ use tinytools::{PermissionLevel, Tool, ToolCategory, ToolResult};use super::super::client::{resolve_composio_route, ComposioRoute};use super::super::module_client::{self as connectors};-use tinyconnectors_bus::names::methods;use super::super::types::ComposioToolkitsResponse;+use tinyconnectors_bus::names::methods;pub struct ComposioListToolkitsTool {/// Held instead of a pre-resolved route so thediff --git a/crates/openhuman-core/src/integrations/composio/tools/list_tools.rs b/crates/openhuman-core/src/integrations/composio/tools/list_tools.rsindex ea8ba3531c..b92a90d67f 100644--- a/crates/openhuman-core/src/integrations/composio/tools/list_tools.rs+++ b/crates/openhuman-core/src/integrations/composio/tools/list_tools.rs@@ -14,7 +14,6 @@ use tinytools::{PermissionLevel, Tool, ToolCallOptions, ToolCategory, ToolResultuse super::super::client::{resolve_composio_route, ComposioRoute};use super::super::module_client::{self as connectors};-use tinyconnectors_bus::names::methods;use super::super::types::{ComposioConnectionsResponse, ComposioListToolsRequest, ComposioToolsResponse,};@@ -22,6 +21,7 @@ use super::visibility::{empty_uncurated_toolkits_message, filter_list_tools_response, normalized_scope_toolkits,render_tools_markdown, retain_connected_tools,};+use tinyconnectors_bus::names::methods;pub struct ComposioListToolsTool {/// Held instead of a pre-resolved route so thediff --git a/crates/openhuman-core/src/profiles/surface_tests.rs b/crates/openhuman-core/src/profiles/surface_tests.rsindex 96a747fe72..48a4118c06 100644--- a/crates/openhuman-core/src/profiles/surface_tests.rs+++ b/crates/openhuman-core/src/profiles/surface_tests.rs@@ -143,7 +143,7 @@ fn delete_purge_and_the_channel_relay_are_open_to_users() {fn users_still_cannot_mint_channel_threads() {// The relay derives `channel:` ids itself; a user choosing one is refused.let relayed =- crate::channels::bus::derive_inbound_thread_id("telegram", Some("1"), Some("2"), None);+ tinychannels::channel::derive_inbound_thread_id("telegram", Some("1"), Some("2"), None);assert!(relayed.starts_with("channel:"), "{relayed}");assert!(validate_user_thread_id(&relayed).is_err());}diff --git a/crates/openhuman-core/src/tools/README.md b/crates/openhuman-core/src/tools/README.mdindex d00b8470b4..b508e7871a 100644--- a/crates/openhuman-core/src/tools/README.md+++ b/crates/openhuman-core/src/tools/README.md@@ -10,8 +10,9 @@ allowlist of tool-like operations is also exposed over JSON-RPC for thedesktop shell.Domain-owned tools (memory, cron, flows, wallet, Composio, skills, voice,-agent sub-dispatch) live in their own domains. [`mod.rs`](./mod.rs) re-exports them, so a-single `crate::tools::*` import reaches the full set.+agent sub-dispatch) live in their own domains. Each domain supplies an explicit+tool factory; [`ops.rs`](./ops.rs) combines those factories in registry order.+Callers import individual tools from their owning domain.## How it works@@ -120,7 +121,7 @@ step.| Path | What it does || --- | --- |-| [`mod.rs`](./mod.rs) | Export hub: submodules, re-exports of built-in and domain tools, the `tinytools` vocabulary, and the `all_tools_*` controller pair. |+| [`mod.rs`](./mod.rs) | Cross-cutting tool modules, their built-in exports, and the `all_tools_*` controller pair. Domain factories are called explicitly from `ops.rs`; tool contracts come directly from `tinytools`. || [`ops.rs`](./ops.rs) | Registry assembly (`default_tools*`, `all_tools*`), all config and feature gating, and `tool_group`. || [`orchestrator_tools.rs`](./orchestrator_tools.rs) | Per-subagent `delegate_*` tools and deferred Composio action expansion. || [`user_filter.rs`](./user_filter.rs) | `filter_tools_by_user_preference` and the UI toggle to tool-name map. |diff --git a/crates/openhuman-core/src/web3/wallet/README.md b/crates/openhuman-core/src/web3/wallet/README.mdindex 8d14501b64..de7ecc87c6 100644--- a/crates/openhuman-core/src/web3/wallet/README.md+++ b/crates/openhuman-core/src/web3/wallet/README.md@@ -144,7 +144,7 @@ None. The module publishes or subscribes no `DomainEvent`s and has no `bus.rs`.## Used by-- `crates/openhuman-core/src/tools/mod.rs` re-exports `wallet::tools::*`; `crates/openhuman-core/src/tools/ops.rs` registers the six wallet agent tools (gated on the `web3` feature) and reserves the `wallet_`/`web3_`/`x402_` name prefixes as Web3-exclusive.+- `registration::registered_tools` constructs the six wallet agent tools from `tinywallet-web3`; `crates/openhuman-core/src/tools/ops.rs` adds that domain factory (gated on the `web3` feature) and reserves the `wallet_`/`web3_`/`x402_` name prefixes as Web3-exclusive.- `crates/openhuman-core/src/core/all.rs` wires controllers/schemas/capability description.- `crates/openhuman-core/src/test_support/introspect.rs`: `wallet_prepared_quotes` introspection helper used in tests, backed by `wallet::prepared_quotes_for_test`.diff --git a/crates/openhuman-embed/tests/approval_lifecycle.rs b/crates/openhuman-embed/tests/approval_lifecycle.rsindex e6620d0fb7..c0ba2824b8 100644--- a/crates/openhuman-embed/tests/approval_lifecycle.rs+++ b/crates/openhuman-embed/tests/approval_lifecycle.rs@@ -306,10 +306,7 @@ impl Tool for RemovalTool {fn parameters_schema(&self) -> serde_json::Value {serde_json::json!({"type": "object", "properties": {}})}- async fn execute(- &self,- _: serde_json::Value,- ) -> anyhow::Result<tinytools::ToolResult> {+ async fn execute(&self, _: serde_json::Value) -> anyhow::Result<tinytools::ToolResult> {let _guard = BlockingDecisionDrop {barrier: self.barrier.clone(),dropping: self.dropping.clone(),diff --git a/crates/openhuman-embed/tests/attached_tools.rs b/crates/openhuman-embed/tests/attached_tools.rsindex 30e87e83b0..9604763416 100644--- a/crates/openhuman-embed/tests/attached_tools.rs+++ b/crates/openhuman-embed/tests/attached_tools.rs@@ -26,10 +26,7 @@ impl Tool for Marker {fn parameters_schema(&self) -> serde_json::Value {serde_json::json!({"type":"object", "properties":{"message":{"type":"string"}}, "required":["message"]})}- async fn execute(- &self,- _: serde_json::Value,- ) -> anyhow::Result<tinytools::ToolResult> {+ async fn execute(&self, _: serde_json::Value) -> anyhow::Result<tinytools::ToolResult> {Ok(tinytools::ToolResult::success("accepted"))}}diff --git a/crates/openhuman-embed/tests/channel_agents.rs b/crates/openhuman-embed/tests/channel_agents.rsindex e729e61718..d179653f48 100644--- a/crates/openhuman-embed/tests/channel_agents.rs+++ b/crates/openhuman-embed/tests/channel_agents.rs@@ -12,12 +12,12 @@ use std::sync::{Arc, Mutex};use std::time::Duration;use common::{chat_completion, chat_requests, offline_config, runtime, stub_backend};-use tinytools::{PermissionLevel, ToolResult};use openhuman_embed::{AgentDefinitionSpec, AgentSpec, AgentTurnOrigin, ChannelError, HostTurnTools, Provider,Runtime, TelegramChannelSpec, Tool, ToolScopeSpec, Workspace,};use serde_json::{json, Value};+use tinytools::{PermissionLevel, ToolResult};use wiremock::matchers::{method, path};use wiremock::{Mock, MockServer, ResponseTemplate};diff --git a/crates/openhuman-embed/tests/cron_agents.rs b/crates/openhuman-embed/tests/cron_agents.rsindex 39c30f4225..6cae9e869f 100644--- a/crates/openhuman-embed/tests/cron_agents.rs+++ b/crates/openhuman-embed/tests/cron_agents.rs@@ -41,10 +41,7 @@ impl Tool for Ping {fn parameters_schema(&self) -> serde_json::Value {serde_json::json!({ "type": "object", "properties": {} })}- async fn execute(- &self,- _args: serde_json::Value,- ) -> anyhow::Result<tinytools::ToolResult> {+ async fn execute(&self, _args: serde_json::Value) -> anyhow::Result<tinytools::ToolResult> {self.seen.lock().unwrap()diff --git a/crates/openhuman-embed/tests/isolation_mcp.rs b/crates/openhuman-embed/tests/isolation_mcp.rsindex 06ad4a12ff..fc3f4cb323 100644--- a/crates/openhuman-embed/tests/isolation_mcp.rs+++ b/crates/openhuman-embed/tests/isolation_mcp.rs@@ -12,9 +12,9 @@ use std::sync::Arc;use common::{chat_requests, offline_config, route, runtime, scripted_provider, stub_backend};use openhuman_core::core::runtime::{AgentContextRegistry, CoreContext};use openhuman_core::mcp::registry::types::{CommandKind, InstalledServer, Transport};-use tinytools::Tool;use openhuman_embed::{Access, AgentSpec, Runtime, Workspace};use serde_json::{json, Value};+use tinytools::Tool;const MCP_TOOL: &str = "isolation_forecast";