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 upstream main into per-agent Composio credentials
Steven Enamakel362fee92901f
diff --cc Cargo.lockindex 5a5cf3959f,3733963da8..2caa8d8f6d--- a/Cargo.lock+++ b/Cargo.lock@@@ -6691,7 -6663,7 +6663,7 @@@ dependencies =[[package]]name = "tinymcp"- version = "0.3.3"-version = "0.3.4"++version = "0.3.5"dependencies = ["base64 0.23.1","dirs 7.0.0",@@@ -6711,7 -6683,7 +6683,7 @@@[[package]]name = "tinymcp-bus"- version = "0.3.3"-version = "0.3.4"++version = "0.3.5"dependencies = ["schemars","serde",diff --cc crates/openhuman-core/src/config/mod.rsindex 4ae4f4fdab,40761dc908..e76aa189fa--- a/crates/openhuman-core/src/config/mod.rs+++ b/crates/openhuman-core/src/config/mod.rs@@@ -42,26 -43,29 +43,27 @@@ pub use schema::build_runtime_proxy_client_with_timeouts, output_language_directive, runtime_proxy_config,set_runtime_proxy_config, AgentConfig, AuditConfig, AutonomyConfig, BrowserComputerUseConfig,BrowserConfig, CapabilityProviderConfig, CapabilityProviderTrustState, ChannelsConfig,- ComposioConfig, ComposioDirectBaseUrls, ComposioHostCredential, Config, ContextConfig,- ComposioConfig, ComputerConfig, Config, ContextConfig, CostConfig, CronConfig, CurlConfig,- DashboardConfig, DecisionModel, DelegateAgentConfig, DiagramViewerConfig,++ ComposioConfig, ComposioDirectBaseUrls, ComposioHostCredential, ComputerConfig, Config, ContextConfig,+ CostConfig, CronConfig, CurlConfig, DashboardConfig, DelegateAgentConfig, DiagramViewerConfig,DictationActivationMode, DictationConfig, DiscordConfig, DockerRuntimeConfig, EmailConfig,EmbeddingRouteConfig, GitbooksConfig, HeartbeatConfig, HttpHeader, HttpRequestConfig,- IMessageConfig, IntegrationToggle, IntegrationsConfig, LarkConfig, LearningConfig,- LegacySearchInputs, LinqConfig, LlmBackend, LocalAiConfig, MatrixConfig, McpAuthConfig,- McpClientConfig, McpClientIdentityConfig, McpServerConfig, MemoryConfig, MemoryTreeConfig,- ModelRouteConfig, MultimodalConfig, MultimodalFileConfig, ObservabilityConfig,- OrchestratorModelConfig, PrivacyConfig, PrivacyMode, ProxyConfig, ProxyScope, ReflectionSource,- ReliabilityConfig, ResourceLimitsConfig, RuntimeConfig, RuntimePoolConfig,- RuntimePoolLangConfig, SandboxBackend, SandboxConfig, SchedulerConfig, SchedulerGateConfig,- SchedulerGateMode, SearchConfig, SearchEngineCredentials, SearchPresentation,- SearchProviderSettings, SearchRoute, SearxngConfig, SecretsConfig, SecurityConfig, ShellConfig,- SlackConfig, StorageConfig, StorageProviderConfig, StorageProviderSection, StreamMode,- SttEngine, TeamModelConfig, TelegramConfig, TokenjuiceConfig, UpdateConfig,+ IMessageConfig, IntegrationToggle, IntegrationsConfig, LarkConfig, LearningConfig, LinqConfig,+ LlmBackend, LocalAiConfig, MatrixConfig, McpAuthConfig, McpClientConfig,+ McpClientIdentityConfig, McpServerConfig, MemoryConfig, MemoryTreeConfig, ModelRouteConfig,+ MultimodalConfig, MultimodalFileConfig, ObservabilityConfig, OrchestratorModelConfig,- PrivacyConfig, PrivacyMode, ProxyConfig, ProxyScope, ReflectionSource, ReliabilityConfig,++ DecisionModel, PrivacyConfig, PrivacyMode, ProxyConfig, ProxyScope, ReflectionSource, ReliabilityConfig,+ ResourceLimitsConfig, RuntimeConfig, RuntimePoolConfig, RuntimePoolLangConfig, SandboxBackend,+ SandboxConfig, SchedulerConfig, SchedulerGateConfig, SchedulerGateMode, SearchConfig,- SearchEngine, SearchEngineCredentials, SearxngConfig, SecretsConfig, SecurityConfig,++ SearchEngineCredentials, SearchPresentation, SearchProviderSettings, SearchRoute, SearxngConfig, SecretsConfig, SecurityConfig,+ ShellConfig, SlackConfig, StorageConfig, StorageProviderConfig, StorageProviderSection,+ StreamMode, SttEngine, TeamModelConfig, TelegramConfig, TokenjuiceConfig, UpdateConfig,UpdateRestartStrategy, VoiceActivationMode, VoiceServerConfig, WebSearchConfig, WebhookConfig,YuanbaoConfig, DEFAULT_CLOUD_LLM_MODEL, DEFAULT_MEMORY_SYNC_INTERVAL_SECS, DEFAULT_MODEL,- LEGACY_TIER_MODELS, MANAGED_MULTIMODAL_MODELS, MEMORY_SYNC_INTERVAL_PRESETS_SECS,- LEGACY_TIER_MODELS, MANAGED_MULTIMODAL_MODELS, MANAGED_SEARCH_PROVIDERS,- MEMORY_SYNC_INTERVAL_PRESETS_SECS, MODEL_IMAGE_GENERATION_AGENT, MODEL_MANAGED_DEFAULT,- MODEL_MEDIA_UNDERSTANDING, MODEL_VIDEO_GENERATION_AGENT, SEARCH_ENGINE_BRAVE,- SEARCH_ENGINE_DISABLED, SEARCH_ENGINE_EXA, SEARCH_ENGINE_MANAGED, SEARCH_ENGINE_PARALLEL,- SEARCH_ENGINE_QUERIT, SEARCH_ENGINE_TAVILY, SEARCH_PROVIDERS, SEARCH_ROLES, SEARCH_ROLE_ANSWER,- SEARCH_ROLE_CONTENTS, SEARCH_ROLE_SEARCH,++ LEGACY_TIER_MODELS, MANAGED_MULTIMODAL_MODELS, MANAGED_SEARCH_PROVIDERS, MEMORY_SYNC_INTERVAL_PRESETS_SECS,+ MODEL_IMAGE_GENERATION_AGENT, MODEL_MANAGED_DEFAULT, MODEL_MEDIA_UNDERSTANDING,+ MODEL_VIDEO_GENERATION_AGENT, SEARCH_ENGINE_BRAVE, SEARCH_ENGINE_DISABLED, SEARCH_ENGINE_EXA,+ SEARCH_ENGINE_MANAGED, SEARCH_ENGINE_PARALLEL, SEARCH_ENGINE_QUERIT, SEARCH_ENGINE_TAVILY,++ SEARCH_PROVIDERS, SEARCH_ROLES, SEARCH_ROLE_ANSWER, SEARCH_ROLE_CONTENTS, SEARCH_ROLE_SEARCH,};// Kept as a separate re-export (issue #4117) so the large alphabetized group// above stays byte-identical and rustfmt-stable.diff --cc crates/openhuman-core/src/config/schema/mod.rsindex 309831863e,27cf866420..0b5a82cf92--- a/crates/openhuman-core/src/config/schema/mod.rs+++ b/crates/openhuman-core/src/config/schema/mod.rs@@@ -120,14 -120,15 +120,16 @@@ pub use subsystems::pub use task_sources::TaskSourcesConfig;pub use tokenjuice::TokenjuiceConfig;pub use tools::{- BrowserComputerUseConfig, BrowserConfig, ComposioConfig, CurlConfig, GitbooksConfig,- HttpHeader, HttpRequestConfig, IntegrationToggle, IntegrationsConfig, LegacySearchInputs,- McpAuthConfig, McpClientConfig, McpClientIdentityConfig, McpServerConfig, MultimodalConfig,- MultimodalFileConfig, SearchConfig, SearchEngineCredentials, SearchPresentation,- SearchProviderSettings, SearchRoute, SearxngConfig, SecretsConfig, SeltzConfig,- WebSearchConfig, COMPOSIO_MODE_BACKEND, COMPOSIO_MODE_DIRECT, MANAGED_SEARCH_PROVIDERS,- SEARCH_ENGINE_BRAVE, SEARCH_ENGINE_DISABLED, SEARCH_ENGINE_EXA, SEARCH_ENGINE_MANAGED,- SEARCH_ENGINE_PARALLEL, SEARCH_ENGINE_QUERIT, SEARCH_ENGINE_TAVILY, SEARCH_PROVIDERS,- SEARCH_ROLES, SEARCH_ROLE_ANSWER, SEARCH_ROLE_CONTENTS, SEARCH_ROLE_SEARCH,+ BrowserComputerUseConfig, BrowserConfig, ComposioConfig, ComposioDirectBaseUrls,+ ComposioHostCredential, CurlConfig, GitbooksConfig, HttpHeader, HttpRequestConfig,+ IntegrationToggle, IntegrationsConfig, McpAuthConfig, McpClientConfig, McpClientIdentityConfig,- McpServerConfig, MultimodalConfig, MultimodalFileConfig, SearchConfig, SearchEngine,++ McpServerConfig, MultimodalConfig, MultimodalFileConfig, SearchConfig,+ SearchEngineCredentials, SearxngConfig, SecretsConfig, SeltzConfig, WebSearchConfig,+ COMPOSIO_MODE_BACKEND, COMPOSIO_MODE_DIRECT, SEARCH_ENGINE_BRAVE, SEARCH_ENGINE_DISABLED,+ SEARCH_ENGINE_EXA, SEARCH_ENGINE_MANAGED, SEARCH_ENGINE_PARALLEL, SEARCH_ENGINE_QUERIT,- SEARCH_ENGINE_TAVILY, SEARCH_PROVIDERS,++ SEARCH_ENGINE_TAVILY, SEARCH_PROVIDERS, SEARCH_ROLES, SEARCH_ROLE_ANSWER, SEARCH_ROLE_CONTENTS,++ SEARCH_ROLE_SEARCH, LegacySearchInputs, SearchPresentation, SearchProviderSettings, SearchRoute,++ MANAGED_SEARCH_PROVIDERS,};pub use update::{UpdateConfig, UpdateRestartStrategy};pub use web_chat_config::WebChatConfig;diff --cc crates/openhuman-core/src/integrations/composio/connected_integrations/cache.rsindex e9ee76704f,1b6a703f07..b7cf1cfb9e--- a/crates/openhuman-core/src/integrations/composio/connected_integrations/cache.rs+++ b/crates/openhuman-core/src/integrations/composio/connected_integrations/cache.rs@@@ -45,53 -47,39 +46,56 @@@ pub(crate) fn composio_cache_test_lock(.unwrap_or_else(|e| e.into_inner())}- /// The Composio credential identity a [`Config`] resolves to: its credential- /// store (`config_path`), mode, entity, any inline or host-pinned key, and —- /// in unpinned direct mode — the stored key [`create_composio_client`] would- /// actually dispatch with. Hashed so the key material never appears in the- /// cache key or its logs.- ///- /// The stored key must be included even though `config_path` already is:- /// the generic credential RPCs can rotate it in place without publishing- /// `ComposioConfigChanged`, and two agents that share a `config_path` (the- /// normal multi-agent-per-runtime shape) would otherwise collide on the same- /// key and read each other's cached connections across that rotation.- ///- /// [`create_composio_client`]: super::super::client::create_composio_client-/// Bind a cached integration list to the effective backend credential and-/// endpoint as well as the local config. The digest keeps secrets out of the-/// cache key and logs while preventing an old identity's cache hit during a-/// credential rotation, even before invalidation completes.++/// Bind a cached integration list to its backend endpoint, backend credential,++/// and effective Composio credential identity. Digests keep secrets out of++/// cache keys and logs while preventing cross-agent cache hits after rotation.pub(crate) fn cache_key(config: &Config) -> String {- use std::collections::hash_map::DefaultHasher;- use std::hash::{Hash, Hasher};- // Match `IntegrationClient::new_inner`: the cache must follow the same- // control-plane origin after the transport applies its configured/default- // backend resolution and inference-path normalization.+ let backend_url = crate::backend::base_url(&config.api_url)+ .map(|url| crate::util::url::normalize_backend_api_base_url(&url))+ .unwrap_or_default();+ cache_key_with_backend_url(config, &backend_url)+ }+ fn cache_key_with_backend_url(config: &Config, backend_url: &str) -> String {+ let mut digest = Sha256::new();- digest.update(b"openhuman-integrations-cache-v2\0");++ digest.update(b"openhuman-integrations-cache-v3\0");+ digest.update(config.config_path.to_string_lossy().as_bytes());+ digest.update(b"\0");+ digest.update(backend_url.as_bytes());+ digest.update(b"\0");+ match crate::security::credentials::session_support::resolve_backend_credential(config) {+ Ok(credential) => {- digest.update(if credential.is_api_key() {- b"api-key\0"- } else {- b"session\0"- });++ digest.update(if credential.is_api_key() { b"api-key\0" } else { b"session\0" });+ digest.update(credential.secret().as_bytes());+ }+ Err(_) => digest.update(b"unavailable"),+ }- hex::encode(digest.finalize())++ digest.update(b"\0composio\0");+ let composio = &config.composio;- let mut hasher = DefaultHasher::new();- config.config_path.hash(&mut hasher);- composio.mode.trim().hash(&mut hasher);- composio.entity_id.trim().hash(&mut hasher);- composio- .api_key- .as_deref()- .map(str::trim)- .filter(|k| !k.is_empty())- .hash(&mut hasher);- composio- .host_credential- .as_ref()- .map(|c| {- (- c.api_key(),- c.entity(),- c.direct_base_urls().map(|u| (u.v2.as_str(), u.v3.as_str())),- )- })- .hash(&mut hasher);- if composio.host_credential.is_none()- && composio.mode.trim() == crate::config::schema::COMPOSIO_MODE_DIRECT- {- if let Ok(Some(stored)) = crate::security::credentials::get_composio_api_key(config) {- stored.hash(&mut hasher);++ digest.update(composio.mode.trim().as_bytes());++ digest.update(b"\0");++ digest.update(composio.entity_id.trim().as_bytes());++ digest.update(b"\0");++ if let Some(host) = composio.host_credential.as_ref() {++ digest.update(host.api_key().as_bytes());++ digest.update(b"\0");++ digest.update(host.entity().as_bytes());++ if let Some(urls) = host.direct_base_urls() {++ digest.update(urls.v2.as_bytes());++ digest.update(b"\0");++ digest.update(urls.v3.as_bytes());++ }++ } else {++ let inline_key = composio.api_key.as_deref().map(str::trim).filter(|key| !key.is_empty());++ if let Some(key) = inline_key {++ digest.update(key.as_bytes());++ } else if composio.mode.trim() == crate::config::schema::COMPOSIO_MODE_DIRECT {++ if let Ok(Some(stored)) = crate::security::credentials::get_composio_api_key(config) {++ digest.update(stored.as_bytes());++ }+ }+ }- format!("composio:{:016x}", hasher.finish())++ format!("composio:{}", hex::encode(digest.finalize()))}/// Clear cached connected integrations so the next call todiff --cc crates/openhuman-core/src/integrations/composio/tools/redact.rsindex 5d2bfa69be,0000000000..87c0202115mode 100644,000000..100644--- a/crates/openhuman-core/src/integrations/composio/tools/redact.rs+++ b/crates/openhuman-core/src/integrations/composio/tools/redact.rs@@@ -1,132 -1,0 +1,141 @@@+//! [`redact_composio_outcome`]: keep a Composio API key out of what a+//! Composio tool returns to the model.++use serde_json::Value;+use tinytools::{ToolContent, ToolResult};++use crate::config::Config;++const REDACTED: &str = "[REDACTED]";+const MIN_SECRET_LEN: usize = 8;++/// The Composio keys `config` can resolve to: a host-pinned key, the inline+/// `composio.api_key`, and in unpinned direct mode the stored key.+pub(crate) fn composio_secrets(config: &Config) -> Vec<String> {+ let composio = &config.composio;+ let mut secrets: Vec<String> = Vec::new();+ if let Some(pinned) = composio.host_credential.as_ref() {+ secrets.push(pinned.api_key().to_string());+ }+ if let Some(inline) = composio.api_key.as_deref() {+ secrets.push(inline.trim().to_string());+ }+ if composio.host_credential.is_none()+ && composio.mode.trim() == crate::config::schema::COMPOSIO_MODE_DIRECT+ {+ if let Ok(Some(stored)) = crate::security::credentials::get_composio_api_key(config) {+ secrets.push(stored);+ }+ }+ secrets.retain(|s| s.len() >= MIN_SECRET_LEN);+ secrets.sort_by(|a, b| b.len().cmp(&a.len()).then_with(|| a.cmp(b)));+ secrets.dedup();+ secrets+}++pub(crate) fn redact_text(text: &str, secrets: &[String]) -> String {+ secrets.iter().fold(text.to_string(), |acc, secret| {+ acc.replace(secret.as_str(), REDACTED)+ })+}++fn redact_value(value: &mut Value, secrets: &[String]) {+ match value {+ Value::String(s) => {+ if secrets.iter().any(|secret| s.contains(secret.as_str())) {+ *s = redact_text(s, secrets);+ }+ }+ Value::Array(items) => items.iter_mut().for_each(|v| redact_value(v, secrets)),+ Value::Object(map) => {- *map = std::mem::take(map)- .into_iter()- .map(|(mut k, mut v)| {- redact_value(&mut v, secrets);- if secrets.iter().any(|secret| k.contains(secret.as_str())) {- k = redact_text(&k, secrets);++ let entries = std::mem::take(map);++ for (mut key, mut value) in entries {++ redact_value(&mut value, secrets);++ if secrets.iter().any(|secret| key.contains(secret.as_str())) {++ key = redact_text(&key, secrets);++ }++ if map.contains_key(&key) {++ let base = key;++ let mut suffix = 2;++ loop {++ key = format!("{base} ({suffix})");++ if !map.contains_key(&key) {++ break;++ }++ suffix += 1;+ }- (k, v)- })- .collect();++ }++ map.insert(key, value);++ }+ }+ _ => {}+ }+}++fn redact_content(content: &mut ToolContent, secrets: &[String]) {+ match content {+ ToolContent::Text { text } => *text = redact_text(text, secrets),+ ToolContent::Json { data } => redact_value(data, secrets),+ _ => {}+ }+}++pub(crate) fn redact_result(mut result: ToolResult, secrets: &[String]) -> ToolResult {+ if secrets.is_empty() {+ return result;+ }+ result+ .content+ .iter_mut()+ .for_each(|c| redact_content(c, secrets));+ result+ .follow_up+ .iter_mut()+ .for_each(|c| redact_content(c, secrets));+ if let Some(md) = result.markdown_formatted.as_mut() {+ *md = redact_text(md, secrets);+ }+ if let Some(meta) = result.metadata.as_mut() {+ redact_value(meta, secrets);+ }+ result+}++/// Redact every Composio secret `config` resolves to from `rendered`, report+/// the redacted copy via+/// [`report_composio_op_error`](super::super::ops::report_composio_op_error),+/// and return that same redacted copy for the caller's own error text.+pub(crate) fn redact_and_report(config: &Config, operation: &str, rendered: &str) -> String {+ let secrets = composio_secrets(config);+ let redacted = if secrets.is_empty() {+ rendered.to_string()+ } else {+ redact_text(rendered, &secrets)+ };+ super::super::ops::report_composio_op_error(operation, &redacted);+ redacted+}++/// Redact every Composio key `config` resolves to from a tool's result or+/// error before it reaches the model.+pub(crate) fn redact_composio_outcome(+ config: &Config,+ outcome: anyhow::Result<ToolResult>,+) -> anyhow::Result<ToolResult> {+ let secrets = composio_secrets(config);+ if secrets.is_empty() {+ return outcome;+ }+ match outcome {+ Ok(result) => Ok(redact_result(result, &secrets)),+ Err(error) => {+ let rendered = format!("{error:#}");+ if secrets.iter().any(|s| rendered.contains(s.as_str())) {+ tracing::debug!("[composio] redacted a credential from a tool error");+ Err(anyhow::anyhow!(redact_text(&rendered, &secrets)))+ } else {+ Err(error)+ }+ }+ }+}diff --cc crates/openhuman-core/src/integrations/composio/tools_redact_tests.rsindex 838443f8a3,0000000000..094cf847a6mode 100644,000000..100644--- a/crates/openhuman-core/src/integrations/composio/tools_redact_tests.rs+++ b/crates/openhuman-core/src/integrations/composio/tools_redact_tests.rs@@@ -1,84 -1,0 +1,105 @@@+//! Regression coverage for `redact.rs` gaps flagged by review on PR #6689.++use serde_json::json;++use crate::config::{Config, ComposioHostCredential};+use crate::integrations::composio::tools::redact::redact_and_report;+use crate::integrations::composio::tools::redact_composio_outcome;++const SHORT_KEY: &str = "abcdefgh";+const LONG_KEY: &str = "abcdefghi";++fn config_with_overlapping_secrets() -> Config {+ let tmp = tempfile::tempdir().expect("tempdir for config_with_overlapping_secrets");+ let mut config = Config::default();+ config.config_path = tmp.path().join("config.toml");+ config.composio.api_key = Some(LONG_KEY.to_string());+ config+ .composio+ .pin_host_credential(ComposioHostCredential::direct(SHORT_KEY));+ std::mem::forget(tmp);+ config+}++/// Before the fix, `composio_secrets` lexicographically sorted+/// `[SHORT_KEY, LONG_KEY]` (`SHORT_KEY` sorts first since it's a prefix)+/// and redacted in that order, replacing `SHORT_KEY` everywhere first —+/// including inside `LONG_KEY` — and leaving the trailing `i` behind+/// instead of a clean `[REDACTED]`.+#[test]+fn overlapping_secrets_redact_longest_first() {+ let config = config_with_overlapping_secrets();+ let outcome = redact_composio_outcome(+ &config,+ Ok(tinytools::ToolResult::success(format!(+ "token {LONG_KEY} in transit"+ ))),+ )+ .unwrap();+ let text = outcome+ .content+ .iter()+ .filter_map(|c| match c {+ tinytools::ToolContent::Text { text } => Some(text.as_str()),+ _ => None,+ })+ .collect::<Vec<_>>()+ .join(" ");+ assert!(!text.contains(LONG_KEY), "{text}");+ assert!(!text.contains(SHORT_KEY), "{text}");+ assert_eq!(text, "token [REDACTED] in transit");+}++/// `redact_value` used to walk only object *values*; a secret that+/// happened to be used as a JSON object key survived untouched.+#[test]+fn secret_used_as_a_json_object_key_is_redacted() {+ let config = config_with_overlapping_secrets();+ let outcome = redact_composio_outcome(+ &config,+ Ok(tinytools::ToolResult::json(+ json!({ format!("token_{LONG_KEY}"): "value" }),+ )),+ )+ .unwrap();+ let serialized = serde_json::to_string(&outcome).unwrap();+ assert!(!serialized.contains(LONG_KEY), "{serialized}");+ assert!(serialized.contains("[REDACTED]"), "{serialized}");+}+++#[test]++fn colliding_redacted_object_keys_keep_both_values() {++ let config = config_with_overlapping_secrets();++ let outcome = redact_composio_outcome(++ &config,++ Ok(tinytools::ToolResult::json(json!({++ (SHORT_KEY): "short value",++ (LONG_KEY): "long value",++ }))),++ )++ .unwrap();++ let value = &outcome.content[0];++ let tinytools::ToolContent::Json { data } = value else {++ panic!("expected JSON content");++ };++ let object = data.as_object().expect("JSON object");++ assert_eq!(object.len(), 2);++ assert_eq!(object.get("[REDACTED]").unwrap(), "short value");++ assert_eq!(object.get("[REDACTED] (2)").unwrap(), "long value");++}+++/// `redact_and_report` is the single call site that both reports a+/// direct-mode error to observability and supplies the caller's returned+/// error text — one redacted value serves both, so this return value is+/// exactly what reaches `report_composio_op_error`.+#[test]+fn redact_and_report_returns_no_raw_secret() {+ let config = config_with_overlapping_secrets();+ let rendered = format!(+ "[composio-direct] composio_list_connections (direct) failed: invalid credential {LONG_KEY}"+ );+ let redacted = redact_and_report(&config, "test_op", &rendered);+ assert!(!redacted.contains(LONG_KEY), "{redacted}");+ assert!(!redacted.contains(SHORT_KEY), "{redacted}");+ assert!(redacted.contains("[REDACTED]"), "{redacted}");+}diff --cc crates/openhuman-embed/src/lib.rsindex 4f922b220c,c6b7c7f1cd..6c49bbc40b--- a/crates/openhuman-embed/src/lib.rs+++ b/crates/openhuman-embed/src/lib.rs@@@ -59,12 -59,10 +59,12 @@@//! reporting a failure.pub use openhuman_core::agent::turn_origin::{AgentTurnOrigin, TrustedAutomationSource};- pub use openhuman_core::api::transport::{+ pub use openhuman_core::backend::{install_backend_transport, installed_backend_transport, BackendRequest, BackendTransport,- BackendTransportError, TransportProfile,+ BackendTransportError, BaseUrlPurpose, TransportProfile,};+pub use openhuman_core::api::{product_identity, set_product_identity, ProductIdentity};+pub use openhuman_core::config::ComposioHostCredential;pub use openhuman_core::config::Config as RuntimeConfig;pub use openhuman_core::security::TrustedAccess;pub use openhuman_core::tools::toolpacks::{GroupMode, ToolGroups};