Skip to content

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

Merge remote-tracking branch 'fork/epic/8096-voice-cut' into epic-8096-398-shell

Steven Enamakel9d542c863bf5
diff --cc crates/openhuman-app/README.md
index 4c7f90db19,df91690089..418a69299d
--- a/crates/openhuman-app/README.md
+++ b/crates/openhuman-app/README.md
@@@ -30,7 -30,7 +30,7 @@@ For the user-facing tour of windows, tr
| | fetch(url, Bearer token)|<----------| -> (url, token) | |
| +-------------+-------------+ | session::commands (auth_*) | |
| | | gateway::commands | |
- | | HTTP POST /rpc | windows, update | |
-| | HTTP POST /rpc | hotkeys, windows, update | |
++| | HTTP POST /rpc | windows, update | |
| v +-------------+--------------+ |
| +---------------------------+ | |
| | embedded core server |<------------------------+ |
@@@ -88,8 -88,8 +88,8 @@@ TinyHumans backend transport (the core
5. Builds the Tauri app: the macOS app menu, `tauri-plugin-single-instance`
(skipped on Linux when the D-Bus session bus is unreachable, because the
plugin panics there), the opener, `external_navigation`, deep-link,
- notification, global-shortcut and updater plugins, and managed state for
- hotkeys, the staged app update and the iMessage scanner registry.
+ notification and updater plugins, and managed state for the staged app
- update and iMessage scanner registry.
++ update and the iMessage scanner registry.
6. `setup()`: points the core at the installer's [`bundled-modules/`](bundled-modules/) resource
directory, verifies `openhuman://` registration (Windows registry
read-back, Linux xdg-utils), drains deep links that arrived early, removes
@@@ -185,7 -185,9 +185,7 @@@ Platform integration
| [`src/external_navigation.rs`](src/external_navigation.rs) | Plugin that cancels top-level `http(s)` navigation away from the app origin and opens the URL in the default browser. |
| [`src/native_notifications/`](src/native_notifications/) | Notification permission and delivery, real on macOS. See [`src/native_notifications/`](src/native_notifications/README.md). |
| [`src/imessage_scanner/`](src/imessage_scanner/) | macOS: reads `chat.db` and ingests conversations into memory. See [`src/imessage_scanner/`](src/imessage_scanner/README.md). |
- | [`src/mascot_native_window.rs`](src/mascot_native_window.rs), [`src/notch_window.rs`](src/notch_window.rs) | macOS: native NSPanel plus WKWebView hosts for the floating mascot and the notch activity pill. |
-| [`src/dictation_hotkeys.rs`](src/dictation_hotkeys.rs), [`src/ptt_hotkeys.rs`](src/ptt_hotkeys.rs) | Global shortcut parsing and state for dictation and push-to-talk. |
-| [`src/ptt_overlay.rs`](src/ptt_overlay.rs) | Borderless always-on-top window for push-to-talk, rendering the `/ptt-overlay` route. |
+ | [`src/mascot_native_window.rs`](src/mascot_native_window.rs) | macOS: native NSPanel plus WKWebView host for the floating mascot. |
| [`src/window_state.rs`](src/window_state.rs) | Saves and restores main window position and size, with a DPI guard and work-area clamping. |
| [`src/directory_picker.rs`](src/directory_picker.rs) | Native folder chooser for the folder memory source. |
| [`src/workspace_paths.rs`](src/workspace_paths.rs) | Open, reveal or preview a file, only after resolving it inside the active workspace. |
@@@ -232,7 -234,8 +232,7 @@@ The authoritative list is the `tauri::g
| Gateways (feature `gateways`) | `gateway_list`, `gateway_save`, `gateway_delete`, `gateway_activate`, `gateway_active`, `gateway_status` |
| Session | `auth_login_with_token`, `auth_store_session`, `auth_logout`, `auth_state`, `auth_current_user`, `get_active_user_id` |
| Updates | `check_app_update`, `download_app_update`, `install_app_update`, `apply_app_update`, `check_core_update`, `apply_core_update` |
- | App and windows | `app_quit`, `restart_app`, `set_titlebar_for_sidebar`, `mascot_window_show`, `mascot_window_hide`, `notch_window_show`, `notch_window_hide` |
-| App and windows | `app_quit`, `restart_app`, `activate_main_window`, `set_titlebar_for_sidebar`, `mascot_window_show`, `mascot_window_hide` |
-| Hotkeys and voice | `register_dictation_hotkey`, `unregister_dictation_hotkey`, `register_ptt_hotkey`, `unregister_ptt_hotkey`, `show_ptt_overlay` |
++| App and windows | `app_quit`, `restart_app`, `set_titlebar_for_sidebar`, `mascot_window_show`, `mascot_window_hide` |
| Notifications | `notification_permission_state`, `notification_permission_request`, `show_native_notification` |
| Files and logs | `open_workspace_path`, `reveal_workspace_path`, `preview_workspace_text`, `download_artifact_to_downloads`, `pick_directory_via_dialog`, `reveal_logs_folder`, `logs_folder_path`, `reset_local_data` |
| Integrations | `start_loopback_oauth_listener`, `stop_loopback_oauth_listener`, `mcp_resolve_binary_path`, `mcp_open_client_config`, `claude_code_login_launch` |
diff --cc crates/openhuman-app/permissions/README.md
index c2cd4a1dc6,a3e2a17293..88b4019c3c
--- a/crates/openhuman-app/permissions/README.md
+++ b/crates/openhuman-app/permissions/README.md
@@@ -31,7 -31,7 +31,7 @@@ RuntimeAuthority::resolve_acces
| File | Identifier | Commands |
| --- | --- | --- |
- | [`allow-core-process.toml`](allow-core-process.toml) | `allow-core-process` | Core endpoint and lifecycle (`core_rpc_*`, `relay_http_rpc`, `relay_remote_socket`, `start_core_process`, `restart_core_process`, `reset_local_data`), app control (`restart_app`, `app_quit`), session (`get_active_user_id`, `auth_*`), notch window, native notifications, and log folder commands. |
-| [`allow-core-process.toml`](allow-core-process.toml) | `allow-core-process` | Core endpoint and lifecycle (`core_rpc_*`, `relay_http_rpc`, `relay_remote_socket`, `start_core_process`, `restart_core_process`, `reset_local_data`), app control (`restart_app`, `app_quit`), session (`get_active_user_id`, `auth_*`), dictation and push-to-talk hotkeys, `show_ptt_overlay`, `activate_main_window`, native notifications, and log folder commands. |
++| [`allow-core-process.toml`](allow-core-process.toml) | `allow-core-process` | Core endpoint and lifecycle (`core_rpc_*`, `relay_http_rpc`, `relay_remote_socket`, `start_core_process`, `restart_core_process`, `reset_local_data`), app control (`restart_app`, `app_quit`), session (`get_active_user_id`, `auth_*`), native notifications, and log folder commands. |
| [`allow-app-update.toml`](allow-app-update.toml) | `allow-app-update` | `check_app_update`, `apply_app_update`, `download_app_update`, `install_app_update`. |
| [`allow-workspace-files.toml`](allow-workspace-files.toml) | `allow-workspace-files` | `open_workspace_path`, `reveal_workspace_path`, `preview_workspace_text`. |
| [`allow-artifact-download.toml`](allow-artifact-download.toml) | `allow-artifact-download` | `download_artifact_to_downloads`, `save_artifact_as`. |
diff --cc crates/openhuman-app/permissions/allow-core-process.toml
index 1a81101246,c035d479ac..7950edc296
--- a/crates/openhuman-app/permissions/allow-core-process.toml
+++ b/crates/openhuman-app/permissions/allow-core-process.toml
@@@ -64,7 -64,10 +64,8 @@@ allow =
# restart-driven flips, causing a false re-flip and restart loop on
# every login. (#900)
"get_active_user_id",
- # The renderer RPC URL handed to a child overlay webview that was spawned
- # with `OPENHUMAN_CORE_RPC_URL` (falls back to `None` when unset).
- "overlay_parent_rpc_url",
+
+
# =========================
# GATEWAYS
# =========================
diff --cc crates/openhuman-app/src/external_navigation_tests.rs
index 89284d1d6f,89284d1d6f..be8cdf4742
--- a/crates/openhuman-app/src/external_navigation_tests.rs
+++ b/crates/openhuman-app/src/external_navigation_tests.rs
@@@ -76,9 -76,9 +76,9 @@@ fn dev_server_is_an_app_origin_only_whe
}
#[test]
--fn other_webviews_are_left_to_their_own_handlers() {
++fn non_main_webviews_are_left_to_their_own_handlers() {
assert_eq!(
-- navigation_handoff("ptt-overlay", &url("https://github.com/"), "http", None),
++ navigation_handoff("mascot", &url("https://github.com/"), "http", None),
None
);
}
diff --cc crates/openhuman-app/src/lib.rs
index d89e0b1f86,8a5a964742..fbba544344
--- a/crates/openhuman-app/src/lib.rs
+++ b/crates/openhuman-app/src/lib.rs
@@@ -98,10 -99,10 +98,8 @@@ mod loopback_oauth
mod mascot_native_window;
mod mcp_commands;
mod native_notifications;
- #[cfg(target_os = "macos")]
- mod notch_window;
mod process_kill;
mod process_recovery;
-mod ptt_hotkeys;
-mod ptt_overlay;
#[cfg(target_os = "windows")]
mod reset_reboot_schedule;
mod session;
@@@ -2780,18 -3165,24 +2723,6 @@@ pub fn run()
}
}
- // Notch activity indicator: transparent pill at the top-centre of
- // the primary screen. Shows live voice / agent state. macOS only
- // (physical notch or menu-bar HUD on older hardware).
- // Overlay window is currently disabled in `tauri.conf.json` (the
- // `overlay` entry under `app.windows` was removed), so we skip
- // the macOS NSPanel reclass + bottom-right pin + initial show
- // here. The helpers (`configure_overlay_window_macos`,
- // `pin_overlay_bottom_right`) and the React entry point
- // (`src/overlay/OverlayApp.tsx`) are kept intact so the overlay
- // can be re-enabled by restoring the config entry and the two
- // setup blocks below.
-- //
- // It is NOT auto-shown here: the notch is the always-on listening
- // HUD, so its visibility is owned by the frontend, which calls
- // `notch_window_show` / `notch_window_hide` (via `syncNotchVisibility`)
- // to mirror `voice_server.always_on_enabled` — once on boot and
- // whenever the Settings toggle flips. Showing it unconditionally
- // here would flash the pill on every launch even with always-on
- // listening disabled (the default).
- // #[cfg(target_os = "macos")]
- // if let Some(window) = app.get_webview_window("overlay") {
- // configure_overlay_window_macos(&window);
- // }
- // if let Some(window) = app.get_webview_window("overlay") {
- // pin_overlay_bottom_right(&window);
- // let _ = window.show();
- // }
--
// Tray icon setup moved to RunEvent::Ready (see below) — GTK is only
// initialized after the event loop starts, so we must delay tray creation
// until the Ready event fires. Creating the tray here would panic on