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

release-app

Louis Beaumont95ab3720a299
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.toml
index dda8ec5c4..89eb2a766 100644
--- a/screenpipe-app-tauri/src-tauri/Cargo.toml
+++ b/screenpipe-app-tauri/src-tauri/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "screenpipe-app"
-version = "0.37.2"
+version = "0.37.3"
description = ""
authors = ["you"]
license = ""
diff --git a/screenpipe-server/src/db.rs b/screenpipe-server/src/db.rs
index b7a0feea2..18df86fbc 100644
--- a/screenpipe-server/src/db.rs
+++ b/screenpipe-server/src/db.rs
@@ -1031,10 +1031,10 @@ impl DatabaseManager {
r#"SELECT COUNT(DISTINCT ui_monitoring.id)
FROM {table}
WHERE {match_condition}
- AND (?2 IS NULL OR timestamp >= ?2)
- AND (?3 IS NULL OR timestamp <= ?3)
- AND (?4 IS NULL OR COALESCE(text_length, LENGTH(text_output)) >= ?4)
- AND (?5 IS NULL OR COALESCE(text_length, LENGTH(text_output)) <= ?5)"#,
+ AND (?2 IS NULL OR ui_monitoring.timestamp >= ?2)
+ AND (?3 IS NULL OR ui_monitoring.timestamp <= ?3)
+ AND (?4 IS NULL OR COALESCE(ui_monitoring.text_length, LENGTH(ui_monitoring.text_output)) >= ?4)
+ AND (?5 IS NULL OR COALESCE(ui_monitoring.text_length, LENGTH(ui_monitoring.text_output)) <= ?5)"#,
table = if ui_fts_query.is_empty() {
"ui_monitoring"
} else {