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: restore warn import and sysinfo SystemExt in analytics
Louis Beaumont2c2df067e39b
diff --git a/crates/screenpipe-server/src/analytics.rs b/crates/screenpipe-server/src/analytics.rsindex b24804029..3eb7487ff 100644--- a/crates/screenpipe-server/src/analytics.rs+++ b/crates/screenpipe-server/src/analytics.rs@@ -3,9 +3,8 @@ use reqwest::Client;use serde_json::{json, Value};use std::env;use std::sync::atomic::{AtomicBool, Ordering};-#[cfg(target_os = "macos")]-use sysinfo::System;-use tracing::{debug, error, trace};+use sysinfo::{System, SystemExt};+use tracing::{debug, error, trace, warn};const POSTHOG_API_KEY: &str = "phc_Bt8GoTBPgkCpDrbaIZzJIEYt0CrJjhBiuLaBck1clce";const POSTHOG_HOST: &str = "https://eu.i.posthog.com";