Skip to content

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

chore: cargo fmt across all crates

Louis Beaumontd8bfd1ac8352
diff --git a/apps/screenpipe-app-tauri/src-tauri/build.rs b/apps/screenpipe-app-tauri/src-tauri/build.rs
index 7955ed1da..d140c816a 100644
--- a/apps/screenpipe-app-tauri/src-tauri/build.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/build.rs
@@ -388,7 +388,10 @@ fn main() {
}
} else {
let size = std::fs::metadata(&metallib).map(|m| m.len()).unwrap_or(0);
- println!("cargo:warning=mlx-metallib: already present ({} MB)", size / 1_000_000);
+ println!(
+ "cargo:warning=mlx-metallib: already present ({} MB)",
+ size / 1_000_000
+ );
}
}
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/embedded_server.rs b/apps/screenpipe-app-tauri/src-tauri/src/embedded_server.rs
index 040380de9..6cb454f8f 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/embedded_server.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/embedded_server.rs
@@ -507,8 +507,7 @@ pub async fn start_embedded_server(
let local_port = config.port;
tokio::spawn(async move {
screenpipe_engine::workflow_classifier::start_workflow_classifier(
- screenpipe_engine::workflow_classifier::DEFAULT_CLASSIFIER_URL
- .to_string(),
+ screenpipe_engine::workflow_classifier::DEFAULT_CLASSIFIER_URL.to_string(),
token_for_classifier,
local_port,
std::time::Duration::from_secs(30),
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/main.rs b/apps/screenpipe-app-tauri/src-tauri/src/main.rs
index 8ac494ad7..f314245c0 100755
--- a/apps/screenpipe-app-tauri/src-tauri/src/main.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/main.rs
@@ -6,7 +6,6 @@
#![allow(deprecated)] // cocoa/objc crate deprecations — will migrate to objc2 later
#![allow(unused_imports)]
-
use analytics::AnalyticsManager;
use commands::show_main_window;
use serde_json::json;
@@ -42,7 +41,6 @@ mod icons;
use crate::analytics::start_analytics;
mod calendar;
mod chatgpt_oauth;
-mod oauth;
#[allow(deprecated)]
mod commands;
mod disk_usage;
@@ -53,6 +51,7 @@ mod ics_calendar;
mod livetext;
#[cfg(target_os = "macos")]
mod livetext_ffi;
+mod oauth;
mod permissions;
mod pi;
mod pi_command_queue;
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/notifications/routes.rs b/apps/screenpipe-app-tauri/src-tauri/src/notifications/routes.rs
index 3b8e54cc6..10e8a8643 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/notifications/routes.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/notifications/routes.rs
@@ -35,10 +35,7 @@ pub async fn send_notification(
// Persist to disk before attempting to show — survives crashes/restarts
store::push(NotificationHistoryEntry {
id: panel_id.clone(),
- notification_type: panel_payload["type"]
- .as_str()
- .unwrap_or("pipe")
- .to_string(),
+ notification_type: panel_payload["type"].as_str().unwrap_or("pipe").to_string(),
title: payload.title.clone(),
body: payload.body.clone(),
pipe_name: None,
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/oauth.rs b/apps/screenpipe-app-tauri/src-tauri/src/oauth.rs
index d2e19fbe1..334561d25 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/oauth.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/oauth.rs
@@ -8,8 +8,8 @@
//! screenpipe-connect is automatically handled by these commands.
//! Adding a new OAuth provider requires zero changes here.
-use base64::Engine;
use crate::store::SettingsStore;
+use base64::Engine;
use screenpipe_connect::connections::all_integrations;
use screenpipe_connect::oauth::{self, OAUTH_REDIRECT_URI, PENDING_OAUTH};
use serde::{Deserialize, Serialize};
@@ -74,8 +74,8 @@ pub async fn oauth_connect(
let redirect_uri = config.redirect_uri_override.unwrap_or(OAUTH_REDIRECT_URI);
- let mut auth_url = reqwest::Url::parse(config.auth_url)
- .map_err(|e| format!("bad auth_url: {}", e))?;
+ let mut auth_url =
+ reqwest::Url::parse(config.auth_url).map_err(|e| format!("bad auth_url: {}", e))?;
{
let mut pairs = auth_url.query_pairs_mut();
pairs
@@ -139,9 +139,7 @@ pub async fn oauth_connect(
}
// Auto-derive instance name from email in token response (for Google)
- let effective_instance = instance.or_else(|| {
- token_data["email"].as_str().map(String::from)
- });
+ let effective_instance = instance.or_else(|| token_data["email"].as_str().map(String::from));
// If no instance was explicitly provided and we couldn't derive one from the
// token, always store as the default instance (None) to avoid creating
@@ -162,7 +160,10 @@ pub async fn oauth_connect(
.or_else(|| token_data["name"].as_str())
.map(String::from);
- info!("OAuth connected: {} (instance={:?}, display={:?})", integration_id, store_instance, display_name);
+ info!(
+ "OAuth connected: {} (instance={:?}, display={:?})",
+ integration_id, store_instance, display_name
+ );
Ok(OAuthStatus {
connected: true,
@@ -210,14 +211,19 @@ pub async fn oauth_disconnect(
) -> Result<bool, String> {
oauth::delete_oauth_token_instance(&integration_id, instance.as_deref())
.map_err(|e| format!("failed to remove token: {}", e))?;
- info!("OAuth disconnected: {} (instance={:?})", integration_id, instance);
+ info!(
+ "OAuth disconnected: {} (instance={:?})",
+ integration_id, instance
+ );
Ok(true)
}
/// List all connected OAuth instances for a given integration.
#[tauri::command]
#[specta::specta]
-pub async fn oauth_list_instances(integration_id: String) -> Result<Vec<OAuthInstanceInfo>, String> {
+pub async fn oauth_list_instances(
+ integration_id: String,
+) -> Result<Vec<OAuthInstanceInfo>, String> {
let instances = oauth::list_oauth_instances(&integration_id);
let mut result = Vec::new();
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/permissions.rs b/apps/screenpipe-app-tauri/src-tauri/src/permissions.rs
index aab5b400f..775d009ed 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/permissions.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/permissions.rs
@@ -547,7 +547,7 @@ pub fn request_browsers_automation_permission(_app: tauri::AppHandle) -> bool {
#[serde(rename_all = "camelCase")]
pub struct BrowserAutomationStatus {
pub name: String,
- pub status: String, // "granted" | "denied" | "not_asked"
+ pub status: String, // "granted" | "denied" | "not_asked"
pub running: bool,
}
@@ -603,9 +603,7 @@ pub fn request_single_browser_automation(browser_name: String) -> String {
{
use std::process::Command;
- let browser = CHROMIUM_BROWSERS
- .iter()
- .find(|b| b.name == browser_name);
+ let browser = CHROMIUM_BROWSERS.iter().find(|b| b.name == browser_name);
let Some(browser) = browser else {
return "not_asked".to_string();
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/pi.rs b/apps/screenpipe-app-tauri/src-tauri/src/pi.rs
index 4ecc3657c..818851f57 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/pi.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/pi.rs
@@ -439,14 +439,9 @@ fn seed_pi_package_json(install_dir: &std::path::Path) {
}
// Ensure @anthropic-ai/sdk is a direct dependency (Windows bun fix)
if !contents.contains("@anthropic-ai/sdk") {
- let deps = obj
- .entry("dependencies")
- .or_insert_with(|| json!({}));
+ let deps = obj.entry("dependencies").or_insert_with(|| json!({}));
if let Some(deps_obj) = deps.as_object_mut() {
- deps_obj.insert(
- "@anthropic-ai/sdk".to_string(),
- json!("^0.73.0"),
- );
+ deps_obj.insert("@anthropic-ai/sdk".to_string(), json!("^0.73.0"));
}
changed = true;
}
@@ -800,13 +795,19 @@ fn ensure_pi_config(
} else {
json!({"providers": {}})
};
- if !models_config.get("providers").and_then(|p| p.as_object()).is_some() {
+ if !models_config
+ .get("providers")
+ .and_then(|p| p.as_object())
+ .is_some()
+ {
models_config = json!({"providers": {}});
}
// Merge new providers into existing ones (add/update, don't remove others)
if let (Some(existing), Some(new)) = (
- models_config.get_mut("providers").and_then(|p| p.as_object_mut()),
+ models_config
+ .get_mut("providers")
+ .and_then(|p| p.as_object_mut()),
new_providers.get("providers").and_then(|p| p.as_object()),
) {
for (k, v) in new {
@@ -1140,14 +1141,13 @@ pub async fn pi_start_inner(
#[cfg(windows)]
let new_path = {
let mut path = new_path;
- let bash_result = tokio::task::spawn_blocking(
- screenpipe_core::agents::pi::ensure_bash_available,
- )
- .await
- .unwrap_or_else(|e| {
- warn!("bash setup task panicked (non-fatal): {:?}", e);
- None
- });
+ let bash_result =
+ tokio::task::spawn_blocking(screenpipe_core::agents::pi::ensure_bash_available)
+ .await
+ .unwrap_or_else(|e| {
+ warn!("bash setup task panicked (non-fatal): {:?}", e);
+ None
+ });
match bash_result {
Some(bash_dir) => {
// Also add the usr/bin dir which has common unix utils (grep, cat, etc.)
@@ -1845,8 +1845,8 @@ pub fn ensure_pi_installed_background() {
.flatten()
.unwrap_or_default();
let needs_lru_fix = !pkg_contents.is_empty() && !pkg_contents.contains("overrides");
- let needs_anthropic_sdk = !pkg_contents.is_empty()
- && !pkg_contents.contains("@anthropic-ai/sdk");
+ let needs_anthropic_sdk =
+ !pkg_contents.is_empty() && !pkg_contents.contains("@anthropic-ai/sdk");
let needs_upgrade = !is_local_pi_version_current(&install_dir);
if needs_lru_fix || needs_anthropic_sdk || needs_upgrade {
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/window/mod.rs b/apps/screenpipe-app-tauri/src-tauri/src/window/mod.rs
index 8f8f69b6d..d387322a1 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/window/mod.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/window/mod.rs
@@ -35,14 +35,14 @@ pub fn finalize_webview_window(window: tauri::WebviewWindow) -> tauri::WebviewWi
#[allow(unused_imports)]
pub use util::screen_aware_size;
+#[cfg(target_os = "macos")]
+pub use content_process::setup_content_process_handler;
#[cfg(target_os = "macos")]
#[allow(unused_imports)]
pub use first_responder::make_nswindow_webview_first_responder;
#[cfg(target_os = "macos")]
pub use first_responder::make_webview_first_responder;
#[cfg(target_os = "macos")]
-pub use content_process::setup_content_process_handler;
-#[cfg(target_os = "macos")]
pub use focus::clear_frontmost_app;
#[cfg(target_os = "macos")]
#[allow(unused_imports)]
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/window/show.rs b/apps/screenpipe-app-tauri/src-tauri/src/window/show.rs
index ec950bc34..b34e17a05 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/window/show.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/window/show.rs
@@ -996,10 +996,7 @@ impl ShowRewindWindow {
.max_inner_size(logical_size.width, logical_size.height)
.position(position.x as f64, position.y as f64)
.on_page_load(move |win, payload| {
- if matches!(
- payload.event(),
- tauri::webview::PageLoadEvent::Finished
- ) {
+ if matches!(payload.event(), tauri::webview::PageLoadEvent::Finished) {
// Setup Win32 overlay AFTER webview loads so the
// window becomes visible only when JS is ready
// to handle keyboard events.
@@ -1007,7 +1004,9 @@ impl ShowRewindWindow {
tracing::error!("Failed to setup Windows overlay: {}", e);
}
// Activate so keyboard focus goes to the webview
- if let Err(e) = crate::windows_overlay::bring_to_front_and_activate(&win) {
+ if let Err(e) =
+ crate::windows_overlay::bring_to_front_and_activate(&win)
+ {
tracing::error!("Failed to activate overlay: {}", e);
}
let _ = app_clone.emit("window-focused", true);
diff --git a/apps/screenpipe-app-tauri/src-tauri/src/windows_overlay.rs b/apps/screenpipe-app-tauri/src-tauri/src/windows_overlay.rs
index 4472a1495..b03647a47 100644
--- a/apps/screenpipe-app-tauri/src-tauri/src/windows_overlay.rs
+++ b/apps/screenpipe-app-tauri/src-tauri/src/windows_overlay.rs
@@ -12,7 +12,9 @@
use tauri::WebviewWindow;
use tracing::{error, info};
use windows::Win32::Foundation::{HWND, RECT};
-use windows::Win32::Graphics::Gdi::{GetMonitorInfoW, MonitorFromWindow, MONITORINFO, MONITOR_DEFAULTTONEAREST};
+use windows::Win32::Graphics::Gdi::{
+ GetMonitorInfoW, MonitorFromWindow, MONITORINFO, MONITOR_DEFAULTTONEAREST,
+};
use windows::Win32::UI::WindowsAndMessaging::{
GetWindowLongW, SetForegroundWindow, SetWindowLongW, SetWindowPos, GWL_EXSTYLE, GWL_STYLE,
HWND_TOPMOST, SWP_FRAMECHANGED, SWP_NOACTIVATE, SWP_NOMOVE, SWP_NOSIZE, SWP_SHOWWINDOW,
@@ -115,8 +117,10 @@ pub fn setup_overlay(window: &WebviewWindow, click_through: bool) -> Result<(),
let rc = mi.rcMonitor;
info!(
"Repositioning overlay to monitor rect: ({}, {}) {}x{}",
- rc.left, rc.top,
- rc.right - rc.left, rc.bottom - rc.top
+ rc.left,
+ rc.top,
+ rc.right - rc.left,
+ rc.bottom - rc.top
);
SetWindowPos(
hwnd,
@@ -219,14 +223,21 @@ pub fn is_click_through_enabled(window: &WebviewWindow) -> bool {
/// Repositions the overlay to exactly cover the monitor at the given physical point.
/// Used when re-showing the overlay so it appears on the monitor where the cursor is,
/// matching macOS behavior where the panel moves to the active screen.
-pub fn reposition_to_cursor_monitor(window: &WebviewWindow, cursor_x: i32, cursor_y: i32) -> Result<(), String> {
+pub fn reposition_to_cursor_monitor(
+ window: &WebviewWindow,
+ cursor_x: i32,
+ cursor_y: i32,
+) -> Result<(), String> {
use windows::Win32::Foundation::POINT;
use windows::Win32::Graphics::Gdi::MonitorFromPoint;
let hwnd = get_hwnd(window).ok_or("Failed to get HWND")?;
unsafe {
- let point = POINT { x: cursor_x, y: cursor_y };
+ let point = POINT {
+ x: cursor_x,
+ y: cursor_y,
+ };
let monitor = MonitorFromPoint(point, MONITOR_DEFAULTTONEAREST);
let mut mi = MONITORINFO {
cbSize: std::mem::size_of::<MONITORINFO>() as u32,
@@ -242,8 +253,10 @@ pub fn reposition_to_cursor_monitor(window: &WebviewWindow, cursor_x: i32, curso
let rc = mi.rcMonitor;
info!(
"Repositioning overlay to cursor monitor: ({}, {}) {}x{}",
- rc.left, rc.top,
- rc.right - rc.left, rc.bottom - rc.top
+ rc.left,
+ rc.top,
+ rc.right - rc.left,
+ rc.bottom - rc.top
);
let result = SetWindowPos(
diff --git a/crates/screenpipe-a11y/src/budget.rs b/crates/screenpipe-a11y/src/budget.rs
index f642c90f4..bf6119c06 100644
--- a/crates/screenpipe-a11y/src/budget.rs
+++ b/crates/screenpipe-a11y/src/budget.rs
@@ -65,7 +65,9 @@ impl AppCost {
Self {
durations: Vec::with_capacity(WINDOW_SIZE),
truncation_count: 0,
- last_walk: Instant::now().checked_sub(Duration::from_secs(600)).unwrap_or(Instant::now()), // allow first walk immediately
+ last_walk: Instant::now()
+ .checked_sub(Duration::from_secs(600))
+ .unwrap_or(Instant::now()), // allow first walk immediately
tier: WalkTier::Light,
}
}
diff --git a/crates/screenpipe-a11y/src/platform/windows.rs b/crates/screenpipe-a11y/src/platform/windows.rs
index 2351c15b8..0e247c5c4 100644
--- a/crates/screenpipe-a11y/src/platform/windows.rs
+++ b/crates/screenpipe-a11y/src/platform/windows.rs
@@ -404,7 +404,11 @@ fn run_native_hooks(
for p in pending {
let content = if capture_content {
get_clipboard_text().map(|c| {
- if apply_pii { remove_pii(&c) } else { c }
+ if apply_pii {
+ remove_pii(&c)
+ } else {
+ c
+ }
})
} else {
None
@@ -1387,7 +1391,11 @@ mod tests {
config: crate::config::UiCaptureConfig::default(),
last_mouse_pos: (0, 0),
text_buf: text.to_string(),
- last_text_time: if text.is_empty() { None } else { Some(std::time::Instant::now()) },
+ last_text_time: if text.is_empty() {
+ None
+ } else {
+ Some(std::time::Instant::now())
+ },
current_app: Arc::new(parking_lot::Mutex::new(Some("test".into()))),
current_window: Arc::new(parking_lot::Mutex::new(Some("test window".into()))),
activity_feed: None,
diff --git a/crates/screenpipe-audio/examples/parakeet_bench.rs b/crates/screenpipe-audio/examples/parakeet_bench.rs
index 78544f0ca..4a4beb1a2 100644
--- a/crates/screenpipe-audio/examples/parakeet_bench.rs
+++ b/crates/screenpipe-audio/examples/parakeet_bench.rs
@@ -76,7 +76,10 @@ fn main() {
let max_ms = times.iter().map(|d| d.as_millis()).max().unwrap();
let rtf = avg_ms / (dur as f64 * 1000.0); // real-time factor
- println!(" Output: \"{}\"", &result.text[..result.text.len().min(80)]);
+ println!(
+ " Output: \"{}\"",
+ &result.text[..result.text.len().min(80)]
+ );
println!(
" Avg: {:.0}ms | Min: {}ms | Max: {}ms | RTF: {:.3}x",
avg_ms, min_ms, max_ms, rtf
diff --git a/crates/screenpipe-connect/src/connections/clickup.rs b/crates/screenpipe-connect/src/connections/clickup.rs
index 05ef89dbf..2d2243890 100644
--- a/crates/screenpipe-connect/src/connections/clickup.rs
+++ b/crates/screenpipe-connect/src/connections/clickup.rs
@@ -40,9 +40,7 @@ impl Integration for ClickUp {
.error_for_status()?
.json()
.await?;
- let name = resp["user"]["username"]
- .as_str()
- .unwrap_or("unknown");
+ let name = resp["user"]["username"].as_str().unwrap_or("unknown");
Ok(format!("connected as {}", name))
}
}
diff --git a/crates/screenpipe-connect/src/connections/confluence.rs b/crates/screenpipe-connect/src/connections/confluence.rs
index 27eb42cee..372dcf7ec 100644
--- a/crates/screenpipe-connect/src/connections/confluence.rs
+++ b/crates/screenpipe-connect/src/connections/confluence.rs
@@ -58,10 +58,7 @@ impl Integration for Confluence {
.error_for_status()?
.json()
.await?;
- let count = resp["results"]
- .as_array()
- .map(|a| a.len())
- .unwrap_or(0);
+ let count = resp["results"].as_array().map(|a| a.len()).unwrap_or(0);
Ok(format!("connected — {} spaces found", count))
}
}
diff --git a/crates/screenpipe-connect/src/connections/gmail.rs b/crates/screenpipe-connect/src/connections/gmail.rs
index 5b14afdf4..944de1c2d 100644
--- a/crates/screenpipe-connect/src/connections/gmail.rs
+++ b/crates/screenpipe-connect/src/connections/gmail.rs
@@ -67,9 +67,7 @@ impl Integration for Gmail {
.json()
.await?;
- let email = resp["emailAddress"]
- .as_str()
- .unwrap_or("unknown");
+ let email = resp["emailAddress"].as_str().unwrap_or("unknown");
Ok(format!("connected as {}", email))
}
}
diff --git a/crates/screenpipe-connect/src/connections/salesforce.rs b/crates/screenpipe-connect/src/connections/salesforce.rs
index d827a6191..b3feca27e 100644
--- a/crates/screenpipe-connect/src/connections/salesforce.rs
+++ b/crates/screenpipe-connect/src/connections/salesforce.rs
@@ -50,10 +50,7 @@ impl Integration for Salesforce {
.error_for_status()?
.json()
.await?;
- let count = resp["sobjects"]
- .as_array()
- .map(|a| a.len())
- .unwrap_or(0);
+ let count = resp["sobjects"].as_array().map(|a| a.len()).unwrap_or(0);
Ok(format!("connected — {} objects available", count))
}
}
diff --git a/crates/screenpipe-connect/src/oauth.rs b/crates/screenpipe-connect/src/oauth.rs
index 9fa3339db..f2975adb8 100644
--- a/crates/screenpipe-connect/src/oauth.rs
+++ b/crates/screenpipe-connect/src/oauth.rs
@@ -105,7 +105,8 @@ pub fn read_oauth_token(integration_id: &str) -> Option<String> {
}
pub fn read_oauth_token_instance(integration_id: &str, instance: Option<&str>) -> Option<String> {
- let content = std::fs::read_to_string(oauth_token_path_instance(integration_id, instance)).ok()?;
+ let content =
+ std::fs::read_to_string(oauth_token_path_instance(integration_id, instance)).ok()?;
let v: Value = serde_json::from_str(&content).ok()?;
if let Some(expires_at) = v["expires_at"].as_u64() {
@@ -123,7 +124,11 @@ pub fn write_oauth_token(integration_id: &str, data: &Value) -> Result<()> {
write_oauth_token_instance(integration_id, None, data)
}
-pub fn write_oauth_token_instance(integration_id: &str, instance: Option<&str>, data: &Value) -> Result<()> {
+pub fn write_oauth_token_instance(
+ integration_id: &str,
+ instance: Option<&str>,
+ data: &Value,
+) -> Result<()> {
let path = oauth_token_path_instance(integration_id, instance);
if let Some(parent) = path.parent() {
std::fs::create_dir_all(parent)?;
@@ -186,7 +191,11 @@ pub async fn refresh_token(client: &reqwest::Client, integration_id: &str) -> Re
refresh_token_instance(client, integration_id, None).await
}
-pub async fn refresh_token_instance(client: &reqwest::Client, integration_id: &str, instance: Option<&str>) -> Result<String> {
+pub async fn refresh_token_instance(
+ client: &reqwest::Client,
+ integration_id: &str,
+ instance: Option<&str>,
+) -> Result<String> {
let content = std::fs::read_to_string(oauth_token_path_instance(integration_id, instance))?;
let stored: Value = serde_json::from_str(&content)?;
let refresh_tok = stored["refresh_token"]
@@ -220,11 +229,17 @@ pub async fn get_valid_token(client: &reqwest::Client, integration_id: &str) ->
get_valid_token_instance(client, integration_id, None).await
}
-pub async fn get_valid_token_instance(client: &reqwest::Client, integration_id: &str, instance: Option<&str>) -> Option<String> {
+pub async fn get_valid_token_instance(
+ client: &reqwest::Client,
+ integration_id: &str,
+ instance: Option<&str>,
+) -> Option<String> {
if let Some(token) = read_oauth_token_instance(integration_id, instance) {
return Some(token);
}
- refresh_token_instance(client, integration_id, instance).await.ok()
+ refresh_token_instance(client, integration_id, instance)
+ .await
+ .ok()
}
// ---------------------------------------------------------------------------
diff --git a/crates/screenpipe-core/src/pipes/mod.rs b/crates/screenpipe-core/src/pipes/mod.rs
index d855df7f7..89cbc41ec 100644
--- a/crates/screenpipe-core/src/pipes/mod.rs
+++ b/crates/screenpipe-core/src/pipes/mod.rs
@@ -780,7 +780,10 @@ fn resolve_preset(pipes_dir: &Path, preset_id: &str) -> Option<ResolvedPreset> {
let is_expired = now >= expires_at.saturating_sub(60);
if is_expired {
- let refresh_token_owned = token_data.get("refresh_token").and_then(|v| v.as_str()).map(|s| s.to_string());
+ let refresh_token_owned = token_data
+ .get("refresh_token")
+ .and_then(|v| v.as_str())
+ .map(|s| s.to_string());
if let Some(ref refresh_token) = refresh_token_owned {
tracing::info!("ChatGPT OAuth token expired, refreshing...");
if let Ok(client) = reqwest::blocking::Client::builder()
@@ -801,17 +804,28 @@ fn resolve_preset(pipes_dir: &Path, preset_id: &str) -> Option<ResolvedPreset> {
match refresh_res {
Ok(resp) if resp.status().is_success() => {
if let Ok(v) = resp.json::<serde_json::Value>() {
- if let Some(new_token) = v.get("access_token").and_then(|t| t.as_str()) {
- let new_refresh = v.get("refresh_token")
+ if let Some(new_token) =
+ v.get("access_token").and_then(|t| t.as_str())
+ {
+ let new_refresh = v
+ .get("refresh_token")
.and_then(|t| t.as_str())
.unwrap_or(refresh_token.as_str());
- let new_expires_in = v.get("expires_in").and_then(|t| t.as_u64()).unwrap_or(3600);
-
- token_data["access_token"] = serde_json::Value::String(new_token.to_string());
- token_data["refresh_token"] = serde_json::Value::String(new_refresh.to_string());
- token_data["expires_at"] = serde_json::json!(now + new_expires_in);
-
- if let Ok(updated) = serde_json::to_string_pretty(&token_data) {
+ let new_expires_in = v
+ .get("expires_in")
+ .and_then(|t| t.as_u64())
+ .unwrap_or(3600);
+
+ token_data["access_token"] =
+ serde_json::Value::String(new_token.to_string());
+ token_data["refresh_token"] =
+ serde_json::Value::String(new_refresh.to_string());
+ token_data["expires_at"] =
+ serde_json::json!(now + new_expires_in);
+
+ if let Ok(updated) =
+ serde_json::to_string_pretty(&token_data)
+ {
let _ = std::fs::write(&path, updated);
}
tracing::info!("ChatGPT token refreshed successfully");
@@ -819,7 +833,10 @@ fn resolve_preset(pipes_dir: &Path, preset_id: &str) -> Option<ResolvedPreset> {
}
}
Ok(resp) => {
- tracing::error!("ChatGPT token refresh failed ({})", resp.status());
+ tracing::error!(
+ "ChatGPT token refresh failed ({})",
+ resp.status()
+ );
}
Err(e) => {
tracing::error!("ChatGPT token refresh request failed: {}", e);
@@ -1091,7 +1108,9 @@ impl PipeManager {
store,
api_port,
last_reload: Arc::new(Mutex::new(
- Instant::now().checked_sub(std::time::Duration::from_secs(10)).unwrap_or(Instant::now()),
+ Instant::now()
+ .checked_sub(std::time::Duration::from_secs(10))
+ .unwrap_or(Instant::now()),
)),
token_registry: None,
extra_context: None,
@@ -2430,7 +2449,10 @@ impl PipeManager {
// Persist to local overrides so reload_pipes() doesn't revert this
if let Err(e) = set_local_override(&self.pipes_dir, name, enabled) {
- warn!("failed to save local enabled override for '{}': {}", name, e);
+ warn!(
+ "failed to save local enabled override for '{}': {}",
+ name, e
+ );
}
// Update in-memory
@@ -3131,9 +3153,7 @@ impl PipeManager {
}
// Shared PID — set synchronously by the executor right after spawn
- let shared_pid = std::sync::Arc::new(
- std::sync::atomic::AtomicU32::new(0),
- );
+ let shared_pid = std::sync::Arc::new(std::sync::atomic::AtomicU32::new(0));
let shared_pid_for_kill = shared_pid.clone();
let pipes_dir_for_pidfile = pipes_dir_for_log.clone();
let pipe_name_for_pidfile = pipe_name.clone();
@@ -3305,7 +3325,8 @@ impl PipeManager {
}
Err(_elapsed) => {
warn!("pipe '{}' timed out after {}s", pipe_name, pipe_timeout);
- let real_pid = shared_pid_for_kill.load(std::sync::atomic::Ordering::SeqCst);
+ let real_pid =
+ shared_pid_for_kill.load(std::sync::atomic::Ordering::SeqCst);
if real_pid != 0 {
let _ = crate::agents::pi::kill_process_group(real_pid);
}
@@ -3790,13 +3811,29 @@ fn parse_time_str(s: &str) -> Option<u32> {
let s = s.trim().to_lowercase();
if let Some(h) = s.strip_suffix("am") {
let n: u32 = h.trim().parse().ok()?;
- if n == 12 { Some(0) } else if n <= 12 { Some(n) } else { None }
+ if n == 12 {
+ Some(0)
+ } else if n <= 12 {
+ Some(n)
+ } else {
+ None
+ }
} else if let Some(h) = s.strip_suffix("pm") {
let n: u32 = h.trim().parse().ok()?;
- if n == 12 { Some(12) } else if n <= 12 { Some(n + 12) } else { None }
+ if n == 12 {
+ Some(12)
+ } else if n <= 12 {
+ Some(n + 12)
+ } else {
+ None
+ }
} else {
let n: u32 = s.parse().ok()?;
- if n < 24 { Some(n) } else { None }
+ if n < 24 {
+ Some(n)
+ } else {
+ None
+ }
}
}
@@ -4339,15 +4376,24 @@ mod tests {
fn test_parse_schedule_human_daily() {
match parse_schedule("every day at 9am") {
Some(ParsedSchedule::Cron(_)) => {}
- other => panic!("expected cron for 'every day at 9am', got {:?}", other.is_some()),
+ other => panic!(
+ "expected cron for 'every day at 9am', got {:?}",
+ other.is_some()
+ ),
}
match parse_schedule("every day at 12pm") {
Some(ParsedSchedule::Cron(_)) => {}
- other => panic!("expected cron for 'every day at 12pm', got {:?}", other.is_some()),
+ other => panic!(
+ "expected cron for 'every day at 12pm', got {:?}",
+ other.is_some()
+ ),
}
match parse_schedule("every day at 6pm") {
Some(ParsedSchedule::Cron(_)) => {}
- other => panic!("expected cron for 'every day at 6pm', got {:?}", other.is_some()),
+ other => panic!(
+ "expected cron for 'every day at 6pm', got {:?}",
+ other.is_some()
+ ),
}
}
@@ -4355,7 +4401,10 @@ mod tests {
fn test_parse_schedule_human_weekday() {
match parse_schedule("every monday at 9am") {
Some(ParsedSchedule::Cron(_)) => {}
- other => panic!("expected cron for 'every monday at 9am', got {:?}", other.is_some()),
+ other => panic!(
+ "expected cron for 'every monday at 9am', got {:?}",
+ other.is_some()
+ ),
}
}
diff --git a/crates/screenpipe-db/src/db.rs b/crates/screenpipe-db/src/db.rs
index 5ffcf96d5..67ff5b006 100644
--- a/crates/screenpipe-db/src/db.rs
+++ b/crates/screenpipe-db/src/db.rs
@@ -6642,12 +6642,11 @@ LIMIT ? OFFSET ?
/// Returns deduplicated text grouped by app+window, or None if nothing was typed.
pub async fn get_meeting_typed_text(&self, id: i64) -> Result<Option<String>, SqlxError> {
// Get meeting time range
- let row: Option<(String, Option<String>)> = sqlx::query_as(
- "SELECT meeting_start, meeting_end FROM meetings WHERE id = ?1",
- )
- .bind(id)
- .fetch_optional(&self.pool)
- .await?;
+ let row: Option<(String, Option<String>)> =
+ sqlx::query_as("SELECT meeting_start, meeting_end FROM meetings WHERE id = ?1")
+ .bind(id)
+ .fetch_optional(&self.pool)
+ .await?;
let (start, end) = match row {
Some((s, Some(e))) => (s, e),
@@ -7144,7 +7143,10 @@ LIMIT ? OFFSET ?
Some("asc") => "ASC",
_ => "DESC",
};
- sql.push_str(&format!(" ORDER BY {} {} LIMIT ?7 OFFSET ?8", order_col, order_direction));
+ sql.push_str(&format!(
+ " ORDER BY {} {} LIMIT ?7 OFFSET ?8",
+ order_col, order_direction
+ ));
let fts_query = query.map(crate::text_normalizer::sanitize_fts5_query);
diff --git a/crates/screenpipe-db/src/write_queue.rs b/crates/screenpipe-db/src/write_queue.rs
index 0b0386420..fe3fe0a4f 100644
--- a/crates/screenpipe-db/src/write_queue.rs
+++ b/crates/screenpipe-db/src/write_queue.rs
@@ -429,17 +429,18 @@ async fn execute_batch(
let mut conn_opt = None;
for attempt in 1..=max_retries {
- let mut conn = match tokio::time::timeout(Duration::from_secs(5), write_pool.acquire()).await {
- Ok(Ok(conn)) => conn,
- Ok(Err(e)) => {
- send_error_to_all(batch, e);
- return;
- }
- Err(_) => {
- send_error_to_all(batch, sqlx::Error::PoolTimedOut);
- return;
- }
- };
+ let mut conn =
+ match tokio::time::timeout(Duration::from_secs(5), write_pool.acquire()).await {
+ Ok(Ok(conn)) => conn,
+ Ok(Err(e)) => {
+ send_error_to_all(batch, e);
+ return;
+ }
+ Err(_) => {
+ send_error_to_all(batch, sqlx::Error::PoolTimedOut);
+ return;
+ }
+ };
match sqlx::query("BEGIN IMMEDIATE").execute(&mut *conn).await {
Ok(_) => {
@@ -463,7 +464,10 @@ async fn execute_batch(
continue;
}
Err(e) if attempt < max_retries && is_busy_error(&e) => {
- warn!("write_queue: BEGIN IMMEDIATE busy (attempt {}/{}), retrying...", attempt, max_retries);
+ warn!(
+ "write_queue: BEGIN IMMEDIATE busy (attempt {}/{}), retrying...",
+ attempt, max_retries
+ );
drop(conn);
last_error = Some(e);
tokio::time::sleep(Duration::from_millis(50 * attempt as u64)).await;
diff --git a/crates/screenpipe-engine/src/cli/connection.rs b/crates/screenpipe-engine/src/cli/connection.rs
index 691a278f2..4d5dc1442 100644
--- a/crates/screenpipe-engine/src/cli/connection.rs
+++ b/crates/screenpipe-engine/src/cli/connection.rs
@@ -129,9 +129,7 @@ pub async fn handle_connection_command(command: &ConnectionCommand) -> anyhow::R
if *use_json {
println!(
"{}",
- serde_json::to_string_pretty(
- &json!({ "id": id, "credentials": creds })
- )?
+ serde_json::to_string_pretty(&json!({ "id": id, "credentials": creds }))?
);
} else {
println!("{}", id);
diff --git a/crates/screenpipe-engine/src/connections_api.rs b/crates/screenpipe-engine/src/connections_api.rs
index d6e3c2232..6974d7bd9 100644
--- a/crates/screenpipe-engine/src/connections_api.rs
+++ b/crates/screenpipe-engine/src/connections_api.rs
@@ -461,7 +461,11 @@ async fn gmail_get_message(
}
}
-async fn gmail_get_message_inner(client: &reqwest::Client, id: &str, instance: Option<&str>) -> anyhow::Result<Value> {
+async fn gmail_get_message_inner(
+ client: &reqwest::Client,
+ id: &str,
+ instance: Option<&str>,
+) -> anyhow::Result<Value> {
let token = gmail_token(client, instance).await?;
let url = format!(
"https://gmail.googleapis.com/gmail/v1/users/me/messages/{}?format=full",
@@ -513,7 +517,11 @@ async fn gmail_send_inner(
async fn gmail_token(client: &reqwest::Client, instance: Option<&str>) -> anyhow::Result<String> {
oauth_store::get_valid_token_instance(client, "gmail", instance)
.await
- .ok_or_else(|| anyhow::anyhow!("Gmail not connected — use 'Connect with Gmail' in Settings > Connections"))
+ .ok_or_else(|| {
+ anyhow::anyhow!(
+ "Gmail not connected — use 'Connect with Gmail' in Settings > Connections"
+ )
+ })
}
/// GET /connections/gmail/instances — list all connected Gmail accounts.
@@ -571,7 +579,12 @@ fn parse_gmail_message(msg: &Value) -> Value {
let get_header = |name: &str| -> String {
headers
.iter()
- .find(|h| h["name"].as_str().map(|n| n.eq_ignore_ascii_case(name)).unwrap_or(false))
+ .find(|h| {
+ h["name"]
+ .as_str()
+ .map(|n| n.eq_ignore_ascii_case(name))
+ .unwrap_or(false)
+ })
.and_then(|h| h["value"].as_str())
.unwrap_or("")
.to_string()
@@ -604,7 +617,10 @@ fn extract_text_body(payload: &Value) -> String {
return text;
}
// Walk parts (multipart/mixed, multipart/alternative, etc.)
- let parts = payload["parts"].as_array().map(Vec::as_slice).unwrap_or(&[]);
+ let parts = payload["parts"]
+ .as_array()
+ .map(Vec::as_slice)
+ .unwrap_or(&[]);
for part in parts {
let mime = part["mimeType"].as_str().unwrap_or("");
if mime == "text/plain" {
@@ -622,7 +638,11 @@ fn extract_text_body(payload: &Value) -> String {
fn decode_base64url(data: Option<&str>) -> Option<String> {
let text = String::from_utf8(URL_SAFE_NO_PAD.decode(data?).ok()?).ok()?;
- if text.is_empty() { None } else { Some(text) }
+ if text.is_empty() {
+ None
+ } else {
+ Some(text)
+ }
}
// ---------------------------------------------------------------------------
diff --git a/crates/screenpipe-engine/src/meeting_detector.rs b/crates/screenpipe-engine/src/meeting_detector.rs
index bac3bede0..87998ad61 100644
--- a/crates/screenpipe-engine/src/meeting_detector.rs
+++ b/crates/screenpipe-engine/src/meeting_detector.rs
@@ -2068,11 +2068,7 @@ pub async fn run_meeting_detection_loop(
// Drain pending calendar events (non-blocking).
// Each publish replaces the full list, so we keep only the latest.
while let Some(event) = cal_sub.next().now_or_never().flatten() {
- calendar_events = event
- .data
- .into_iter()
- .filter(|e| !e.is_all_day)
- .collect();
+ calendar_events = event.data.into_iter().filter(|e| !e.is_all_day).collect();
}
// Skip if manual meeting is active
@@ -2214,9 +2210,7 @@ pub async fn run_meeting_detection_loop(
// Calendar enrichment: find overlapping calendar event
let (cal_title, cal_attendees) =
find_overlapping_calendar_event(&calendar_events);
- let attendees_str = cal_attendees
- .as_ref()
- .map(|a| a.join(", "));
+ let attendees_str = cal_attendees.as_ref().map(|a| a.join(", "));
// Try to merge with recently-ended meeting
let meeting_id = match db.find_recent_meeting_for_app(&app, 120).await {
diff --git a/crates/screenpipe-engine/src/routes/meetings.rs b/crates/screenpipe-engine/src/routes/meetings.rs
index fc0c85d9a..d0d6c3936 100644
--- a/crates/screenpipe-engine/src/routes/meetings.rs
+++ b/crates/screenpipe-engine/src/routes/meetings.rs
@@ -274,12 +274,16 @@ pub(crate) async fn stop_meeting_handler(
let now = Utc::now().format("%Y-%m-%dT%H:%M:%S%.3fZ").to_string();
- state.db.end_meeting_with_typed_text(id, &now, true).await.map_err(|e| {
- (
- StatusCode::INTERNAL_SERVER_ERROR,
- JsonResponse(json!({"error": e.to_string()})),
- )
- })?;
+ state
+ .db
+ .end_meeting_with_typed_text(id, &now, true)
+ .await
+ .map_err(|e| {
+ (
+ StatusCode::INTERNAL_SERVER_ERROR,
+ JsonResponse(json!({"error": e.to_string()})),
+ )
+ })?;
{
let mut lock = state.manual_meeting.write().await;
diff --git a/crates/screenpipe-engine/src/server.rs b/crates/screenpipe-engine/src/server.rs
index 4262f5522..339d5963f 100644
--- a/crates/screenpipe-engine/src/server.rs
+++ b/crates/screenpipe-engine/src/server.rs
@@ -164,7 +164,6 @@ pub struct AppState {
pub browser_bridge: Arc<crate::routes::browser::BrowserBridge>,
}
-
pub struct SCServer {
db: Arc<DatabaseManager>,
addr: SocketAddr,
diff --git a/crates/screenpipe-engine/src/sleep_monitor.rs b/crates/screenpipe-engine/src/sleep_monitor.rs
index 6d1229d28..5cf317f94 100644
--- a/crates/screenpipe-engine/src/sleep_monitor.rs
+++ b/crates/screenpipe-engine/src/sleep_monitor.rs
@@ -353,10 +353,14 @@ pub fn start_sleep_monitor() {
}
}
- info!("Display reconfiguration watcher registered (CGDisplayRegisterReconfigurationCallback)");
+ info!(
+ "Display reconfiguration watcher registered (CGDisplayRegisterReconfigurationCallback)"
+ );
// The callback is delivered on the run loop of this thread
- unsafe { CFRunLoopRun(); }
+ unsafe {
+ CFRunLoopRun();
+ }
});
// Thread 3: NSWorkspace notification observers for system sleep/wake.
diff --git a/crates/screenpipe-engine/src/video_utils.rs b/crates/screenpipe-engine/src/video_utils.rs
index 9a3d6d384..b9ed745dd 100644
--- a/crates/screenpipe-engine/src/video_utils.rs
+++ b/crates/screenpipe-engine/src/video_utils.rs
@@ -765,11 +765,11 @@ pub async fn extract_frame_from_video(
// as VIDEO_CORRUPTED — surface the real cause so it can be fixed.
if err_str.contains("no such file") || err_str.contains("os error 2") {
return Err(anyhow::anyhow!(
- "FFPROBE_NOT_FOUND: cannot extract frame from {} - ffprobe binary not found. \
+ "FFPROBE_NOT_FOUND: cannot extract frame from {} - ffprobe binary not found. \
Ensure ffprobe is installed alongside ffmpeg. Error: {}",
- file_path,
- e
- ));
+ file_path,
+ e
+ ));
}
error!("failed to get video metadata, using defaults: {}", e);
(1.0, f64::MAX) // Use MAX duration to disable validation on error
@@ -875,7 +875,9 @@ pub async fn extract_frame_from_video(
async fn cleanup_old_frames(frames_dir: &PathBuf) -> Result<()> {
use std::time::{Duration, SystemTime};
- let one_hour_ago = SystemTime::now().checked_sub(Duration::from_secs(3600)).unwrap_or(SystemTime::UNIX_EPOCH);
+ let one_hour_ago = SystemTime::now()
+ .checked_sub(Duration::from_secs(3600))
+ .unwrap_or(SystemTime::UNIX_EPOCH);
let mut read_dir = tokio::fs::read_dir(frames_dir).await?;
while let Some(entry) = read_dir.next_entry().await? {
diff --git a/crates/screenpipe-screen/src/snapshot_writer.rs b/crates/screenpipe-screen/src/snapshot_writer.rs
index af83fab63..f5a53c86e 100644
--- a/crates/screenpipe-screen/src/snapshot_writer.rs
+++ b/crates/screenpipe-screen/src/snapshot_writer.rs
@@ -15,7 +15,7 @@ use image::DynamicImage;
use std::fs;
use std::io::{BufWriter, Write};
use std::path::{Path, PathBuf};
-use std::sync::atomic::{AtomicU8, AtomicU32, Ordering};
+use std::sync::atomic::{AtomicU32, AtomicU8, Ordering};
use tracing::{debug, error};
/// Writes JPEG snapshots to disk for event-driven capture.
diff --git a/ee/desktop-rust/enterprise_policy.rs b/ee/desktop-rust/enterprise_policy.rs
index adfc05048..45db619e5 100644
--- a/ee/desktop-rust/enterprise_policy.rs
+++ b/ee/desktop-rust/enterprise_policy.rs
@@ -12,8 +12,7 @@ use once_cell::sync::Lazy;
use std::collections::HashSet;
use std::sync::RwLock;
-static HIDDEN_SECTIONS: Lazy<RwLock<HashSet<String>>> =
- Lazy::new(|| RwLock::new(HashSet::new()));
+static HIDDEN_SECTIONS: Lazy<RwLock<HashSet<String>>> = Lazy::new(|| RwLock::new(HashSet::new()));
/// Called by the frontend after fetching the enterprise policy.
#[tauri::command]
@@ -21,10 +20,7 @@ static HIDDEN_SECTIONS: Lazy<RwLock<HashSet<String>>> =
pub fn set_enterprise_policy(hidden_sections: Vec<String>) {
if let Ok(mut guard) = HIDDEN_SECTIONS.write() {
*guard = hidden_sections.into_iter().collect();
- tracing::info!(
- "enterprise: policy updated, hidden sections: {:?}",
- *guard
- );
+ tracing::info!("enterprise: policy updated, hidden sections: {:?}", *guard);
}
}
diff --git a/latest.json b/latest.json
new file mode 100644
index 000000000..6b5207c82
--- /dev/null
+++ b/latest.json
@@ -0,0 +1,26 @@
+{
+ "version": "2.3.18",
+ "pub_date": "2026-04-04T23:44:40.413Z",
+ "platforms": {
+ "darwin-aarch64": {
+ "url": "https://screenpi.pe/api/app-update/download/stable/2.3.18/aarch64-apple-darwin/screenpipe.app.tar.gz",
+ "signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVRWHJLa2MwMiswSXZONjQrMjlEbnJxRU1MT0hMWUd5Z2EzTWMweC9MaXNQd0dZYVRJeXprdDMwd0t5VVlOQzNHUmtUSHJFOWZxUGM1NzR6TlZMN3JpT0hTelRoLzBTc1FnPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzc1MzQ0Mzk0CWZpbGU6c2NyZWVucGlwZS5hcHAudGFyLmd6CkxyYWZ6NmEweEQ4eGlUV25FOEZRT2JXU0N5cVE5djhYc1hTZlZFSGNCTmx4dk5NQmQxT3IvVU5wMkVxL0VTWWNLTVdTc3I4Tlpyc09ybHRpRkprNkNRPT0K"
+ },
+ "darwin-x86_64": {
+ "url": "https://screenpi.pe/api/app-update/download/stable/2.3.18/x86_64-apple-darwin/screenpipe.app.tar.gz",
+ "signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVRWHJLa2MwMiswSXI1VjJUYjhFQ2hnRUU4aU1md1dJV0hGWllFR0dudGRpY0N4cVVrMjNsQThwZkNOVUFDYjgvNjM4SWNVbFV4WEEyY0lUN09sV3lreEg0c0NNMmRVU3dZPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzc1MzQzMDcwCWZpbGU6c2NyZWVucGlwZS5hcHAudGFyLmd6CjhwNmpuVmt0Y1N2ZXJvM2J4Yk1XVXU0Q2VsYTFiNzF0ZUI2OEFnZjdabnk0UlRTN3FhZ2NhWExWTFk4Ni9wUlRjdExFV0QxWWlUMTNlODhXL3BIYUNBPT0K"
+ },
+ "windows-x86_64": {
+ "url": "https://screenpi.pe/api/app-update/download/stable/2.3.18/x86_64-pc-windows-msvc/screenpipe_2.3.18_x64-setup.exe",
+ "signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVRWHJLa2MwMiswSXNsYnRCRjd2Q3pVdGplWGJ0SWJ6YVJKYnN3bStCVGppRDBJazhnN05SN1VjcE5URkhubG1KUUJoS2JHMnI1eGhYU2dPYkRlMWhLYmEvMHhab0FYS2drPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzc1MzQ0NjI2CWZpbGU6c2NyZWVucGlwZV8yLjMuMThfeDY0LXNldHVwLmV4ZQpBdkdsVmlyUmJEbkdmRHhkZEFxbEJuMXE3TUlTbEd2NnYraTNkVTBvanA1MTlieFpIa05jeFhyajQyeVBUMENLbUtLZEZONngzME9ZSE5MMDJ5ZkhEUT09Cg=="
+ },
+ "windows-aarch64": {
+ "url": "https://screenpi.pe/api/app-update/download/stable/2.3.18/aarch64-pc-windows-msvc/screenpipe_2.3.18_arm64-setup.exe",
+ "signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVRWHJLa2MwMiswSXJPa0lDSk5pUEY1Tzc5dDVoSkZQdDErVVVBMVFzSk10MVRCeFVoVGo5TGZqU2kwQVZ0ZGoyVTBYUjZSTDAzbHNMaWdiTUJQTnpmblNkcG45ZVZHdXdrPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzc1MzQ0NjAwCWZpbGU6c2NyZWVucGlwZV8yLjMuMThfYXJtNjQtc2V0dXAuZXhlClhNUEE1ajlRb0RjeXE3RVNJeVBzSytFeURIMzdBcnl3dU1LcFRxb3NVYkhVekZaaXM0MlhDc0NuZHh0cGRlNlJCeC9NSlZsMURRVW4vcG5kek1VT0R3PT0K"
+ },
+ "linux-x86_64": {
+ "url": "https://screenpi.pe/api/app-update/download/stable/2.3.18/x86_64-unknown-linux-gnu/screenpipe_2.3.18_amd64.AppImage",
+ "signature": "dW50cnVzdGVkIGNvbW1lbnQ6IHNpZ25hdHVyZSBmcm9tIHRhdXJpIHNlY3JldCBrZXkKUlVRWHJLa2MwMiswSWhMZFVrcFB5ZzJlYVRIVzd0a3pQeE5vRFpFYzRlRy9VK3dUeGNJSUc5ZEVpeS9VaS96cHVKandYZ3c1T2c1TUE1QzcyemdTbXVHbEVSejJEbHNhQXcwPQp0cnVzdGVkIGNvbW1lbnQ6IHRpbWVzdGFtcDoxNzc1MzQzNzcyCWZpbGU6c2NyZWVucGlwZV8yLjMuMThfYW1kNjQuQXBwSW1hZ2UKNkxSNDBzRjJDRUdVMWZwRDNJRXhYSlZDMVpJa1BRN1lkWDVuMkdSOUhSSEVLaEFteVNYaE00R1pkUVNzMXR4T3pPRm4yenJzYzR6eUtraHFGeGVTQWc9PQo="
+ }
+ }
+}
\ No newline at end of file