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
chore: files changed src/core/runtime/builder.rs,src/embed/harness/builder.rs,src/openhuman/agent/ha
Steven Enamakel00a111e66c58
diff --git a/src/core/runtime/builder.rs b/src/core/runtime/builder.rsindex ce8341e972..7e02450323 100644--- a/src/core/runtime/builder.rs+++ b/src/core/runtime/builder.rs@@ -469,7 +469,7 @@ impl CoreBuilder {}/// Choose how each tool group reaches the model (default: every group- /// withheld behind `load_skill` / `use_skill`, the desktop app's shape).+ /// withheld behind `use_skill`, the desktop app's shape).////// The third narrowing axis, independent of both `services` and `domains`:/// `ServiceSet` picks the background services, `DomainSet` picks whichdiff --git a/src/embed/harness/builder.rs b/src/embed/harness/builder.rsindex 65c5bae79d..8a66cf0a6f 100644--- a/src/embed/harness/builder.rs+++ b/src/embed/harness/builder.rs@@ -139,7 +139,7 @@ impl HarnessBuilder {////// [`domains`](Self::domains) decides which families *exist*; this decides/// how the tools of the families that do exist are disclosed — schemas on- /// the wire, withheld behind `load_skill` / `use_skill`, or not registered+ /// the wire, withheld behind `use_skill`, or not registered/// at all.////// Defaults to every group withheld, matching the desktop app. Reach fordiff --git a/src/openhuman/agent/harness/session/builder/setters.rs b/src/openhuman/agent/harness/session/builder/setters.rsindex b2754cd8bc..e951d2a432 100644--- a/src/openhuman/agent/harness/session/builder/setters.rs+++ b/src/openhuman/agent/harness/session/builder/setters.rs@@ -496,7 +496,7 @@ impl AgentBuilder {.clone().unwrap_or_else(|| "main".to_string());// On-demand tool disclosure: withhold packed tools' schemas from the- // provider and advertise `load_skill` / `use_skill` in their place. The+ // provider and advertise `use_skill` in their place. The// tools stay in the registry below and stay executable — only the// advertised surface shrinks. Applied here, before the policy filter,// so the visible set and the policy session cannot disagree.diff --git a/src/openhuman/tools/toolpacks/groups.rs b/src/openhuman/tools/toolpacks/groups.rsindex 51fff773da..3c07f641c5 100644--- a/src/openhuman/tools/toolpacks/groups.rs+++ b/src/openhuman/tools/toolpacks/groups.rs@@ -15,13 +15,13 @@//! it does not pay the orchestrator's budget. Neither is expressible by//! membership alone, which only ever answers "advertised or withheld".//!-//! So the group id — the same string the model names in `load_skill` — becomes+//! So the group id — the same string the model names in `use_skill` — becomes//! the unit an embedder selects on, with three states rather than two://!//! | [`GroupMode`] | Schemas on the wire | Registered and callable |//! | --- | --- | --- |//! | `Advertised` | yes | yes |-//! | `Withheld` | no (reached via `load_skill` / `use_skill`) | yes |+//! | `Withheld` | no (reached via `use_skill`) | yes |//! | `Off` | no | **no** |//!//! `Off` is the state that could not be said before, and it is the one an@@ -48,7 +48,7 @@ use super::registry::PACKS;pub enum GroupMode {/// Schemas are on the wire on every provider call.Advertised,- /// Registered and executable, but reached only through `load_skill` /+ /// Registered and executable, but reached only through `use_skill` //// `use_skill`. The compiled-in default for every pack.#[default]Withheld,diff --git a/src/openhuman/tools/toolpacks/registry.rs b/src/openhuman/tools/toolpacks/registry.rsindex 54d2c45d14..81157c3bc5 100644--- a/src/openhuman/tools/toolpacks/registry.rs+++ b/src/openhuman/tools/toolpacks/registry.rs@@ -256,7 +256,7 @@ pub fn packed_tool_names_for_agent(agent_id: &str) -> Vec<&'static str> {.collect()}-/// The always-on index: one line per pack, rendered into `load_skill`'s own+/// The always-on index: one line per pack, rendered into `use_skill`'s own/// description so the model can pick a pack without a round trip.pub fn pack_index_markdown() -> String {let mut out = String::new();diff --git a/src/openhuman/tools/toolpacks/types.rs b/src/openhuman/tools/toolpacks/types.rsindex efccab5f1e..bb7396ec4c 100644--- a/src/openhuman/tools/toolpacks/types.rs+++ b/src/openhuman/tools/toolpacks/types.rs@@ -8,7 +8,7 @@/// spends far more of its fixed per-turn budget on schemas than on its own/// instructions, and most of those tools go untouched in most conversations.pub struct ToolPack {- /// Stable id the agent names in `load_skill` / `use_skill`.+ /// Stable id the agent names in `use_skill`.pub id: &'static str,/// One line, rendered in the always-on pack index. This is the only text/// about the pack the model sees before loading it, so it has to carry@@ -22,7 +22,7 @@ pub struct ToolPack {/// Withholding is a bet that the tools are idle in most turns. That bet is/// wrong for the specialist a family was delegated to: `settings_agent`/// exists precisely to run `config_*` / `health_*` / `service_*`, so- /// packing them would put a `load_skill` round trip in front of the first+ /// packing them would put a `use_skill` round trip in front of the first/// call of every one of its turns and buy nothing — its whole belt is the/// pack.///diff --git a/src/openhuman/tools/traits.rs b/src/openhuman/tools/traits.rsindex 8181206ced..e971a4d7b1 100644--- a/src/openhuman/tools/traits.rs+++ b/src/openhuman/tools/traits.rs@@ -29,7 +29,7 @@ use crate::openhuman::tools::toolpacks::PackRegistryHandle;/// Reads a tool's pack-registry handle back out of the erased host extension.///-/// `load_skill` / `use_skill` read the registry they themselves live in, so+/// `use_skill` reads the registry it itself lives in, so/// they cannot be handed it at construction; `toolpacks::bind_pack_registry`/// finds them in an already-built registry and hands them a `Weak` view of it.///