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

ci(style): fix fmt drift + drop unused base64 from screenpipe-audio

Louis Beaumonte40bc408f5b0
diff --git a/Cargo.lock b/Cargo.lock
index 2afe510a0..b49e75241 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -8067,7 +8067,6 @@ version = "0.3.343"
dependencies = [
"anyhow",
"audiopipe",
- "base64 0.22.1",
"bytemuck",
"bytes",
"chrono",
diff --git a/crates/screenpipe-audio/Cargo.toml b/crates/screenpipe-audio/Cargo.toml
index 2c89e6937..e95a7e699 100644
--- a/crates/screenpipe-audio/Cargo.toml
+++ b/crates/screenpipe-audio/Cargo.toml
@@ -89,7 +89,6 @@ audiopipe = { git = "https://github.com/divanshu-go/audiopipe.git", branch = "ma
mlx-rs = { version = "0.25", optional = true }
bytes = { version = "1.9.0", features = ["serde"] }
rand = "0.9.0"
-base64 = "0.22"
tokio-tungstenite = { version = "0.24", features = ["native-tls"] }
url = "2"
diff --git a/crates/screenpipe-engine/src/drm_detector.rs b/crates/screenpipe-engine/src/drm_detector.rs
index 82782f8e0..9ddf2bfb5 100644
--- a/crates/screenpipe-engine/src/drm_detector.rs
+++ b/crates/screenpipe-engine/src/drm_detector.rs
@@ -684,7 +684,9 @@ mod tests {
));
assert!(is_drm_url("https://amazon.com/gp/video/detail/something"));
// subdomain matching
- assert!(is_drm_url("https://apps.disneyplus.com/il/shows/scrubs/123/watch"));
+ assert!(is_drm_url(
+ "https://apps.disneyplus.com/il/shows/scrubs/123/watch"
+ ));
assert!(is_drm_url("https://watch.hulu.com/show/abc"));
}
diff --git a/crates/screenpipe-engine/src/event_driven_capture.rs b/crates/screenpipe-engine/src/event_driven_capture.rs
index e392e41f8..139b4bb31 100644
--- a/crates/screenpipe-engine/src/event_driven_capture.rs
+++ b/crates/screenpipe-engine/src/event_driven_capture.rs
@@ -10,11 +10,11 @@
use crate::hot_frame_cache::{HotFrame, HotFrameCache};
use crate::power::PowerProfile;
-use screenpipe_capture::paired_capture::{paired_capture, CaptureContext, PairedCaptureResult};
use anyhow::Result;
use chrono::Utc;
use screenpipe_a11y::tree::TreeWalkerConfig;
use screenpipe_a11y::ActivityFeed;
+use screenpipe_capture::paired_capture::{paired_capture, CaptureContext, PairedCaptureResult};
use screenpipe_db::DatabaseManager;
use screenpipe_screen::capture_screenshot_by_window::{get_excluded_sck_window_ids, WindowFilters};
use screenpipe_screen::frame_comparison::{FrameComparer, FrameComparisonConfig};