Skip to content

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

chore: files changed crates/openhuman-core/src/platform/about_app/catalog_data.rs,crates/openhuman-c

Steven Enamakeld4c82766c2bd
diff --git a/crates/openhuman-core/src/platform/about_app/catalog_data.rs b/crates/openhuman-core/src/platform/about_app/catalog_data.rs
index c0565ea237..b0e094d9ba 100644
--- a/crates/openhuman-core/src/platform/about_app/catalog_data.rs
+++ b/crates/openhuman-core/src/platform/about_app/catalog_data.rs
@@ -80,6 +80,12 @@ const DIAGNOSTICS_TO_BACKEND: Option<CapabilityPrivacy> = Some(CapabilityPrivacy
destinations: &["OpenHuman backend"],
});
+const MODEL_DOWNLOAD: Option<CapabilityPrivacy> = Some(CapabilityPrivacy {
+ leaves_device: true,
+ data_kind: PrivacyDataKind::Metadata,
+ destinations: &["Hugging Face"],
+});
+
// Self-update flows talk to GitHub Releases directly, not the OpenHuman
// backend. The outbound payload is metadata only (release list query for
// `update.check`, asset download URL request for `update.apply`) so
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 85efbdbcd4..2569a7326a 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
@@ -66,6 +66,17 @@ Capability {
status: CapabilityStatus::Beta,
privacy: None,
},
+Capability {
+ id: "local_ai.python_runtime_installer",
+ name: "Managed Python Runtime",
+ domain: "runtime_python",
+ category: CapabilityCategory::LocalAI,
+ description:
+ "Download and reuse an OpenHuman-managed CPython runtime for Python-backed local integrations such as MCP servers, with a system-Python override reserved for development.",
+ how_to: "Configured by the core `runtime_python` module; future UI surfaces can expose install state and overrides.",
+ status: CapabilityStatus::Beta,
+ privacy: MODEL_DOWNLOAD,
+ },
Capability {
id: "settings.configure_ai",
name: "Configure AI",
diff --git a/crates/openhuman-core/src/platform/about_app/catalog_tests.rs b/crates/openhuman-core/src/platform/about_app/catalog_tests.rs
index 47dacee80b..a124ebbd7b 100644
--- a/crates/openhuman-core/src/platform/about_app/catalog_tests.rs
+++ b/crates/openhuman-core/src/platform/about_app/catalog_tests.rs
@@ -523,8 +523,8 @@ fn catalog_how_to_uses_connections_nav_not_legacy_settings_paths() {
/// the React router. That tie is cross-language and belongs to a VU or PW case.
/// This is the part that can be pinned from Rust — that no `local_ai` entry
/// names a panel title this repo no longer contains.
-/// OpenHuman no longer downloads local models, installs Piper or a managed
-/// Python runtime for local AI: the user runs their own runtime. The catalog
+/// OpenHuman no longer downloads local models or installs Piper: the user
+/// runs their own runtime. The catalog
/// must not advertise those capabilities.
#[test]
fn local_ai_catalog_does_not_advertise_model_downloads_or_installers() {
@@ -532,7 +532,6 @@ fn local_ai_catalog_does_not_advertise_model_downloads_or_installers() {
"local_ai.download_model",
"local_ai.manage_model_assets",
"local_ai.piper_installer",
- "local_ai.python_runtime_installer",
] {
assert!(lookup(removed).is_none(), "`{removed}` is still advertised");
}