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
release-app fix pipe store enable did not refresh - fix macos ffmpeg download
Louis Beaumont467893cf7eee
diff --git a/screenpipe-app-tauri/components/pipe-store.tsx b/screenpipe-app-tauri/components/pipe-store.tsxindex 6b7d89032..07f40c008 100644--- a/screenpipe-app-tauri/components/pipe-store.tsx+++ b/screenpipe-app-tauri/components/pipe-store.tsx@@ -284,12 +284,23 @@ const PipeStore: React.FC = () => {throw new Error(data.error);}+ // Immediately update the local state+ setPipes(prevPipes =>+ prevPipes.map(p =>+ p.id === pipe.id ? { ...p, enabled: !p.enabled } : p+ )+ );++ // If we're in the details view, update the selected pipe too+ setSelectedPipe(prev =>+ prev?.id === pipe.id ? { ...prev, enabled: !prev.enabled } : prev+ );+toast({- title: `${endpoint}ing pipe`,- description: "this may take a few moments...",+ title: `pipe ${endpoint}d`,});- await new Promise((resolve) => setTimeout(resolve, 1000));+ // Still fetch the latest state from the server to ensure consistencyawait fetchInstalledPipes();} catch (error) {console.error(`Failed to ${pipe.enabled ? "disable" : "enable"} pipe:`, error);diff --git a/screenpipe-app-tauri/src-tauri/Cargo.lock b/screenpipe-app-tauri/src-tauri/Cargo.lockindex cd5355983..9d4ab556e 100755--- a/screenpipe-app-tauri/src-tauri/Cargo.lock+++ b/screenpipe-app-tauri/src-tauri/Cargo.lock@@ -4713,7 +4713,7 @@ dependencies = [[[package]]name = "screenpipe-app"-version = "0.14.33"+version = "0.14.35"dependencies = ["anyhow","axum",diff --git a/screenpipe-app-tauri/src-tauri/Cargo.toml b/screenpipe-app-tauri/src-tauri/Cargo.tomlindex e0da1af28..2e6fbb6ad 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.14.34"+version = "0.14.35"description = ""authors = ["you"]license = ""diff --git a/screenpipe-core/src/ffmpeg.rs b/screenpipe-core/src/ffmpeg.rsindex 1073f0615..b947a931c 100644--- a/screenpipe-core/src/ffmpeg.rs+++ b/screenpipe-core/src/ffmpeg.rs@@ -31,6 +31,21 @@ fn find_ffmpeg_path_internal() -> Option<PathBuf> {}debug!("ffmpeg not found in PATH");+ // Check in $HOME/.local/bin on macOS+ #[cfg(target_os = "macos")]+ {+ if let Ok(home) = std::env::var("HOME") {+ let local_bin = PathBuf::from(home).join(".local").join("bin");+ debug!("Checking $HOME/.local/bin: {:?}", local_bin);+ let ffmpeg_in_local_bin = local_bin.join(EXECUTABLE_NAME);+ if ffmpeg_in_local_bin.exists() {+ debug!("Found ffmpeg in $HOME/.local/bin: {:?}", ffmpeg_in_local_bin);+ return Some(ffmpeg_in_local_bin);+ }+ debug!("ffmpeg not found in $HOME/.local/bin");+ }+ }+// Check in current working directoryif let Ok(cwd) = std::env::current_dir() {debug!("Current working directory: {:?}", cwd);