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
refactor: simplify relative imports in prompt render helpers
Steven Enamakel57c130ef4944
diff --git a/crates/openhuman-core/src/agent/prompts/render_helpers/section_renderers.rs b/crates/openhuman-core/src/agent/prompts/render_helpers/section_renderers.rsindex d2a68cd677..36095c85c4 100644--- a/crates/openhuman-core/src/agent/prompts/render_helpers/section_renderers.rs+++ b/crates/openhuman-core/src/agent/prompts/render_helpers/section_renderers.rs@@ -2,8 +2,8 @@//! [`crate::agent::prompts::sections`], plus the per-turn datetime stamp and the//! ambient-environment composer that `agents/<id>/prompt.rs` builders call.-use super::super::sections::*;-use super::super::types::*;+use super::sections::*;+use super::types::*;use anyhow::Result;use std::sync::OnceLock;use tinytools_agent::dialect::ToolCallFormat;diff --git a/crates/openhuman-core/src/agent/prompts/render_helpers/subagent.rs b/crates/openhuman-core/src/agent/prompts/render_helpers/subagent.rsindex dd4a731b69..e3868c58aa 100644--- a/crates/openhuman-core/src/agent/prompts/render_helpers/subagent.rs+++ b/crates/openhuman-core/src/agent/prompts/render_helpers/subagent.rs@@ -4,9 +4,9 @@//! [`SystemPromptBuilder::for_subagent`](crate::agent::prompts::builder::SystemPromptBuilder::for_subagent)//! for callers that only hold indices into the parent's tool vec.-use super::super::builder::GLOBAL_STYLE_SUFFIX;-use super::super::sections::GROUNDING_BODY;-use super::super::types::*;+use super::builder::GLOBAL_STYLE_SUFFIX;+use super::sections::GROUNDING_BODY;+use super::types::*;use super::workspace_files::{inject_workspace_file, write_agents_md_blocks};use std::fmt::Write;use std::path::Path;diff --git a/crates/openhuman-core/src/agent/prompts/render_helpers/workspace_files.rs b/crates/openhuman-core/src/agent/prompts/render_helpers/workspace_files.rsindex f6babc645c..175b49fcb4 100644--- a/crates/openhuman-core/src/agent/prompts/render_helpers/workspace_files.rs+++ b/crates/openhuman-core/src/agent/prompts/render_helpers/workspace_files.rs@@ -2,7 +2,7 @@//! workspace, injecting on-disk or inline content into a prompt under a//! `###` heading with a character cap, and the shared AGENTS.md block writer.-use super::super::types::*;+use super::types::*;use std::fmt::Write;use std::hash::{Hash, Hasher};use std::path::Path;diff --git a/crates/openhuman-core/src/mcp/server/resources.rs b/crates/openhuman-core/src/mcp/server/resources.rsindex 54ad33a516..35dbeb9790 100644--- a/crates/openhuman-core/src/mcp/server/resources.rs+++ b/crates/openhuman-core/src/mcp/server/resources.rs@@ -19,7 +19,7 @@//! against `BUILTINS` in `loader.rs`. Adding a new built-in subagent without//! a matching catalog entry fails that test and therefore CI.-use serde_json::{json, Value};+use serde_json::{Value, json};use tinymcp_bus::{ResourceSpec, ToolCallError};/// Every bundled prompt is markdown.