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(composio): widen visibility of visibility helpers from pub(super) to pub(crate)
Steven Enamakel8f3c4d8711bc
diff --git a/crates/openhuman-core/src/integrations/composio/tools.rs b/crates/openhuman-core/src/integrations/composio/tools.rsindex aea79f876d..7aab320fd0 100644--- a/crates/openhuman-core/src/integrations/composio/tools.rs+++ b/crates/openhuman-core/src/integrations/composio/tools.rs@@ -51,4 +51,4 @@ pub use registry::all_composio_agent_tools;// submodule.use crate::tools::traits::Tool;-pub(super) use visibility::{action_mutates_external_state, resolve_action_scope};+pub(crate) use visibility::{action_mutates_external_state, resolve_action_scope};diff --git a/crates/openhuman-core/src/integrations/composio/tools/visibility.rs b/crates/openhuman-core/src/integrations/composio/tools/visibility.rsindex 33f6fa59b9..785960db5b 100644--- a/crates/openhuman-core/src/integrations/composio/tools/visibility.rs+++ b/crates/openhuman-core/src/integrations/composio/tools/visibility.rs@@ -40,7 +40,7 @@ pub(super) enum ToolDecision {/// slugs default to `Write` so the sandbox gate errs on the side of/// blocking rather than letting a potentially-mutating action slip/// through uncategorised.-pub(super) async fn resolve_action_scope(slug: &str) -> ToolScope {+pub(crate) async fn resolve_action_scope(slug: &str) -> ToolScope {resolve_action_scope_sync(slug)}@@ -59,7 +59,7 @@ fn resolve_action_scope_sync(slug: &str) -> ToolScope {}/// Whether an action must pass through the human approval gate.-pub(super) fn action_mutates_external_state(slug: &str) -> bool {+pub(crate) fn action_mutates_external_state(slug: &str) -> bool {matches!(resolve_action_scope_sync(slug),ToolScope::Write | ToolScope::Admin