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(config): reflow re-exports and document voice migration keys
Steven Enamakel707d161d8354
diff --git a/crates/openhuman-core/src/config/mod.rs b/crates/openhuman-core/src/config/mod.rsindex ffb3e41780..b58926774d 100644--- a/crates/openhuman-core/src/config/mod.rs+++ b/crates/openhuman-core/src/config/mod.rs@@ -49,25 +49,24 @@ pub use schema::{CapabilityProviderTrustState, ChannelsConfig, CompactionSettings, CompactionStrategy,ComposioConfig, ComposioDirectBaseUrls, ComposioHostCredential, ComputerConfig, Config,ContextConfig, CostConfig, CronConfig, CurlConfig, DashboardConfig, DecisionModel,- DelegateAgentConfig, DiagramViewerConfig,- DiscordConfig, DockerRuntimeConfig, EmailConfig, EmbeddingRouteConfig, GitbooksConfig,- HttpHeader, HttpRequestConfig, IMessageConfig, IntegrationToggle, IntegrationsConfig,- LarkConfig, LegacySearchInputs, LinqConfig, LocalAiConfig, LocalJailConfig, MatrixConfig,- McpAuthConfig, McpClientConfig, McpClientIdentityConfig, McpServerConfig, McpToolExposure,- MemoryConfig, MemoryLayoutMode, ModelRouteConfig, MultimodalConfig, MultimodalFileConfig,- ObservabilityConfig, OrchestratorModelConfig, PresentationMode, PrivacyConfig, PrivacyMode,- ProviderRoute, ProxyConfig, ProxyScope, ReliabilityConfig, ResourceLimitsConfig, RuntimeConfig,+ DelegateAgentConfig, DiagramViewerConfig, DiscordConfig, DockerRuntimeConfig, EmailConfig,+ EmbeddingRouteConfig, GitbooksConfig, HttpHeader, HttpRequestConfig, IMessageConfig,+ IntegrationToggle, IntegrationsConfig, LarkConfig, LegacySearchInputs, LinqConfig,+ LocalAiConfig, LocalJailConfig, MatrixConfig, McpAuthConfig, McpClientConfig,+ McpClientIdentityConfig, McpServerConfig, McpToolExposure, MemoryConfig, MemoryLayoutMode,+ ModelRouteConfig, MultimodalConfig, MultimodalFileConfig, ObservabilityConfig,+ OrchestratorModelConfig, PresentationMode, PrivacyConfig, PrivacyMode, ProviderRoute,+ ProxyConfig, ProxyScope, ReliabilityConfig, ResourceLimitsConfig, RuntimeConfig,SandboxBackend, SandboxConfig, SchedulerConfig, SchedulerGateConfig, SchedulerGateMode,SearchConfig, SearchEngineCredentials, SearchHostCredential, SearchProviderSettings,SearxngConfig, SecretsConfig, SecurityConfig, ShellConfig, SlackConfig, StreamMode, SttEngine,TeamModelConfig, TelegramConfig, TokenjuiceConfig, UnknownKeyedSearchProvider, UpdateConfig,- UpdateRestartStrategy, VoiceServerConfig, WebSearchConfig, WebhookConfig,- YuanbaoConfig, DEFAULT_MODEL, LEGACY_TIER_MODELS, MANAGED_MULTIMODAL_MODELS,- MANAGED_SEARCH_PROVIDERS, 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,+ UpdateRestartStrategy, VoiceServerConfig, WebSearchConfig, WebhookConfig, YuanbaoConfig,+ DEFAULT_MODEL, LEGACY_TIER_MODELS, MANAGED_MULTIMODAL_MODELS, MANAGED_SEARCH_PROVIDERS,+ 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 --git a/crates/openhuman-core/src/config/ops/mod.rs b/crates/openhuman-core/src/config/ops/mod.rsindex f708296123..9f0f553f23 100644--- a/crates/openhuman-core/src/config/ops/mod.rs+++ b/crates/openhuman-core/src/config/ops/mod.rs@@ -76,9 +76,9 @@ pub use search::{};pub use ui::{apply_analytics_settings, apply_browser_settings, apply_user_timezone,- get_onboarding_completed, load_and_apply_analytics_settings,- load_and_apply_browser_settings, load_and_apply_user_timezone, set_onboarding_completed,- user_timezone_json, workspace_onboarding_flag_exists, workspace_onboarding_flag_resolve,+ get_onboarding_completed, load_and_apply_analytics_settings, load_and_apply_browser_settings,+ load_and_apply_user_timezone, set_onboarding_completed, user_timezone_json,+ workspace_onboarding_flag_exists, workspace_onboarding_flag_resolve,workspace_onboarding_flag_set, AnalyticsSettingsPatch, BrowserSettingsPatch,};diff --git a/crates/openhuman-core/src/config/schema/voice_server.rs b/crates/openhuman-core/src/config/schema/voice_server.rsindex 52092a8793..61922ecd39 100644--- a/crates/openhuman-core/src/config/schema/voice_server.rs+++ b/crates/openhuman-core/src/config/schema/voice_server.rs@@ -72,7 +72,6 @@ pub struct VoiceServerConfig {/// wins — this field is what the `"cloud"`/unset case resolves to.#[serde(default)]pub stt_engine: SttEngine,-}impl Default for VoiceServerConfig {diff --git a/crates/openhuman-core/src/voice/schemas/handlers/provider_server_tests.rs b/crates/openhuman-core/src/voice/schemas/handlers/provider_server_tests.rsindex 6803d166f6..c615782093 100644--- a/crates/openhuman-core/src/voice/schemas/handlers/provider_server_tests.rs+++ b/crates/openhuman-core/src/voice/schemas/handlers/provider_server_tests.rs@@ -20,19 +20,23 @@ async fn choosing_backend_resets_a_legacy_nondefault_stt_engine() {handle_voice_set_providers(ctx.clone(), custom).await.expect("setting a custom provider should succeed");- let persisted = crate::config::Config::load_from_config_path(- &config.config_path,- &config.workspace_dir,- )- .await- .unwrap();- assert_eq!(persisted.voice_server.stt_engine, crate::config::SttEngine::Elevenlabs);- assert_eq!(crate::voice::effective_stt_provider(&persisted), "custom-provider:model-v2");+ let persisted =+ crate::config::Config::load_from_config_path(&config.config_path, &config.workspace_dir)+ .await+ .unwrap();+ assert_eq!(+ persisted.voice_server.stt_engine,+ crate::config::SttEngine::Elevenlabs+ );+ assert_eq!(+ crate::voice::effective_stt_provider(&persisted),+ "custom-provider:model-v2"+ );for alias in ["cloud", "backend", "openhuman"] {let params = Map::from_iter([("stt_provider".to_string(), Value::String(alias.into()))]);handle_voice_set_providers(ctx.clone(), params)- .await+ .await.expect("setting a backend alias should succeed");let persisted = crate::config::Config::load_from_config_path(@@ -41,7 +45,10 @@ async fn choosing_backend_resets_a_legacy_nondefault_stt_engine() {).await.unwrap();- assert_eq!(persisted.voice_server.stt_engine, crate::config::SttEngine::Backend);+ assert_eq!(+ persisted.voice_server.stt_engine,+ crate::config::SttEngine::Backend+ );assert_eq!(crate::voice::effective_stt_provider(&persisted), "cloud");}}diff --git a/docs/gitbooks/en/developing/components.md b/docs/gitbooks/en/developing/components.mdindex 0019d28459..3303f014a0 100644--- a/docs/gitbooks/en/developing/components.md+++ b/docs/gitbooks/en/developing/components.md@@ -63,7 +63,7 @@ The first load of an older config moves these once into `[components]`, and the| `[memory] engine = "none"` | `components.memory = false` (`engine` is kept) || `OPENHUMAN_TINYMEMES` set to an off value | `components.memes = false` || `OPENHUMAN_DISABLE_CHANNEL_LISTENERS=1` | `components.channels = false` at load (env override, kept for one release; `OPENHUMAN_COMPONENT_CHANNELS` wins) |-| `[dictation] enabled`, `[voice_server] auto_start` and `always_on_enabled` all explicitly `false` | `components.voice = false` (any other mix keeps voice on) |+| `[dictation] enabled`, `[voice_server] auto_start` and `always_on_enabled` all explicitly `false` | `components.voice = false` (any other mix keeps voice on); these legacy keys are migration inputs only || `[sandbox] enabled = false` (or `[security.sandbox] enabled = false`) | `components.sandbox = false` (`enabled = true` or unset keeps it on; the old key is kept) || `[composio] enabled` | dropped; it was never read |@@ -81,7 +81,7 @@ The module reads its own `TINYMEMES_*` overrides from the process environment, s## Voice-`voice = false` removes the `voice` domain family, so `voice.*` answers `COMPONENT_DISABLED:voice`. The embedded voice server, the dictation hotkey listener and always-on listening do not start whatever `[dictation] enabled`, `[voice_server] auto_start` and `always_on_enabled` say, and `tinyvoice` is never downloaded, attested or loaded. `about_app` and `modules.list` report voice as disabled. The Cargo `voice` feature is unchanged.+`voice = false` removes the `voice` domain family, so `voice.*` answers `COMPONENT_DISABLED:voice`, and `tinyvoice` is never downloaded, attested or loaded. The former config controllers for dictation and voice-server settings have been retired; their legacy keys remain migration inputs only and no longer control voice startup. `voice_server.stt_engine` remains as the fallback engine when no explicit STT provider is selected. `about_app` and `modules.list` report voice as disabled. The Cargo `voice` feature is unchanged.## Sandbox