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(registry): handle missing toolpack directory gracefully
Steven Enamakelba0c035570b5
diff --git a/crates/openhuman-core/src/tools/toolpacks/registry.rs b/crates/openhuman-core/src/tools/toolpacks/registry.rsindex 33f11fd348..9ccaab078f 100644--- a/crates/openhuman-core/src/tools/toolpacks/registry.rs+++ b/crates/openhuman-core/src/tools/toolpacks/registry.rs@@ -83,8 +83,6 @@ pub const PACKS: &[ToolPack] = &["web3_dapp_call","web3_dapp_execute","x402_request",- "stock_crypto_series",- "stock_exchange_rate",],owners: &[],guide: include_str!("guides/web3.md"),@@ -302,7 +300,6 @@ pub const PACKS: &[ToolPack] = &["list","git_operations","edit",- "lsp","node_exec","npm_exec","python_exec",diff --git a/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs b/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rsindex 7da0913e5d..330613bbbe 100644--- a/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs+++ b/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs@@ -471,8 +471,6 @@ fn every_pack_declares_the_tools_it_is_named_for() {"web3_dapp_call","web3_dapp_execute","x402_request",- "stock_crypto_series",- "stock_exchange_rate",],),(@@ -591,7 +589,6 @@ fn every_pack_declares_the_tools_it_is_named_for() {"list","git_operations","edit",- "lsp","node_exec","npm_exec","python_exec",diff --git a/crates/openhuman-core/src/web_chat/session_checkout_tests.rs b/crates/openhuman-core/src/web_chat/session_checkout_tests.rsindex 075f66fd1d..ecda1b240a 100644--- a/crates/openhuman-core/src/web_chat/session_checkout_tests.rs+++ b/crates/openhuman-core/src/web_chat/session_checkout_tests.rs@@ -519,13 +519,13 @@ fn chat_agent_id_selects_the_web_chat_agent_and_defaults_to_the_orchestrator() {"unset falls back to what the app runs");- config.agent.chat_agent_id = Some("researcher".to_string());- assert_eq!(pick_target_agent_id(&config), "researcher");+ config.agent.chat_agent_id = Some("planner".to_string());+ assert_eq!(pick_target_agent_id(&config), "planner");// Padding is an operator typo in a hand-edited config.toml, not a request// for an agent whose id has spaces in it.- config.agent.chat_agent_id = Some(" researcher ".to_string());- assert_eq!(pick_target_agent_id(&config), "researcher");+ config.agent.chat_agent_id = Some(" planner ".to_string());+ assert_eq!(pick_target_agent_id(&config), "planner");// Blank is "unset", not "an agent named empty string": a turn routed at an// id the registry cannot answer would fail chat outright.