Skip to content

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

style: fix trailing commas in re-export lists across multiple modules

Steven Enamakel55337fd3ae7c
diff --git a/crates/openhuman-core/src/agent/harness/mod.rs b/crates/openhuman-core/src/agent/harness/mod.rs
index 7a8774a34e..88f34d26f2 100644
--- a/crates/openhuman-core/src/agent/harness/mod.rs
+++ b/crates/openhuman-core/src/agent/harness/mod.rs
@@ -43,7 +43,8 @@ pub use definition::{
SandboxMode, ToolScope, TriggerMemoryAgent,
};
pub use fork_context::{
- current_parent, with_parent_context, AgentContextPreparedSource, ParentExecutionContext};
+ current_parent, with_parent_context, AgentContextPreparedSource, ParentExecutionContext,
+};
pub use sandbox_context::{current_sandbox_mode, with_current_sandbox_mode};
pub(crate) use spawn_depth_context::{with_spawn_depth, MAX_SPAWN_DEPTH};
pub use task_recency_context::{current_task_recency_window, with_task_recency_window};
diff --git a/crates/openhuman-core/src/agent/orchestration/workflow_runs/mod.rs b/crates/openhuman-core/src/agent/orchestration/workflow_runs/mod.rs
index 9a80d7db7d..8a568aa782 100644
--- a/crates/openhuman-core/src/agent/orchestration/workflow_runs/mod.rs
+++ b/crates/openhuman-core/src/agent/orchestration/workflow_runs/mod.rs
@@ -28,7 +28,8 @@ mod schemas;
pub use engine::{resume_workflow_run, start_workflow_run, stop_workflow_run};
pub use ops::{
builtin_definitions, definition_by_id, get_run, list_definitions, list_runs,
- PARALLEL_RESEARCH_ID};
+ PARALLEL_RESEARCH_ID,
+};
pub use schemas::{
all_controller_schemas as all_workflow_run_controller_schemas,
all_registered_controllers as all_workflow_run_registered_controllers,
diff --git a/crates/openhuman-core/src/agent/prompts/render_helpers.rs b/crates/openhuman-core/src/agent/prompts/render_helpers.rs
index 9ce37f7b43..9df3f2b052 100644
--- a/crates/openhuman-core/src/agent/prompts/render_helpers.rs
+++ b/crates/openhuman-core/src/agent/prompts/render_helpers.rs
@@ -19,7 +19,8 @@ mod workspace_files;
pub use section_renderers::{
current_datetime_line, memory_date_label, render_ambient_environment,
render_datetime, render_identity, render_runtime, render_safety,
- render_tools, render_user_files, render_user_identity, render_user_reflections, render_workspace};
+ render_tools, render_user_files, render_user_identity, render_user_reflections, render_workspace,
+};
pub(crate) use subagent::harness_json_tool_prompt;
pub use subagent::{render_subagent_system_prompt, render_subagent_system_prompt_with_format};
pub(crate) use workspace_files::write_agents_md_blocks;
diff --git a/crates/openhuman-core/src/cron/scheduler_gate/mod.rs b/crates/openhuman-core/src/cron/scheduler_gate/mod.rs
index b8427e973a..15655f50c4 100644
--- a/crates/openhuman-core/src/cron/scheduler_gate/mod.rs
+++ b/crates/openhuman-core/src/cron/scheduler_gate/mod.rs
@@ -25,7 +25,8 @@ pub mod gate;
pub use gate::{
current_policy, init_global, is_signed_out, set_signed_out, wait_for_capacity,
- LlmPermit};
+ LlmPermit,
+};
pub use gate::{PauseReason, Policy, Signals};
#[cfg(test)]
diff --git a/crates/openhuman-core/src/inference/provider/mod.rs b/crates/openhuman-core/src/inference/provider/mod.rs
index 8f35a8fcc6..4b27440b7d 100644
--- a/crates/openhuman-core/src/inference/provider/mod.rs
+++ b/crates/openhuman-core/src/inference/provider/mod.rs
@@ -17,7 +17,8 @@ pub mod types;
#[allow(unused_imports)]
pub use types::{
- ChatResponse, ProviderDelta, UsageInfo, AGENT_TURN_MAX_OUTPUT_TOKENS};
+ ChatResponse, ProviderDelta, UsageInfo, AGENT_TURN_MAX_OUTPUT_TOKENS,
+};
pub use error_code::{
backend_error_code_skips_sentry, body_flags_malformed, extract_backend_error_code,
diff --git a/crates/openhuman-core/src/inference/provider/ops/mod.rs b/crates/openhuman-core/src/inference/provider/ops/mod.rs
index 630b389332..cdeaab0810 100644
--- a/crates/openhuman-core/src/inference/provider/ops/mod.rs
+++ b/crates/openhuman-core/src/inference/provider/ops/mod.rs
@@ -36,7 +36,8 @@ pub use models::{
pub use provider_factory::{
list_providers,
- ProviderInfo, ProviderRuntimeOptions, INFERENCE_BACKEND_ID};
+ ProviderInfo, ProviderRuntimeOptions, INFERENCE_BACKEND_ID,
+};
// ── test re-exports for ops_tests.rs ──
diff --git a/crates/openhuman-core/src/integrations/composio/ops/mod.rs b/crates/openhuman-core/src/integrations/composio/ops/mod.rs
index d5f4e5e64d..45a9e765d8 100644
--- a/crates/openhuman-core/src/integrations/composio/ops/mod.rs
+++ b/crates/openhuman-core/src/integrations/composio/ops/mod.rs
@@ -75,7 +75,8 @@ pub use triggers::{
// it was `tinymemory_core::sync::composio::providers::user_scopes` reached
// through the in-process engine handle until openhuman#5560; see the module.
pub(crate) use user_scopes::{
- as load_user_scope_pref, save as save_user_scope_pref};
+ as load_user_scope_pref, save as save_user_scope_pref,
+};
// ── Re-export connected_integrations public items ──────────────────────────
// (originally at the bottom of ops.rs)
diff --git a/crates/openhuman-core/src/platform/cost/mod.rs b/crates/openhuman-core/src/platform/cost/mod.rs
index 32b4f88330..89f72291a0 100644
--- a/crates/openhuman-core/src/platform/cost/mod.rs
+++ b/crates/openhuman-core/src/platform/cost/mod.rs
@@ -18,7 +18,8 @@ pub use schemas::{
pub use tracker::CostTracker;
pub use types::{
BudgetStatus, CostDashboard, CostRecord, CostSource, CostSummary, DailyCostEntry, ModelStats,
- TokenUsage};
+ TokenUsage,
+};
/// Serialises tests that touch the process-global [`CostTracker`].
///
diff --git a/crates/openhuman-core/src/util/mod.rs b/crates/openhuman-core/src/util/mod.rs
index ecb356ad6d..2861300c05 100644
--- a/crates/openhuman-core/src/util/mod.rs
+++ b/crates/openhuman-core/src/util/mod.rs
@@ -38,5 +38,6 @@ pub use retry::{is_transient_fs_error, retry_with_backoff, retry_with_backoff_as
pub use text::{
ceil_char_boundary, floor_char_boundary, truncate_at_byte_boundary,
truncate_with_ellipsis, truncate_with_suffix,
- utf8_safe_prefix_at_byte_boundary};
+ utf8_safe_prefix_at_byte_boundary,
+};
pub use types::MaybeSet;