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
docs(accessibility): clarify Swift helper compilation timing
Steven Enamakelb8be926c305e
diff --git a/crates/openhuman-core/src/desktop/accessibility/README.md b/crates/openhuman-core/src/desktop/accessibility/README.mdindex a93edd4c2a..1292d5d6e7 100644--- a/crates/openhuman-core/src/desktop/accessibility/README.md+++ b/crates/openhuman-core/src/desktop/accessibility/README.md@@ -9,7 +9,7 @@ Re-exported from `mod.rs`:- `pub fn clear_automation_denial` / `mark_system_events_denied` / `system_events_denied` — `automation_state.rs` — tracks whether macOS has denied AppleScript "System Events" automation, so callers can stop retrying until the user re-grants it.- `pub fn focused_text_context` / `focused_text_context_verbose` / `validate_focused_target` — `focus.rs` — query the OS for the currently focused text field.- `pub fn globe_listener_start` / `globe_listener_stop` / `globe_listener_poll` / `pub struct GlobeHotkeyPollResult` / `pub enum GlobeHotkeyStatus` — `globe.rs` — macOS Globe-key (Fn) hotkey monitor.-- `pub fn precompile_helper_background` — `helper.rs`, whose body is `include!`d from `helper_part_01.rs` (process management, `pub(crate) helper_send_receive`) and `helper_part_02.rs` (the embedded Swift source) — warm the Swift helper process in the background. No caller outside this module today.+- `pub fn precompile_helper_background` — `helper.rs`, whose body is `include!`d from `helper_part_01.rs` (process management, `pub(crate) helper_send_receive`) and `helper_part_02.rs` (the embedded Swift source) — compile the Swift helper with `swiftc` on a background thread so the first request avoids compile latency. No caller outside this module today.- Permission detection: `detect_permissions`, `detect_microphone_permission`, `microphone_denied_message`, `permission_to_str`, `request_microphone_access` (cross-platform); macOS-only `detect_accessibility_permission`, `detect_input_monitoring_permission`, `open_macos_privacy_pane`, `request_accessibility_access` — `permissions.rs`. Microphone detection probes `cpal` for a default input device and needs the `inference` feature; without it the result is `PermissionState::Unknown`.- `pub fn extract_terminal_input_context` / `is_terminal_app` / `is_text_role` / `looks_like_terminal_buffer` — `terminal.rs` — terminal-window heuristics.- `pub fn normalize_ax_value` / `parse_ax_number` / `truncate_tail` — `text_util.rs` — AX value normalization.@@ -18,7 +18,7 @@ Re-exported from `mod.rs`:## Calls into- macOS frameworks `ApplicationServices`, `CoreFoundation`, and `IOKit` via `#[link]` FFI in `permissions.rs`; `CGEvent` key synthesis happens inside the Swift helper, not in Rust.-- The Swift helper process compiled from the source embedded in `helper_part_02.rs` (stdin/stdout JSON), driven by `helper_send_receive`.+- The Swift helper process, compiled on first use with `swiftc` from the source embedded in `helper_part_02.rs` and driven over stdin/stdout JSON by `helper_send_receive`.- `cpal` (behind the `inference` feature) for the microphone probe.- No `crate::*` imports: this module does not read `Config`.