Skip to content

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

style: normalize import formatting

Steven Enamakelc13bee922190
diff --git a/crates/openhuman-core/src/agent/context/channels_prompt_tests.rs b/crates/openhuman-core/src/agent/context/channels_prompt_tests.rs
index 4ce6416b9b..9717a3f0b7 100644
--- a/crates/openhuman-core/src/agent/context/channels_prompt_tests.rs
+++ b/crates/openhuman-core/src/agent/context/channels_prompt_tests.rs
@@ -1,6 +1,9 @@
use super::*;
-use {tinyskills::Skill as Workflow, tinyskills::SkillFrontmatter as WorkflowFrontmatter, tinyskills::SkillScope as WorkflowScope};
use tempfile::tempdir;
+use {
+ tinyskills::Skill as Workflow, tinyskills::SkillFrontmatter as WorkflowFrontmatter,
+ tinyskills::SkillScope as WorkflowScope,
+};
fn skill(name: &str, location: Option<std::path::PathBuf>) -> Workflow {
Workflow {
diff --git a/crates/openhuman-core/src/agent/harness/fork_context.rs b/crates/openhuman-core/src/agent/harness/fork_context.rs
index 600b39b868..a185d5cdcc 100644
--- a/crates/openhuman-core/src/agent/harness/fork_context.rs
+++ b/crates/openhuman-core/src/agent/harness/fork_context.rs
@@ -13,10 +13,10 @@
use crate::agent::progress::AgentProgress;
use crate::agent::tinyagents::TurnModelSource;
use crate::config::AgentConfig;
-use {tinyskills::Skill as Workflow};
use std::collections::HashSet;
use std::path::PathBuf;
use std::sync::Arc;
+use tinyskills::Skill as Workflow;
use tinytools::WorkspaceDescriptor;
use tinytools::{Tool, ToolSpec};
diff --git a/crates/openhuman-core/src/agent/prompts/types.rs b/crates/openhuman-core/src/agent/prompts/types.rs
index b8503f276b..35f0a055fc 100644
--- a/crates/openhuman-core/src/agent/prompts/types.rs
+++ b/crates/openhuman-core/src/agent/prompts/types.rs
@@ -6,9 +6,9 @@
//! the sibling `mod.rs` so type edits don't pull in the whole 2 000-line
//! renderer.
-use {tinyskills::Skill as Workflow};
use anyhow::Result;
use std::path::Path;
+use tinyskills::Skill as Workflow;
use tinytools::Tool;
// ─────────────────────────────────────────────────────────────────────────────
diff --git a/crates/openhuman-core/src/agent/session_host/builder/factory_workflows.rs b/crates/openhuman-core/src/agent/session_host/builder/factory_workflows.rs
index 0a03cf09af..1d9945eb2d 100644
--- a/crates/openhuman-core/src/agent/session_host/builder/factory_workflows.rs
+++ b/crates/openhuman-core/src/agent/session_host/builder/factory_workflows.rs
@@ -1,7 +1,7 @@
//! The skill and flow catalogue exposed to a newly constructed session.
use crate::config::Config;
-use {tinyskills::Skill as Workflow};
+use tinyskills::Skill as Workflow;
pub(super) fn session_workflows(config: &Config, host_only: bool) -> Vec<Workflow> {
if host_only {
diff --git a/crates/openhuman-core/src/agent/tinyagents/host/context_composer.rs b/crates/openhuman-core/src/agent/tinyagents/host/context_composer.rs
index c6295c4186..503485db70 100644
--- a/crates/openhuman-core/src/agent/tinyagents/host/context_composer.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/host/context_composer.rs
@@ -73,7 +73,7 @@ use crate::agent::prompts::{
PromptContext, PromptTool, SystemPromptBuilder, ToolCallFormat,
};
use crate::config::{Config, DEFAULT_MODEL};
-use {tinyskills::Skill as Workflow};
+use tinyskills::Skill as Workflow;
/// Composes OpenHuman's system prompt for a TinyAgents turn.
///
diff --git a/crates/openhuman-core/src/channels/runtime/startup/turn_parts.rs b/crates/openhuman-core/src/channels/runtime/startup/turn_parts.rs
index 3e7b9d6e87..9823e1c3a0 100644
--- a/crates/openhuman-core/src/channels/runtime/startup/turn_parts.rs
+++ b/crates/openhuman-core/src/channels/runtime/startup/turn_parts.rs
@@ -14,11 +14,11 @@ use crate::channels::system_prompt::{ChannelPromptInputs, ChannelSystemPrompt};
use crate::config::Config;
use crate::inference::provider;
use crate::security::SecurityPolicy;
-use {tinyskills::Skill as Workflow};
use crate::tools;
use anyhow::Result;
use std::collections::HashMap;
use std::sync::{Arc, Mutex};
+use tinyskills::Skill as Workflow;
use tinytools::Tool;
/// The process-independent pieces of a channel turn.
diff --git a/crates/openhuman-core/src/channels/system_prompt.rs b/crates/openhuman-core/src/channels/system_prompt.rs
index 129327f8d8..3933c952ed 100644
--- a/crates/openhuman-core/src/channels/system_prompt.rs
+++ b/crates/openhuman-core/src/channels/system_prompt.rs
@@ -24,12 +24,12 @@ use crate::agent::context::channels_prompt::{
build_system_prompt_with_identity, render_project_context, ProjectContextPlacement,
PromptIdentityOverride,
};
-use {tinyskills::Skill as Workflow};
use std::collections::hash_map::DefaultHasher;
use std::hash::{Hash, Hasher};
use std::path::{Path, PathBuf};
use std::sync::{Arc, Mutex};
use std::time::UNIX_EPOCH;
+use tinyskills::Skill as Workflow;
/// Workspace-root files `build_system_prompt` inlines.
const ROOT_IDENTITY_FILES: [&str; 2] = ["SOUL.md", "IDENTITY.md"];