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(core): remove debug logging from module client lifecycle
Steven Enamakelca4e4fa9e355
diff --git a/crates/openhuman-core/src/mcp/module_client/lifecycle.rs b/crates/openhuman-core/src/mcp/module_client/lifecycle.rsindex 3de2e15b9e..1c422d24ab 100644--- a/crates/openhuman-core/src/mcp/module_client/lifecycle.rs+++ b/crates/openhuman-core/src/mcp/module_client/lifecycle.rs@@ -17,17 +17,14 @@ impl McpConfiguredClient {/// serialized by the client itself.pub(crate) fn for_config(config: &Config) -> Result<Arc<Self>, ModuleCallError> {if SHUTTING_DOWN.load(Ordering::Acquire) {- eprintln!("DBGL shutting");crate::modules::report::unavailable(MODULE);return Err(ModuleCallError::Unavailable);}if !config.modules.enabled {- eprintln!("DBGL disabled");crate::modules::report::unavailable(MODULE);return Err(ModuleCallError::Unavailable);}if current_agent_context_is_removed() {- eprintln!("DBGL removed");crate::modules::report::unavailable(MODULE);return Err(ModuleCallError::Unavailable);}@@ -40,8 +37,8 @@ impl McpConfiguredClient {Self::new(&data_dir, config).map(Arc::new)}).map_err(|error| match error {- AdmitError::Create(error) => { eprintln!("DBGL create {error:?}"); error }- other => { eprintln!("DBGL admit");+ AdmitError::Create(error) => error,+ _ => {crate::modules::report::unavailable(MODULE);ModuleCallError::Unavailable}diff --git a/crates/openhuman-core/src/modules/ops.rs b/crates/openhuman-core/src/modules/ops.rsindex e112a92395..e9b0e857e7 100644--- a/crates/openhuman-core/src/modules/ops.rs+++ b/crates/openhuman-core/src/modules/ops.rs@@ -288,7 +288,7 @@ impl ModuleAccess for CallbackAccess {fn ensure_loaded<'a>(&'a self, id: &'a str) -> AccessFuture<'a, Result<(), String>> {Box::pin(async move {if needs_storage_callback(id) {- ensure_loaded(&self.config, id).await+ let r = ensure_loaded(&self.config, id).await; eprintln!("DBGM {id} {r:?}"); r} else {self.resolver.ensure_loaded(id).await}