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(ci): add missing Linux deps and fix macOS aarch64 whisper build
Louis Beaumonte76999718dd7
diff --git a/.github/workflows/release-cli.yml b/.github/workflows/release-cli.ymlindex 17ea2e8a3..5a599ce07 100644--- a/.github/workflows/release-cli.yml+++ b/.github/workflows/release-cli.yml@@ -73,6 +73,11 @@ jobs:export PKG_CONFIG_PATH="/usr/local/opt/ffmpeg/lib/pkgconfig:$PKG_CONFIG_PATH"export PKG_CONFIG_ALLOW_CROSS=1export RUSTFLAGS="-C link-arg=-Wl,-rpath,@executable_path/../lib -C link-arg=-Wl,-rpath,@loader_path/../lib"+ # Disable i8mm feature for aarch64 to fix whisper-rs-sys compilation+ if [[ "${{ matrix.target }}" == "aarch64-apple-darwin" ]]; then+ export CFLAGS="-DGGML_USE_CPU_HBM=OFF -DGGML_CPU_ARM_ARCH= "+ export CXXFLAGS="-DGGML_USE_CPU_HBM=OFF -DGGML_CPU_ARM_ARCH= "+ ficargo build --release --features metal --target ${{ matrix.target }}- name: Set version@@ -258,7 +263,11 @@ jobs:libxrandr-dev \libxinerama-dev \libxcursor-dev \- libxdo-dev+ libxdo-dev \+ libwayland-dev \+ libpipewire-0.3-dev \+ libgbm-dev \+ libegl-dev- name: Install LLVM and Clanguses: KyleMayes/install-llvm-action@v1diff --git a/screenpipe-app-tauri/components/settings/recording-settings.tsx b/screenpipe-app-tauri/components/settings/recording-settings.tsxindex 5704a8927..2f56b60de 100644--- a/screenpipe-app-tauri/components/settings/recording-settings.tsx+++ b/screenpipe-app-tauri/components/settings/recording-settings.tsx@@ -1529,8 +1529,7 @@ export function RecordingSettings() {<div className="space-y-1"><Label htmlFor="analyticsEnabled">Enable analytics</Label><p className="text-sm text-muted-foreground">- Help improve Screenpipe by sharing anonymous usage data and error reports.- You can also set SCREENPIPE_DISABLE_TELEMETRY=1 env var to fully disable.+ Help improve Screenpipe by sharing anonymous usage data and error reports</p></div><Switchdiff --git a/screenpipe-app-tauri/src-tauri/Cargo.lock b/screenpipe-app-tauri/src-tauri/Cargo.lockindex be2093036..e116b9cb9 100755--- a/screenpipe-app-tauri/src-tauri/Cargo.lock+++ b/screenpipe-app-tauri/src-tauri/Cargo.lock@@ -5629,7 +5629,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"[[package]]name = "screenpipe-app"-version = "2.0.62"+version = "2.0.63"dependencies = ["anyhow","async-stream",diff --git a/screenpipe-app-tauri/src-tauri/src/main.rs b/screenpipe-app-tauri/src-tauri/src/main.rsindex b9103efea..b73277a54 100755--- a/screenpipe-app-tauri/src-tauri/src/main.rs+++ b/screenpipe-app-tauri/src-tauri/src/main.rs@@ -685,10 +685,13 @@ async fn is_server_running(app: AppHandle) -> Result<bool, String> {async fn main() {let _ = fix_path_env::fix();- // Initialize Sentry only if telemetry is not disabled via env var- // Users can set SCREENPIPE_DISABLE_TELEMETRY=1 to opt out- let telemetry_disabled = env::var("SCREENPIPE_DISABLE_TELEMETRY")- .map(|v| v == "1" || v.to_lowercase() == "true")+ // Check if telemetry is disabled via store setting (analyticsEnabled)+ let telemetry_disabled = dirs::data_local_dir()+ .map(|dir| dir.join("screenpipe").join("store.bin"))+ .and_then(|path| std::fs::read_to_string(&path).ok())+ .and_then(|contents| serde_json::from_str::<serde_json::Value>(&contents).ok())+ .and_then(|data| data.get("analyticsEnabled").and_then(|v| v.as_bool()))+ .map(|enabled| !enabled).unwrap_or(false);let sentry_guard = if !telemetry_disabled {@@ -700,7 +703,6 @@ async fn main() {},)))} else {- info!("Sentry telemetry disabled via SCREENPIPE_DISABLE_TELEMETRY env var");None};