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 crates/openhuman-core/src/integrations/composio/tools/execute.rs,crates/openhum
Steven Enamakel12ce9ce5c59a
diff --git a/crates/openhuman-core/src/integrations/composio/tools/execute.rs b/crates/openhuman-core/src/integrations/composio/tools/execute.rsindex 827403664f..2956db7b9f 100644--- a/crates/openhuman-core/src/integrations/composio/tools/execute.rs+++ b/crates/openhuman-core/src/integrations/composio/tools/execute.rs@@ -346,3 +346,18 @@ impl Tool for ComposioExecuteTool {}}}++// NOTE: A `composio_enable_scope` agent-callable meta-tool used to live+// here. It was removed deliberately: scope elevation is a+// security-sensitive, cross-session state change that unlocks+// destructive actions, and putting that flip behind LLM-mediated+// "user consent" both (a) made the safety contract depend on model+// behavior — the weakest place for it — and (b) was a soft gate the+// model could route around (e.g. trash-via-label). The user must+// toggle scopes themselves in **Connections → {toolkit} → {scope}+// row**; the agent only describes the gated capability and points at+// that UI path.+//+// Two surfaces name this policy; keep them in sync:+// - `GatedIntegrationTool.unlock_paths` populated in `composio::ops`+// - `scope_error_message` returned from `composio_execute` blocksdiff --git a/crates/openhuman-core/src/security/credentials/ops.rs b/crates/openhuman-core/src/security/credentials/ops.rsindex 64aae1f5c3..30835d721d 100644--- a/crates/openhuman-core/src/security/credentials/ops.rs+++ b/crates/openhuman-core/src/security/credentials/ops.rs@@ -1,15 +1,19 @@//! JSON-RPC / CLI controller surface for credentials and app session auth.mod composio;+mod login_services;mod login_tokens;mod oauth;mod provider_credentials;-mod session_lifecycle;+mod session_query;+mod session_store;+mod session_validation;pub use composio::{clear_composio_api_key, get_composio_api_key, rpc_store_composio_api_key,store_composio_api_key, COMPOSIO_DIRECT_PROVIDER,};+pub use login_services::{start_login_gated_services, stop_login_gated_services};pub use login_tokens::{auth_create_channel_link_token, consume_login_token};pub use oauth::{oauth_connect, oauth_fetch_client_key, oauth_fetch_integration_tokens, oauth_list_integrations,@@ -19,17 +23,18 @@ pub use provider_credentials::{list_provider_credentials, list_provider_credentials_by_prefix, remove_provider_credentials,store_provider_credentials,};-pub use session_lifecycle::{- auth_get_me, auth_get_session_token_json, auth_get_state, clear_session, decrypt_secret,- encrypt_secret, start_login_gated_services, stop_login_gated_services, store_session,- store_session_with_deferred_validation,+pub use session_query::{auth_get_me, auth_get_session_token_json, auth_get_state, clear_session};+pub use session_store::{+ decrypt_secret, encrypt_secret, store_session, store_session_with_deferred_validation,};#[cfg(test)]-pub(crate) use session_lifecycle::{+pub(crate) use session_store::secret_store_for_config;+#[cfg(test)]+pub(crate) use session_validation::{auth_me_store_failure_is_transient, auth_me_store_validation_budget,- normalize_local_session_user, sanitize_stored_session_user, secret_store_for_config,- AUTH_ME_STORE_VALIDATION_BUDGET, AUTH_ME_STORE_VALIDATION_BUDGET_ENV,+ normalize_local_session_user, sanitize_stored_session_user, AUTH_ME_STORE_VALIDATION_BUDGET,+ AUTH_ME_STORE_VALIDATION_BUDGET_ENV,};#[cfg(test)]