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
Bump app to v2.3.12, Bump CLI to v0.3.250
Louis Beaumonte36c678f05c2
diff --git a/Cargo.lock b/Cargo.lockindex ad14cbcdb..02ed43326 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -6731,7 +6731,7 @@ dependencies = [[[package]]name = "screenpipe-audio"-version = "0.3.248"+version = "0.3.250"dependencies = ["anyhow","audiopipe",@@ -6791,7 +6791,7 @@ dependencies = [[[package]]name = "screenpipe-config"-version = "0.3.248"+version = "0.3.250"dependencies = ["dirs 6.0.0","serde",@@ -6804,7 +6804,7 @@ dependencies = [[[package]]name = "screenpipe-connect"-version = "0.3.248"+version = "0.3.250"dependencies = ["anyhow","async-trait",@@ -6833,7 +6833,7 @@ dependencies = [[[package]]name = "screenpipe-core"-version = "0.3.248"+version = "0.3.250"dependencies = ["accessibility","accessibility-sys",@@ -6878,7 +6878,7 @@ dependencies = [[[package]]name = "screenpipe-db"-version = "0.3.248"+version = "0.3.250"dependencies = ["anyhow","chrono",@@ -6904,7 +6904,7 @@ dependencies = [[[package]]name = "screenpipe-engine"-version = "0.3.248"+version = "0.3.250"dependencies = ["anyhow","async-trait",@@ -6974,7 +6974,7 @@ dependencies = [[[package]]name = "screenpipe-events"-version = "0.3.248"+version = "0.3.250"dependencies = ["anyhow","chrono",@@ -6992,7 +6992,7 @@ dependencies = [[[package]]name = "screenpipe-screen"-version = "0.3.248"+version = "0.3.250"dependencies = ["accessibility-sys","anyhow",@@ -7032,7 +7032,7 @@ dependencies = [[[package]]name = "screenpipe-vault"-version = "0.3.248"+version = "0.3.250"dependencies = ["argon2","chacha20poly1305",diff --git a/Cargo.toml b/Cargo.tomlindex 8630868b2..052d18987 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -6,7 +6,7 @@ exclude = ["apps/screenpipe-app-tauri/src-tauri", "crates/screenpipe-integrationresolver = "2"[workspace.package]-version = "0.3.249"+version = "0.3.250"authors = ["louis030195 <[email protected]>"]description = ""repository = "https://github.com/screenpipe/screenpipe"diff --git a/apps/screenpipe-app-tauri/app/home/page.tsx b/apps/screenpipe-app-tauri/app/home/page.tsxindex f01907eaf..4d01b2ec7 100644--- a/apps/screenpipe-app-tauri/app/home/page.tsx+++ b/apps/screenpipe-app-tauri/app/home/page.tsx@@ -53,6 +53,7 @@ import { NotificationsSettings } from "@/components/settings/notifications-settiimport { UsageSection } from "@/components/settings/usage-section";import { SpeakersSection } from "@/components/settings/speakers-section";import { StandaloneChat } from "@/components/standalone-chat";+import { NotificationBell } from "@/components/notification-bell";import Timeline from "@/components/rewind/timeline";import { useQueryState } from "nuqs";import { emit, listen } from "@tauri-apps/api/event";@@ -466,6 +467,7 @@ function SettingsPageContent() {<div className={cn("flex items-center", sidebarCollapsed ? "justify-center" : "justify-between")}>{!sidebarCollapsed && <h1 className={cn("text-lg font-bold", isTranslucent ? "vibrant-heading" : "text-foreground")}>screenpipe</h1>}<div className="flex items-center gap-1.5">+ <NotificationBell /><buttononClick={toggleMeeting}disabled={meetingLoading}diff --git a/apps/screenpipe-app-tauri/app/overlay/page.tsx b/apps/screenpipe-app-tauri/app/overlay/page.tsxindex 8a4376884..9a8bf611f 100644--- a/apps/screenpipe-app-tauri/app/overlay/page.tsx+++ b/apps/screenpipe-app-tauri/app/overlay/page.tsx@@ -25,7 +25,7 @@ import Timeline from "@/components/rewind/timeline";import { Button } from "@/components/ui/button";import { Separator } from "@/components/ui/separator";import { RefreshCw, AlertTriangle, WifiOff, Upload, Loader, Check, Calendar, X } from "lucide-react";-import { NotificationBell } from "@/components/notification-bell";+import { open as openUrl } from "@tauri-apps/plugin-shell";import { readTextFile } from "@tauri-apps/plugin-fs";import { getVersion } from "@tauri-apps/api/app";@@ -346,11 +346,6 @@ export default function OverlayPage() {{/* Transparent titlebar area - no drag region to prevent accidental window moves */}<div className="h-8 bg-gradient-to-b from-black/15 to-transparent w-full fixed top-0 left-0 z-[1000] pointer-events-none" />- {/* Notification bell - top right */}- <div className="fixed top-2 right-3 z-[1001]">- <NotificationBell />- </div>-<NotificationHandler /><PermissionBanner />{/* Only render content after settings are loaded */}diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock b/apps/screenpipe-app-tauri/src-tauri/Cargo.lockindex 223d52292..7b0b44521 100644--- a/apps/screenpipe-app-tauri/src-tauri/Cargo.lock+++ b/apps/screenpipe-app-tauri/src-tauri/Cargo.lock@@ -9642,7 +9642,7 @@ dependencies = [[[package]]name = "screenpipe-app"-version = "2.3.10"+version = "2.3.11"dependencies = ["anyhow","arboard",@@ -9744,7 +9744,7 @@ dependencies = [[[package]]name = "screenpipe-audio"-version = "0.3.248"+version = "0.3.249"dependencies = ["anyhow","audiopipe",@@ -9799,7 +9799,7 @@ dependencies = [[[package]]name = "screenpipe-config"-version = "0.3.248"+version = "0.3.249"dependencies = ["dirs 6.0.0","serde",@@ -9811,7 +9811,7 @@ dependencies = [[[package]]name = "screenpipe-connect"-version = "0.3.248"+version = "0.3.249"dependencies = ["anyhow","async-trait",@@ -9840,7 +9840,7 @@ dependencies = [[[package]]name = "screenpipe-core"-version = "0.3.248"+version = "0.3.249"dependencies = ["accessibility","accessibility-sys",@@ -9884,7 +9884,7 @@ dependencies = [[[package]]name = "screenpipe-db"-version = "0.3.248"+version = "0.3.249"dependencies = ["anyhow","chrono",@@ -9909,7 +9909,7 @@ dependencies = [[[package]]name = "screenpipe-engine"-version = "0.3.248"+version = "0.3.249"dependencies = ["anyhow","async-trait",@@ -9972,7 +9972,7 @@ dependencies = [[[package]]name = "screenpipe-events"-version = "0.3.248"+version = "0.3.249"dependencies = ["anyhow","chrono",@@ -9988,7 +9988,7 @@ dependencies = [[[package]]name = "screenpipe-screen"-version = "0.3.248"+version = "0.3.249"dependencies = ["accessibility-sys","anyhow",@@ -10024,7 +10024,7 @@ dependencies = [[[package]]name = "screenpipe-vault"-version = "0.3.248"+version = "0.3.249"dependencies = ["argon2","chacha20poly1305",diff --git a/apps/screenpipe-app-tauri/src-tauri/Cargo.toml b/apps/screenpipe-app-tauri/src-tauri/Cargo.tomlindex d3bdd224b..3d81ca699 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.11"+version = "2.3.12"description = "24/7 memory for your desktop. 100% local."authors = ["you"]license = ""diff --git a/crates/screenpipe-a11y/src/budget.rs b/crates/screenpipe-a11y/src/budget.rsindex 9a5e6a2a5..ed8a0c193 100644--- a/crates/screenpipe-a11y/src/budget.rs+++ b/crates/screenpipe-a11y/src/budget.rs@@ -20,7 +20,7 @@ pub enum WalkTier {Moderate,/// 150–250ms avg — significantly reducedHeavy,- /// > 250ms avg or repeated truncations — minimal walking+ /// > 250ms avg or repeated truncations — minimal walking (60s interval)Critical,}@@ -165,7 +165,7 @@ impl AppWalkBudget {Duration::from_millis(150),),WalkTier::Critical => (- Duration::from_secs(15),+ Duration::from_secs(60),500usize,Duration::from_millis(100),),diff --git a/crates/screenpipe-engine/src/event_driven_capture.rs b/crates/screenpipe-engine/src/event_driven_capture.rsindex f228dfb96..c98d00cc6 100644--- a/crates/screenpipe-engine/src/event_driven_capture.rs+++ b/crates/screenpipe-engine/src/event_driven_capture.rs@@ -774,12 +774,22 @@ async fn do_capture(// reduced max_nodes and timeout to avoid blocking their UI thread.let mut config = tree_walker_config.clone();- // Check if the trigger carries an app name we can use for pre-walk budgeting.- // For triggers without an app name, the walk runs at current config limits- // and the budget is updated afterwards for future walks.+ // Get the focused app name for budget decisions. AppSwitch triggers carry+ // the name directly; for all other triggers (visual change, idle, manual)+ // we do a lightweight AX query to get the focused app. This ensures the+ // walk budget applies to ALL captures, not just app switches.let trigger_app = match trigger {CaptureTrigger::AppSwitch { app_name } => Some(app_name.clone()),- _ => None,+ _ => {+ #[cfg(target_os = "macos")]+ {+ get_focused_app_name_lightweight()+ }+ #[cfg(not(target_os = "macos"))]+ {+ None+ }+ }};use screenpipe_a11y::tree::TreeWalkResult;@@ -1071,3 +1081,18 @@ mod tests {assert!((config.visual_change_threshold - 0.05).abs() < f64::EPSILON);}}++/// Cheaply get the focused app name via AX APIs without walking the tree.+/// Used to apply the walk budget to non-AppSwitch triggers (visual change,+/// idle, manual) so that expensive apps like Chrome get throttled even+/// when the capture wasn't triggered by an app switch.+#[cfg(target_os = "macos")]+fn get_focused_app_name_lightweight() -> Option<String> {+ use cidre::{ax, ns};+ let sys = ax::UiElement::sys_wide();+ let app = sys.focused_app().ok()?;+ let pid = app.pid().ok()?;+ ns::RunningApp::with_pid(pid)+ .and_then(|app| app.localized_name())+ .map(|s| s.to_string())+}