Skip to content

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

fix(notifications): restore native panel for notifications with actions

Louis Beaumontd6a87ae82861
diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.toml
index 2757c57fa..a666c79b7 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.3.107"
+version = "2.3.108"
description = "24/7 memory for your desktop. 100% local."
authors = ["you"]
license = ""
diff --git a/apps/screenpipe-app-tauri/src-tauri/swift/notification_panel.swift b/apps/screenpipe-app-tauri/src-tauri/swift/notification_panel.swift
index fddfa8be2..32b5f2429 100644
--- a/apps/screenpipe-app-tauri/src-tauri/swift/notification_panel.swift
+++ b/apps/screenpipe-app-tauri/src-tauri/swift/notification_panel.swift
@@ -10,7 +10,13 @@ import SwiftUI
struct NotificationAction: Codable {
let label: String
- let action: String
+ // `action` was a required legacy field; many current callers send `id` + `type`
+ // instead and omit it entirely, which was failing JSON decode and forcing
+ // every notification with actions to fall back to the webview panel.
+ // The field is never read by the Swift side — only `id`, `type`, `primary`,
+ // `url`, `label` are — so making it optional restores native rendering
+ // without breaking the legacy callers that still send it.
+ var action: String?
var primary: Bool?
var id: String?
var type: String?