YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
fix(macos): remove NSNonactivatingPanelMask from window mode, restore CSS
Louis Beaumont102219f690f0
diff --git a/apps/screenpipe-app-tauri/app/globals.css b/apps/screenpipe-app-tauri/app/globals.cssindex 5e15ecae2..6c863b9db 100644--- a/apps/screenpipe-app-tauri/app/globals.css+++ b/apps/screenpipe-app-tauri/app/globals.css@@ -232,9 +232,6 @@/* cursor: default; */}- /* Explicit overrides for form inputs — the :not() exclusion above is not- sufficient in WebKit when parent elements have user-select:none, which- can propagate and block keyboard input in WKWebView edge cases. */input,textarea,[contenteditable],diff --git a/apps/screenpipe-app-tauri/lib/utils/tauri.ts b/apps/screenpipe-app-tauri/lib/utils/tauri.tsindex dbd59b4c5..90d6afcd0 100644--- a/apps/screenpipe-app-tauri/lib/utils/tauri.ts+++ b/apps/screenpipe-app-tauri/lib/utils/tauri.ts@@ -293,6 +293,22 @@ async hideShortcutReminder() : Promise<Result<null, string>> {else return { status: "error", error: e as any };}},+async showNotificationPanel(payload: string) : Promise<Result<null, string>> {+ try {+ return { status: "ok", data: await TAURI_INVOKE("show_notification_panel", { payload }) };+} catch (e) {+ if(e instanceof Error) throw e;+ else return { status: "error", error: e as any };+}+},+async hideNotificationPanel() : Promise<Result<null, string>> {+ try {+ return { status: "ok", data: await TAURI_INVOKE("hide_notification_panel") };+} catch (e) {+ if(e instanceof Error) throw e;+ else return { status: "error", error: e as any };+}+},/*** Register window-specific shortcuts (Escape, search shortcut) when main window is visible* These should only be active when the overlay is open to avoid blocking other apps@@ -578,8 +594,8 @@ async piNewSession(sessionId: string | null) : Promise<Result<null, string>> {}},/**- * Update Pi config files (models.json / auth.json) without restarting the process.- * Call this when the user changes preset — Pi picks up the new config on next prompt.+ * Update Pi config and restart the chat session so the new model takes effect.+ * Without restart, Pi keeps using the provider/model from its original CLI args.*/async piUpdateConfig(userToken: string | null, providerConfig: PiProviderConfig | null) : Promise<Result<null, string>> {try {diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.tomlindex f737d61b8..0d198e533 100644--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml@@ -1,6 +1,6 @@[package]name = "screenpipe-app"-version = "2.1.8"+version = "2.1.9"description = "24/7 memory for your desktop. 100% local."authors = ["you"]license = ""diff --git a/apps/screenpipe-app-tauri/src-tauri/src/window_api.rs b/apps/screenpipe-app-tauri/src-tauri/src/window_api.rsindex 5714cb19a..c6a5f4089 100644--- a/apps/screenpipe-app-tauri/src-tauri/src/window_api.rs+++ b/apps/screenpipe-app-tauri/src-tauri/src/window_api.rs@@ -1090,13 +1090,9 @@ impl ShowRewindWindow {// Same level as overlay — above fullscreenpanel.set_level(1001);panel.released_when_closed(true);- // NonActivatingPanel so panel works on fullscreen Spaces- // without activating the app (which causes Space switching).- // Preserve existing style bits (titled, closable, resizable).- unsafe {- let current: i32 = msg_send![&*panel, styleMask];- panel.set_style_mask(current | 128);- }+ // Do NOT set NSNonactivatingPanelMask (128) for window mode.+ // That mask prevents the app from activating, which breaks+ // keyboard input in WKWebView entirely.// Don't hide when app deactivatespanel.set_hides_on_deactivate(false);// Enable dragging by title bar (normal window behavior)