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
feat: add sentry plugin (#1179)
ologbonowiwi24ba4686321a
diff --git a/screenpipe-app-tauri/bun.lockb b/screenpipe-app-tauri/bun.lockbindex 25dc0d1dc..c2b0be70b 100755Binary files a/screenpipe-app-tauri/bun.lockb and b/screenpipe-app-tauri/bun.lockb differdiff --git a/screenpipe-app-tauri/package.json b/screenpipe-app-tauri/package.jsonindex c30698710..c1f8566d8 100644--- a/screenpipe-app-tauri/package.json+++ b/screenpipe-app-tauri/package.json@@ -70,6 +70,7 @@"remark-math": "^6.0.0","tailwind-merge": "^2.4.0","tailwindcss-animate": "^1.0.7",+ "tauri-plugin-sentry-api": "^0.4.1","tauri-plugin-store-api": "^0.0.0","use-debounce": "^10.0.4","use-immer": "^0.11.0",diff --git a/screenpipe-app-tauri/src-tauri/src/main.rs b/screenpipe-app-tauri/src-tauri/src/main.rsindex 0cd400272..6abfcb3a8 100755--- a/screenpipe-app-tauri/src-tauri/src/main.rs+++ b/screenpipe-app-tauri/src-tauri/src/main.rs@@ -64,6 +64,7 @@ use std::collections::HashMap;use tauri::AppHandle;use tauri_plugin_global_shortcut::GlobalShortcutExt;use tauri_plugin_global_shortcut::{Code, Modifiers, Shortcut};+use tauri_plugin_sentry::{sentry};mod health;use health::start_health_check;pub struct SidecarState(Arc<tokio::sync::Mutex<Option<SidecarManager>>>);@@ -585,13 +586,13 @@ async fn main() {let _ = fix_path_env::fix();// Initialize Sentry early- // let sentry_guard = sentry::init((- // "https://cf682877173997afc8463e5ca2fbe3c7@o4507617161314304.ingest.us.sentry.io/4507617170161664", // Replace with your actual Sentry DSN- // sentry::ClientOptions {- // release: sentry::release_name!(),- // ..Default::default()- // },- // ));+ let sentry_guard = sentry::init((+ "https://cf682877173997afc8463e5ca2fbe3c7@o4507617161314304.ingest.us.sentry.io/4507617170161664", // Replace with your actual Sentry DSN+ sentry::ClientOptions {+ release: sentry::release_name!(),+ ..Default::default()+ },+ ));// Set permanent OLLAMA_ORIGINS env var on Windows if not present#[cfg(target_os = "windows")]@@ -654,7 +655,7 @@ async fn main() {})).plugin(tauri_plugin_updater::Builder::new().build()).plugin(tauri_plugin_global_shortcut::Builder::new().build())- // .plugin(tauri_plugin_sentry::init(&sentry_guard))+ .plugin(tauri_plugin_sentry::init(&sentry_guard)).manage(sidecar_state).invoke_handler(tauri::generate_handler![spawn_screenpipe,