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(accessibility): handle empty accessibility tree in Swift source
Steven Enamakel83bf3f26b82b
diff --git a/crates/openhuman-core/src/desktop/accessibility/helper/swift_source.rs b/crates/openhuman-core/src/desktop/accessibility/helper/swift_source.rsnew file mode 100644index 0000000000..0a79727d6a--- /dev/null+++ b/crates/openhuman-core/src/desktop/accessibility/helper/swift_source.rs@@ -0,0 +1,17 @@+//! Assembles the embedded Swift source for the unified helper process from+//! its per-responsibility fragments (focus query, paste, AX actions, overlay+//! + main loop). Splitting the fragments keeps each one reviewable; the+//! compiled Swift program is unaffected — this just concatenates them back+//! into one source string for `swiftc`.++use super::swift_ax_actions::SWIFT_AX_ACTIONS;+use super::swift_focus::SWIFT_HEADER_AND_FOCUS;+use super::swift_overlay::SWIFT_OVERLAY_AND_MAIN;+use super::swift_paste::SWIFT_PASTE;++#[cfg(target_os = "macos")]+pub(super) fn unified_swift_source() -> String {+ format!(+ "{SWIFT_HEADER_AND_FOCUS}{SWIFT_PASTE}{SWIFT_AX_ACTIONS}{SWIFT_OVERLAY_AND_MAIN}"+ )+}