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
test(about_app): update catalog tests for removed desktop ptt
Steven Enamakelef3a4cf40bf5
diff --git a/crates/openhuman-core/src/platform/about_app/catalog_tests.rs b/crates/openhuman-core/src/platform/about_app/catalog_tests.rsindex d31700396f..e073c52f80 100644--- a/crates/openhuman-core/src/platform/about_app/catalog_tests.rs+++ b/crates/openhuman-core/src/platform/about_app/catalog_tests.rs@@ -7,34 +7,20 @@ fn lookup_returns_expected_capability() {assert_eq!(capability.status, CapabilityStatus::Beta);}-/// PR #3090: the global push-to-talk feature is user-facing and must be-/// discoverable in the capability catalog so the in-app /about surface and-/// settings search can describe it. Pins the id, category, and the rough-/// shape of the how_to / description so a future rewrite can't silently-/// drop the entry or split it from the Conversation umbrella where the-/// related voice capabilities live.+/// The removed desktop push-to-talk server must not be advertised, while the+/// mobile and live voice capabilities remain discoverable.#[test]-fn capability_list_includes_voice_ptt() {+fn capability_list_excludes_desktop_ptt_and_keeps_mobile_and_live_voice() {let caps = all_capabilities();assert!(- caps.iter().any(|c| c.id == "voice.ptt"),- "voice.ptt capability must be registered"- );-- let ptt = lookup("voice.ptt").expect("voice.ptt should be registered");- assert_eq!(ptt.category, CapabilityCategory::Conversation);- assert_eq!(ptt.domain, "voice");- assert!(- ptt.how_to.contains("Push-to-Talk") || ptt.how_to.contains("push-to-talk"),- "how_to must mention Push-to-Talk, got: {}",- ptt.how_to+ !caps.iter().any(|c| c.id == "voice.ptt"),+ "the removed desktop push-to-talk server must not be registered");assert!(- ptt.description.to_lowercase().contains("hold")- && ptt.description.to_lowercase().contains("hotkey"),- "description must describe the hold-to-talk hotkey behaviour, got: {}",- ptt.description+ caps.iter().any(|c| c.id == "mobile.push_to_talk"),+ "mobile push-to-talk must remain available");+ assert!(caps.iter().any(|c| c.id == "voice.live_agent"));}#[test]