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(flows): migrate tinyflows to caps_host references
Steven Enamakel60bb19f83b51
diff --git a/crates/openhuman-core/src/flows/authoring_host.rs b/crates/openhuman-core/src/flows/authoring_host.rsindex 4e4e968c9f..f265840acb 100644--- a/crates/openhuman-core/src/flows/authoring_host.rs+++ b/crates/openhuman-core/src/flows/authoring_host.rs@@ -122,7 +122,7 @@ impl ApprovalCallbacks {let config = Arc::clone(&self.0.config);self.0.in_context(async move {- use crate::flows::tinyflows::caps::classify_composio_action_for_tier;+ use crate::flows::caps_host::classify_composio_action_for_tier;use crate::security::{GateDecision, SecurityPolicy};use tinybox_bus::CommandClass;use tinyflows_bus::catalog::{ManifestCandidate, ManifestClass};diff --git a/crates/openhuman-core/src/flows/builder_host.rs b/crates/openhuman-core/src/flows/builder_host.rsindex a97188e413..fd772c9cbd 100644--- a/crates/openhuman-core/src/flows/builder_host.rs+++ b/crates/openhuman-core/src/flows/builder_host.rs@@ -247,7 +247,7 @@ impl FlowsHost {async fn preflight_tool(&self, slug: String, args: Value) -> Result<Value, String> {let config = Arc::clone(&self.config);self.in_context(async move {- if let Some(backend) = crate::flows::tinyflows::caps::tools::backend_for(&slug) {+ if let Some(backend) = crate::flows::caps_host::tools::backend_for(&slug) {backend.preflight(&config, &slug, &args).awaitdiff --git a/crates/openhuman-core/src/flows/ops/approval_manifest.rs b/crates/openhuman-core/src/flows/ops/approval_manifest.rsindex f6dc446bac..53f68c7d04 100644--- a/crates/openhuman-core/src/flows/ops/approval_manifest.rs+++ b/crates/openhuman-core/src/flows/ops/approval_manifest.rs@@ -9,7 +9,7 @@ use super::*;/// ask for all of them in one shot instead of parking the run node-by-node.////// Mirrors — never re-implements — the runtime gating in-/// `crate::flows::tinyflows::caps` (`OpenHumanTools::invoke` /+/// `crate::flows::caps_host` (`OpenHumanTools::invoke` //// `OpenHumanHttp` / `OpenHumanCode`) and `approval::gate`'s Workflow-origin/// branch. Because Rule 2 (`enforce_side_effect_approval`) forces/// `require_approval: true` onto every graph with outbound side-effect nodes,@@ -60,7 +60,7 @@ async fn compute_approval_manifest_json(tinyflows_bus::catalog::members::APPROVAL_MANIFEST,&(tinyflows_bus::catalog::ApprovalManifestRequest {graph,- native_prefix: crate::flows::tinyflows::caps::NATIVE_TOOL_PREFIX.into(),+ native_prefix: crate::flows::caps_host::NATIVE_TOOL_PREFIX.into(),host: registration.catalog.clone(),},),)diff --git a/crates/openhuman-core/src/flows/ops/builder_gates.rs b/crates/openhuman-core/src/flows/ops/builder_gates.rsindex d20f60a63e..df103ae01c 100644--- a/crates/openhuman-core/src/flows/ops/builder_gates.rs+++ b/crates/openhuman-core/src/flows/ops/builder_gates.rs@@ -49,7 +49,7 @@ pub(crate) async fn run_builder_gates(&(graph,host.authoring.clone(),- vec![crate::flows::tinyflows::caps::NATIVE_TOOL_PREFIX.to_string()],+ vec![crate::flows::caps_host::NATIVE_TOOL_PREFIX.to_string()],),).awaitdiff --git a/crates/openhuman-core/src/flows/ops/connections.rs b/crates/openhuman-core/src/flows/ops/connections.rsindex 8bde2b75de..0c119e409c 100644--- a/crates/openhuman-core/src/flows/ops/connections.rs+++ b/crates/openhuman-core/src/flows/ops/connections.rs@@ -48,7 +48,7 @@ pub async fn flows_list_connections(// 2. Named HTTP credentials — secret-free summaries (the store never hands// out secret material here; injection happens server-side in- // `tinyflows::caps::OpenHumanHttp`).+ // `flows::caps_host::OpenHumanHttp`).let http_creds =match crate::security::credentials::HttpCredentialsStore::from_config(config).list() {Ok(list) => {@@ -172,7 +172,7 @@ pub(crate) fn build_flow_connections(}));for cred in http {out.push(FlowConnection {- // Exactly the shape `tinyflows::caps::http_cred_name` parses.+ // The `http_cred:<name>` value is the picker wire convention.connection_ref: format!("http_cred:{}", cred.name),kind: "http".to_string(),display: http_credential_display(&cred),