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(cli): screenpipe status reads db.sqlite from base_dir, not data/
Louis Beaumont6b9911e3171e
diff --git a/crates/screenpipe-engine/src/cli/status.rs b/crates/screenpipe-engine/src/cli/status.rsindex 5d42eed7e..984b0f574 100644--- a/crates/screenpipe-engine/src/cli/status.rs+++ b/crates/screenpipe-engine/src/cli/status.rs@@ -10,7 +10,11 @@ pub async fn handle_status_command(port: u16,) -> anyhow::Result<()> {let base_dir = get_base_dir(data_dir)?;- let db_path = base_dir.join("data").join("db.sqlite");+ // db.sqlite lives at the top of the screenpipe dir; the `data/` subdir+ // holds the recording media (chunked mp4s), which is what `dir_size`+ // reports below. Previously this joined "data" too, which always read+ // from an empty file and made `status` print 0 frames.+ let db_path = base_dir.join("db.sqlite");// Check if server is runninglet running = TcpStream::connect(format!("127.0.0.1:{}", port))