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: map pi::run result to (), remove unused imports
Louis Beaumont2dca908f9552
diff --git a/screenpipe-app-tauri/src-tauri/Cargo.lock b/screenpipe-app-tauri/src-tauri/Cargo.lockindex b83ac85ee..53bc01b96 100755--- a/screenpipe-app-tauri/src-tauri/Cargo.lock+++ b/screenpipe-app-tauri/src-tauri/Cargo.lock@@ -6733,7 +6733,7 @@ checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"[[package]]name = "screenpipe-app"-version = "2.0.206"+version = "2.0.207"dependencies = ["anyhow","async-stream",diff --git a/screenpipe-app-tauri/src-tauri/src/obsidian_sync.rs b/screenpipe-app-tauri/src-tauri/src/obsidian_sync.rsindex bd8dd064f..498dec5e0 100644--- a/screenpipe-app-tauri/src-tauri/src/obsidian_sync.rs+++ b/screenpipe-app-tauri/src-tauri/src/obsidian_sync.rs@@ -8,9 +8,9 @@ use serde::{Deserialize, Serialize};use specta::Type;use std::path::PathBuf;use std::sync::Arc;-use tauri::{AppHandle, Emitter, Manager};+use tauri::{AppHandle, Emitter};use tokio::sync::Mutex;-use tracing::{debug, error, info, warn};+use tracing::{debug, info, warn};/// Obsidian sync settings stored in the app store#[derive(Debug, Clone, Serialize, Deserialize, Type, Default)]@@ -311,7 +311,7 @@ pub async fn obsidian_run_sync(let prompt = build_prompt(&settings, &start_time_str, &end_time_str);// Run opencode- let result = pi::run(&prompt, user_token.as_deref()).await;+ let result = pi::run(&prompt, user_token.as_deref()).await.map(|_| ());// Update status based on result{@@ -436,7 +436,7 @@ async fn run_scheduled_sync(let start_time = end_time - chrono::Duration::hours(settings.sync_hours as i64);let prompt = build_prompt(settings, &start_time.to_rfc3339(), &end_time.to_rfc3339());- let result = pi::run(&prompt, user_token).await;+ let result = pi::run(&prompt, user_token).await.map(|_| ());// Update status{