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
Bump CLI to v0.4.2
Louis Beaumont1014b8606b75
diff --git a/Cargo.lock b/Cargo.lockindex 5293dd645..a214f58e7 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -8070,7 +8070,7 @@ dependencies = [[[package]]name = "screenpipe-audio"-version = "0.4.1"+version = "0.4.2"dependencies = ["anyhow","audiopipe",@@ -8132,7 +8132,7 @@ dependencies = [[[package]]name = "screenpipe-audio-eval"-version = "0.4.1"+version = "0.4.2"dependencies = ["anyhow","audiopipe",@@ -8170,7 +8170,7 @@ dependencies = [[[package]]name = "screenpipe-config"-version = "0.4.1"+version = "0.4.2"dependencies = ["dirs 6.0.0","serde",@@ -8183,7 +8183,7 @@ dependencies = [[[package]]name = "screenpipe-connect"-version = "0.4.1"+version = "0.4.2"dependencies = ["anyhow","async-trait",@@ -8221,7 +8221,7 @@ dependencies = [[[package]]name = "screenpipe-core"-version = "0.4.1"+version = "0.4.2"dependencies = ["accessibility","accessibility-sys",@@ -8273,7 +8273,7 @@ dependencies = [[[package]]name = "screenpipe-db"-version = "0.4.1"+version = "0.4.2"dependencies = ["anyhow","chrono",@@ -8299,7 +8299,7 @@ dependencies = [[[package]]name = "screenpipe-engine"-version = "0.4.1"+version = "0.4.2"dependencies = ["anyhow","arc-swap",@@ -8375,7 +8375,7 @@ dependencies = [[[package]]name = "screenpipe-events"-version = "0.4.1"+version = "0.4.2"dependencies = ["anyhow","chrono",@@ -8393,7 +8393,7 @@ dependencies = [[[package]]name = "screenpipe-meeting-eval"-version = "0.4.1"+version = "0.4.2"dependencies = ["anyhow","clap",@@ -8405,7 +8405,7 @@ dependencies = [[[package]]name = "screenpipe-redact"-version = "0.4.1"+version = "0.4.2"dependencies = ["anyhow","async-trait",@@ -8435,7 +8435,7 @@ dependencies = [[[package]]name = "screenpipe-rfdetr-mlx"-version = "0.4.1"+version = "0.4.2"dependencies = ["image","mlx-rs",@@ -8446,7 +8446,7 @@ dependencies = [[[package]]name = "screenpipe-screen"-version = "0.4.1"+version = "0.4.2"dependencies = ["accessibility-sys","anyhow",@@ -8504,7 +8504,7 @@ dependencies = [[[package]]name = "screenpipe-sync"-version = "0.4.1"+version = "0.4.2"dependencies = ["async-trait","base64 0.22.1",@@ -8526,7 +8526,7 @@ dependencies = [[[package]]name = "screenpipe-team-memory"-version = "0.4.1"+version = "0.4.2"dependencies = ["serde","serde_yaml",@@ -8535,7 +8535,7 @@ dependencies = [[[package]]name = "screenpipe-vault"-version = "0.4.1"+version = "0.4.2"dependencies = ["argon2","chacha20poly1305",diff --git a/Cargo.toml b/Cargo.tomlindex 0efadebdb..54f28e134 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -10,7 +10,7 @@ exclude = [resolver = "2"[workspace.package]-version = "0.4.1"+version = "0.4.2"authors = ["louis030195 <[email protected]>"]description = ""repository = "https://github.com/screenpipe/screenpipe"diff --git a/crates/screenpipe-engine/src/cli/install.rs b/crates/screenpipe-engine/src/cli/install.rsindex a51749c1d..a03640944 100644--- a/crates/screenpipe-engine/src/cli/install.rs+++ b/crates/screenpipe-engine/src/cli/install.rs@@ -14,10 +14,10 @@//! }//! ```//!-//! Hosts other than `screenpi.pe` are rejected unless `--allow-untrusted` is-//! passed or `SCREENPIPE_TRUSTED_HOSTS` lists them (comma-separated). This-//! exists because installing pipes runs code, so manifests should come from-//! sources the user controls.+//! Hosts other than `screenpipe.com` or `screenpi.pe` are rejected unless+//! `--allow-untrusted` is passed or `SCREENPIPE_TRUSTED_HOSTS` lists them+//! (comma-separated). This exists because installing pipes runs code, so+//! manifests should come from sources the user controls.use anyhow::{anyhow, Result};use colored::Colorize;@@ -30,7 +30,12 @@ use std::collections::HashMap;use std::sync::Arc;use std::time::Duration;-const DEFAULT_TRUSTED_HOSTS: &[&str] = &["screenpi.pe", "www.screenpi.pe"];+const DEFAULT_TRUSTED_HOSTS: &[&str] = &[+ "screenpipe.com",+ "www.screenpipe.com",+ "screenpi.pe",+ "www.screenpi.pe",+];const FETCH_TIMEOUT: Duration = Duration::from_secs(15);#[derive(Debug, Deserialize)]@@ -92,7 +97,7 @@ pub async fn handle_install(url: &str, allow_untrusted: bool) -> Result<()> {manager.load_pipes().await?;let api_base = std::env::var("SCREENPIPE_API_BASE_URL")- .unwrap_or_else(|_| "https://screenpi.pe".to_string());+ .unwrap_or_else(|_| "https://screenpipe.com".to_string());let mut installed = 0usize;let mut failed: Vec<(String, String)> = Vec::new();diff --git a/crates/screenpipe-engine/src/cli/pipe.rs b/crates/screenpipe-engine/src/cli/pipe.rsindex d465b2c1b..d93c30c1a 100644--- a/crates/screenpipe-engine/src/cli/pipe.rs+++ b/crates/screenpipe-engine/src/cli/pipe.rs@@ -154,7 +154,8 @@ pub async fn handle_pipe_command(command: &PipeCommand) -> anyhow::Result<()> {/// Get the API base URL from env or default.pub fn api_base_url() -> String {- std::env::var("SCREENPIPE_API_BASE_URL").unwrap_or_else(|_| "https://screenpi.pe".to_string())+ std::env::var("SCREENPIPE_API_BASE_URL")+ .unwrap_or_else(|_| "https://screenpipe.com".to_string())}/// Get the auth token, checking in order: