Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(desktop): remove unused schema and catalog entries

Steven Enamakel7367bb0f12e7
diff --git a/crates/openhuman-core/src/desktop/control/schemas.rs b/crates/openhuman-core/src/desktop/control/schemas.rs
index 530b76ddb0..55556d5389 100644
--- a/crates/openhuman-core/src/desktop/control/schemas.rs
+++ b/crates/openhuman-core/src/desktop/control/schemas.rs
@@ -112,6 +112,10 @@ fn probe(_: Map<String, Value>) -> ControllerFuture {
fn pending(_: Map<String, Value>) -> ControllerFuture {
Box::pin(async {
+ let config = crate::config::rpc::load_config_with_timeout()
+ .await
+ .map_err(|error| format!("config unavailable: {error}"))?;
+ crate::core::runtime::components::require_config(&config, "computer")?;
serde_json::to_value(super::confirmation::pending()).map_err(|error| error.to_string())
})
}
diff --git a/crates/openhuman-core/src/platform/about_app/catalog_localai_settings_mobile.rs b/crates/openhuman-core/src/platform/about_app/catalog_localai_settings_mobile.rs
index 157dc27a9a..32f31889fb 100644
--- a/crates/openhuman-core/src/platform/about_app/catalog_localai_settings_mobile.rs
+++ b/crates/openhuman-core/src/platform/about_app/catalog_localai_settings_mobile.rs
@@ -81,7 +81,7 @@ Capability {
name: "Desktop Control",
domain: "desktop",
category: CapabilityCategory::Settings,
- description: "Let agents inspect and control native desktop apps through a local, permission-aware connection. Desktop actions are discovered on demand.",
+ description: "Let agents inspect and control native desktop apps through a local, permission-aware connection. Desktop actions are discovered on demand. Switched off by [components] computer = false, which unregisters the desktop tools and answers the desktop.* RPCs with COMPONENT_DISABLED:computer while keeping this machine's own consent setting untouched.",
how_to: "Connections → Computer → Desktop; enable access and grant operating system permissions when requested",
status: CapabilityStatus::Beta,
privacy: DESKTOP_TO_JEV,
diff --git a/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs b/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs
index 784c7b48cc..9b43f2c42d 100644
--- a/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs
+++ b/crates/openhuman-core/src/platform/about_app/catalog_workflows_automation.rs
@@ -96,7 +96,7 @@ Capability {
name: "Browser Automation",
domain: "workflows",
category: CapabilityCategory::Workflows,
- description: "Inspect pages and run bounded browser tasks in Chrome through TinyComputer, with a rescue model for failed steps. A finished task's plan and the page elements it found are kept per site in the core's workspace, so the next task there starts sooner.",
+ description: "Inspect pages and run bounded browser tasks in Chrome through TinyComputer, with a rescue model for failed steps. A finished task's plan and the page elements it found are kept per site in the core's workspace, so the next task there starts sooner. Switched off by [components] computer = false, which unregisters the browser tools and answers the browser RPCs with COMPONENT_DISABLED:computer.",
how_to: "Connections > Computer > Browser, then ask the assistant to use the browser; What tasks learn turns learning off or forgets learned sites",
status: CapabilityStatus::Beta,
privacy: Some(CapabilityPrivacy {