Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(config): reorder imports and module declarations

Steven Enamakel520591c65960
diff --git a/crates/openhuman-core/src/config/ops/agent.rs b/crates/openhuman-core/src/config/ops/agent.rs
index a1d5201c02..895b2f8317 100644
--- a/crates/openhuman-core/src/config/ops/agent.rs
+++ b/crates/openhuman-core/src/config/ops/agent.rs
@@ -291,4 +291,3 @@ pub async fn get_agent_settings(ctx: &DispatchCtx) -> Result<Outcome<serde_json:
});
Ok(Outcome::single_log(value, "agent settings read"))
}
-
diff --git a/crates/openhuman-core/src/config/ops/agent_paths.rs b/crates/openhuman-core/src/config/ops/agent_paths.rs
index f1f2da4705..8fe894f438 100644
--- a/crates/openhuman-core/src/config/ops/agent_paths.rs
+++ b/crates/openhuman-core/src/config/ops/agent_paths.rs
@@ -5,8 +5,8 @@ use std::path::{Path, PathBuf};
use serde_json::json;
use crate::config::Config;
-use crate::core::Outcome;
use crate::core::runtime::DispatchCtx;
+use crate::core::Outcome;
use super::agent::AgentPathsPatch;
diff --git a/crates/openhuman-core/src/config/ops/mod.rs b/crates/openhuman-core/src/config/ops/mod.rs
index 4ba9a3ad88..daac049ffd 100644
--- a/crates/openhuman-core/src/config/ops/mod.rs
+++ b/crates/openhuman-core/src/config/ops/mod.rs
@@ -32,15 +32,15 @@ pub(crate) fn config_save_error(error: anyhow::Error) -> String {
// ── Public re-exports (preserving the flat external API) ─────────────────────
-pub use agent_paths::{
- ensure_agent_dirs, ensure_usable_cwd, expand_tilde, get_agent_paths,
- load_and_apply_agent_paths_settings, redact_home, apply_agent_paths_settings,
-};
pub use agent::{
add_auto_approve_tool, apply_agent_settings, apply_autonomy_settings, get_agent_settings,
get_autonomy_settings, load_and_apply_agent_settings, load_and_apply_autonomy_settings,
AgentPathsPatch, AgentSettingsPatch, AutonomySettingsPatch,
};
+pub use agent_paths::{
+ apply_agent_paths_settings, ensure_agent_dirs, ensure_usable_cwd, expand_tilde,
+ get_agent_paths, load_and_apply_agent_paths_settings, redact_home,
+};
pub use loader::{
agent_server_status, client_config_json, core_rpc_url_from_env, get_config_snapshot,
diff --git a/crates/openhuman-core/src/config/schema/load/mod.rs b/crates/openhuman-core/src/config/schema/load/mod.rs
index 62b9610c4b..576d1e9395 100644
--- a/crates/openhuman-core/src/config/schema/load/mod.rs
+++ b/crates/openhuman-core/src/config/schema/load/mod.rs
@@ -6,9 +6,9 @@ mod dirs;
pub(in crate::config::schema) mod env;
mod env_overlay;
mod impl_load;
-mod parse_source;
mod migrate;
mod parse;
+mod parse_source;
mod saas_scope;
mod secrets;
pub(crate) mod source;
diff --git a/crates/openhuman-core/src/config/schema/load/parse_source.rs b/crates/openhuman-core/src/config/schema/load/parse_source.rs
index 9722c4d3fd..36b6052f36 100644
--- a/crates/openhuman-core/src/config/schema/load/parse_source.rs
+++ b/crates/openhuman-core/src/config/schema/load/parse_source.rs
@@ -1,8 +1,8 @@
use anyhow::Result;
use std::path::Path;
-use super::impl_load::{parse_config_boxed, parse_toml_off_worker};
use super::super::Config;
+use super::impl_load::{parse_config_boxed, parse_toml_off_worker};
/// Parse the text a [`ConfigSource`](super::source::ConfigSource) returned.
///