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
chore(app): drop stale overlay window references
Steven Enamakel5b20f8e8c77f
diff --git a/crates/openhuman-app/permissions/README.md b/crates/openhuman-app/permissions/README.mdindex 9577b52972..c2cd4a1dc6 100644--- a/crates/openhuman-app/permissions/README.md+++ b/crates/openhuman-app/permissions/README.md@@ -4,7 +4,7 @@ Tauri v2 permission sets for the app's own commands (the ones registered in`generate_handler!` in [`src/lib.rs`](../src/lib.rs)). Each `.toml` file defines one`[[permission]]` with an `identifier` and a `[permission.commands] allow`list. The capability in [`../capabilities/default.json`](../capabilities/README.md)-grants all of them to the `main` and `overlay` windows by identifier.+grants all of them to the `main` window by identifier.## How it works@@ -21,7 +21,7 @@ renderer invoke('gateway_list')|vRuntimeAuthority::resolve_access- | capability "default" (windows: main, overlay)+ | capability "default" (window: main)| -> allow-core-process, allow-app-update, ... (these files)| command listed in one of them? yes -> run handlerv no -> "not allowed. Command not found"diff --git a/crates/openhuman-app/permissions/allow-core-process.toml b/crates/openhuman-app/permissions/allow-core-process.tomlindex 4a1a0a20d4..1a81101246 100644--- a/crates/openhuman-app/permissions/allow-core-process.toml+++ b/crates/openhuman-app/permissions/allow-core-process.toml@@ -1,6 +1,6 @@[[permission]]identifier = "allow-core-process"-description = "Privileged desktop permissions for core process control, service management, dictation, window/UI, notifications, log access, and workspace integration"+description = "Privileged desktop permissions for core process control, service management, window/UI, notifications, log access, and workspace integration"[permission.commands]diff --git a/crates/openhuman-app/src/external_navigation.rs b/crates/openhuman-app/src/external_navigation.rsindex 19f53cf9b1..d751607b6f 100644--- a/crates/openhuman-app/src/external_navigation.rs+++ b/crates/openhuman-app/src/external_navigation.rs@@ -11,7 +11,7 @@//! asks the navigation delegate before it asks for a new window).//!//! Only `main` is covered. It is the one webview whose content is the app UI-//! and that can render arbitrary links; the PTT overlay renders none, and the+//! and that can render arbitrary links; the child windows render none, and the//! shell creates no webviews that are meant to browse remote sites.use tauri::{plugin::TauriPlugin, Manager, Runtime};diff --git a/crates/openhuman-app/src/lib.rs b/crates/openhuman-app/src/lib.rsindex 9458b116d2..d89e0b1f86 100644--- a/crates/openhuman-app/src/lib.rs+++ b/crates/openhuman-app/src/lib.rs@@ -796,8 +796,6 @@ async fn install_app_update(app.restart();}-/// Register (or re-register) the global dictation toggle hotkey.-/// Emits `dictation://toggle` to all webviews when the shortcut is pressed.fn is_daemon_mode() -> bool {std::env::args().any(|arg| arg == "daemon" || arg == "--daemon")}diff --git a/crates/openhuman-app/src/mascot_native_window.rs b/crates/openhuman-app/src/mascot_native_window.rsindex 5c27a36ea2..a6ecf99017 100644--- a/crates/openhuman-app/src/mascot_native_window.rs+++ b/crates/openhuman-app/src/mascot_native_window.rs@@ -243,7 +243,7 @@ unsafe fn build_panel(mtm: MainThreadMarker, frame: NSRect) -> Retained<NSPanel>// Float above normal windows AND fullscreen apps. Status-bar level// (25) plus canJoinAllSpaces+transient is the same recipe used by- // the existing `configure_overlay_window_macos` helper.+ // the app's main-window setup.panel.setLevel(25);panel.setCollectionBehavior(NSWindowCollectionBehavior::CanJoinAllSpacesdiff --git a/crates/openhuman-app/src/notch_window.rs b/crates/openhuman-app/src/notch_window.rsindex 4fc3f7202a..126fe95d1b 100644--- a/crates/openhuman-app/src/notch_window.rs+++ b/crates/openhuman-app/src/notch_window.rs@@ -205,7 +205,7 @@ unsafe fn build_panel(mtm: MainThreadMarker, frame: NSRect) -> Retained<NSPanel>// Float above the menu bar. NSStatusWindowLevel = 25, which sits above// NSMainMenuWindowLevel = 24. Same recipe used by the mascot panel and- // the `configure_overlay_window_macos` helper.+ // the app's main-window setup.panel.setLevel(25);panel.setCollectionBehavior(NSWindowCollectionBehavior::CanJoinAllSpaces