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
refactor: screenpipe pipe download -> screenpipe pipe install
Louis Beaumont3b32b8ae803e
diff --git a/screenpipe-server/src/bin/screenpipe-server.rs b/screenpipe-server/src/bin/screenpipe-server.rsindex 57494f7f3..a91258b8f 100644--- a/screenpipe-server/src/bin/screenpipe-server.rs+++ b/screenpipe-server/src/bin/screenpipe-server.rs@@ -147,6 +147,9 @@ async fn main() -> anyhow::Result<()> {} | PipeCommand::Download {output: OutputFormat::Text,..+ } | PipeCommand::Install {+ output: OutputFormat::Text,+ ..} | PipeCommand::Info {output: OutputFormat::Text,..@@ -997,7 +1000,9 @@ async fn handle_pipe_command(}}- PipeCommand::Download { url, output, port } => {+ #[allow(deprecated)]+ PipeCommand::Download { url, output, port }+ | PipeCommand::Install { url, output, port } => {match client.post(&format!("{}:{}/pipes/download", server_url, port)).json(&json!({ "url": url }))diff --git a/screenpipe-server/src/cli.rs b/screenpipe-server/src/cli.rsindex 228e56656..a552e2c9c 100644--- a/screenpipe-server/src/cli.rs+++ b/screenpipe-server/src/cli.rs@@ -303,7 +303,8 @@ pub enum PipeCommand {#[arg(short = 'p', long, default_value_t = 3030)]port: u16,},- /// Download a new pipe+ /// Download a new pipe (deprecated: use 'install' instead)+ #[deprecated(since = "0.2.26", note = "please use `install` instead")]Download {/// URL of the pipe to downloadurl: String,@@ -314,6 +315,17 @@ pub enum PipeCommand {#[arg(short = 'p', long, default_value_t = 3030)]port: u16,},+ /// Install a new pipe+ Install {+ /// URL of the pipe to install+ url: String,+ /// Output format+ #[arg(short, long, value_enum, default_value_t = OutputFormat::Text)]+ output: OutputFormat,+ /// Server port+ #[arg(short = 'p', long, default_value_t = 3030)]+ port: u16,+ },/// Get info for a specific pipeInfo {/// ID of the pipe