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(tokenjuice): source tool names from tinyjuice_bus
Steven Enamakel3a1e8df84752
diff --git a/crates/openhuman-core/src/inference/tokenjuice/mod.rs b/crates/openhuman-core/src/inference/tokenjuice/mod.rsindex dc373cdf21..aa41ad53d1 100644--- a/crates/openhuman-core/src/inference/tokenjuice/mod.rs+++ b/crates/openhuman-core/src/inference/tokenjuice/mod.rs@@ -16,8 +16,9 @@ pub use tools::TokenjuiceRetrieveTool;use tinyjuice_bus::wire::InstallRequest;-pub const RETRIEVE_TOOL_NAME: &str = "juice_retrieve";-pub const LEGACY_TINYJUICE_RETRIEVE_TOOL_NAME: &str = "tinyjuice_retrieve";+pub use tinyjuice_bus::tools::{+ LEGACY_RETRIEVE as LEGACY_TINYJUICE_RETRIEVE_TOOL_NAME, RETRIEVE as RETRIEVE_TOOL_NAME,+};pub const LEGACY_RETRIEVE_TOOL_NAME: &str = "retrieve_tool_output";/// Every name the recovery surface answers to: the live tool plus the two/// migration aliases a replayed transcript may still call.diff --git a/crates/openhuman-core/src/inference/tokenjuice/repl_tools.rs b/crates/openhuman-core/src/inference/tokenjuice/repl_tools.rsindex 69a5dade5b..9f59ea99a3 100644--- a/crates/openhuman-core/src/inference/tokenjuice/repl_tools.rs+++ b/crates/openhuman-core/src/inference/tokenjuice/repl_tools.rs@@ -11,7 +11,7 @@ use tinyjuice_bus::wire::{QueryError, QueryRequest, QueryResponse, QueryTarget};use tinytools::{PermissionLevel, Tool, ToolResult};/// The query tools TinyJuice declares. The footer suggests a subset of these.-pub const REPL_TOOL_NAMES: &[&str] = &["juice_find", "juice_extract", "juice_summarize"];+pub use tinyjuice_bus::tools::REPL_TOOLS as REPL_TOOL_NAMES;pub fn is_repl_tool(name: &str) -> bool {REPL_TOOL_NAMES.contains(&name)