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
fix(agent): remove unused prompt source and tier definitions
Steven Enamakelda8139348497
diff --git a/crates/openhuman-core/src/agent/harness/definition/prompt_source.rs b/crates/openhuman-core/src/agent/harness/definition/prompt_source.rsindex 6281655580..e21ab7d8bf 100644--- a/crates/openhuman-core/src/agent/harness/definition/prompt_source.rs+++ b/crates/openhuman-core/src/agent/harness/definition/prompt_source.rs@@ -25,7 +25,7 @@ pub enum PromptSource {/// at spawn time.File { path: String },/// Function-driven prompt: the builder is invoked at spawn time with- /// a [`PromptContext`] so the returned body can depend on runtime+ /// a [`crate::agent::context::prompt::PromptContext`] so the returned body can depend on runtime/// state (available tools, user profile, connected skills, etc.).////// Only constructed in-process (by built-in agent loaders). Notdiff --git a/crates/openhuman-core/src/agent/harness/definition/source.rs b/crates/openhuman-core/src/agent/harness/definition/source.rsindex 44487e9fb4..b14aab2478 100644--- a/crates/openhuman-core/src/agent/harness/definition/source.rs+++ b/crates/openhuman-core/src/agent/harness/definition/source.rs@@ -17,7 +17,7 @@ pub enum DefinitionSource {/// Synthesized at lookup time from a user-authored/// [`AgentRegistryEntry`](crate::agent::registry::AgentRegistryEntry)/// (`AgentRegistrySource::Custom`) by `agent_registry::defaults::definition_from_registry_entry`.- /// Never persisted in the [`AgentDefinitionRegistry`] — built fresh per+ /// Never persisted in the [`super::AgentDefinitionRegistry`] — built fresh per/// factory call so config edits take effect immediately (closes the gap/// where custom agents ran persona-only instead of with their real tool/// belt).diff --git a/crates/openhuman-core/src/agent/harness/definition/subagents.rs b/crates/openhuman-core/src/agent/harness/definition/subagents.rsindex c95ea348f0..186092a0ad 100644--- a/crates/openhuman-core/src/agent/harness/definition/subagents.rs+++ b/crates/openhuman-core/src/agent/harness/definition/subagents.rs@@ -3,10 +3,9 @@use serde::{Deserialize, Deserializer, Serialize};-use super::agent_definition::AgentDefinition;-/// One entry in [`AgentDefinition::subagents`]. Parses from TOML as either+/// One entry in [`super::AgentDefinition::subagents`]. Parses from TOML as either/// a bare string (agent id) or an inline table (`{ skills = "*" }`) thanks/// to `#[serde(untagged)]`.///diff --git a/crates/openhuman-core/src/agent/harness/definition/tier.rs b/crates/openhuman-core/src/agent/harness/definition/tier.rsindex 8cd5f3ef1e..2cdfc2a7a2 100644--- a/crates/openhuman-core/src/agent/harness/definition/tier.rs+++ b/crates/openhuman-core/src/agent/harness/definition/tier.rs@@ -3,12 +3,11 @@use serde::{Deserialize, Serialize};-use super::agent_definition::AgentDefinition;/// Role an agent plays in the spawn hierarchy.///-/// See [`AgentDefinition::agent_tier`] for the full contract. In short:+/// See [`super::AgentDefinition::agent_tier`] for the full contract. In short:////// ```text/// Chat (fast, UX-focused)